JentooACT®

ACT® · Math: Geometry — Coordinate Geometry and Conic Sections

Writing the Equation of a Line

One point plus one slope fixes a line completely. Point-slope form, y - y1 = m(x - x1), turns that pair into an equation instantly, which you can then rearrange into slope-intercept form.

A line is infinite, but it has no freedom once you know two things about it: how steep it is, and where it sits. Slope tells you the direction. One point tells you the location. Together they rule out every other line with that same slope and every other line through that same point, leaving exactly one. That's why point-slope form, y - y1 = m(x - x1), works: plug in the point (x1, y1) and the slope m, and you've written down the full set of (x, y) pairs that satisfy both conditions at once.

When you're handed two points instead of a point and a slope, do the slope step first: m = (y2 - y1) / (x2 - x1). Once you have m, treat either point as your (x1, y1) and drop both into point-slope form. From there, distribute and isolate y to land in slope-intercept form, y = mx + b, if that's what's wanted. The order matters: you cannot use y = mx + b to solve for b until m is already known, because b is only the leftover constant after slope and one point have done their work. Skipping straight to y = mx + b with an unknown m is the shortcut that goes nowhere.

Vertical lines break this pattern entirely. Every point on a vertical line shares the same x-coordinate, so there's no rise-over-run slope to compute — the run is zero, and division by zero doesn't exist. The equation is just x = a, a constant, with no y in it at all. This sits right next to horizontal lines (y = b, slope zero) as the two special cases worth recognizing on sight, before you move on to midpoint and distance formulas that also lean on coordinate pairs.

Key terms

point-slope form
The equation y - y1 = m(x - x1), built directly from one point and the slope.
slope-intercept form
The equation y = mx + b, where m is the slope and b is the y-intercept.
slope
The rate of change between two points on a line, computed as rise over run, (y2-y1)/(x2-x1).
vertical line
A line of the form x = a with undefined slope, since every point shares the same x-coordinate.

Watch it explained

  1. How it worksHow does point-slope form let you write a line the instant you know one point and the slope?
  2. Worked exampleFind the equation of the line through (3, -1) with slope -2, written in slope-intercept form.
  3. Worked exampleFind the equation of the line passing through both (-2, 5) and (4, 8).
  4. Common mistakeWhy doesn't plugging a point into y = mx + b give you b until the slope is already in hand?
  5. Going furtherWhat happens to the equation when the line stands vertical and the slope refuses to exist?

Check yourself

Your turneasy1 of 3
A line passes through (7, -3) with slope 7. Write its y in terms of x.

End of topic.