<meta http-equiv="refresh" content="1; url=/nojavascript/"> Equations of Parallel and Perpendicular Lines | CK-12 Foundation
You are reading an older version of this FlexBook® textbook: CK-12 Algebra I - Second Edition Go to the latest version.

# 5.2: Equations of Parallel and Perpendicular Lines

Created by: CK-12

## Learning Objectives

• Determine whether lines are parallel or perpendicular
• Write equations of perpendicular lines
• Write equations of parallel lines
• Investigate families of lines

## Introduction

In this section you will learn how parallel lines and perpendicular lines are related to each other on the coordinate plane. Let’s start by looking at a graph of two parallel lines.

We can clearly see that the two lines have different $y-$intercepts: 6 and –4.

How about the slopes of the lines? The slope of line $A$ is $\frac{6-2}{0-(-2)}=\frac{4}{2}=2$, and the slope of line $B$ is $\frac{0-(-4)}{2-0}=\frac{4}{2}=2$. The slopes are the same.

Is that significant? Yes. By definition, parallel lines never meet. That means that when one of them slopes up by a certain amount, the other one has to slope up by the same amount so the lines will stay the same distance apart. If you look at the graph above, you can see that for any $x-$value you pick, the $y-$values of lines $A$ and $B$ are the same vertical distance apart—which means that both lines go up by the same vertical distance every time they go across by the same horizontal distance. In order to stay parallel, their slopes must stay the same.

All parallel lines have the same slopes and different $y-$intercepts.

Now let’s look at a graph of two perpendicular lines.

We can’t really say anything about the $y-$intercepts. In this example, the $y-$intercepts are different, but if we moved the lines four units to the right, they would both intercept the $y-$axis at (0, -2). So perpendicular lines can have the same or different $y-$intercepts.

What about the relationship between the slopes of the two lines?

To find the slope of line $A$, we pick two points on the line and draw the blue (upper) right triangle. The legs of the triangle represent the rise and the run. We can see that the slope is $\frac{8}{4}$, or 2.

To find the slope of line $B$, we pick two points on the line and draw the red (lower) right triangle. Notice that the two triangles are identical, only rotated by $90^\circ$. Where line $A$ goes 8 units up and 4 units right, line $B$ goes 8 units right and 4 units down. Its slope is $-\frac{4}{8}$, or $-\frac{1}{2}$.

This is always true for perpendicular lines; where one line goes $a$ units up and $b$ units right, the other line will go $a$ units right and $b$ units down, so the slope of one line will be $\frac{a}{b}$ and the slope of the other line will be $-\frac{b}{a}$.

The slopes of perpendicular lines are always negative reciprocals of each other.

The Java applet at http://members.shaw.ca/ron.blond/perp.APPLET/index.html lets you drag around a pair of perpendicular lines to see how their slopes change. Click “Show Grid” to see the $x-$ and $y-$axes, and click “Show Constructors” to see the triangles that are being used to calculate the slopes of the lines (you can then drag the circle to make it bigger or smaller, and click on a triangle to see the slope calculations in detail.)

## Determine When Lines are Parallel or Perpendicular

You can find whether lines are parallel or perpendicular by comparing the slopes of the lines. If you are given points on the lines, you can find their slopes using the formula. If you are given the equations of the lines, re-write each equation in a form that makes it easy to read the slope, such as the slope-intercept form.

Example 1

Determine whether the lines are parallel or perpendicular or neither.

a) One line passes through the points (2, 11) and (-1, 2); another line passes through the points (0, -4) and (-2, -10).

b) One line passes through the points (-2, -7) and (1, 5); another line passes through the points (4, 1) and (-8, 4).

c) One lines passes through the points (3, 1) and (-2, -2); another line passes through the points (5, 5) and (4, -6).

Solution

Find the slope of each line and compare them.

a) $m_1=\frac{2-11}{-1-2}=\frac{-9}{-3}=3 \ \quad \ \text{and} \ \quad \ m_2=\frac{-10-(-4)}{-2-0}=\frac{-6}{-2}=3$

The slopes are equal, so the lines are parallel.

b) $m_1=\frac{5-(-7)}{1-(-2)}=\frac{12}{3}=4 \quad \ \text{and} \ \quad m_2=\frac{4-1}{-8-4}=\frac{3}{-12}=-\frac{1}{4}$

The slopes are negative reciprocals of each other, so the lines are perpendicular.

c) $m_1=\frac{-2-1}{-2-3}=\frac{-3}{-5}=\frac{3}{5} \ \quad \ \text{and} \ \quad \ m_2=\frac{-6-5}{4-5}=\frac{-13}{-1}=13$

The slopes are not the same or negative reciprocals of each other, so the lines are neither parallel nor perpendicular.

Example 2

Determine whether the lines are parallel or perpendicular or neither:

a) $3x+4y=2$ and $8x-6y=5$

b) $2x=y-10$ and $y=-2x+5$

c) $7y+1=7x$ and $x+5=y$

Solution

Write each equation in slope-intercept form:

a) line 1: $3x+4y=2 \Rightarrow 4y=-3x+2 \Rightarrow y=-\frac{3}{4}x+\frac{1}{2} \Rightarrow \ \text{slope} = - \frac{3}{4}$

line 2: $8x-6y=5 \Rightarrow 8x-5=6y \Rightarrow y=\frac{8}{6} x-\frac{5}{6} \Rightarrow y=\frac{4}{3} x-\frac{5}{6} \Rightarrow \ \text{slope} = \frac{4}{3}$

The slopes are negative reciprocals of each other, so the lines are perpendicular.

b) line 1: $2x=y-10 \Rightarrow y=2x+10 \Rightarrow \ \text{slope} = 2$

line 2: $y=-2x+5 \Rightarrow \ \text{slope} = -2$

The slopes are not the same or negative reciprocals of each other, so the lines are neither parallel nor perpendicular.

c) line 1: $7y+1=7x \Rightarrow 7y=7x-1 \Rightarrow y=x-\frac{1}{7} \Rightarrow \ \text{slope} = 1$

line 2: $x+5=y \Rightarrow y=x+5 \Rightarrow \ \text{slope} = 1$

The slopes are the same, so the lines are parallel.

## Write Equations of Parallel and Perpendicular Lines

We can use the properties of parallel and perpendicular lines to write an equation of a line parallel or perpendicular to a given line. You might be given a line and a point, and asked to find the line that goes through the given point and is parallel or perpendicular to the given line. Here’s how to do this:

1. Find the slope of the given line from its equation. (You might need to re-write the equation in a form such as the slope-intercept form.)
2. Find the slope of the parallel or perpendicular line—which is either the same as the slope you found in step 1 (if it’s parallel), or the negative reciprocal of the slope you found in step 1 (if it’s perpendicular).
3. Use the slope you found in step 2, along with the point you were given, to write an equation of the new line in slope-intercept form or point-slope form.

Example 3

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

Solution

The slope of the given line is -3, so the perpendicular line will have a slope of $\frac{1}{3}$.

Now to find the equation of a line with slope $\frac{1}{3}$ that passes through (2, 6):

Start with the slope-intercept form: $y=mx+b$.

Plug in the slope: $y=\frac{1}{3}x+b$.

Plug in the point (2, 6) to find $b$: $6=\frac{1}{3}(2)+b \Rightarrow b=6-\frac{2}{3} \Rightarrow b=\frac{20}{3}$.

The equation of the line is $y=\frac{1}{3}x+\frac{20}{3}$.

Example 4

Find the equation of the line perpendicular to $x-5y=15$ that passes through the point (-2, 5).

Solution

Re-write the equation in slope-intercept form: $x-5y=15 \Rightarrow -5y=-x+15 \Rightarrow y=\frac{1}{5}x-3$.

The slope of the given line is $\frac{1}{5}$, so we’re looking for a line with slope -5.

Start with the slope-intercept form: $y=mx+b$.

Plug in the slope: $y=-5x+b$.

Plug in the point (-2, 5): $5=-5(-2)+b \Rightarrow b=5-10 \Rightarrow b=-5$

The equation of the line is $y=-5x-5$.

Example 5

Find the equation of the line parallel to $6x-5y=12$ that passes through the point (-5, -3).

Solution

Rewrite the equation in slope-intercept form: $6x-5y=12 \Rightarrow 5y=6x-12 \Rightarrow y=\frac{6}{5}x-\frac{12}{5}$.

The slope of the given line is $\frac{6}{5}$, so we are looking for a line with slope $\frac{6}{5}$ that passes through the point (-5, -3).

Start with the slope-intercept form: $y=mx+b$.

Plug in the slope: $y=\frac{6}{5}x+b$.

Plug in the point (-5, -3): $n-3=\frac{6}{5}(-5)+b \Rightarrow -3=-6+b \Rightarrow b=3$

The equation of the line is $y=\frac{6}{5}x+3$.

## Investigate Families of Lines

A family of lines is a set of lines that have something in common with each other. Straight lines can belong to two types of families: one where the slope is the same and one where the $y-$intercept is the same.

Family 1: Keep the slope unchanged and vary the $y-$intercept.

The figure below shows the family of lines with equations of the form $y=-2x+b$:

All the lines have a slope of –2, but the value of $b$ is different for each line.

Notice that in such a family all the lines are parallel. All the lines look the same, except that they are shifted up and down the $y-$axis. As $b$ gets larger the line rises on the $y-$axis, and as $b$ gets smaller the line goes lower on the $y-$axis. This behavior is often called a vertical shift.

Family 2: Keep the $y-$intercept unchanged and vary the slope.

The figure below shows the family of lines with equations of the form $y=mx+2$:

All the lines have a $y-$intercept of two, but the slope is different for each line. The steeper lines have higher values of $m$.

Example 6

Write the equation of the family of lines satisfying the given condition.

a) parallel to the $x-$axis

b) through the point (0, -1)

c) perpendicular to $2x+7y-9=0$

d) parallel to $x+4y-12=0$

Solution

a) All lines parallel to the $x-$axis have a slope of zero; the $y-$intercept can be anything. So the family of lines is $y=0x+b$ or just $y=b$.

b) All lines passing through the point (0, -1) have the same $y-$intercept, $b = -1$. The family of lines is: $y=mx-1$.

c) First we need to find the slope of the given line. Rewriting $2x+7y-9=0$ in slope-intercept form, we get $y=-\frac{2}{7}x+\frac{9}{7}$. The slope of the line is $-\frac{2}{7}$, so we’re looking for the family of lines with slope $\frac{7}{2}$.

The family of lines is $y=\frac{7}{2}x+b$.

d) Rewrite $x+4y-12=0$ in slope-intercept form: $y=-\frac{1}{4}x+3$. The slope is $-\frac{1}{4}$, so that’s also the slope of the family of lines we are looking for.

The family of lines is $y=-\frac{1}{4}x+b$.

## Review Questions

For questions 1-10, determine whether the lines are parallel, perpendicular or neither.

1. One line passes through the points (-1, 4) and (2, 6); another line passes through the points (2, -3) and (8, 1).
2. One line passes through the points (4, -3) and (-8, 0); another line passes through the points (-1, -1) and (-2, 6).
3. One line passes through the points (-3, 14) and (1, -2); another line passes through the points (0, -3) and (-2, 5).
4. One line passes through the points (3, 3) and (-6, -3); another line passes through the points (2, -8) and (-6, 4).
5. One line passes through the points (2, 8) and (6, 0); another line has the equation $x-2y=5$.
6. One line passes through the points (-5, 3) and (2, -1); another line has the equation $2x+3y=6$.
7. Both lines pass through the point (2, 8); one line also passes through (3, 5), and the other line has slope 3.
8. Line 1: $4y+x=8$ Line 2: $12y+3x=1$
9. Line 1: $5y+3x=1$ Line 2: $6y+10x=-3$
10. Line 1: $2y-3x+5=0$ Line 2: $y+6x=-3$
11. Lines $A, B, C, D$, and $E$ all pass through the point (3, 6). Line $A$ also passes through (7, 12); line $B$ passes through (8, 4); line $C$ passes through (-1, -3); line $D$ passes through (1, 1); and line $E$ passes through (6, 12).
1. Are any of these lines perpendicular? If so, which ones? If not, why not?
2. Are any of these lines parallel? If so, which ones? If not, why not?
12. Find the equation of the line parallel to $5x-2y=2$ that passes through point (3, -2).
13. Find the equation of the line perpendicular to $y=-\frac{2}{5}x-3$ that passes through point (2, 8).
14. Find the equation of the line parallel to $7y+2x-10=0$ that passes through the point (2, 2).
15. Find the equation of the line perpendicular to $y+5=3(x-2)$ that passes through the point (6, 2).
16. Line $S$ passes through the points (2, 3) and (4, 7). Line $T$ passes through the point (2, 5). If Lines $S$ and $T$ are parallel, name one more point on line $T$. (Hint: you don’t need to find the slope of either line.)
17. Lines $P$ and $Q$ both pass through (-1, 5). Line $P$ also passes through (-3, -1). If $P$ and $Q$ are perpendicular, name one more point on line $Q$. (This time you will have to find the slopes of both lines.)
18. Write the equation of the family of lines satisfying the given condition.
1. All lines that pass through point (0, 4).
2. All lines that are perpendicular to $4x+3y-1=0$.
3. All lines that are parallel to $y-3=4x+2$.
4. All lines that pass through the point (0, -1).
19. Name two lines that pass through the point (3, -1) and are perpendicular to each other.
20. Name two lines that are each perpendicular to $y=-4x-2$. What is the relationship of those two lines to each other?
21. Name two perpendicular lines that both pass through the point (3, -2). Then name a line parallel to one of them that passes through the point (-2, 5).

Jul 23, 2013

Oct 30, 2014