From a Story to Two Equations
Many everyday questions hide two unknown numbers at once: the ages of two people, the prices of two kinds of fruit, or the number of winners and of other participants in a competition. Such a question tells you two separate facts about the two unknowns. Each fact can be written as one equation, and the two equations are then solved together by substitution or by elimination. You already know how to solve a pair of simultaneous linear equations, so the new skill here is translation: turning sentences into correct equations.
Word problem: a mathematics question in which the relationships between quantities are told in ordinary words and sentences instead of symbols.
Condition: one fact given in a problem about how the unknown quantities are related to each other. Each condition becomes one equation.
Two unknowns need two conditions. Two conditions give two equations, and two equations give the values of both unknowns.
Every word problem of this kind is solved by following the same path:
- Read the whole problem carefully and pick out the two quantities you are asked to find.
- Let the first quantity be x and the second be y. Write down clearly what each letter stands for, with its unit.
- Turn the first condition into an equation and number it (i).
- Turn the second condition into an equation and number it (ii).
- Solve equations (i) and (ii) together by substitution or by elimination.
- Put the values back into the words of the problem and write the answer as a sentence, with units.
Turning Phrases into Algebra
Before you can write an equation, you must be able to turn short phrases into algebraic expressions. The table shows the phrases that appear most often in these problems.
| In words | In algebra |
| the sum of x and y is 36 | \( x + y = 36 \) |
| the difference of x and y is 48 (x is larger) | \( x - y = 48 \) |
| x is three times y | \( x = 3y \) |
| 1 more than three times the sum of x and y | \( 3(x + y) + 1 \) |
| ages x and y years now, ages after 10 years | \( (x + 10) \) and \( (y + 10) \) years |
| ages 15 and 11 years now, ages m years ago | \( (15 - m) \) and \( (11 - m) \) years |
| a number with tens digit x and ones digit y | \( 10x + y \) |
| the same number with its digits reversed | \( 10y + x \) |
| the cost of 6 kg at Rs x per kg | \( 6x \) |
When you write a difference, always subtract the smaller from the larger. If x is the larger, write \( x - y = 48 \), not \( y - x = 48 \). Decide which is larger from the question or the figure before you write.
One Age Problem, Three Ways
The present ages of a teacher and a student add up to 36 years. The teacher is three times as old as the student. How old is each? This single problem can be solved in three different ways, and all three give the same answer.
Bar model method: a way of solving a problem by drawing each unknown quantity as a rectangular bar, then comparing the lengths of the bars to write and solve an equation.
First way, with a bar model. Draw the student's age as one bar and call it x. The teacher's age is three times as much, so it takes three bars of the same length. Together the ages make four equal bars, and those four bars are 36 years.

Step 1: Writing the four equal bars as one equation:
\[ 4x = 36 \]
Step 2: Dividing both sides by 4:
\[ x = \frac{36}{4} = 9 \]
So the student is 9 years old and the teacher is \( 3 \times 9 = 27 \) years old.
Second way, with two letters. Let the teacher's present age be x years and the student's present age be y years.
Step 1: The first condition says the ages add up to 36, so:
\[ x + y = 36 \]
Rearranging this to give x:
\[ x = 36 - y \ \ldots \text{(i)} \]
Step 2: The second condition says the teacher is three times as old as the student:
\[ x = 3y \ \ldots \text{(ii)} \]
Step 3: Both (i) and (ii) give the value of x, so setting the two values equal:
\[ 36 - y = 3y \]
Step 4: Collecting the y terms on one side:
\[ 36 = 4y \]
\[ y = \frac{36}{4} = 9 \]
Step 5: Substituting the value of y into equation (ii):
\[ x = 3 \times 9 = 27 \]
Hence the teacher is 27 years old now and the student is 9 years old now.
Third way, with one letter. The second condition already tells us how one age compares with the other, so one letter is enough. Let the student's present age be x years. Then the teacher's present age is 3x years.
Step 1: Adding the two ages, as the question says:
\[ x + 3x = 36 \]
Step 2: Combining like terms and dividing by 4:
\[ 4x = 36, \ x = 9 \]
Hence the student is 9 years old now and the teacher is \( 3 \times 9 = 27 \) years old now. All three ways agree.
When a condition tells you directly how many times, or how much more, one quantity is than the other, one letter is enough. The two-letter method, however, always works.
Example 1: Two Opposite Angles of a Quadrilateral
In a quadrilateral, the sum of two opposite angles is 150° and their difference is 48°. Find the two angles.

Let the opposite angles be x and y, where x is the larger angle, as in the figure.
Step 1: The first condition gives the sum of the angles:
\[ x + y = 150^\circ \]
\[ x = 150^\circ - y \ \ldots \text{(i)} \]
Step 2: The second condition gives the difference, with the larger angle x written first:
\[ x - y = 48^\circ \ \ldots \text{(ii)} \]
Step 3: Substituting x from equation (i) into equation (ii):
\[ 150^\circ - y - y = 48^\circ \]
Step 4: Moving the y terms to one side and the numbers to the other:
\[ 150^\circ - 48^\circ = 2y \]
\[ 102^\circ = 2y \]
Step 5: Dividing both sides by 2:
\[ y = \frac{102^\circ}{2} = 51^\circ \]
Step 6: Putting the value of y into equation (i):
\[ x = 150^\circ - 51^\circ = 99^\circ \]
Hence the two angles are 99° and 51°.
Alternative method: a difference of 48° means that one angle is 48° more than the other. So the smaller angle can be called x° and the larger one (x + 48)°.

Step 1: Writing the sum of the two angles as 150:
\[ x + 48 + x = 150 \]
Step 2: Moving 48 to the other side:
\[ 2x = 150 - 48 = 102 \]
Step 3: Dividing by 2:
\[ x = 51 \]
So one angle is 51° and the other is \( 51 + 48 = 99 \) degrees, the same answer as before.
Example 2: Copies Used During the Year
At the start of class 9, Manish and Sima each bought the same number of identical exercise books. By the end of the year Manish had used 25 of his and Sima had used 31 of hers. Manish now has twice as many left as Sima. How many did each of them have at the start?
Let Manish start with x exercise books and Sima start with y.
Step 1: The first condition says they started with equal numbers:
\[ x = y \ \ldots \text{(i)} \]
Step 2: Manish has \( x - 25 \) left and Sima has \( y - 31 \) left, and the second condition says Manish has twice as many:
\[ x - 25 = 2(y - 31) \]
Step 3: Opening the bracket and rearranging for x:
\[ x - 25 = 2y - 62 \]
\[ x = 2y - 37 \ \ldots \text{(ii)} \]
Step 4: Substituting x from equation (i) into equation (ii):
\[ y = 2y - 37 \]
\[ y = 37 \]
Step 5: Putting y into equation (i) gives \( x = 37 \). Hence Manish and Sima each started with 37 exercise books.
With a bar model: this time let x be the number Sima has LEFT. Manish has twice that left, which is 2x. Sima's starting pile is her x left plus the 31 she used, and Manish's starting pile is his 2x left plus the 25 he used.

Step 1: The two bars are equal, so:
\[ 2x + 25 = x + 31 \]
Step 2: Moving the x terms to one side and the numbers to the other:
\[ 2x - x = 31 - 25 \]
\[ x = 6 \]
So Sima started with \( x + 31 = 6 + 31 = 37 \) exercise books, and Manish also started with 37.
In the bar model x stands for the books LEFT, not the books at the start, so writing 6 as the answer would be wrong. Always write down at the start what your letter stands for.
Alternative method: let each of them start with x books. After using some, Sima has \( x - 31 \) left and Manish has \( x - 25 \) left. Manish has twice as many as Sima, so:
\[ 2(x - 31) = x - 25 \]
Opening the bracket and moving the terms:
\[ 2x - 62 = x - 25 \]
\[ 2x - x = 62 - 25 \]
\[ x = 37 \]
Hence Sima and Manish each started with 37 exercise books.
Example 3: Ages Now and Later
A mother is now three times as old as her son. In 12 years, the mother's age will be 1 less than twice the son's age. Find their present ages.
Let the mother's present age be x years and the son's present age be y years.
Step 1: The first condition, about their ages now:
\[ x = 3y \ \ldots \text{(i)} \]
Step 2: In 12 years the mother will be \( x + 12 \) and the son \( y + 12 \). The second condition gives:
\[ x + 12 = 2(y + 12) - 1 \]
Step 3: Opening the bracket and rearranging for x:
\[ x + 12 = 2y + 24 - 1 \]
\[ x = 2y + 11 \ \ldots \text{(ii)} \]
Step 4: Substituting x from equation (i) into equation (ii):
\[ 3y = 2y + 11 \]
\[ y = 11 \]
Step 5: Putting the value of y into equation (i):
\[ x = 3 \times 11 = 33 \]
Hence the mother is 33 years old now and the son is 11 years old now.
Time passes for everyone. When you write the ages in 12 years, add 12 to BOTH the mother's and the son's age. Adding it to only one person is the most common error in age problems.
Alternative method with one letter: if the son is x years old, the mother is 3x. In 12 years, twice the son's age minus 1 equals the mother's age:
\[ 2(x + 12) - 1 = 3x + 12 \]
\[ 2x + 23 = 3x + 12 \]
\[ x = 11 \]
So the son is 11 years old and the mother is 33.
The same problem can also be drawn as bars. Now, the son's age is one bar x and the mother's age is three such bars.

In 12 years a piece of 12 years is added to each bar. The mother's age is then 1 short of twice the son's, so adding 1 to her bar makes it exactly twice the son's bar.
\[ 2(x + 12) = 3x + 12 + 1 \]
\[ 2x + 24 = 3x + 13 \]
\[ x = 11 \]
Hence the son is 11 now and the mother is \( 3 \times 11 = 33 \) years old now.
Example 4: Finding a Fraction
When the numerator of a fraction is multiplied by 4 and 2 is subtracted from the denominator, the result is 2. When 15 is added to the numerator and the denominator is doubled and then reduced by 2, the result is \( \frac{9}{7} \). Find the fraction.
Let the fraction be \( \frac{x}{y} \), where x is the numerator and y is the denominator.
Step 1: The first condition:
\[ \frac{4x}{y - 2} = 2 \]
Step 2: Cross-multiplying and rearranging for x:
\[ 4x = 2(y - 2) \]
\[ x = \frac{y - 2}{2} \ \ldots \text{(i)} \]
Step 3: The second condition, with new numerator \( x + 15 \) and new denominator \( 2y - 2 \):
\[ \frac{x + 15}{2y - 2} = \frac{9}{7} \]
Step 4: Cross-multiplying:
\[ 7x + 105 = 18y - 18 \]
\[ x = \frac{18y - 123}{7} \ \ldots \text{(ii)} \]
Step 5: Setting the two values of x from (i) and (ii) equal:
\[ \frac{y - 2}{2} = \frac{18y - 123}{7} \]
Step 6: Cross-multiplying and solving for y:
\[ 7y - 14 = 36y - 246 \]
\[ 246 - 14 = 36y - 7y \]
\[ 232 = 29y, \ y = 8 \]
Step 7: Putting the value of y into equation (i):
\[ x = \frac{8 - 2}{2} = 3 \]
Hence the fraction is \( \frac{3}{8} \). Checking: \( \frac{4 \times 3}{8 - 2} = \frac{12}{6} = 2 \) and \( \frac{3 + 15}{16 - 2} = \frac{18}{14} = \frac{9}{7} \), so both conditions hold.
Example 5: A Two-Digit Number
In a two-digit number the tens digit is worth ten times its face value. For example, 47 means \( 10 \times 4 + 7 \). So a number whose tens digit is x and ones digit is y is written \( 10x + y \).
Reversed number: when the digits of \( 10x + y \) swap places, so that y is in the tens place and x in the ones place, the new number is \( 10y + x \).
Problem: in a two-digit number, the ones digit is three times the tens digit. The number added to the number formed by reversing its digits gives 88. Find the number.
Let the number be \( 10x + y \), where x is the tens digit and y is the ones digit.
Step 1: The first condition, the ones digit is three times the tens digit:
\[ y = 3x \ \ldots \text{(i)} \]
Step 2: The second condition, the number plus its reverse:
\[ (10x + y) + (10y + x) = 88 \]
Adding like terms and dividing by 11:
\[ 11x + 11y = 88 \]
\[ x + y = 8 \ \ldots \text{(ii)} \]
Step 3: Substituting y from equation (i) into equation (ii):
\[ x + 3x = 8, \ x = 2 \]
Step 4: Putting the value of x into equation (i):
\[ y = 3 \times 2 = 6 \]
Hence the number is \( 10 \times 2 + 6 = 26 \). Check: \( 26 + 62 = 88 \).
Alternative method: the only pairs of a number and its reverse that add up to 88 are 17 and 71, 26 and 62, 35 and 53, and 44 and 44. Of these, only 26 has a ones digit three times its tens digit. So the number is 26.
Never write the number with tens digit x and ones digit y as xy. In algebra xy means x times y. Always write \( 10x + y \).
Example 6: The Price of Apples and Mangoes
6 kg of apples and 5 kg of mangoes cost Rs 560 in total. 9 kg of apples and 7 kg of mangoes cost Rs 820 in total. Find the price of 1 kg of apples and of 1 kg of mangoes.
Let 1 kg of apples cost Rs x and 1 kg of mangoes cost Rs y. Neither equation gives x or y on its own easily, so elimination is the better method here.
Step 1: Writing the two conditions:
\[ 6x + 5y = 560 \ \ldots \text{(i)} \]
\[ 9x + 7y = 820 \ \ldots \text{(ii)} \]
Step 2: Making the x coefficients equal by multiplying (i) by 3 and (ii) by 2:
\[ 18x + 15y = 1680 \]
\[ 18x + 14y = 1640 \]
Step 3: Subtracting the second from the first, which removes x:
\[ y = 40 \]
Step 4: Putting the value of y into equation (i):
\[ 6x + 5 \times 40 = 560 \]
\[ 6x = 560 - 200 = 360 \]
\[ x = \frac{360}{6} = 60 \]
So apples cost Rs 60 per kg and mangoes cost Rs 40 per kg.
Example 7: Prize Money in an Essay Competition
63 students took part in a school essay competition. Each winner received Rs 100 and each of the others received Rs 25 for taking part. The total money given out was Rs 3000. How many winners were there, and how many took part without winning?
Let there be x winners and y students who took part without winning.
Step 1: The first condition, 63 students in all:
\[ x + y = 63 \]
\[ x = 63 - y \ \ldots \text{(i)} \]
Step 2: The second condition, the total money:
\[ 100x + 25y = 3000 \ \ldots \text{(ii)} \]
Step 3: Substituting x from equation (i) into equation (ii):
\[ 100(63 - y) + 25y = 3000 \]
\[ 6300 - 100y + 25y = 3000 \]
Step 4: Moving the terms and solving for y:
\[ 6300 - 3000 = 75y \]
\[ y = \frac{3300}{75} = 44 \]
Step 5: Putting the value of y into equation (i):
\[ x = 63 - 44 = 19 \]
Hence there were 19 winners and 44 students who took part without winning.
Alternative method: draw all 63 students as one long bar. If x of them are winners, the other \( 63 - x \) only took part. Multiply the winners' part by 100 and the other part by 25, and the two amounts add up to Rs 3000.
\[ 25(63 - x) + 100x = 3000 \]
\[ 1575 - 25x + 100x = 3000 \]
\[ 75x = 3000 - 1575 = 1425 \]
\[ x = 19 \]
Hence there are 19 winners and \( 63 - 19 = 44 \) students who only took part.
Putting the Answer Back into the Story
The surest way to know your answer is right is to put the values back into BOTH conditions of the story. Use the sentences of the problem, not your own equations, because if an equation was written wrongly the answer may still fit it.
- In Example 3: now, 33 is three times 11. In 12 years the ages are 45 and 23, and \( 2 \times 23 - 1 = 45 \). Both conditions hold.
- In Example 6: \( 6 \times 60 + 5 \times 40 = 560 \) and \( 9 \times 60 + 7 \times 40 = 820 \).
- In Example 7: \( 19 + 44 = 63 \) and \( 19 \times 100 + 44 \times 25 = 3000 \).
An age, a number of people or a number of books can never be negative or a fraction. If you get such an answer, an equation was written wrongly somewhere.
The full lesson is waiting for you
The notes are free to read in full. A free account opens the rest of the practice, and tracks your progress and confidence score for every subject. Presentations and videos need approval from Learn Yeti.