pAIrmatic Lessons
UNIT 3Slope and proportional relationshipsLesson 3 of 31 Graphing Proportional Relationships2 Slope: Rise Over Run3 Writing Equations in y = mx + b Form

Writing Equations in y = mx + b Form

8.EE.6Grade 8Expressions & Equations23 practice questions

Many lines can be written as y = mx + b. The m is the slope. The b is where the line crosses the y-axis.

−1−11133557799111113131515(1, 5)(4, 14)

What you'll be able to do

The big idea

The form. In y = mx + b, the number m is the slope. The number b is the y-intercept. That is where the line crosses the y-axis, at (0, b).

A story. A plumber charges $65 to visit, plus $40 an hour. The start is $65, so b = 65. The rate is $40 an hour, so m = 40. The equation is y = 40x + 65.

From two points. First find the slope. Then put one point into y = mx + b and find b.

An example. Take (1, 5) and (4, 14). The slope is 9 ÷ 3 = 3. Then 5 = 3(1) + b, so b = 2. The line is y = 3x + 2.

Watch b. The y-intercept is the value of y when x is 0. A table that starts at x = 1 does not show b. Work back one step to find it.

Graphing. Plot (0, b) first. Then use the slope. For m = −2/3, go right 3 and down 2. Plot that point. Then draw the line.

Other forms. 3x + 2y = 8 is a line too. Get y alone to see m and b: y = −(3/2)x + 4.

Words you need

Slope
How steep a line is: the rise divided by the run. In y = mx + b it is m.
Y-intercept
Where a line crosses the y-axis. It is the point (0, b).
X-intercept
Where a line crosses the x-axis. There, y = 0.
Slope-intercept form
A line written as y = mx + b.
Rate
How much y changes for each 1 that x goes up.

Reading y = mx + b

EquationSlope mY-intercept b
y = 3x + 232
y = 3x − 53−5
y = 7 − 2x−27
y = 4x40

Worked examples

Example 1

A dog walker charges $12 plus $9 an hour. Write an equation for the cost y after x hours.

  1. The start is $12, so b = 12.
  2. The rate is $9 an hour, so m = 9.
  3. The equation is y = 9x + 12.

Answer: y = 9x + 12

Example 2

Write the equation of the line through (1, 5) and (4, 14).

  1. Slope: (14 − 5) ÷ (4 − 1) = 9 ÷ 3 = 3.
  2. Put (1, 5) into y = 3x + b: 5 = 3 + b.
  3. So b = 2. The line is y = 3x + 2.

Answer: y = 3x + 2

−1−11133557799111113131515(1, 5)(4, 14)

Example 3

Graph y = −(2/3)x + 4.

  1. Plot the y-intercept, (0, 4).
  2. The slope is −2/3. Go right 3, then down 2. That lands on (3, 2).
  3. Do it again to reach (6, 0).
  4. Draw the line through the points.

Answer: (0, 4), (3, 2), (6, 0)

−2−2−1−111223344556677right 3down 2(0, 4)

Common mistakes

Reading the sign of b wrong. y = 3x − 5 crosses the y-axis at (0, −5), not (0, 5).

Using the first point's y as b. b is the value of y when x = 0. If the first point is (2, 18), work back to x = 0.

Reading the first number as the slope. In y = 7 − 2x, the slope is −2. It is the number with x.

Losing a sign when getting y alone. 3x + 2y = 8 gives 2y = −3x + 8, so y = −(3/2)x + 4.

Practice: 23 questions

12 of 23 are word problems. For a word problem, sketch it first and mark what you know.

Tier 1 Foundations Use the rule directly

  1. In y = 7 − 2x, what is the slope? What is the y-intercept?
  2. A plumber charges a $65 visit fee plus $40 an hour. Write an equation for the cost y after x hours. Word problem
  3. Ali says y = 3x − 5 crosses the y-axis at (0, 5). Find his mistake.
  4. A line crosses the y-axis at (0, −3). It goes through (4, −1). Write its equation.
    −4−4−3−3−2−2−1−11122334455(0, −3)(4, −1)
  5. A gift card starts with $50. Each coffee costs $3.75. Write an equation for the money y left after x coffees. Word problem
  6. To graph y = 2x − 3, which point do you plot first? Which two whole-number points come next, to the right?

Tier 2 Intermediate One more step to think through

  1. A line has slope −2. It goes through (3, 1). Write its equation.
    −1−111223344(3, 1)
  2. A taxi ride costs $11 for 2 miles. It costs $18.50 for 5 miles. Write an equation for the cost y of x miles. Word problem
  3. Write 3x + 2y = 8 in y = mx + b form. To graph it, which point do you plot first? Which whole-number point comes next, to the right?
  4. A candle is 18 cm tall after 2 hours. It is 12 cm tall after 5 hours. Rosa writes y = −2x + 18. Find her mistake. Word problem
  5. A plant is 7 cm tall at week 1, 11 cm at week 3 and 13 cm at week 4. Write an equation for its height y at week x. How tall was it at week 0? Word problem

Tier 3 Advanced Several steps - find the hidden structure

  1. Write the equation of the line through (−6, 1) and (3, 7).
    −7−7−5−5−3−3−1−111335577(−6, 1)(3, 7)
  2. A line goes through (2, 2) and (6, 0). Is (12, −5) on the line?
    −6−6−4−4−2−22244668810101212(2, 2)(6, 0)(12, −5)
  3. A tank drains at a steady rate. It has 210 liters left after 5 minutes and 168 liters after 12 minutes. Write an equation for the liters y after x minutes. When is it empty? Word problem
  4. A balloon's height is y = −12x + 900 meters after x minutes. Sam says it starts at 12 m and drops 900 m each minute. Find his mistake. Word problem
  5. After 2 hours of driving, a car has 41 liters of fuel. After 5 hours, it has 26.6 liters. Write an equation for the fuel y after x hours. Word problem
  6. A phone plan costs y = 15x + 20 dollars after x months. Your graph's y-axis goes up $10 a square. Which points do you plot for 0, 2 and 4 months? How many squares up is each? Word problem

Tier 4 Challenge Stretch problems, some above grade level

  1. Is y = 2(x − 3) + 5 the same line as the line through (4, 7) and (−1, −3)?
    −4−4−3−3−2−2−1−11122334455667788(4, 7)(−1, −3)
  2. Line L goes through (−2, 5). It has the same y-intercept as y = 4x − 1. Write the equation of L.
    −3−3−2−2−1−1112233445566(−2, 5)(0, −1)
  3. Candle A is 24 cm tall and burns 3 cm each hour. Candle B is 16 cm tall. It burns at a steady rate, and both burn out at the same time. Write an equation for Candle B's height y after x hours. Word problem
  4. A spring stretches the same amount for each kilogram. With a 3 kg weight, it is 28 cm long. Adding 4 more kg makes it longer by exactly its no-weight length. Write an equation for its length y with x kg. Word problem
  5. Graph 4x − 3y = 12 without rewriting it. Which two points, one on each axis, do you plot?
  6. A tile pattern has 7 tiles in step 1, 11 in step 2 and 15 in step 3. Write an equation for the tiles y in step x. How many tiles are in step 50? Word problem Above grade level

Answers

Stuck on this topic?

Trouble here often traces back to an earlier skill. Our free check-in finds the exact gap. A tutor then works on it with your child.

Find gaps free More practice