Equations in Slope-Intercept Form

In y = mx + b, m describes the change in y for each increase of 1 in x, and b gives the value of y at x = 0. Use these two numbers to graph lines, interpret fixed fees and constant rates, and work backward from a graph to an equation. Substituting a point provides a check for errors.

Course cover for Equations in Slope-Intercept Form

A Line in Two Numbers

A scooter ride costs a one-time unlock fee plus a rate for each minute ridden. On a graph, x represents minutes ridden and y represents total cost in dollars. The cost starts above zero because the unlock fee is charged before any minutes are ridden

The scooter graph passes through (0, 12), (1, 16), (2, 20), (3, 24), and (4, 28). Its starting cost is $12, and each extra minute adds $4. These two numbers—where the line crosses the y-axis and how much it rises per minute—are captured by the equation y = 4x + 12

A Line in Two Numbers: 1 2 3 4 5 0 4 8 12 16 20 24 28 32 36 40 Minutes ridden Total cost ($)

The general form y = mx + b packages a line's slope and y-intercept into one equation. This lesson uses it in both directions: reading an equation to graph a line, and reading a graph to write an equation

Reading y = mx + b

In slope-intercept form, y = mx + b, m is the slope: the change in y each time x increases by 1. The number b is the y-intercept value: the value of y when x = 0

To locate the y-intercept, substitute x = 0: y = m · 0 + b = b. Thus, the line crosses the y-axis at (0, b). A positive slope rises from left to right; a negative slope falls from left to right

Reading y = mx + b: x y O (0, b)

Example: Decode the scooter equation

Scooter ride: y = 4x + 12, where x is minutes ridden and y is total cost in dollars. Find m and b, and say what each means. The coefficient multiplying x is 4, so m = 4: the cost increases by $4 per minute. The added constant is 12, so b = 12: the $12 unlock fee is the cost at 0 minutes

The line crosses the y-axis at (0, 12). Moving right 1 minute and up $4 gives (1, 16), then (2, 20). Both the starting point and the constant increase can be read directly from the equation without first making a table

Reading y = mx + b: x (minutes) y ($) 1 2 3 4 0 4 8 12 16 20 24 28 (0, 12) right 1 up 4

Practice 1: Match the features

Match each feature of the line y = -5x + 4 to its value. The features are slope m, y-intercept b, and the point where the line crosses the y-axis. The available values are -5, 4, (0, 4), (4, 0), and 5

The correct matches are m → -5, b → 4, and y-axis crossing → (0, 4). Keep the negative sign attached to the coefficient of x. The point (4, 0) lies on the x-axis, not at this line's y-intercept; 5 drops the slope's negative sign

Graphing from Slope and Intercept

Consider the family of lines y = mx + 1. Changing m changes the tilt, but every line still passes through (0, 1), since b remains 1. The slope exploration asks for both a rising line, with m > 0, and a falling line, with m < 0

The three-step graphing method

Plot the y-intercept (0, b) on the y-axis. This is the starting point for counting your slope movement

Read the slope as rise over run. Rise is the vertical move and run is the horizontal move. Count these moves from the starting point to find a second point

Draw a straight line through the two points, with arrows on both ends to show that the line continues indefinitely

Example: Slope 3/2 and y-intercept -2

Graph the line with slope 3/2 and y-intercept -2. First, plot (0, -2), two units below the origin. Next, read 3/2 as rise 3 and run 2. From (0, -2), move up 3 units to (0, 1), then right 2 units to (2, 1)

Graphing from Slope and Intercept: O −4 −3 −2 −1 1 2 3 4 −4 −3 −2 −1 1 2 3 4 x y (0, 1)
Graphing from Slope and Intercept: x y -3 -2 -1 1 2 3 3 2 1 -1 -2 -3 starting point
Graphing from Slope and Intercept: x y -4 -3 -2 -1 1 2 3 4 4 3 2 1 -1 -2 -3 -4 rise 3 run 2 (2, 1) y-intercept (0, -2)

Draw the straight line through (0, -2) and (2, 1), with arrows on both ends. The line rises from left to right, consistent with its positive slope

Practice 2: Complete a graphing plan

Complete the plan for graphing a line with slope 2/5 and y-intercept 1: start at (0, ___), then rise ___ and run ___ to reach (5, 3). The available values are 1, 2, 5, -1, and 3

Graphing from Slope and Intercept: x y -2 -1 1 2 3 4 5 6 6 5 4 3 2 1 -1 -2 (5, 3) second point

The blanks are 1, 2, and 5, respectively. Start at (0, 1), move up 2 and right 5, and arrive at (5, 3). The y-intercept supplies the starting height; the numerator of the slope supplies the rise and the denominator supplies the run

Negative and Whole-Number Slopes

A line has slope -2. Reading left to right, which way does it tilt?

A

Downhill: it falls from left to right

B

Uphill: it rises from left to right

To use a whole-number slope as rise over run, write it over 1. For example, -2 = -2/1. With the negative sign in the numerator, the rise is -2 and the run is 1: move down 2 and right 1

Moving up 2 and left 1 follows the same line in the opposite direction. Both movements describe a line that falls when read from left to right

Example: Graph a falling line

Graph the line with slope -2 and y-intercept 3. First, plot (0, 3). Rewrite the slope as -2/1. From (0, 3), move down 2 units to (0, 1), then right 1 unit to (1, 1)

Negative and Whole-Number Slopes: x y -4 -3 -2 -1 1 2 3 4 4 3 2 1 -1 -2 -3 -4 rise -2 (down 2) run 1 (1, 1) starting point (0, 3)

Draw a straight line through (0, 3) and (1, 1), with arrows on both ends. Its downward direction from left to right agrees with m = -2

Practice 4: Use a negative slope

A line has slope -5 and y-intercept 2, so the starting point is (0, 2). Write -5 as -5/1 to identify a rise of -5 and a run of 1

Negative and Whole-Number Slopes: x y -3 -2 -1 1 2 3 4 5 6 8 6 4 2 -2 -4 -6 start (0, 2) (1, -3) (1, 7) (-1, -3) (5, 1)

Starting from (0, 2), use rise over run for slope -5. Tap the second point the movement reaches

A

(1, -3)

B

(1, 7)

C

(-1, -3)

D

(5, 1)

From Graph to Equation

To reverse the process, read a line's y-intercept and slope from its graph, then place them in y = mx + b. The kennel example uses x for nights boarded and y for total cost in dollars. Its graph passes through (0, 40), (1, 60), (2, 80), and (3, 100). The cost begins above zero and increases steadily

From Graph to Equation: 1 2 3 4 5 0 20 40 60 80 100 120 140
From Graph to Equation: Nights boarded Total cost ($)
From Graph to Equation: Nights boarded Total cost ($) b = 40 (3, 100)

The reverse plan

First, read b at the point where the line crosses the y-axis. Second, compute m = change in y / change in x between two clear points, using the values on the axes. Third, write y = mx + b and check it against another point on the line

From Graph to Equation: 1 2 3 4 5 0 20 40 60 80 100 120 140
From Graph to Equation: Nights boarded Total cost ($)

Example: Write the kennel equation

Given the kennel cost graph, find its equation in slope-intercept form. The crossing point is (0, 40), so b = 40. Between (0, 40) and (1, 60), the change in y is 60 - 40 = 20 dollars and the change in x is 1 - 0 = 1 night. Therefore, m = 20/1 = 20 dollars per night

From Graph to Equation: Nights boarded Total cost ($) b = 40 up $20 right 1 night

Substitute these values into y = mx + b to obtain y = 20x + 40. The $40 is a one-time booking fee, charged before the first night. The $20 per night is the constant rate: each extra night adds the same $20

Check the equation with (3, 100). Substituting x = 3 gives 20(3) + 40 = 60 + 40 = 100, matching the graph's y-value at three nights

Practice 5: Write the plant equation

A bean plant is measured each week, with x representing weeks and y representing height in centimeters. Its graph passes through (0, 4), (1, 7), (2, 10), and (3, 13). Use the graph to complete y = ___x + ___, choosing from 3, 4, 7, and -3

From Graph to Equation: 1 2 3 4 0 2 4 6 8 10 12 14 Weeks Height (cm) (0, 4) (1, 7)

The y-axis crossing (0, 4) gives b = 4. Comparing the labeled points (0, 4) and (1, 7) gives m = (7 - 4)/(1 - 0) = 3. The completed equation is y = 3x + 4: a starting height of 4 cm and growth of 3 cm per week

Check with a point

Every point on a line must satisfy its equation. Substitute the point's x-coordinate into the equation and compare the result with its y-coordinate. For the kennel equation y = 20x + 40 and point (2, 80), the calculation is 20(2) + 40 = 80, matching the point. A mismatch reveals that the proposed equation does not describe that line

Practice 6: A classmate wrote y = 15x + 40 for a graphed line, but the line passes through (2, 80). Test the proposed equation at x = 2

Substitute x = 2 into the classmate's equation. What does the check reveal?

A

$$15(2) + 40 = 70$$, not 80, so the equation is wrong

B

$$15(2) + 40 = 80$$, so the equation is correct

C

The check only works at the y-intercept, so it proves nothing here

Summary

1. Read the form: In y = mx + b, m is the slope—the change in y per increase of 1 in x. The number b is the y-intercept value, and the crossing point is (0, b)

2. Graph the line: Plot (0, b), count rise over run to a second point, and draw the straight line through both points with arrows on both ends

3. Handle whole-number and negative slopes: Write a whole-number slope over 1. For -2 = -2/1, move down 2 and right 1; the line falls from left to right

4. Work from graph to equation: Read b at the y-axis crossing, compute m as change in y divided by change in x using the axis scale, and write y = mx + b

5. Check for errors: Substitute a point from the line into the equation. The calculated y must match the point's y-coordinate; a mismatch means the equation is wrong

Quiz

Which statement about the line $$y = -4x + 9$$ is true?

A

m = -4, and the line crosses the y-axis at (0, 9)

B

m = 4, and the line crosses the y-axis at (0, 9)

C

m = -4, and the line crosses the y-axis at (9, 0)

D

m = 9, and the line crosses the y-axis at (0, -4)

Quiz 2: Complete the graphing plan

Complete the plan for y = -4x - 1

  1. plot (0, ___) on the y-axis
  2. count down ___, right 1, to reach (1, ___)
  3. draw the line through both points. The available values are -1, 4, -5, 1, 3, and -4

The blanks are -1, 4, and -5, respectively. The constant term gives the starting point (0, -1). The slope -4 = -4/1 means down 4 and right 1, so the next point is (1, -5). Draw the line through those points

Quiz 3: Read the truck-rental graph

For a moving-truck rental, x represents days rented and y represents total cost in dollars. The graph's y-axis is marked 0, 40, 80, 120, 160, 200, and 240. The line passes through (0, 80), (1, 140), and (2, 200), with (0, 80) and (1, 140) labeled

Which equation matches the truck-rental graph?

A

$$y = 60x + 80$$

B

$$y = 80x + 60$$

C

$$y = 1.5x + 2$$

D

$$y = 60x$$

Continue with the interactive lesson