Various Forms of the Equation of a Line
Imagine you want to describe a straight line to someone who has never seen it. You could say "it goes through this point and slants like this" — that's the intuition. In coordinate geometry, we capture that same idea using equations. A line is just the set of all points (x,y) that satisfy a certain condition. Different conditions give us different forms of the same line.
1. Slope-Intercept Form: y=mx+c
This is the most familiar form. Here m is the slope (steepness) and c is the y-intercept (where the line cuts the y-axis).
Why it works: If you know how much the line rises for every unit it runs horizontally (m), and where it starts on the y-axis (c), you can write the equation directly.
To find m: pick any two points (x1,y1) and (x2,y2) on the line, then m=x2−x1y2−y1.
Example: A line with slope 2 and y-intercept -3 is y=2x−3.
2. Point-Slope Form: y−y1=m(x−x1)
Suppose you know the slope m and one point (x1,y1) on the line. The point-slope form says: the difference in y from that point equals the slope times the difference in x.
Intuition: If you stand at (x1,y1) and move horizontally by (x−x1), you must move vertically by m times that amount to stay on the line.
y−y1=m(x−x1)
Example: Line through (2,5) with slope −4: y−5=−4(x−2).
3. Two-Point Form: y2−y1y−y1=x2−x1x−x1
If you know two points (x1,y1) and (x2,y2), you don't need to compute slope separately. This form says the ratio of vertical change to total vertical span equals the ratio of horizontal change to total horizontal span.
Why it's natural: It's just the condition that the three points (x1,y1), (x2,y2), and (x,y) are collinear — they all lie on the same straight line.
If x1=x2 or y1=y2, the denominator becomes zero. That's fine — it just means the line is vertical or horizontal. Use the appropriate special form instead.
Example: Line through (1,2) and (3,8): 8−2y−2=3−1x−1, which simplifies to y=3x−1.
4. Intercept Form: ax+by=1
Here a is the x-intercept (where the line cuts the x-axis) and b is the y-intercept.
Intuition: When y=0, the equation gives x=a; when x=0, it gives y=b. So the line passes through (a,0) and (0,b).
This form only works if the line cuts both axes (i.e., a=0 and b=0). A line through the origin cannot be written this way.
Example: A line with x-intercept 4 and y-intercept -3: 4x+−3y=1, or 4x−3y=1.
5. Normal Form: xcosθ+ysinθ=p
This is the most geometric form. Here p is the perpendicular distance from the origin to the line, and θ is the angle that this perpendicular makes with the positive x-axis.
Why it's useful: It directly gives the distance of the line from the origin — something the other forms hide.
| Form | When to use |
|------|-------------|
| Slope-intercept | Slope and y-intercept known |
| Point-slope | Slope and one point known |
| Two-point | Two points known | …