Algebra 1 Core slopeformulalines

The Slope Formula

Computing steepness from two points without a graph.

Video by Khan Academy — “Point-slope and slope-intercept form from two points | Algebra I | Khan Academy” Watch on YouTube

The explanation

Key idea m = (y₂ − y₁)/(x₂ − x₁).

Given two points, slope is the change in y divided by the change in x.

For (2, 3) and (6, 11): m = (11 − 3)/(6 − 2) = 8/4 = 2.

Pick a point to be "first" and stay consistent. Both subtractions must go in the same order, or the sign comes out wrong.

Special cases:

  • Horizontal line: y never changes, so m = 0.
  • Vertical line: x never changes, so you would divide by zero. The slope is undefined.

"Zero slope" and "undefined slope" are opposite situations, and swapping them is a common exam error.

Worked example

Find the slope through (−3, 7) and (5, −1), then state the slope of any line perpendicular to it.

  1. m = (−1 − 7)/(5 − (−3)) = −8/8.
  2. m = −1.
  3. Perpendicular slope is the negative reciprocal of −1.

Answer: m = −1; a perpendicular line has slope 1.

Common mistakes

  • Computing (y₂ − y₁)/(x₁ − x₂), mixing the subtraction order.
  • Calling a vertical line's slope zero.