Ages, mixture, distance and work

Word Problem Solver: Build the Equation, Get the Answer

Pick the problem type, enter the numbers, and the tool writes the equation and solves it. A parent aged 40 and a child aged 10 are in a 2 to 1 age ratio in 20 years. Two workers who take 6 and 3 hours alone finish together in 2 hours. Two cars at 60 and 80 per hour, 420 apart, meet in 3 hours.

Every number is an exact fraction, and each answer shows the equation it came from, so you can check the set-up as well as the result. Anything outside these four types is left alone rather than guessed.

Pick a word problem type

Enter the numbers from your problem. The equation and answer update as you type.

In how many years will the older person be a whole multiple of the younger one’s age?

e.g. 2 for “twice as old”

Answer

In 20 years the older person will be 2 times as old as the younger one.

How the equation is built

  1. Let x = the number of years from now.
  2. Older age in x years: 40 + x. Younger age in x years: 10 + x.
  3. “2 times as old” means older = 2 × younger, so 40 + x = 2(10 + x).

Equation:

40 + x = 2(10 + x)

Solving it, step by step (x = 20)

  1. Start: 40 + x = 2(10 + x)
  2. Expand and combine like terms: x + 40 = 2x + 20
  3. Collect x terms on the left and numbers on the right: -x = -20
  4. Divide both sides by (-1): x = -20 ÷ (-1) = 20
  5. Check: put x = 20 back in. Left side = 60, right side = 60. They match.
Open this equation in the Math Problem Solver →

Worked examples

One of each type, with the equation written out.

Example 1: Ages

A parent is 40 and a child is 10. In how many years will the parent be twice as old as the child?

  1. Let x = years from now. Parent: 40 + x. Child: 10 + x.
  2. Twice as old: 40 + x = 2(10 + x)
  3. Expand: 40 + x = 20 + 2x, so x = 20

x = 20 years. Check: the parent is 60 and the child is 30.

Example 2: Mixture

You have 10 litres of 20% solution. How much 50% solution must you add to get 30%?

  1. Let x = litres of 50% solution added.
  2. Pure stuff: 20(10) + 50x = 30(10 + x) (percent units)
  3. Expand: 200 + 50x = 300 + 30x, so 20x = 100

x = 5 litres. Check: 20% of 10 + 50% of 5 = 4.5 and 30% of 15 = 4.5.

Example 3: Distance, rate and time

Two cars start 420 km apart at 60 and 80 km/h, driving toward each other. When do they meet? Then: if the 60 km/h car left 2 hours earlier, when does the 80 km/h car catch it?

  1. Toward each other, speeds add: (60 + 80)x = 420, so x = 3
  2. Chase, same distance at the catch-up point: 60(x + 2) = 80x
  3. Expand: 60x + 120 = 80x, so 20x = 120, x = 6

They meet after 3 hours; the chase ends 6 hours after the faster car starts (480 km from the start).

Example 4: Work

Person A paints a room in 6 hours, person B in 3 hours. How long together?

  1. Let x = hours together. A does x/6 of the room, B does x/3.
  2. The shares make one room: x/6 + x/3 = 1
  3. Combine: (1/2)x = 1, so x = 2

x = 2 hours. Check: 2/6 + 2/3 = 1/3 + 2/3 = 1.

Every equation here can be pasted into the Math Problem Solver. For the underlying methods see the linear equations guide and systems of equations for problems with two unknowns.

How to solve any word problem

  1. Name the unknown. Write “let x = …” with units, such as years, litres or hours.
  2. Write every other quantity in terms of x. Ages become 40 + x, amounts become 10 + x, distances become rate × time.
  3. Find the equal sign in the story. “Twice as old as”, “makes up”, “meet”, “finish the job” each say two things are equal.
  4. Solve, then check against the story. A negative number of years or a mixture amount you cannot pour means the set-up or the question needs another look.

A different kind of word problem, or a photo of it?

Send the whole question to the MathAI GPT math solver and get a step-by-step explanation. On your phone, use MathAI GPT - Math Solver for iPhone or MathAI GPT for Android.

Word problem solver FAQ

How do I solve a word problem step by step?

Read it twice, decide what is being asked and call that x, write what each quantity is in terms of x, find the sentence that says two quantities are equal, and turn it into an equation. Solve the equation, then put the answer back into the story to check that it makes sense.

How do I solve an age word problem?

Let x be the number of years from now, add x to both ages, and write the relationship as an equation. A parent aged 40 and a child aged 10: the parent is twice as old when 40 + x = 2(10 + x), which gives x = 20. In 20 years they are 60 and 30. A negative x means it already happened that many years ago.

How do I solve a mixture problem?

Track the pure substance. Amount before + amount added = amount after. Adding x litres of 50% solution to 10 litres of 20% solution to reach 30%: 20(10) + 50x = 30(10 + x), so 20x = 100 and x = 5 litres. The target strength must sit between the two strengths you are mixing.

What is the formula for distance, rate and time problems?

Distance = rate × time. For two travellers moving toward each other, their speeds add: at 60 and 80 per hour, a 420 gap closes in 420 ÷ 140 = 3 hours. For a chase, both travellers cover the same distance at the catch-up point: 60(x + 2) = 80x gives x = 6 hours after the faster one starts.

How do I solve a work problem?

Add the fractions of the job each person does in x hours. If A takes 6 hours alone and B takes 3, then x/6 + x/3 = 1, so (1/2)x = 1 and x = 2 hours together. A third person is just one more x/h term.

Which word problems can this tool not handle?

It covers these four types with a single unknown. Problems with several unknowns, percentages of percentages, geometry or calculus are not guessed at: the Math Problem Solver handles equations and systems you write yourself, and the MathAI GPT solver can take the whole question typed or as a photo.

Related calculators