How to find the slope of a line from a graph or two points
On a line, the slope tells us how much the height changes for a given move to the right. We’ll find that change on a graph first, then use the same idea when all we’re given is two points.
Write rise over run
The rise is the change in , and the run is the change in . From to , the slope is
Use the same point order in both subtractions. Swapping the points changes the signs of both differences, so it leaves their quotient the same whenever the run is nonzero.
Example: Count the rise and run on a graph
From to , we move right and up . So the slope is . Using the coordinates gives the same result:
Example: Use the slope formula with two points
Find the slope between and . Use the second point minus the first in both the numerator and the denominator.
The negative slope means that as we move one unit to the right, the line goes down two units.
What do zero and undefined slope mean?
A line that goes up from left to right has positive slope; one that goes down has negative slope. A horizontal line has slope zero because its rise is zero. A vertical line has undefined slope because its run is zero, so the slope formula would divide by zero.
Once you know the slope, you can use it to graph a line from an equation.