Write linear equations to solve word problems
Key notes:
What is a Linear Equation in a Word Problem?
A linear equation is an equation that models a real-world situation where variables have a power of 1.
It can be used to represent relationships between quantities in word problems.
General form:
ax+by=c
or
y=mx+b
Steps to Write a Linear Equation from a Word Problem
- Understand the problem – Read carefully and identify what is being asked.
- Define the variables – Choose letters for the unknown quantities.
- Identify relationships – Find sentences that show how quantities are related.
- Translate to equation – Use algebraic symbols to represent the relationship.
- Solve the equation – Find the value(s) of the unknown(s).
- Interpret the answer – Write your answer in words.
💡 Think-Check: The equation should match the wording exactly.
Worked Examples
Example 1 – Cost of items
A notebook costs ₹20 and a pen costs ₹10. If you buy 3 notebooks and 2 pens, the total cost is ₹80. Write a linear equation.
Step 1: Let
x= price of notebook
y = price of pen
But here prices are given, so instead let:
x= number of notebooks
y= number of pens
Step 2: Relation from problem:
Cost of notebooks =20x
Cost of pens =10y
Total cost = ₹80
Step 3: Write the equation:
20x+10y=80
✅ This is the linear equation representing the problem.
Example 2 – Age problem
Ravi is 5 years older than twice his sister’s age. If Ravi is 19, write and solve the equation for his sister’s age.
Step 1: Let s = sister’s age.
Step 2: Relation:
Ravi’s age = 2s+5
Given Ravi’s age = 19.
Step 3: Equation:
2s+5=19
Step 4: Solve:
Subtract 5: 2s=14
Divide by 2: s=7
✅ Sister’s age is 7 years.
Example 3 – Slope-intercept situation
A taxi charges ₹50 as a fixed fee plus ₹15 per kilometer. Write the equation for total cost C in terms of kilometers k.
Fixed fee → b=50
Rate per km → m=15
Equation:
C=15k+50
✅ This is in slope-intercept form y=mx+b
Common Word Problem Clues for Equations
Words in problem | Mathematical meaning |
---|---|
total, sum, altogether | + |
difference, less than, decreased by | − |
product, times, of | × |
per, rate, each | multiplication (slope) |
is, gives, equals | = |
Practice Problems
Write a linear equation for each:
- A fruit seller sells apples for ₹30 each and bananas for ₹10 each. If he sells a apples and b bananas for ₹300 total, write the equation.
- A phone company charges ₹200 per month plus ₹2 for every minute of calls. Write the equation for total cost C in terms of minutes m
- The length of a rectangle is 3 more than twice its width. Write the equation if the length is 15 cm.
- The sum of two numbers is 50. One number is 4 less than twice the other. Write and solve the equation.
Learn with an example
Monica has already baked 26 pies, and she can bake 4 pies with each additional cup of sugar she buys. With 12 additional cups of sugar,
how many total pies can Monica bake? Write and solve an equation to find the answer.
____ pies
Make a chart.
Additional cups of sugar (s) | Calculation of number of pies (p) | Number of pies (p) |
0 | 4(0) + 26 | 26 |
1 | 4(1) + 26 | 30 |
2 | 4(2) + 26 | 34 |
s | 4(s) + 26 | 4s + 26 |
Find the pattern: p is 4 times s, plus 26.
Write this relationship as an equation.
p is 4 times s, plus 26 |
↓ |
p = 4s + 26 |
Now plug s = 12 into this equation and solve for p.
p = 4s + 26
p = 4(12) + 26 Plugin s = 12
p = 48 + 26 Simplify
p = 74
With 12 additional cups of sugar, Monica can bake a total of 74 pies.
Zane takes 2 quizzes each week.
Write an equation that shows the relationship between the number of weeks w and the total number of quizzes q.
Make a chart.
Number of weeks (w) | Calculation of total number of quizzes (q) | Total number of quizzes (q) |
1 | 2(1) | 2 |
2 | 2(2) | 4 |
3 | 2(3) | 6 |
w | 2(w) | 2w |
Find the pattern: q is 2 times w.
Write this relationship as an equation.
q is 2 times w |
↓ |
q = 2w |
Noah has already taken 7 pages of notes on his own, and he will take 2 pages during each hour of class.
Write an equation that shows the relationship between the time in class h and the number of pages p.
Write your answer as an equation with p first, followed by an equals sign._____
Make a chart.
Time in class (h) | Calculation of number of pages (p) | Number of pages (p) |
0 | 2(0) + 7 | 7 |
1 | 2(1) + 7 | 9 |
2 | 2(2) + 7 | 11 |
h | 2(h) + 7 | 2h + 7 |
Find the pattern: p is 2 times h, plus 7.
Write this relationship as an equation.
p is 2 times h, plus 7 |
↓ |
p = 2h + 7 |
Let’s Practice!