Equation of a Line
An equation of a line is a compact description of every point on that line. Two numbers — the slope and the y-intercept — pin down infinitely many points, turning a picture into a prediction machine.
1 Three Forms, One Line
The most useful form is slope-intercept form. Read it like instructions: start at b on the y-axis, then climb m units for every 1 step right.
The three costumes
Slope-intercept y = mx + b — easiest to graph: intercept first, slope triangle second.
Point-slope y − y1 = m(x − x1) — fastest to write when you know a slope and one point.
Standard Ax + By = C — tidiest for systems of equations (integers, A > 0).
They are the same line in different outfits. Point-slope is the stepping stone: write it first from data, then convert to whichever form the question asks for.
2 See It: Three Costumes, One Line
The points (−1, 2) and (3, 10) determine a single line. Here it is written three ways — the graph never changes.
Slope m = 2 from the two points; plug in (−1, 2). Watch the sign: x − (−1) = x + 1.
Distribute and solve for y. Check both points: 2(3) + 4 = 10 ✓ and 2(−1) + 4 = 2 ✓.
Move the x-term left, flip signs so A > 0. Same line — test (−1, 2): −2 − 2 = −4 ✓.
3 Worked Examples
The pattern: find the slope if you need it, write point-slope, then convert to the requested form. Always check with a point.
- Point-slope form is built for exactly this: y − y1 = m(x − x1).
- Plug in m = 3, (x1, y1) = (2, 7): y − 7 = 3(x − 2).
- Simplify to slope-intercept: y − 7 = 3x − 6 → y = 3x + 1.
- First find the slope: m = 10 − 23 − (−1) = 84 = 2.
- Use point-slope with either point — here (−1, 2): y − 2 = 2(x − (−1)). Parenthesize first!
- Simplify: y − 2 = 2(x + 1) → y − 2 = 2x + 2 → y = 2x + 4.
- This is already m and b — just assemble y = mx + b.
- y = −12x + 5.
- A horizontal line through (2, 5) has slope 0: y = 0·x + 5, i.e. y = 5.
- A vertical line through (−3, 4) has undefined slope — no y = mx + b form exists; it is simply x = −3.
4 Common Mistakes
Three errors that show up on nearly every equations-of-lines quiz.
5 Quick Check
Try each one on paper first, then reveal the answer.
Check: 2(1) + 3 = 5 ✓.
Check with (0, 3): 2(0) − 3 = −3 ✓.
Check: at x = 0, y = −2 (the intercept ✓).
Key Points to Remember
- y = mx + b: m is the slope (attached to x), b is the y-intercept (the constant).
- y − y1 = m(x − x1): fastest from a slope and a point — parenthesize negative coordinates first.
- Ax + By = C: standard form with integers and A > 0.
- Horizontal line: y = k (slope 0). Vertical line: x = h (undefined slope, no y = mx + b form).
- Always check with a point — preferably one you didn’t use to build the equation.