3.4 Graph Using the y-Intercept and Slope

Learning Objectives

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

Slope

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=34

 

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=23

Video Solution

(click to see video)

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 (x1,y1) and (x2,y2), we can obtain the rise and run by subtracting the corresponding coordinates.

This leads us to the slope formulaGiven two points (x1,y1) and (x2,y2), then the slope of the line is given by the formula m=riserun=y2y1x2x1.. Given any two points (x1,y1) and (x2,y2), 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=65

 

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=103

 

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=87

Video Solution

(click to see video)

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.

Slope-Intercept Form of a Line

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=45x+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=45.

 

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 5y and then divide both sides by 5.

Answer: Slope-intercept form: y=35x+6; y-intercept: (0, 6); slope: m=35

 

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=34x2.

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 (223,0).

 

Example 11: Graph: xy=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:

Video Solution

(click to see video)

Key Takeaways

  • 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=riserun=y2y1x2x1.
  • 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.

Topic Exercises

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. (12,13) and (12,23)

16. (34,32) and (14,12)

17. (13,58) and (12,34)

18. (35,32) and (110,45)

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?

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

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. 6x5y=30

34. 2x+7y=28

35. 9xy=17

36. x3y=18

37. 2x3y=0

38. 6x+3y=0

39. 23x54y=10

40. 43x+15y=5

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

41. m=13 and (0, −2)

42. m=23 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=153 and (0, 20)

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

Graph using the slope and y-intercept.

51. y=23x2

52. y=13x+1

53. y=3x+6

54. y=3x+1

55. y=35x

56. y=37x

57. y=8

58. y=7

59. y=x+2

60. y=x+1

61. y=12x+32

62. y=34x+52

63. 4x+y=7

64. 3xy=5

65. 5x2y=10

66. 2x+3y=18

67. xy=0

68. x+y=0

69. 12x13 y=1

70. 23x+12y=2

71. 3x+2y=1

72. 5x+3y=1

73. On the same set of axes, graph the three lines, where y=32x+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=ΔyΔx.

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

Answers

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=65x6; slope: 6/5; y-intercept: (0, −6)

35: y=9x17; slope: 9; y-intercept: (0, −17)

37: y=23x; slope: 2/3; y-intercept: (0, 0)

39: y=815x8; slope: 8/15; y-intercept: (0, −8)

41:

43:

45:

47:

49:

51:

53:

55:

57:

59:

61:

63:

65:

67:

69:

71:

73: