Algebra 1 · Pre-Algebra · Grades 8, 9
What Slope Is, and Why It Never Changes on a Line
Quick answer
Slope measures how steep a line is: the change in y divided by the change in x, often said as rise over run. Between the points (1, 2) and (4, 8) the slope is (8 - 2) divided by (4 - 1), which is 2. A positive slope rises left to right, a negative slope falls, a horizontal line has slope 0, and a vertical line has no slope at all.
What you'll learn
- Find the slope of a line from a graph or from two points
- Explain why slope is the same between any two points on a line
- Interpret positive, negative, zero and undefined slope
What slope measures
Slope is a number describing how steep a line is, and which way it tilts. It compares how far the line goes up with how far it goes across:
A slope of means: every time you move across, the line climbs . A slope of means it climbs only for every across, so it is much shallower.
The slope formula
Given two points and on the line:
The subscripts label the points; they are not exponents. means “the of the second point”, not ” squared”.
Why slope is the same everywhere on a line
Here is the question nobody asks out loud: if you pick two points near the left end of a line and I pick two near the right end, why do we get the same number?
It is not a coincidence, and it is not true of curves — pick two points on a parabola and the answer changes depending on where you look. Straightness is exactly what makes slope well-defined.
Draw the right triangle under your two points: horizontal leg the run, vertical leg the rise. Do the same for my two points. Both triangles have a right angle, and both have the line itself as their hypotenuse, so their acute angles match too.
Two triangles with the same three angles are similar: one is a scaled copy of the other. And in similar triangles, corresponding sides are in the same ratio. So
Your triangle might be twice the size of mine, but doubling both the rise and the run leaves the fraction unchanged. That is why any two points give the same slope, and it is why a single number can describe a whole line.
The four kinds of slope
| Slope | Line looks like | Because |
|---|---|---|
| positive | rises left to right | increases as increases |
| negative | falls left to right | decreases as increases |
| zero | horizontal | no rise, so |
| undefined | vertical | no run, and dividing by zero is undefined |
Worked examples
Common mistakes
Practice problems
-
Find the slope through and .
Hint
Rise over run: subtract the values on top, the values underneath.
Answer
Full solution
.
Check by swapping: ✓
-
Find the slope through and .
Answer
Full solution
. The line falls left to right.
-
Find the slope through and .
Answer
Full solution
. Equal heights mean a horizontal line.
-
Find the slope through and .
Hint
Look at the denominator before you finish.
Answer
Undefined.
Full solution
, which is undefined. The line is vertical.
-
Find the slope through and .
Answer
Full solution
.
-
A line has slope and passes through . Starting there, which point do you reach by moving one full rise and run?
Hint
A slope of means up for every across.
Answer
Full solution
From , run to the right and rise up, landing on .
Check: ✓
-
Do , and lie on one straight line?
Hint
If they are collinear, every pair gives the same slope.
Answer
Yes.
Full solution
From to : .
From to : .
From to : .
All three agree, so the points are collinear. Had any pair disagreed, no straight line could pass through all three.
-
A phone plan charges a fixed monthly fee plus a rate per gigabyte. Using 2 GB costs $35 and using 5 GB costs $50. What is the cost per gigabyte, and what does it mean?
Hint
Treat gigabytes as and cost as . The slope is the rate.
Answer
$5 per gigabyte.
Full solution
.
The slope is dollars per gigabyte — each extra gigabyte adds $5 to the bill. The fixed fee is not the slope; it is where the line meets the vertical axis.
Frequently asked questions
Does it matter which point I call the first one?
No, as long as you are consistent. Subtracting in the other order flips the sign of both the top and the bottom of the fraction, and those two sign changes cancel. What breaks it is mixing the orders, using one point first on top and second on the bottom.
What is the difference between zero slope and undefined slope?
A horizontal line has slope 0, because y never changes so the top of the fraction is 0. A vertical line has undefined slope, because x never changes so the bottom is 0, and dividing by zero is not defined.
Key terms in this lesson
- Linear equation
- A linear equation is one whose graph is a straight line. Every variable appears to the first power only, so there are no squares, roots, or variables in a denominator.
- Slope
- Slope measures how steep a line is: the change in y divided by the change in x. A slope of 2 means the line climbs 2 units for every 1 unit across.
Standards alignment
This lesson covers the following Common Core State Standards for Mathematics.
- CCSS.MATH.CONTENT.8.EE.B.6Expressions and EquationsUse similar triangles to explain why the slope m is the same between any two distinct points on a non-vertical line in the coordinate plane; derive the equation y = mx for a line through the origin and the equation y = mx + b for a line intercepting the vertical axis at b.
- CCSS.MATH.CONTENT.8.EE.B.5Expressions and EquationsGraph proportional relationships, interpreting the unit rate as the slope of the graph. Compare two different proportional relationships represented in different ways.