Various forms of the equation of a line
The same line in the plane can be described by many equivalent equations. Picking the right form for the data given turns a problem into a one-line computation. Below are the five standard forms, when to use each, and how to convert between them.
The five forms
1. Slope-intercept form
When you know the slope and the -intercept :
This is the most familiar form , it directly displays slope and where the line crosses the -axis.
2. Point-slope form
When you know the slope and one point on the line:
To prove: every point on the line satisfies .
3. Two-point form
When you know two points and :
This is just point-slope with .
4. Intercept form
When you know the -intercept and -intercept (both nonzero):
Checks: at , ✓; at , ✓.
5. Normal form
When you know the perpendicular distance from origin to the line and the angle that the perpendicular makes with the positive -axis:
The foot of the perpendicular from the origin to the line is .
Converting between forms
Every form can be rearranged into the general form
- Slope from general: (if ).
- -intercept: set , get .
- -intercept: set , get .
- Normal form: divide by so that and the constants match .
Worked examples
Example 1. Find the equation of the line with slope and -intercept .
.
Example 2. Find the equation of the line passing through with slope .
.
Example 3. Find the line through and .
Slope . Equation: .
Example 4. A line has -intercept and -intercept . Find its equation.
.
Example 5. Express in normal form.
Divide by : . So , .
Try it yourself
- Slope , -intercept , write equation.
- Line through with slope .
- Line through and .
- Line with intercepts on -axis and on -axis.
- Line at perpendicular distance from origin, with the perpendicular making angle with -axis.
- Convert to slope-intercept, intercept, and normal forms.
- Equation of the line cutting equal intercepts of on the axes.
- Find the equation of the line parallel to passing through .
- Find the equation of the perpendicular bisector of the segment from to .
- Line passing through with slope .
- Convert to normal form.
- Find the line through parallel to the -axis.
Pitfalls / Tricks
- For a horizontal line, use directly.
- For a vertical line, use .
- In the intercept form, both intercepts must be nonzero (else the line passes through the origin).
- Insight. Match the form to the data. If you know two points, two-point form. If slope and intercept, slope-intercept. If both intercepts, intercept form. This saves time and errors.