This is “Graph Using the y-Intercept and Slope”, section 3.4 from the book Beginning Algebra (v. 1.0).

For more information on the source of this book, or why it is available for free, please see the project's home page. You can browse or download additional books there. You may also download a PDF copy of this book (81 MB) or just this chapter (23 MB), suitable for printing or most e-readers, or a .zip file containing this book's HTML files (for use in a web browser offline).

Has this book helped you? Consider passing it on:

Creative Commons supports free culture from music to education. Their licenses helped make this book available to you.

DonorsChoose.org helps people like you help teachers fund their classroom projects, from art supplies to books to calculators.

- Identify and find the slope of a line.
- Graph a line using the slope and
*y*-intercept.

The steepness of any incline can be measured as the ratio of the vertical change to the horizontal change. For example, a 5% incline can be written as 5/100, which means that for every 100 feet forward, the height increases 5 feet.

In mathematics, we call the incline of a line the slopeThe incline of a line measured as the ratio of the vertical change to the horizontal change, often referred to as *rise over run*. and use the letter *m* to denote it. The vertical change is called the riseThe vertical change between any two points on a line. and the horizontal change is called the runThe horizontal change between any two points on a line..

The rise and the run can be positive or negative. A positive rise corresponds to a vertical change up and a negative rise corresponds to a vertical change down. A positive run denotes a horizontal change to the right and a negative run corresponds to a horizontal change to the left. Given the graph, we can calculate the slope by determining the vertical and horizontal changes between any two points.

**Example 1:** Find the slope of the given line:

**Solution:** From the given points on the graph, count 3 units down and 4 units right.

Answer: $m=-\frac{3}{4}$

Here we have a negative slope, which means that for every 4 units of movement to the right, the vertical change is 3 units downward. There are four geometric cases for the value of the slope.

Reading the graph from left to right, we see that lines with an upward incline have positive slopes and lines with a downward incline have negative slopes.

If the line is horizontal, then the rise is 0:

The slope of a horizontal line is 0. If the line is vertical, then the run is 0:

The slope of a vertical line is undefined.

**Try this!** Find the slope of the given line:

Answer: $m=\frac{2}{3}$

Calculating the slope can be difficult if the graph does not have points with integer coordinates. Therefore, we next develop a formula that allows us to calculate the slope algebraically. Given any two points $({x}_{1},\text{\hspace{0.17em}}{y}_{1})$ and $({x}_{2},\text{\hspace{0.17em}}{y}_{2})$, we can obtain the rise and run by subtracting the corresponding coordinates.

This leads us to the slope formulaGiven two points $({x}_{1},\text{\hspace{0.17em}}{y}_{1})$ and $({x}_{2},\text{\hspace{0.17em}}{y}_{2})$, then the slope of the line is given by the formula $m=\frac{rise}{run}=\frac{{y}_{2}-{y}_{1}}{{x}_{2}-{x}_{1}}$.. Given any two points $({x}_{1},\text{\hspace{0.17em}}{y}_{1})$ and $({x}_{2},\text{\hspace{0.17em}}{y}_{2})$, the slope is given by

**Example 2:** Find the slope of the line passing through (−3, −5) and (2, 1).

**Solution:** Given (−3, −5) and (2, 1), calculate the difference of the *y*-values divided by the difference of the *x*-values. Since subtraction is not commutative, take care to be consistent when subtracting the coordinates.

Answer: $m=\frac{6}{5}$

We can graph the line described in the previous example and verify that the slope is 6/5.

Certainly the graph is optional; the beauty of the slope formula is that we can obtain the slope, given two points, using only algebra.

**Example 3:** Find the slope of the line passing through (−4, 3) and (−1, −7).

**Solution:**

Answer: $m=-\frac{10}{3}$

When using the slope formula, take care to be consistent since order does matter. You must subtract the coordinates of the first point from the coordinates of the second point for both the numerator and the denominator in the *same order*.

**Example 4:** Find the slope of the line passing through (7, −2) and (−5, −2).

**Solution:**

Answer: $m=0$. As an exercise, plot the given two points and verify that they lie on a horizontal line.

**Example 5:** Find the slope of the line passing through (−4, −3) and (−4, 5).

**Solution:**

Answer: The slope *m* is undefined. As an exercise, plot the given two points and verify that they lie on a vertical line.

**Try this!** Calculate the slope of the line passing through (−2, 3) and (5, −5).

Answer: $m=-\frac{8}{7}$

When considering the slope as a rate of change it is important to include the correct units.

**Example 6:** A Corvette Coupe was purchased new in 1970 for about $5,200 and depreciated in value over time until it was sold in 1985 for $1,300. At this point, the car was beginning to be considered a classic and started to increase in value. In the year 2000, when the car was 30 years old, it sold at auction for $10,450. The following line graph depicts the value of the car over time.

a. Determine the rate at which the car depreciated in value from 1970 to 1985.

b. Determine the rate at which the car appreciated in value from 1985 to 2000.

**Solution:** Notice that the value depends on the age of the car and that the slope measures the rate in dollars per year.

a. The slope of the line segment depicting the value for the first 15 years is

Answer: The value of the car depreciated $260 per year from 1970 to 1985.

b. The slope of the line segment depicting the value for the next 15 years is

Answer: The value of the car appreciated $610 per year from 1985 to 2000.

To this point, we have learned how to graph lines by plotting points and by using the *x*- and *y*-intercepts. In addition, we have seen that we need only two points to graph a line. In this section, we outline a process to easily determine two points using the *y*-intercept and the slope. The equation of any nonvertical line can be written in slope-intercept formAny nonvertical line can be written in the form $y=mx+b$, where *m* is the slope and (0, *b*) is the *y*-intercept. $y=mx+b$. In this form, we can identify the slope, *m*, and the *y*-intercept, (0, *b*).

**Example 7:** Determine the slope and *y*-intercept: $y=-\frac{4}{5}x+7$.

**Solution:** In this form, the coefficient of *x* is the slope, and the constant is the *y*-value of the *y*-intercept. Therefore, by inspection, we have

Answer: The *y*-intercept is (0, 7), and the slope is $m=-\frac{4}{5}$.

It is not always the case that the linear equation is given in slope-intercept form. When it is given in standard form, you have to first solve for *y* to obtain slope-intercept form.

**Example 8:** Express $3x+5y=30$ in slope-intercept form and then identify the slope and *y*-intercept.

**Solution:** Begin by solving for *y*. To do this, apply the properties of equality to first isolate 5*y* and then divide both sides by 5.

Answer: Slope-intercept form: $y=-\frac{3}{5}x+6$; *y*-intercept: (0, 6); slope: $m=-\frac{3}{5}$

Once the equation is in slope-intercept form, we immediately have one point to plot, the *y*-intercept. From the intercept, you can mark off the slope to plot another point on the line. From the previous example we have

Starting from the point (0, 6), use the slope to mark another point 3 units down and 5 units to the right.

It is not necessary to check that the second point, (5, 3), solves the original linear equation. However, we do it here for the sake of completeness.

Marking off the slope in this fashion produces as many ordered pair solutions as we desire. Notice that if we mark off the slope again, from the point (5, 3), then we obtain the *x*-intercept, (10, 0).

**Example 9:** Graph: $-x+2y=4$.

**Solution:** In this example, we outline the general steps for graphing a line using slope-intercept form.

**Step 1:** Solve for *y* to obtain slope-intercept form.

**Step 2:** Identify the *y*-intercept and slope.

**Step 3:** Plot the *y*-intercept and use the slope to find another ordered pair solution. Starting from the *y*-intercept, mark off the slope and identify a second point. In this case, mark a point after a rise of 1 unit and a run of 2 units.

**Step 4:** Draw the line through the two points with a straightedge.

Answer:

In this example, we notice that we could get the *x*-intercept by marking off the slope in a different but equivalent manner. Consider the slope as the ratio of two negative numbers as follows:

We could obtain another point on the line by marking off the equivalent slope down 1 unit and left 2 units. We do this twice to obtain the *x*-intercept, (−4, 0).

Marking off the slope multiple times is not necessarily always going to give us the *x*-intercept, but when it does, we obtain a valuable point with little effort. In fact, it is a good practice to mark off the slope multiple times; doing so allows you to obtain more points on the line and produce a more accurate graph.

**Example 10:** Graph and find the *x*-intercept: $y=\frac{3}{4}x-2$.

**Solution:** The equation is given in slope-intercept form. Therefore, by inspection, we have the *y*-intercept and slope.

We can see that the *x*-value of the *x*-intercept is a mixed number between 2 and 3. To algebraically find *x*-intercepts, recall that we must set *y* = 0 and solve for *x*.

Answer: The *x*-intercept is $\left(2{\scriptscriptstyle \frac{2}{3}},\text{\hspace{0.17em}}0\right)$.

**Example 11:** Graph: $x-y=0$.

**Solution:** Begin by solving for *y*.

The equation $y=x$ can be written $y=1x+0$, and we have

Answer:

**Try this!** Graph $-2x+5y=20$ and label the *x*-intercept.

Answer:

- Slope measures the steepness of a line as
*rise over run*. A positive rise denotes a vertical change up, and a negative rise denotes a vertical change down. A positive run denotes a horizontal change right, and a negative run denotes a horizontal change left. - Horizontal lines have a slope of zero, and vertical lines have undefined slopes.
- Given any two points on a line, we can algebraically calculate the slope using the slope formula, $m=\frac{rise}{run}=\frac{{y}_{2}-{y}_{1}}{{x}_{2}-{x}_{1}}$.
- Any nonvertical line can be written in slope-intercept form, $y=mx+b$, from which we can determine, by inspection, the slope
*m*and*y*-intercept (0,*b*). - If we know the
*y*-intercept and slope of a line, then we can easily graph it. First, plot the*y*-intercept, and from this point use the slope as*rise over run*to mark another point on the line. Finally, draw a line through these two points with a straightedge and add an arrow on either end to indicate that it extends indefinitely. - We can obtain as many points on the line as we wish by marking off the slope multiple times.

Part A: Slope

*Determine the slope and the **y**-intercept of the given graph.*

1.

2.

3.

4.

5.

6.

*Determine the slope, given two points.*

7. (3, 2) and (5, 1)

8. (7, 8) and (−3, 5)

9. (2, −3) and (−3, 2)

10. (−3, 5) and (7, −5)

11. (−1, −6) and (3, 2)

12. (5, 3) and (4, 12)

13. (−9, 3) and (−6, −5)

14. (−22, 4) and (−8, −12)

15. $\left({\scriptscriptstyle \frac{1}{2}},\text{\hspace{0.17em}}-{\scriptscriptstyle \frac{1}{3}}\right)$ and $\left(-{\scriptscriptstyle \frac{1}{2}},\text{\hspace{0.17em}}{\scriptscriptstyle \frac{2}{3}}\right)$

16. $\left(-{\scriptscriptstyle \frac{3}{4}},\text{\hspace{0.17em}}{\scriptscriptstyle \frac{3}{2}}\right)$ and $\left({\scriptscriptstyle \frac{1}{4}},\text{\hspace{0.17em}}-{\scriptscriptstyle \frac{1}{2}}\right)$

17. $\left(-{\scriptscriptstyle \frac{1}{3}},\text{\hspace{0.17em}}{\scriptscriptstyle \frac{5}{8}}\right)$ and $\left({\scriptscriptstyle \frac{1}{2}},\text{\hspace{0.17em}}-{\scriptscriptstyle \frac{3}{4}}\right)$

18. $\left(-{\scriptscriptstyle \frac{3}{5}},\text{\hspace{0.17em}}-{\scriptscriptstyle \frac{3}{2}}\right)$ and $\left({\scriptscriptstyle \frac{1}{10}},\text{\hspace{0.17em}}{\scriptscriptstyle \frac{4}{5}}\right)$

19. (3, −5) and (5, −5)

20. (−3, 1) and (−14, 1)

21. (−2, 3) and (−2, −4)

22. (−4, −4) and (5, 5)

23. A roof drops 4 feet for every 12 feet forward. Determine the slope of the roof.

24. A road drops 300 feet for every 5,280 feet forward. Determine the slope of the road.

25. The following graph gives the US population of persons 65 years old and over. At what rate did this population increase from 2000 to 2008?

Source: US Census Bureau.

26. The following graph gives total consumer credit outstanding in the United States. At what rate did consumer credit increase from 2002 to 2008?

Source: US Census Bureau.

27. A commercial van was purchased new for $20,000 and is expected to be worth $4,000 in 8 years. Determine the rate at which the van depreciates in value.

28. A commercial-grade copy machine was purchased new for $4,800 and will be considered worthless in 6 years. Determine the rate at which the copy machine depreciates in value.

29. Find *y* if the slope of the line passing through (−2, 3) and (4, *y*) is 12.

30. Find *y* if the slope of the line passing through (5, *y*) and (6, −1) is 10.

31. Find *y* if the slope of the line passing through (5, *y*) and (−4, 2) is 0.

32. Find *x* if the slope of the line passing through (−3, 2) and (*x*, 5) is undefined.

Part B: Slope-Intercept Form

*Express the given linear equation in slope-intercept form and identify the slope and **y**-intercept.*

33. $6x-5y=30$

34. $-2x+7y=28$

35. $9x-y=17$

36. $x-3y=18$

37. $2x-3y=0$

38. $-6x+3y=0$

39. ${\scriptscriptstyle \frac{2}{3}}x-{\scriptscriptstyle \frac{5}{4}}y=10$

40. $-{\scriptscriptstyle \frac{4}{3}}x+{\scriptscriptstyle \frac{1}{5}}y=-5$

*Graph the line given the slope and the **y**-intercept.*

41. $m=\frac{1}{3}$ and (0, −2)

42. $m=-\frac{2}{3}$ and (0, 4)

43. $m=3$ and (0, 1)

44. $m=-2$ and (0, −1)

45. $m=0$ and (0, 5)

46. *m* undefined and (0, 0)

47. $m=1$ and (0, 0)

48. $m=-1$ and (0, 0)

49. $m=-\frac{15}{3}$ and (0, 20)

50. $m=-10$ and (0, −5)

*Graph using the slope and **y**-intercept.*

51. $y=\frac{2}{3}x-2$

52. $y=-\frac{1}{3}x+1$

53. $y=-3x+6$

54. $y=3x+1$

55. $y=\frac{3}{5}x$

56. $y=-\frac{3}{7}x$

57. $y=-8$

58. $y=7$

59. $y=-x+2$

60. $y=x+1$

61. $y=\frac{1}{2}x+\frac{3}{2}$

62. $y=-\frac{3}{4}x+\frac{5}{2}$

63. $4x+y=7$

64. $3x-y=5$

65. $5x-2y=10$

66. $-2x+3y=18$

67. $x-y=0$

68. $x+y=0$

69. $\frac{1}{2}x-\frac{1}{3}y=1$

70. $-\frac{2}{3}x+\frac{1}{2}y=2$

71. $3x+2y=1$

72. $5x+3y=1$

73. On the same set of axes, graph the three lines, where $y={\scriptscriptstyle \frac{3}{2}}x+b$ and *b* = {−2, 0, 2}.

74. On the same set of axes, graph the three lines, where $y=mx+1$ and *m* = {−1/2, 0, 1/2}.

Part C: Discussion Board Topics

75. Name three methods for graphing lines. Discuss the pros and cons of each method.

76. Choose a linear equation and graph it three different ways. Scan the work and share it on the discussion board.

77. Why do we use the letter *m* for slope?

78. How are equivalent fractions useful when working with slopes?

79. Can we graph a line knowing only its slope?

80. Research and discuss the alternative notation for slope: $m=\frac{\Delta y}{\Delta x}$.

81. What strategies for graphing lines should be brought to an exam? Explain.

1: *y*-intercept: (0, 3); slope: *m* = −3/4

3: *y*-intercept: (0, 2); slope: *m* = 0

5: *y*-intercept: (0, 0); slope: *m* = 2

7: −1/2

9: −1

11: 2

13: −8/3

15: −1

17: −33/20

19: 0

21: Undefined

23: −1/3

25: ½ million per year

27: $2,000 per year

29: 75

31: 2

33: $y=\frac{6}{5}x-6$; slope: 6/5; *y*-intercept: (0, −6)

35: $y=9x-17$; slope: 9; *y*-intercept: (0, −17)

37: $y=\frac{2}{3}x$; slope: 2/3; *y*-intercept: (0, 0)

39: $y=\frac{8}{15}x-8$; slope: 8/15; *y*-intercept: (0, −8)

41:

43:

45:

47:

49:

51:

53:

55:

57:

59:

61:

63:

65:

67:

69:

71:

73: