In y = mx + d, m is the slope and d the y-intercept (the line meets the y-axis at (0, d)). This is the slope-intercept form.
✏️
Why m is the slope. If (x₁, y₁) and (x₂, y₂) are on the line, then y₁ = mx₁ + d and y₂ = mx₂ + d, so
(y₂ − y₁) ÷ (x₂ − x₁) = m(x₂ − x₁) ÷ (x₂ − x₁) = m, for any two points.
From standard form: ax + by + c = 0 with b ≠ 0 gives y = −(a/b)x − c/b, so m = −a/b and d = −c/b.
✏️
Example: 5x + y = 3 → y = −5x + 3: slope −5 (y falls 5 for each step right), y-intercept 3. Table: (0, 3), (1, −2), (−1, 8).
Kinds of slope:
| m | line | example |
|---|---|---|
| m > 0 | rises left to right | y = 2x + 1: up 2 for each 1 right |
| m < 0 | falls left to right | y = −3x + 4: down 3 for each 1 right |
| m = 0 | horizontal | y = 5 |
| undefined | vertical | x = 2 (run = 0, can't divide by 0) |
Tap the diagram to enlarge it
📌 Remember these
- m = −a/b from standard form
- y = −5x + 3: m = −5
- x = 2: undefined