๐Ÿ“Š Full Lesson ยท Coordinate Geometry
m = (yโ‚‚โˆ’yโ‚)/(xโ‚‚โˆ’xโ‚)
Slope Formula

Calculate and interpret slope from any two points โ€” the rate at which a line rises or falls.

The Mnemonic
Rise Over Run, From Any Two Points

Slope (m) measures how steep a line is โ€” specifically, how much it rises or falls vertically for every unit it moves horizontally. Given any two points (xโ‚, yโ‚) and (xโ‚‚, yโ‚‚) on a line, the slope formula is: m = (yโ‚‚ โˆ’ yโ‚) / (xโ‚‚ โˆ’ xโ‚).

The numerator (yโ‚‚ โˆ’ yโ‚) is the rise โ€” the vertical change. The denominator (xโ‚‚ โˆ’ xโ‚) is the run โ€” the horizontal change. It doesn't matter which point you label 1 and which you label 2, as long as you stay consistent (don't mix a yโ‚‚ from one point with an xโ‚ from the other).

(xโ‚,yโ‚) (xโ‚‚,yโ‚‚) run (xโ‚‚โˆ’xโ‚) rise (yโ‚‚โˆ’yโ‚)
Slope = rise/run = vertical change divided by horizontal change between any two points
๐Ÿ’ก Memory Trick
"Calculate and interpret slope from two points." Rise over run โ€” vertical change over horizontal change. A steep uphill line has a large positive slope; a steep downhill line has a large negative slope; a flat horizontal line has slope exactly 0; a straight vertical line has undefined slope (since you'd be dividing by zero).
Why It Works
Why Slope Stays Constant Along a Straight Line

A defining property of a straight line is that its steepness never changes โ€” pick any two points on that same line, and the slope you calculate will always come out identical, no matter which two points you choose. This is because any two points on the same line, together with a third auxiliary point, always form similar right triangles (matching angles, since they're all cut by the same line at the same angle), and similar triangles have proportional sides โ€” meaning the rise/run ratio stays fixed everywhere along the line.

This is exactly why slope is such a useful single number to describe an entire line โ€” it's the SAME value everywhere on that line, not just true at one specific location.

Using It In A Proof
Reading What Slope Tells You

Beyond just calculating a number, recognizing what different slope VALUES mean is essential for both graphing and later topics like Slope-Intercept Form and Coordinate Transformations.

1
Identify the sign
Positive slope โ†’ line rises left to right. Negative slope โ†’ line falls left to right. Zero slope โ†’ perfectly horizontal line.
2
Watch for the undefined case
If xโ‚‚ โˆ’ xโ‚ = 0 (both points share the same x-coordinate), the slope is undefined โ€” this describes a perfectly vertical line, which has no defined "steepness" in the usual sense.
3
Keep point order consistent
Whichever point you call (xโ‚,yโ‚), use that same point's y and x values together in both the numerator and denominator โ€” swapping only one coordinate's order flips the sign of the result incorrectly.
Full Worked Example
Calculating and Interpreting a Negative Slope

Given: A line passes through (2, 8) and (6, 0). Find: the slope, and describe what it means.

1
Label the points consistently
Let (xโ‚,yโ‚) = (2,8) and (xโ‚‚,yโ‚‚) = (6,0).
2
Apply the formula
m = (0 โˆ’ 8) / (6 โˆ’ 2) = โˆ’8 / 4.
3
Simplify
m = โˆ’2.
4
Interpret the result
A slope of โˆ’2 means the line falls 2 units for every 1 unit it moves to the right โ€” a fairly steep downhill line.
Reversing the point labels โ€” using (6,0) as point 1 and (2,8) as point 2 โ€” gives m = (8โˆ’0)/(2โˆ’6) = 8/(โˆ’4) = โˆ’2, the exact same answer, confirming order doesn't matter as long as it's consistent.
๐ŸŽฏ Quick Worked Example
A line passes through (3, 5) and (3, 9). Find its slope.
1
Apply the formula. m = (9 โˆ’ 5) / (3 โˆ’ 3) = 4 / 0.
2
Recognize the special case. Division by zero is undefined.
3
Conclude. This line has undefined slope โ€” both points share the same x-coordinate (3), meaning the line is perfectly vertical.
๐Ÿ“Œ Exam Application
The undefined-slope case (a vertical line) is a favorite trick question โ€” students who rush often try to force an answer instead of recognizing that division by zero simply means the slope doesn't exist in the usual sense. Always check whether xโ‚‚ โˆ’ xโ‚ = 0 before doing any other arithmetic.
โš ๏ธ Most Common Slope Formula Mistakes
Trap 1 โ€” Mismatching coordinates from different points: Using yโ‚‚ from one point but xโ‚ from the other point in the same fraction produces a completely wrong slope โ€” always keep each point's own x and y paired correctly.

Trap 2 โ€” Confusing zero slope with undefined slope: Zero slope (0 in the numerator) describes a horizontal line; undefined slope (0 in the denominator) describes a vertical line โ€” these are opposite situations, not the same thing.
โœ“ Quick Self-Test
1) State the slope formula. 2) What does a negative slope indicate about a line? 3) Find the slope through (1,4) and (5,12). 4) A line passes through (7,2) and (7,10) โ€” what is its slope, and why? 5) Why does slope stay the same no matter which two points on a line you choose?
Next Lesson
Distance Formula
โ†’
โ† All Coordinate Geometry Lessons