Skip to content
Tutorials Center
My learning

Topics

Lesson 33 of 38 ยท Word Problems

Equation Word Problems: Cost, Perimeter and Age

Solve one-variable word problems about costs, comparing plans, perimeter and ages by defining a variable, writing an equation, solving and checking.

In the last lesson you learned to translate sentences into algebra. Now it is time to solve whole stories. The same four steps apply every time: define the variable, write the equation, solve, and check against the story. This lesson works through four common families: totals with fees, comparing two plans, geometry (perimeter), and ages.

Family 1: totals with a fixed fee

Problem. Four friends share a pizza order and a $6 delivery fee equally. Each person pays $11.50. How much did the pizzas cost?

  1. Let p = cost of the pizzas in dollars.
  2. The total bill is p + 6. Shared among 4: (p + 6) / 4 = 11.50.
  3. Multiply both sides by 4: p + 6 = 46.
  4. Subtract 6: p = 40. The pizzas cost $40.

Check: (40 + 6) / 4 = 46 / 4 = 11.50 โœ“.

Family 2: when are two plans equal?

Problem. Phone plan A costs $12 per month plus $0.05 per minute. Plan B has no monthly fee but costs $0.09 per minute. For how many minutes in a month do the two plans cost the same?

  1. Let m = minutes used in a month.
  2. Plan A: 12 + 0.05m. Plan B: 0.09m. The plans cost the same when 12 + 0.05m = 0.09m.
  3. Get the m terms on one side: subtract 0.05m from both sides: 12 = 0.04m.
  4. Divide by 0.04: m = 300.

Check: Plan A: 12 + 0.05 ร— 300 = 12 + 15 = $27. Plan B: 0.09 ร— 300 = $27 โœ“.

What does this tell us? For fewer than 300 minutes, Plan B is cheaper. For more than 300 minutes, Plan A is cheaper. This is where graphing helps: the two cost lines cross at m = 300.

Python Where do two plans cross?

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Family 3: perimeter

Perimeter is the total distance around a shape. For a rectangle with length l and width w, P = 2l + 2w = 2(l + w).

Problem. A rectangular garden is 3 meters longer than it is wide. Its perimeter is 54 m. Find its dimensions.

  1. Let w = width in meters. The length is w + 3.
  2. Perimeter: 2(w + (w + 3)) = 54.
  3. Simplify inside: 2(2w + 3) = 54, so 4w + 6 = 54.
  4. 4w = 48, so w = 12. The length is 12 + 3 = 15.

Check: 2(12 + 15) = 2 ร— 27 = 54 m โœ“. The garden is 12 m by 15 m.

Draw a quick sketch and label the sides with your variable expressions. It prevents you from forgetting that perimeter counts all four sides.

Family 4: ages

Problem. Maya is four times as old as her brother. In 5 years, the sum of their ages will be 40. How old is each now?

  1. Let b = brother's age now. Maya is 4b.
  2. In 5 years they will be b + 5 and 4b + 5. The sum: (b + 5) + (4b + 5) = 40.
  3. Simplify: 5b + 10 = 40.
  4. 5b = 30, so b = 6, and Maya is 4 ร— 6 = 24.

Check: in 5 years, 11 and 29, and 11 + 29 = 40 โœ“.

A frequent error is to forget that both people age by the same amount.

flowchart LR
  A["Story"] --> B["Name the unknown<br/>with a unit"]
  B --> C["Write expressions<br/>for other quantities"]
  C --> D["Form an equation"]
  D --> E["Solve"]
  E --> F["Check in the story"]

The steps are identical for costs, geometry and ages.

A reusable solver

For many of these problems the equation has the form aยทx + b = cยทx + d. The tool below solves any such equation, then you can use it to check your own work.

Python Solve a*x + b = c*x + d

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Strategies for tricky problems

  • Make a table for ages: rows for each person, columns "now" and "in 5 years".
  • Check units: minutes with minutes, dollars with dollars.
  • Estimate first: if one person pays $11.50 out of a group of 4, the total is around $46, which helps you spot arithmetic slips.
  • Reread the question: the equation often finds b, but the question may ask for Maya's age.

Common mistakes

  • Solving for the wrong quantity (answering the brother's age when asked for Maya's).
  • Forgetting the fixed fee, or adding it to each unit instead of once.
  • Using the perimeter formula for area.

Check your understanding

Quick check ยท 4 questions

of 4 answered You scored / 4 ยท perfect!

  1. 1. A taxi charges $4 plus $3 per km. A ride costs $22. How many km?

    4 + 3k = 22 gives 3k = 18 and k = 6.
  2. 2. A rectangle is twice as long as it is wide, and its perimeter is 36 cm. What is the width?

    2(w + 2w) = 36 gives 6w = 36, so w = 6 cm (length 12 cm).
  3. 3. Sam is 3 years older than Lee. Their ages add to 27. How old is Lee?

    l + (l + 3) = 27 gives 2l = 24, so l = 12 (Sam is 15).
  4. 4. Gym A costs $20 plus $5 per visit. Gym B costs $10 per visit. For how many visits is the cost equal?

    20 + 5v = 10v gives 20 = 5v, so v = 4 visits (cost $40 each).

Summary

  • Define the variable with units, express other quantities in terms of it, and write one equation.
  • To compare two plans, set their costs equal and solve; the crossing point shows where the cheaper plan changes.
  • For perimeter, count all sides: P = 2(l + w) for a rectangle.
  • For ages, remember both people age by the same number of years.
  • Always check against the story and answer the actual question.

Next: Ratio and Percent Word Problems