Lesson 3.4 · Parallel and Perpendicular Lines
Equations of parallel and perpendicular lines
Now that you can find the slope of a parallel or perpendicular line, you can write its equation. This skill does real work in geometry: it lets you build perpendicular bisectors, drop a perpendicular from a point to a line, and measure the distance from a point to a line.
Two forms of a line
You need a slope and a point to pin down a line. Two equation forms are useful:
- Slope-intercept form: , where is the slope and is the -intercept.
- Point-slope form: , where is any point on the line.
Point-slope form is usually the quickest way to start, because the problem hands you a point. You can then simplify to slope-intercept form.
Writing a parallel or perpendicular line
To write the line through a point that is parallel or perpendicular to a given line:
- Find the slope of the given line (solve for if needed).
- Parallel: use the same slope. Perpendicular: use the opposite reciprocal.
- Substitute that slope and the coordinates of into .
- Simplify to and check that satisfies it.
Worked example: A parallel line through a point
Write an equation of the line through that is parallel to .
The given slope is , so the new line also has slope . Use point-slope form:
Check: . ✓ The lines have the same slope and different -intercepts ( and ), so they really are parallel.
Worked example: A perpendicular line through a point
Write an equation of the line through that is perpendicular to .
Solve for : , so . The given slope is , so the perpendicular slope is .
Check: . ✓
Horizontal and vertical lines
Slope rules break down when a slope is or undefined, so handle these cases directly. A horizontal line through is ; a vertical line through is . Every horizontal line is perpendicular to every vertical line. For example, the line through perpendicular to is the vertical line , and the line through parallel to is .
Perpendicular bisectors
Definition
Perpendicular bisector
The perpendicular bisector of a segment is the line that is perpendicular to the segment and passes through its midpoint. Every point on it is the same distance from the two endpoints.
To find its equation, you need the midpoint for the point and the opposite reciprocal of the segment's slope for the slope.
Worked example: Equation of a perpendicular bisector
Find the perpendicular bisector of the segment with endpoints and .
Midpoint: .
Slope of : , so the perpendicular slope is .
Check with a point on the line, such as : its distance to is and its distance to is . Equal, as they should be.
Distance from a point to a line
The distance from a point to a line is the length of the perpendicular segment from the point to the line. It's the shortest path from the point to any point on the line. To compute it:
- Write the line through the point perpendicular to the given line.
- Solve the system to find where the two lines meet (the foot of the perpendicular).
- Use the distance formula between the point and the foot.
Worked example: How far is the point from the line?
Find the distance from to the line : .
Step 1. The slope of is , so the perpendicular slope is . The perpendicular through is , or .
Step 2. Set the right sides equal:
Then , so the foot is . (Check on : . ✓)
Step 3. .
Common mistake
The point you are given is usually not the -intercept. For the line through with slope , writing is wrong, because doesn't satisfy it: . Use point-slope form, or substitute the point into and solve for .
Tip
Always finish by plugging the given point into your equation. If it doesn't make the equation true, something went wrong. For a perpendicular line, also multiply the two slopes to confirm you get .
Practice
For the equation answers, you can type the whole equation, like y = 2x + 1, or just the right side.
Write an equation of the line through that is parallel to .
Enter an expression, e.g. 3x^2 - 2x + 1
Write an equation of the line through that is perpendicular to .
Enter an expression, e.g. 3x^2 - 2x + 1
Write an equation of the line through that is parallel to .
Enter an expression, e.g. 3x^2 - 2x + 1
Write an equation of the line through that is perpendicular to .
Enter an expression, e.g. 3x^2 - 2x + 1
Which is an equation of the line through that is perpendicular to the line ?
Write an equation of the perpendicular bisector of the segment with endpoints and .
Enter an expression, e.g. 3x^2 - 2x + 1
For what value of is the line perpendicular to ?
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Find the distance from the point to the line . Give an exact answer or round to the nearest hundredth.
Enter a number. Fractions like 3/4 and sqrt(2) are OK.