Joseph drove from his summer home to his place of work. To avoid the road construction, Joseph decided to travel the gravel road. After driving for 20 minutes he was 62 miles away from work and after driving for 40 minutes he was 52 miles away from work. This situation is shown in the graph below. Determine the slope of the line and tell what it means in this situation.
Watch This
Khan Academy Slope and Rate of Change
Guidance
The slope of a line is the steepness, slant or gradient of that line. Slope is often defined as \begin{align*}\frac{\text{rise}}{\text{run}}\end{align*}
You can determine the slope of a line from a graph by counting. Choose two points on the line that are exact points on the Cartesian grid. Exact points mean points that are located on the corner of a box or points that have coordinates that do not have to be estimated. On the graph below, two exact points are indicated by the blue dots.
Begin with the point that is farthest to the left and RUN to the right until you are directly below (in this case) the second indicated point. Count the number of spaces that you had to run to be below the second point and place this value in the run position in the denominator of the slope. Next count the number of spaces you have to move to reach the second point. In this case you have to rise upward which indicates a positive move. This value must be placed in the rise position in the numerator of the slope.
Here, you had to run 5 spaces to the right, which indicates moving 5 spaces in a positive direction. You now have \begin{align*}m=\frac{\text{rise}}{{\color{blue}5}}\end{align*}
In the above graph, there are not two points on the line that are exact points on the Cartesian grid. Therefore, the slope of the line cannot be determined by counting. The coordinates of points on this line would only be estimated values. When this occurs, the task of calculating the slope of the line must be presented in a different way. The slope would have to be determined from two points that are on the line and these points would have to be given.
Example A
What is the slope of the following line?
Solution: Two points have been indicated. These points are exact values on the graph. From the point to the left, run one space in a positive direction and rise upward 2 spaces in a positive direction.
\begin{align*}m &=\frac{\text{rise}}{\text{run}}\\ m &= \frac{2}{1}\end{align*}
Example B
What is the slope of the following line?
Solution: Two points have been indicated. These points are exact values on the graph. From the point to the left, run two spaces in a positive direction and move downward 5 spaces in a negative direction.
\begin{align*}m &=\frac{\text{rise}}{\text{run}}\\ m &= \frac{5}{2}\end{align*}
Example C
Find the slope of each of the following lines:
(a)
(b)
Solution:
(a)
Two points on this line are (–5, 5) and (4, 5). The rise is 0 and the run is 9. The slope is \begin{align*}m=\frac{0}{9}=0\end{align*}
All lines perpendicular to the yaxis (horizontal lines) will have a slope of 0.
(b)
Two points on this line are (–3, 5) and (–3, –10). The rise is 15 and the run is 0. The slope is \begin{align*}m=\frac{15}{0}=undefined\end{align*}
All lines perpendicular to the xaxis (vertical lines) will have a slope that is undefined.
Note that having a slope of 0 is different from having a slope that is undefined.
Concept Problem Revisited
If the slope is calculated by counting, caution must be used to determine the correct values for both rise and run. The scale on both the \begin{align*}x\end{align*}
Two points have been indicated. These points are exact values on the graph. From the point to the left, run 20 spaces in a positive direction and move downward 10 spaces.
\begin{align*}m &=\frac{\text{rise}}{\text{run}}\\ m &= \frac{10}{20}=\frac{1}{2}\end{align*}
The slope means that for every two minutes that Joseph is driving, he gets one mile closer to work.
Vocabulary
 Slope
 The slope of a line is the steepness of the line. One formula for slope is: \begin{align*}\frac{\text{rise}}{\text{run}}.\end{align*}
Guided Practice
1. Identify the slope for the following graph.
2. Identify the slope for the following graph.
3. What is the slope of the line that passes through the point (2, 4) and is perpendicular to the \begin{align*}x\end{align*}axis?
4. What is the slope of the line that passes through the point (–6, 8) and is perpendicular to the \begin{align*}y\end{align*}axis?
Answers:
1.
 Two exact points on the above graph are (0, 4) and (16, –2). From the point to the left, run sixteen spaces in a positive direction and move downward six spaces in a negative direction.

\begin{align*}m&=\frac{\text{rise}}{\text{run}}\\
m&=\frac{6}{16}\\
m&=\frac{3}{8}\end{align*}
2.
 Two exact points on the above graph are (–2, –2) and (8, 4). From the point to the left, run ten spaces in a positive direction and move upward six spaces in a positive direction.

\begin{align*}m&=\frac{\text{rise}}{\text{run}}\\
m&=\frac{6}{10}\\
m&=\frac{3}{5}\end{align*}
3. You are not given the coordinates of two points. Sketch the graph according the information given.
 A line that is perpendicular to the \begin{align*}x\end{align*}axis is parallel to the \begin{align*}y\end{align*}axis. The slope of a line that is parallel to the \begin{align*}y\end{align*}axis has a slope that is undefined.
4. You are not given the coordinates of two points. Sketch the graph according the information given.
 A line that is perpendicular to the \begin{align*}y\end{align*}axis is parallel to the \begin{align*}x\end{align*}axis. The slope of a line that is parallel to the \begin{align*}x\end{align*}axis has a slope that is zero.
Practice
1. Explain how to find the slope of a line from its graph.
2. What does the slope of a line represent?
3. From left to right, a certain line points upwards. Is the slope of the line positive or negative?
4. How can you tell by looking at a graph if its slope is positive or negative?
5. What is the slope of a horizontal line?
6. What is the slope of a vertical line?
Find the slope of each of the following lines.
 .
 .
 .
 .
 .
 .
 .
 .
Plot the pairs of points and then find the slope of the line connecting the points. Can you come up with a way to find the slope without graphing?
 \begin{align*}(2, 4)\end{align*} and \begin{align*}(1, 3)\end{align*}
 \begin{align*}(4, 2)\end{align*} and \begin{align*}(2, 7)\end{align*}