# 4.6.3: Equations of Perpendicular Lines

$$\newcommand{\vecs}{\overset { \rightharpoonup} {\mathbf{#1}} }$$ $$\newcommand{\vecd}{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}}$$$$\newcommand{\id}{\mathrm{id}}$$ $$\newcommand{\Span}{\mathrm{span}}$$ $$\newcommand{\kernel}{\mathrm{null}\,}$$ $$\newcommand{\range}{\mathrm{range}\,}$$ $$\newcommand{\RealPart}{\mathrm{Re}}$$ $$\newcommand{\ImaginaryPart}{\mathrm{Im}}$$ $$\newcommand{\Argument}{\mathrm{Arg}}$$ $$\newcommand{\norm}{\| #1 \|}$$ $$\newcommand{\inner}{\langle #1, #2 \rangle}$$ $$\newcommand{\Span}{\mathrm{span}}$$ $$\newcommand{\id}{\mathrm{id}}$$ $$\newcommand{\Span}{\mathrm{span}}$$ $$\newcommand{\kernel}{\mathrm{null}\,}$$ $$\newcommand{\range}{\mathrm{range}\,}$$ $$\newcommand{\RealPart}{\mathrm{Re}}$$ $$\newcommand{\ImaginaryPart}{\mathrm{Im}}$$ $$\newcommand{\Argument}{\mathrm{Arg}}$$ $$\newcommand{\norm}{\| #1 \|}$$ $$\newcommand{\inner}{\langle #1, #2 \rangle}$$ $$\newcommand{\Span}{\mathrm{span}}$$$$\newcommand{\AA}{\unicode[.8,0]{x212B}}$$

## Equations of Perpendicular Lines

Suppose a coordinate grid is transposed over the blueprint for a house under construction, and two lines on the blueprint are perpendicular to each other. If one of the lines has the equation y=(1/2)x+1, and the other line passes through the point (3, 3), what is the equation of the second line?

### Equations of Perpendicular Lines

Lines can be parallel, coincident (overlap each other), or intersecting (crossing). Lines that intersect at 90∘ angles have a special name: perpendicular lines. The slopes of perpendicular lines have a special property.

Perpendicular lines form a right angle. The product of their slopes is –1.

m1⋅m2=−1

#### Let's verify that the following lines are perpendicular:

Line a: passes through points (–2, –7) and (1, 5) Line b: passes through points (4, 1) and (–8, 4)

Find the slopes of each line.

Line a:(5−(−7))/(1−(−2))=12/3=4/1

Line b:(4−1)/(−8−4)=3/−12=−1/4

To verify that the lines are perpendicular, the product of their slopes must equal –1.

(4/1)×(−1/4)=−1

Because the product of their slopes is −1, lines a and b are perpendicular.

#### Now, let's determine whether the following two lines are parallel, perpendicular, or neither:

Line 1: 2x=y−10; Line 2: y=−2x+5

Begin by finding the slopes of lines 1 and 2.

2x+10=y−10+10

2x+10=y

The slope of the first line is 2.

y=−2x+5

The slope of the second line is –2.

These slopes are not identical, so these lines are not parallel.

To check if the lines are perpendicular, find the product of the slopes. 2×−2=−4. The product of the slopes is not –1, so the lines are not perpendicular.

Lines 1 and 2 are neither parallel nor perpendicular.

#### Writing Equations of Perpendicular Lines

Writing equations of perpendicular lines is slightly more difficult than writing parallel line equations. The reason is because you must find the slope of the perpendicular line before you can proceed with writing an equation.

#### Let's find the equation of the following line:

Find the equation of the line perpendicular to the line y=−3x+5 that passes through point (2, 6).

Begin by finding the slopes of the perpendicular line. Using the perpendicular line definition, m1⋅m2=−1. The slope of the original line is –3. Substitute that for m1.

−3⋅m2=−1

Solve for m2, the slope of the perpendicular line.

−3m2/−3=−1/−3

m2=1/3

The slope of the line perpendicular to y=−3x+5 is 1/3.

You now have the slope and a point. Use point-slope form to write its equation.

y−6=1/3(x−2)

You can rewrite this in slope-intercept form: y=(1/3)x−(2/3)+6.

y=(1/3)x+(16/3)

### Examples

Example 4.6.3.1

Earlier, you were asked to suppose that when a coordinate grid is transposed over the blueprint of a house under construction, two lines on the blueprint are perpendicular. If one of the lines had the equation y=(1/2)x+1 and the other line passes through (3,3), what would be the equation of the second line.

Solution

First, we need to determine what the slope of the other line is. Since the two lines are perpendicular, we can substitute the slope of the first line, 1/2, for m1 in the perpendicular line definition, m1⋅m2=−1.

(1/2)⋅m2=−1

Solve for m2, the slope of the perpendicular line.

((1/2)m2)×2m2=−1×2=−2

The slope of the line perpendicular to y=(1/2)x+1 is -2.

You now have the slope and a point. Use point-slope form to write its equation.

y−3=−2(x−3)

You can rewrite this in slope-intercept form: y=−2x+6+3y=−2x+9

The equation of the second line is y=−2x+9.

Example 4.6.3.2

Find the equation of the line perpendicular to the line y=5 and passing through (5, 4).

Solution

The line y=5 is a horizontal line with a slope of zero.

Lines that make a 90∘ angle with a horizontal line are vertical lines.

Vertical lines are in the form x=constant.

Since the vertical line must go through (5, 4), the equation is x=5.

### Review

1. Define perpendicular lines.
2. What is true about the slopes of perpendicular lines?

In 3-7, determine the slope of a line perpendicular to the line given.

1. y=−5x+7
2. 2x+8y=9
3. x=8
4. y=−4.75
5. y−2=(1/5)(x+3)

In 8–14, determine whether the lines are parallel, perpendicular, or neither.

1. Line a: passing through points (–1, 4) and (2, 6); Line b: passing through points (2, –3) and (8, 1).
2. Line a: passing through points (4, –3) and (–8, 0); Line b: passing through points (–1, –1) and (–2, 6).
3. Line a: passing through points (–3, 14) and (1, –2); Line b: passing through points (0, –3) and (–2, 5).
4. Line a: passing through points (3, 3) and (–6, –3); Line b: passing through points (2, –8) and (–6, 4).
5. Line 1: 4y+x=8; Line 2: 12y+3x=1
6. Line 1: 5y+3x+1; Line 2: 6y+10x=−3
7. Line 1: 2y−3x+5=0; Line 2: y+6x=−3

In 15-21, find the line perpendicular to it through the given point.

1. x+4y=12;(−3,−2)
2. y=(1/3)x+2;(−3,−1)
3. y=(3/5)x−4;(6,−2)
4. 2x+y=5;(2,−2)
5. y=x−6;(−2,0)
6. 5x−7=3y;(8,−2)
7. y=(2/3)x−1;(4,7)

To see the Review answers, open this PDF file and look for section 5.8.

### Vocabulary

Term Definition
coincident lines Two lines that overlap each other are called coincident. They have the same equation.
perpendicular lines Two lines are perpendicular if they form a right angle. The product of their slopes is –1.

PLIX: Play, Learn, Interact eXplore: Equations of Perpendicular Lines

Video:

Activity: Equations of Perpendicular Lines Discussion Questions

Study Aid: Determining the Equation of a Line Study Guide

Practice: Equations of Perpendicular Lines

Real World Application: Parallel & Perpendicular Lines

This page titled 4.6.3: Equations of Perpendicular Lines is shared under a CC BY-NC license and was authored, remixed, and/or curated by CK-12 Foundation via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit history is available upon request.