Applications of Linear Equations in One Variable
Lesson 2 • Classes 7 and 8 • Forming equations from word problems
📚 How can you turn a question about a number, an age, a price or a length into an equation? Start by naming the unknown. Then write an equality that captures the relationship in the question. This lesson includes 13 worked examples and 11 practice problems with an answer key.
👉 Read first: Solving linear equations in one variable.
👉 From a word problem to an equation
Identify what you need to find. Choose a variable, state its unit and express the other quantities in terms of it. Use the relationship in the question to form an equation. Solve it and check the result. Read the whole sentence before choosing an operation.
⭐ Five steps for setting up and solving an equation
Step 1. Identify the unknown, call it x and state its unit.
Step 2. Express the other quantities in terms of the same variable.
Step 3. Find the condition that makes two quantities equal and write it as an equation.
Step 4. Solve the equation and calculate the quantity asked for.
Step 5. Check the original conditions, the units and whether the answer makes sense.
⭐ Writing expressions from words
🔹 5 more than a number → x + 5.
🔹 5 less than a number → x − 5.
🔹 A number subtracted from 5 → 5 − x.
🔹 Twice a number → 2x.
🔹 One third of a number → .
🔹 Twenty per cent of a number → .
🔹 Three consecutive integers → x, x + 1, x + 2.
🔹 Three consecutive even numbers or three consecutive odd numbers → x, x + 2, x + 4.
🔹 Check that the numbers in your answer are all even or all odd, as the question requires.
👉 Number problems
✏️ Example 1. Relating multiples of a number
🔸 Adding 5 to 4 times a number gives 11 more than 3 times the number. Find the number.
Let the number be x.
The condition gives the following equation.
∴ 4x + 5 = 3x + 11
⇒ 4x − 3x = 11 − 5
⇒ x = 6
Answer. The number is 6.
✅ Check. 4 × 6 + 5 = 29 and 3 × 6 + 11 = 29.
✏️ Example 2. Consecutive integers
🔸 Three consecutive integers add up to 36. Find them.
Let the integers be x, x + 1 and x + 2.
∴ x + (x + 1) + (x + 2) = 36
⇒ x + x + 1 + x + 2 = 36
⇒ 3x + 3 = 36
⇒ 3x = 36 − 3
⇒ 3x = 33
⇒ x = 11
Answer. The integers are 11, 12 and 13.
✅ Check. 11 + 12 + 13 = 36.
✏️ Example 3. A two-digit number
🔸 The tens digit of a two-digit number is three times its units digit. The digits add up to 8. What is the number?
If the units digit is x, the tens digit is 3x.
∴ x + 3x = 8
⇒ 4x = 8
⇒ x = 2
The number is 10 × (3 × 2) + 2 = 62.
Answer. The number is 62.
✅ Check. 6 = 3 × 2 and 6 + 2 = 8.
👉 Age problems
📚 If someone is x years old now, their age in 5 years will be x + 5. Their age 5 years ago was x − 5. When comparing ages, use the same point in time for everyone.
✏️ Example 4. The sum of two future ages
🔸 A father is four times as old as his son. In 5 years, their ages will add up to 60 years. Find their present ages.
Let the son be x years old and his father 4x years old. In five years, each will be 5 years older.
∴ (x + 5) + (4x + 5) = 60
⇒ x + 5 + 4x + 5 = 60
⇒ 5x + 10 = 60
⇒ 5x = 60 − 10
⇒ 5x = 50
⇒ x = 10
Answer. The son is 10 years old and the father is 40 years old.
✅ Check. In five years their ages will add up to 15 + 45 = 60 years.
✏️ Example 5. How an age ratio changes
🔸 A mother is five times as old as her daughter. In 10 years, she will be three times as old as her daughter. Find their present ages.
If the daughter is x years old, her mother is 5x years old.
∴ 5x + 10 = 3(x + 10)
⇒ 5x + 10 = 3x + 30
⇒ 5x − 3x = 30 − 10
⇒ 2x = 20
⇒ x = 10
Answer. The daughter is 10 years old and the mother is 50 years old.
✅ Check. In 10 years, the ages satisfy 60 = 3 × 20.
👉 Geometry and measurement
✏️ Example 6. Perimeter of a rectangle
🔸 A rectangular garden is 4 metres longer than it is wide. Its perimeter is 36 metres. Find its length and width.
Let the width be x metres. The length is then x + 4 metres.
Perimeter = 2 × (length + width).
∴ 2(x + x + 4) = 36
⇒ 4x + 8 = 36
⇒ 4x = 36 − 8
⇒ 4x = 28
⇒ x = 7
Answer. The width is 7 metres and the length is 11 metres.
✅ Check. The perimeter is 2 × (11 + 7) = 36 metres.
✏️ Example 7. Angles of a triangle in a given ratio
🔸 The three angles of a triangle are in the ratio 2 : 3 : 4. Find the angles.
Let the angles be 2x°, 3x° and 4x°. Their sum is 180°.
∴ 2x + 3x + 4x = 180
⇒ 9x = 180
⇒ x = 20
Answer. The angles are 40°, 60° and 80°.
✅ Check. 40° + 60° + 80° = 180°.
👉 Shopping and coins
✏️ Example 8. The price of a pen
🔸 Sayan buys 5 pens at the same price each and a notebook costing ₹10. He spends ₹60 in all. How much does each pen cost?
Let each pen cost x rupees.
∴ 5x + 10 = 60
⇒ 5x = 60 − 10
⇒ 5x = 50
⇒ x = 10
Answer. Each pen costs ₹10.
✅ Check. The total cost is 5 × 10 + 10 = 60 rupees.
✏️ Example 9. Counting coins of two denominations
🔸 A collection contains 30 coins in all, some worth ₹5 and the rest worth ₹2. Together they are worth ₹120. How many coins of each kind are there?
If there are x five-rupee coins, the number of two-rupee coins is 30 − x.
∴ 5x + 2(30 − x) = 120
⇒ 5x + 60 − 2x = 120
⇒ 5x − 2x = 120 − 60
⇒ 3x = 60
⇒ x = 20
Answer. There are 20 five-rupee coins and 10 two-rupee coins.
✅ Check. The number of coins is 20 + 10 = 30 and their total value is 5 × 20 + 2 × 10 = 120 rupees.
👉 Speed, time and distance
📚 Distance = speed × time. If the speed is in kilometres per hour, measure the time in hours.
✏️ Example 10. Travelling in the same direction
🔸 Two cars start together from the same place and travel in the same direction at constant speeds of 60 km/h and 80 km/h. How long will it take for them to be 40 km apart?
Let the time be x hours. The cars travel 60x km and 80x km respectively.
∴ 80x − 60x = 40
⇒ 20x = 40
⇒ x = 2
Answer. After 2 hours.
✅ Check. The difference in distance is 160 − 120 = 40 km.
🔹 Check the conditions and units
🔸 A coin count must be a nonnegative whole number. Keep the number of coins separate from their value in rupees. Before using distance = speed × time, make sure the time unit matches the one used for speed.
Some geometry and motion problems lead to equations of higher degree. For example, a rectangle with length x + 4 and width x has area x(x + 4). Expanding this product gives a term in x2. This lesson focuses on problems that lead to linear equations.
👉 Fractions and percentages
📚 A percentage depends on the amount it is taken from. Decide first whether the question refers to the total amount or the amount left after spending.
✏️ Example 11. Saving a percentage of the money left
🔸 A person spends one third of their monthly income on rent and saves 20% of the money left. If the savings amount to ₹4000, what is the monthly income?
If the monthly income is x rupees, the amount left after rent is rupees.
∴
⇒
⇒
Answer. The monthly income is ₹30000.
✅ Check. Rent is ₹10000, leaving ₹20000. Twenty per cent of that is ₹4,000.
👉 Work and time
📚 In the next two examples, first identify what to track. For work, find how much is done per unit of time. For a mixture, identify the ingredient whose quantity stays the same.
✏️ Example 12. Filling a tank with two pipes open
🔸 One pipe fills an empty tank in 10 minutes. Another empties a full tank in 15 minutes. If both operate at constant rates, how long will it take to fill an empty tank with both pipes open?
Let the time be x minutes. The net fraction of the tank filled in one minute is .
∴
⇒ 3x − 2x = 30
⇒ x = 30
Answer. 30 minutes.
✅ Check. full tank.
Take the whole job as 1 unit. Suppose two people working alone can finish it in A days and B days respectively. At constant rates, the fraction they finish together in x days is . For a complete job this equals 1.
👉 Mixture problems
✏️ Example 13. Changing the ratio in a mixture
🔸 A 30-litre mixture contains mango juice and orange juice in the ratio 2 : 1. How many litres of orange juice must be added to make the ratio 1 : 2?
Initially there are 20 litres of mango juice and 10 litres of orange juice. Add x litres of orange juice. The amount of mango juice stays the same.
∴
⇒ 40 = 10 + x
⇒ x = 30
Answer. Add 30 litres of orange juice.
✅ Check. The new ratio is 20 : 40 = 1 : 2.
This calculation assumes that the volumes add directly. Only the quantity of the juice being added increases.
✍️ Practice problems
For each problem, define a variable, form an equation, solve it and give your answer with the appropriate unit.
🔸 1. Subtracting 4 from three times a number gives 23. What is the number?
🔸 2. Three consecutive even numbers add up to 54. Find the numbers.
🔸 3. A father is three times as old as his son. In 4 years their ages will add up to 56 years. Find their present ages.
🔸 4. A rectangle is 5 cm longer than it is wide. Its perimeter is 50 cm. Find its length and width.
🔸 5. A pen costing ₹20 and 4 notebooks of equal price cost ₹140 in total. How much does each notebook cost?
🔸 6. There are 20 coins worth ₹70 altogether. Each coin is worth either ₹2 or ₹5. How many coins of each kind are there?
🔸 7. Two cars start together from the same place in the same direction at constant speeds of 45 km/h and 60 km/h. When will they be 45 km apart?
🔸 8. A person spends one quarter of their income and saves 20% of what remains. If they save ₹3000, what is their income?
🔸 9. Two people can complete a job alone in 12 days and 6 days respectively. At constant rates, how many days will they need together?
🔸 10. A 20-litre mixture contains milk and water in the ratio 3 : 1. How many litres of water must be added to make the ratio 1 : 1?
🔸 11. The angles of a triangle are in the ratio 1 : 2 : 3. Find all three angles.
👉 Answer key
🔸 1. 3x − 4 = 23. The number is 9.
🔸 2. x + (x + 2) + (x + 4) = 54. The numbers are 16, 18, 20.
🔸 3. (x + 4) + (3x + 4) = 56. The son is 12 years old and the father is 36 years old.
🔸 4. 2(x + x + 5) = 50. The width is 10 cm and the length is 15 cm.
🔸 5. 4x + 20 = 140. Each notebook costs ₹30.
🔸 6. Let x be the number of ₹5 coins. Then 5x + 2(20 − x) = 70. There are 10 coins of each kind.
🔸 7. (60 − 45)x = 45. The cars are 3 hours into their journey.
🔸 8. . The income is ₹20000.
🔸 9. . The job takes 4 days.
🔸 10. . Add 10 litres of water.
🔸 11. x + 2x + 3x = 180. The angles are 30°, 60°, 90°.
⭐ Remember
📚 Read the whole sentence before choosing an operation. In age problems, compare everyone at the same point in time. Keep prices, counts and units clear, and check your answer against every condition in the question.
👉 Review the method: Linear equations in one variable.