Slope-intercept form: write an equation from a word problem
Key notes
Slope-Intercept Form Recap
The slope-intercept form of a line is:
y=mx+b
where:
- m = slope (rate of change)
- b = y-intercept (starting value)
Word Problems and What They Mean
In real-life problems:
- Slope (m) often represents the rate of change (how much y changes for each unit of x).
- Y-intercept (b) often represents the initial value (when x=0).
- x is usually the independent variable (time, distance, items, etc.).
- y is usually the dependent variable (total cost, height, money earned, etc.).
Steps to Write an Equation from a Word Problem
- Identify the slope m from the rate given in the problem.
- Identify the y-intercept b(starting amount or initial value).
- Write the equation in:
y=mx+b
- Label the variables to match the problem’s context.
Example 1 – Direct Information
A taxi charges a base fare of $5 plus $2 for every mile.
- Base fare = b=5 (starting cost)
- Rate = m=2 (cost per mile)
Equation:
y=2x+5
Where:
- x = miles driven
- y= total cost in dollars
Example 2 – Given Two Situations
A gym charges a joining fee plus a monthly fee. You pay $50 after 1 month and $80 after 4 months.
Step 1: Find slope mmm
Points: (1, 50) and (4, 80)
m=80−50/4−1=30/3=10
Step 2: Find bbb using (1, 50)
50=10(1)+b
b=40
Step 3: Write equation
y=10x+40
Where:
- x = number of months
- y = total cost in dollars
Special Tips
- “Starting at” or “initially” usually gives b.
- “Per”, “each”, “every” usually gives m.
- If given two data points, find mmm first, then b.
- Always define what x and y represent.
Practice Problems
- A streaming service charges $8 per month and a one-time sign-up fee of $12. Write the equation for the total cost y after x months.
- A plumber charges $60 for the first hour and $40 for each additional hour. Write the equation for the total cost after x hours.
- You have $100 in your savings account and deposit $15 each week. Write the equation for the total savings after x weeks.
- A phone company charges $25 per month and a $50 activation fee. Write the cost equation.
Learn with an example
Irma uses 4 centimeters of tape for every present she wraps. Write an equation that shows the relationship between the number of presents x and the tape used y.
Write your answer as an equation with y first, followed by an equals sign.
Make a chart.
Number of presents (x) | Calculation of tape used (y) | Tape used (y) |
1 | 4(1) | 4 |
2 | 4(2) | 8 |
3 | 4(3) | 12 |
x | 4(x) | 4x |
Find the pattern: y is 4 times x.
Write this relationship as an equation.
y is 4 times x |
↓ |
y = 4x |
Kurt jars 4 liters of jam every day. Write an equation that shows the relationship between the days x and the jam made y.
Write your answer as an equation with y first, followed by an equals sign.
Make a chart.
Days (x) | Calculation of jam made (y) | Jam made (y) |
1 | 4(1) | 4 |
2 | 4(2) | 8 |
3 | 4(3) | 12 |
x | 4(x) | 4x |
Find the pattern: y is 4 times x.
Write this relationship as an equation.
y is 4 times x |
↓ |
y = 4x |
Hunter takes 6 quizzes each week. Write an equation that shows the relationship between the number of weeks x and the total number of quizzes y.
Write your answer as an equation with y first, followed by an equals sign.
Make a chart.
Number of weeks (x) | Calculation of total number of quizzes (y) | Total number of quizzes (y) |
1 | 6(1) | 6 |
2 | 6(2) | 12 |
3 | 6(3) | 18 |
x | 6(x) | 6x |
Find the pattern: y is 6 times x.
Write this relationship as an equation.
y is 6 times x |
↓ |
y = 6x |
Let’s Practice!