Skip to content
Tutorials Center
My learning

Topics

Lesson 17 of 86 ยท Averages, Ages and Everyday Arithmetic

Problems on Ages

Solve age problems with present, past and future ages, ratios, sums and differences, and check every answer with a short search program.

Age problems look like riddles: "Today a father is four times as old as his son. In six years he will be three times as old. How old are they?" They show up in nearly every aptitude test because they test whether you can turn a story into equations. The arithmetic is gentle. The skill is in bookkeeping: keeping straight who is how old, and when.

Every age problem is a set of snapshots in time (past, now, future) with a few clues linking the snapshots. This lesson gives you a way to organize them, three reliable methods (a direct equation, a ratio method and a sum method), and a program that can search for the answer so you can check your own.

Three facts that make age problems easy

  1. Everyone gets older at the same speed. After t years, every person is exactly t years older. t years ago, every person was exactly t years younger.
  2. The difference between two people's ages never changes. If Dev is 7 years older than Eve today, he was 7 years older ten years ago and will be 7 years older in twenty years.
  3. The sum of n people's ages changes by n ร— t after t years, because each of them gains t.

Fact 2 is the secret behind many problems. When the ratio of two ages changes, the difference stays fixed, and that fixed number links the two ratios.

Set up a time table

Draw a small table with a row for each person and a column for each moment. Mark the unknown with x, then fill in other cells using the clues.

Person 5 years ago Now In 4 years
Bela x โˆ’ 5 x x + 4
Alina (5 years older) x x + 5 x + 9

Every cell is the "Now" cell plus or minus the time shift. Once the table is complete, translate the sentence of the problem (for example "in 4 years the sum is 41") into one equation.

flowchart TB
    A["Read the question"] --> B["Choose the unknown<br/>(usually the younger person's age now)"]
    B --> C["Fill the time table:<br/>now, past, future"]
    C --> D["Turn the clue into one equation"]
    D --> E["Solve for the unknown"]
    E --> F["Check every clue in the original wording"]

Choose a variable, fill in the table, write one equation, then check all the clues.

Direct equation method

Example 1 (sum clue). Alina is 5 years older than Bela. In 4 years the sum of their ages will be 41. Find their present ages.

Let Bela be x now. Alina is x + 5. In 4 years they will be x + 4 and x + 9, and (x + 4) + (x + 9) = 41. So 2x + 13 = 41 and x = 14. Bela is 14 and Alina is 19. Check: in 4 years they are 18 and 23, and 18 + 23 = 41.

Example 2 (multiple clue). A father is four times as old as his son. In 6 years he will be three times as old. Let the son be x and the father 4x. Then 4x + 6 = 3(x + 6). So 4x + 6 = 3x + 18 and x = 12. The son is 12 and the father is 48. Check: in 6 years they are 18 and 54, and 54 = 3 ร— 18.

If the problem gives a general rule "A is k times B now and m times B after t years", you can solve it once and for all: k ร— x + t = m ร— (x + t), so

B's present age = t ร— (m โˆ’ 1) รท (k โˆ’ m)

With k = 4, m = 3, t = 6 it gives 6 ร— 2 รท 1 = 12, matching Example 2. (Remember that k must be larger than m when t is positive, because the ratio of the ages shrinks as both grow.)

Example 3 (difference clue). A is 12 years older than B. Five years ago, A was twice as old as B. Five years ago B was x and A was x + 12, so x + 12 = 2x and x = 12. Five years ago B was 12, so B is 17 now and A is 29. Check: five years ago they were 12 and 24.

Ratio method

When ages are given as a ratio such as 5 : 7, write them as 5k and 7k. The unit k is unknown, but it is the same for both.

Example 4. The ages of two people are in the ratio 5 : 7. After 6 years the ratio will be 4 : 5. Find their present ages.

Present ages are 5k and 7k. After 6 years, (5k + 6) : (7k + 6) = 4 : 5, so 5(5k + 6) = 4(7k + 6). That gives 25k + 30 = 28k + 24, so 3k = 6 and k = 2. The ages are 10 and 14. Check: after 6 years they are 16 and 20, and 16 : 20 = 4 : 5.

For a ratio a : b now and c : d after t years, the same steps give a formula:

k = t ร— (c โˆ’ d) รท (a ร— d โˆ’ b ร— c)

For t = 6, a : b = 5 : 7 and c : d = 4 : 5, k = 6 ร— (4 โˆ’ 5) รท (25 โˆ’ 28) = โˆ’6 รท โˆ’3 = 2. For "t years ago", use a negative t. If the ratio is 3 : 5 now and 1 : 2 four years ago, then k = โˆ’4 ร— (1 โˆ’ 2) รท (6 โˆ’ 5) = 4, so the ages are 12 and 20 (four years ago they were 8 and 16, in ratio 1 : 2).

Sum method

Fact 3 helps whenever the question gives a total.

Example 5. The sum of a father's and son's ages is 56. Four years ago the father was three times as old as the son. Find their present ages.

Four years ago the sum was 56 โˆ’ 2 ร— 4 = 48. They were in ratio 3 : 1, so there are 4 parts, each of 12. The son was 12 and the father was 36, so now they are 16 and 40.

Example 6. The average age of a family of 5 is 24 years. The youngest member is 8. What was the average age of the family when the youngest was born?

The total now is 5 ร— 24 = 120, so the other four total 120 โˆ’ 8 = 112. Eight years ago each of those four was 8 years younger, so the total was 112 โˆ’ 4 ร— 8 = 80. The average then was 80 รท 4 = 20 years. (The question assumes nobody else joined or left the family.)

Solve ages with formulas

This script packages the two formulas from this lesson. Run it on the worked examples, then try your own numbers.

JS Age problem formulas

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

No output.

Let a program search for the answer

Age problems have small integer answers, so a program can simply try every pair of ages from 1 to 100 and keep the pairs that satisfy all the clues. This is not how you solve it in an exam, but it is a good way to check your answers and to see that a problem has exactly one solution.

JS Brute-force age solver

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

No output.

Each search returns exactly one pair, which matches the algebra.

Common traps

  • Mixing "ago" and "hence". Subtract for the past and add for the future. Test your final answer against every sentence.
  • Forgetting that everyone ages. If you add 6 years to the father, add 6 years to the son too. Filling in a whole column of the table at once prevents this slip.
  • Negative ages. If the answer says someone was โˆ’3 years old "five years ago", that person was not yet born at that time, so check the clue that created the number.
  • Ratios of ages are not constant. Only the difference stays fixed. The ratio changes every year.

Check your understanding

Quick check ยท 5 questions

of 5 answered You scored / 5 ยท perfect!

  1. 1. A mother is 30 years older than her daughter. In 6 years she will be three times as old as her daughter. How old is the daughter now?

    Let the daughter be x. Then x + 36 = 3(x + 6), so x + 36 = 3x + 18 and x = 9. Check: mother 39, daughter 9; in 6 years 45 and 15.
  2. 2. The ages of Ravi and Sita are in the ratio 3 : 4. Five years from now the ratio will be 4 : 5. What is Sita's present age?

    Ages 3k and 4k: 5(3k + 5) = 4(4k + 5), so 15k + 25 = 16k + 20 and k = 5. Sita is 20, and Ravi is 15.
  3. 3. The sum of the present ages of a father and his son is 60. Six years from now the father will be five times as old as the son. What is the son's present age?

    In 6 years the sum is 60 + 12 = 72. The ages are then in ratio 5 : 1, so there are 6 parts of 12 each. The son will be 12, so he is 6 now and the father is 54 (54 + 6 = 60).
  4. 4. Ten years ago A was half of B's age. If the ratio of their present ages is 3 : 4, what is the sum of their present ages?

    Ages are 3k and 4k. Ten years ago 3k - 10 = (4k - 10)/2, so 6k - 20 = 4k - 10, k = 5. Ages 15 and 20, sum 35.
  5. 5. The average age of 4 friends is 20. A fifth friend joins and the average becomes 22. How old is the fifth friend?

    The new total is 5 x 22 = 110 and the old total was 4 x 20 = 80, so the new friend is 30.

Summary

  • Everyone ages at the same rate, and the difference between two ages never changes.
  • Use a time table with columns for past, now and future and write the unknown once.
  • For a ratio, write the ages as multiples of k, add the time shift to each, and cross-multiply.
  • For a total, the sum changes by (number of people ร— years).
  • Always check the answer against every clue in the problem.

Next: Simple and Simultaneous Equations, where you will turn word problems about coins, tickets and prices into equations and solve them quickly.