Forms of line equations
A straight line looks like one object, but on paper it can be written in half a dozen different ways — and every one of those ways is just the same line seen through a different piece of given information. Hand a student a point and a slope, and the point-slope form is the natural tool. Hand them two points, or two axis-intercepts, and a different-looking equation drops out just as fast. The trap is treating these as five things to memorise separately, when really there is one idea — a point plus a direction fixes a line — dressed up five ways. This section walks through lines parallel to the axes, the point-slope, slope-intercept, two-point and intercept forms, shows how each one collapses back into the point-slope form, and works through the exact numbers from the syllabus example set so the algebra stays concrete rather than symbolic.
Every non-vertical line is fixed by a point and a slope through , and the slope-intercept, two-point and intercept forms are just this same equation rewritten for whatever piece of information — a y-intercept, a second point, or two axis-intercepts — a problem happens to hand you.
The core idea
Lines parallel to the axes come first, because they are the one case where "slope" is not even needed. A line parallel to the y-axis, sitting at horizontal distance from it, is the set of every point whose x-coordinate is fixed at :
where: is the constant x-coordinate every point on the line shares. Symmetrically, a line parallel to the x-axis at height is
Neither of these involves a slope in the usual sense — a vertical line's slope is undefined, and a horizontal line's slope is exactly .
Point-slope form is the workhorse. If a line passes through a known point and has slope , then any other point on it satisfies the same slope ratio, which rearranges to
where: is any one known point on the line and is the slope. This single equation is really the slope formula cleared of its denominator — nothing new is being assumed.
Slope-intercept form is the special case where the known point happens to be where the line crosses the y-axis, . Substituting , into the point-slope form and simplifying gives
where: is the y-intercept, the value of when .
Two-point form handles the case where no slope is given directly, only two points and . The slope between them is ; feeding this into the point-slope form gives
where: the two given points fix both the slope and the line's position, so no separate needs to be quoted.
Intercept form is for a line whose x-intercept and y-intercept are both known, with :
This, too, is nothing but the two-point form applied to the specific points and . (Formative, for context only.) Every line can also be forced into the general form , and, using the perpendicular distance from the origin and the angle that perpendicular makes with the x-axis, into the normal form . Neither needs exam-depth derivation here — they are mentioned so the general form is recognisable when it shows up as an answer format.
The goal is to show, using only the ordinary slope formula and the point-slope equation already established above, that the two-point form is not a separate rule to memorise but a direct algebraic substitution — so that a student who forgets it under exam pressure can rebuild it from scratch in two lines.
Step 1. Start from the point-slope form built on the first given point with unknown slope : . This holds for the line no matter what turns out to be, as long as truly lies on it.
Step 2. Because the second given point also lies on this same line, the slope between the two known points must equal the line's slope: , valid whenever (otherwise the line is vertical and has no finite slope).
Step 3. Substitute this expression for back into the point-slope equation from Step 1: .
Step 4. Divide both sides by , assuming , to isolate the ratio form: . This is exactly the two-point form, and the derivation shows it is the point-slope form with the coordinate-slope expression dropped in place of — one idea, not two.
Worked example
Problem. A line has x-intercept and y-intercept , so it passes through and . Use the two-point form to find its equation, and confirm it matches the intercept-form result already established for this same line.
Step 1. Apply the two-point form with and :
Step 2. Simplify both sides: .
Step 3. Cross-multiply: , which gives .
Step 4. Rearrange into general form by moving every term to one side: .
Answer: , exactly the general-form equation obtained from the intercept form — two different starting forms, same line, confirming the forms are interchangeable, not competing answers.
Competitive stretch
The same line can also be checked against the point-slope form. Its slope from Step 1 is . Using the point : , which multiplies out to , i.e. once again — a third route to the identical equation, and a fast way to self-check any line-equation answer during a test.
Common traps
- Using the two-point form with points substituted into the wrong slots, e.g. putting under the terms instead of the terms — always match numerator-to-numerator, denominator-to-denominator against the slope formula.
- Confusing (vertical, parallel to the y-axis) with (horizontal, parallel to the x-axis) — the variable held constant tells you which axis the line runs parallel to.
- In the intercept form, forgetting the right side is , not — writing describes a different line, one through the origin.
- Sign errors carrying a negative or through the point-slope form — always distribute the minus sign carefully before isolating .
Ask the tutor: unsure which form to reach for given a particular problem's data, or want another worked conversion between forms? Ask your AI tutor to walk through a few more with you.
Why bother learning five forms when they are all "the same line"?
Because the form you start with is decided by what a problem hands you, and picking the matching form saves algebra. Given a point and a slope, point-slope form is instant. Given two points, two-point form skips a slope calculation. Given both intercepts, intercept form skips finding any point at all. You could always force everything through point-slope first, but recognising the shortcut form for the given data is what makes line-equation questions fast rather than slow.
What happens to the two-point form if the two points have the same x-coordinate?
Then and the two-point form's denominator on the right side vanishes, which signals that the line is vertical rather than that the formula has failed. In that case skip the two-point form entirely and write the line directly as , since every point on a vertical line shares the same x-coordinate. The same caution applies if the two points share a y-coordinate: the line is horizontal, , and no ratio form is needed.
Do I need to memorise the intercept form separately, or can I always derive it?
You can always derive it, and doing so once is worth more than memorising it blind. Treat the two given intercepts and as an ordinary pair of points and run them through the two-point form; the algebra simplifies to every time. Knowing this derivation means a slip in recalling the intercept form costs you thirty seconds of algebra instead of the whole question.