This is “Graph Using the y-Intercept and Slope”, section 3.4 from the book Beginning Algebra (v. 1.0). For details on it (including licensing), click here.
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. To download a .zip file containing this book to use offline, simply click here.
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:
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:
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 and , we can obtain the rise and run by subtracting the corresponding coordinates.
This leads us to the slope formulaGiven two points and , then the slope of the line is given by the formula .. Given any two points and , 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:
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:
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: . 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:
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 , where m is the slope and (0, b) is the y-intercept. . In this form, we can identify the slope, m, and the y-intercept, (0, b).
Example 7: Determine the slope and y-intercept: .
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 .
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 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-intercept: (0, 6); slope:
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: .
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: .
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 .
Example 11: Graph: .
Solution: Begin by solving for y.
The equation can be written , and we have
Answer:
Try this! Graph and label the x-intercept.
Answer:
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. and
16. and
17. and
18. and
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.
34.
35.
36.
37.
38.
39.
40.
Graph the line given the slope and the y-intercept.
41. and (0, −2)
42. and (0, 4)
43. and (0, 1)
44. and (0, −1)
45. and (0, 5)
46. m undefined and (0, 0)
47. and (0, 0)
48. and (0, 0)
49. and (0, 20)
50. and (0, −5)
Graph using the slope and y-intercept.
51.
52.
53.
54.
55.
56.
57.
58.
59.
60.
61.
62.
63.
64.
65.
66.
67.
68.
69.
70.
71.
72.
73. On the same set of axes, graph the three lines, where and b = {−2, 0, 2}.
74. On the same set of axes, graph the three lines, where 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: .
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: ; slope: 6/5; y-intercept: (0, −6)
35: ; slope: 9; y-intercept: (0, −17)
37: ; slope: 2/3; y-intercept: (0, 0)
39: ; slope: 8/15; y-intercept: (0, −8)
41:
43:
45:
47:
49:
51:
53:
55:
57:
59:
61:
63:
65:
67:
69:
71:
73: