Skip to content
  • Open the math solver
  • Ask the AI tutor
  • Find an AP course
  • Create a quiz
  • Open the calculator
  • Graphing Calculator
  • Browse all calculators
  • Read math guides
↑ ↓Enter to open · Esc to close
Solve a problem
Word problemsArithmeticMiddle schoolabout 1:23

John is 4 years older than Mary. Together they are 30. How old is Mary?: animated lesson

A narrated, step-by-step word problems video lesson with captions. Final answer: John is 17 and Mary is 13 years old.

Video with a synthetic English voice and captions. Pick another language for subtitles in that language, or open the interactive version.

Video narrated by a synthetic voice (Piper TTS, en_US-ljspeech-high voice (LJ Speech dataset, public domain)); the steps come from our maths engine and the answer was checked independently. Download MP4 (0.5 MB) · Captions (WebVTT)

Steps on screen

  1. 1. The problem
    Worked example
    John is 4 years older than Mary. Together they are 30. How old is Mary?
  2. 2. Step by step
    1. Read the problem
    2. Translate each fact into an equation
    3. Write both equations in standard form
    4. Solve the system (elimination / Cramer's rule)
  3. 3. The answer
    John is 17 and Mary is 13 years old\text{John is 17 and Mary is 13 years old}

    a = 17, b = 13

  4. 4. Check
    • John − Mary = 4: 4 = 4 ✓
    • John + Mary = 30: 30 = 30 ✓

Transcript

The problem. Here is the problem: John is 4 years older than Mary. Together they are 30. How old is Mary? Age problem with two unknown current ages (John, Mary) and two facts.

Step by step. Read the problem. Two people: John and Mary. Let a equals John prime s age now and b equals Mary prime s age now. Translate each fact into an equation. John minus Mary equals 4; John plus Mary equals 30. Write both equations in standard form. 1a minus 1b equals 4 and 1a plus 1b equals 30. Solve the system (elimination / Cramer prime s rule). Determinant equals 1 times 1 minus negative 1 times 1 equals 2. a equals (4 times 1 minus negative 1 times 30) / 2 equals 17, b equals (1 times 30 minus 4 times 1) / 2 equals 13.

The answer. So the answer is John is 17 and Mary is 13 years old. Each sentence becomes one linear equation in the two current ages; two independent equations fix both ages.

Check. John minus Mary equals 4: 4 equals 4, which checks out. John plus Mary equals 30: 30 equals 30, which checks out.

About word problems

Turn everyday situations about prices, speed, ages and interest into equations and solve them.

John is 4 years older than Mary. Together they are 30. How…