# 3.5: Parallel and Perpendicular Lines in the Coordinate Plane

**At Grade**Created by: CK-12

## Learning Objectives

- Compute slope.
- Determine the equation of parallel and perpendicular lines to a given line.
- Graph parallel and perpendicular lines in slope-intercept and standard form.

## Review Queue

Find the slope between the following points.

1. (-3, 5) and (2, -5)

2. (7, -1) and (-2, 2)

3. Is \begin{align*}x = 3\end{align*} horizontal or vertical? How do you know?

Graph the following lines on an \begin{align*}x-y\end{align*} plane.

4. \begin{align*}y=-2x+3\end{align*}

5. \begin{align*}y=\frac{1}{4}x-2\end{align*}

**Know What?** The picture to the right is the California Incline, a short piece of road that connects Highway 1 with the city of Santa Monica. The length of the road is 1532 feet and has an elevation of 177 feet. *You may assume that the base of this incline is sea level, or zero feet.* **Can you find the slope of the California Incline?**

HINT: You will need to use the Pythagorean Theorem, which has not been introduced in this class, but you may have seen it in a previous math class.

## Slope in the Coordinate Plane

Recall from Algebra I, The slope of the line between two points \begin{align*}(x_1, \ y_1)\end{align*} and \begin{align*}(x_2, \ y_2\end{align*}) is \begin{align*}m=\frac{(y_2-y_1)}{(x_2-x_1)}\end{align*}.

Different Types of Slope:

**Example 1:** What is the slope of the line through (2, 2) and (4, 6)?

**Solution:** Use the slope formula to determine the slope. Use (2, 2) as \begin{align*}(x_1, \ y_1)\end{align*} and (4, 6) as \begin{align*}(x_2, \ y_2)\end{align*}.

\begin{align*}m=\frac{6-2}{4-2}=\frac{4}{2}=2\end{align*}

Therefore, the slope of this line is 2.

This slope is positive. Recall that slope can also be the “rise over run.” In this case we “rise”, or go up 2, and “run” in the positive direction 1.

**Example 2:** Find the slope between (-8, 3) and (2, -2).

**Solution:** \begin{align*}m=\frac{-2-3}{2-(-8)}= \frac{-5}{10}=-\frac{1}{2}\end{align*}

This is a negative slope. Instead of “rising,” the negative slope means that you would “fall,” when finding points on the line.

**Example 3:** Find the slope between (-5, -1) and (3, -1).

**Solution:**

\begin{align*}m=\frac{-1-(-1)}{3-(-5)}= \frac{0}{8}=0\end{align*}

Therefore, the slope of this line is 0, which means that it is a horizontal line. Horizontallines always pass through the \begin{align*}y-\end{align*}axis. Notice that the \begin{align*}y-\end{align*}coordinate for both points is -1. In fact, the \begin{align*}y-\end{align*}coordinate for *any* point on this line is -1. This means that the horizontal line must cross \begin{align*}y = -1\end{align*}.

**Example 4:** What is the slope of the line through (3, 2) and (3, 6)?

**Solution:**

\begin{align*}m=\frac{6-2}{3-3}=\frac{4}{0}=undefined\end{align*}

Therefore, the slope of this line is undefined, which means that it is a *vertical* line. Verticallines always pass through the \begin{align*}x-\end{align*}axis. Notice that the \begin{align*}x-\end{align*}coordinate for both points is 3. In fact, the \begin{align*}x-\end{align*}coordinate for *any* point on this line is 3. This means that the vertical line must cross \begin{align*}x = 3\end{align*}.

## Slopes of Parallel Lines

Recall from earlier in the chapter that the definition of parallel is two lines that never intersect. In the coordinate plane, that would look like this:

If we take a closer look at these two lines, we see that the slopes of both are \begin{align*}\frac{2}{3}\end{align*}.

This can be generalized to any pair of parallel lines in the coordinate plane.

*Parallel lines have the same slope.*

**Example 5:** Find the equation of the line that is parallel to \begin{align*}y=-\frac{1}{3}x+4\end{align*} and passes through (9, -5).

Recall that the equation of a line in this form is called the slope-intercept form and is written as \begin{align*}y = mx + b\end{align*} where \begin{align*}m\end{align*} is the slope and \begin{align*}b\end{align*} is the \begin{align*}y-\end{align*}intercept. Here, \begin{align*}x\end{align*} and \begin{align*}y\end{align*} represent any coordinate pair, \begin{align*}(x, \ y)\end{align*} on the line.

**Solution:** We know that parallel lines have the same slope, so the line we are trying to find also has \begin{align*}m=-\frac{1}{3}\end{align*}. Now, we need to find the \begin{align*}y-\end{align*}intercept. 4 is the \begin{align*}y-\end{align*}intercept of the given line, *not our new line*. We need to plug in 9 for \begin{align*}x\end{align*} and -5 for \begin{align*}y\end{align*} (this is our given coordinate pair that needs to be on the line) to solve for the *new* \begin{align*}y-\end{align*}intercept \begin{align*}(b)\end{align*}.

\begin{align*}-5 & = -\frac{1}{3}(9)+b\\ -5 & = -3 + b \qquad \text{Therefore, the equation of line is} \ y=-\frac{1}{3}x-2.\\ -2 & = b\end{align*}

Reminder: the final equation contains the variables \begin{align*}x\end{align*} and \begin{align*}y\end{align*} to indicate that the line contains and infinite number of points or coordinate pairs that satisfy the equation.

*Parallel lines always have the same slope and different \begin{align*}y-\end{align*}intercepts.*

## Slopes of Perpendicular Lines

Recall from Chapter 1 that the definition of perpendicular is two lines that intersect at a \begin{align*}90^\circ\end{align*}, or right, angle. In the coordinate plane, that would look like this:

If we take a closer look at these two lines, we see that the slope of one is -4 and the other is \begin{align*}\frac{1}{4}\end{align*}.

This can be generalized to any pair of perpendicular lines in the coordinate plane.

*The slopes of perpendicular lines are opposite signs and reciprocals of each other.*

**Example 6:** Find the slope of the perpendicular lines to the lines below.

a) \begin{align*}y=2x+3\end{align*}

b) \begin{align*}y=-\frac{2}{3}x-5\end{align*}

c) \begin{align*}y=x+2\end{align*}

**Solution:** We are only concerned with the slope for each of these.

a) \begin{align*}m = 2\end{align*}, so \begin{align*}m_\perp\end{align*} is the reciprocal and negative, \begin{align*}m_\perp=-\frac{1}{2}\end{align*}.

b) \begin{align*}m=-\frac{2}{3}\end{align*}, take the reciprocal and make the slope positive, \begin{align*}m_\perp=\frac{3}{2}\end{align*}.

c) Because there is no number in front of \begin{align*}x\end{align*}, the slope is 1. The reciprocal of 1 is 1, so the only thing to do is make it negative, \begin{align*}m_\perp=-1\end{align*}.

**Example 7:** Find the equation of the line that is perpendicular to \begin{align*}y=-\frac{1}{3}x+4\end{align*} and passes through (9, -5).

**Solution:** First, the slope is the reciprocal and opposite sign of \begin{align*}-\frac{1}{3}\end{align*}. So, \begin{align*}m = 3\end{align*}. Now, we need to find the \begin{align*}y-\end{align*}intercept. 4 is the \begin{align*}y-\end{align*}intercept of the given line, *not our new line*. We need to plug in 9 for \begin{align*}x\end{align*} and -5 for \begin{align*}y\end{align*} to solve for the *new* \begin{align*}y-\end{align*}intercept \begin{align*}(b)\end{align*}.

\begin{align*}-5 & = 3(9)+b\\ -5 & = 27 + b \qquad \text{Therefore, the equation of line is} \ y=3x-32.\\ -32 & = b\end{align*}

## Graphing Parallel and Perpendicular Lines

**Example 8:** Find the equations of the lines below and determine if they are parallel, perpendicular or neither.

**Solution:** To find the equation of each line, start with the \begin{align*}y-\end{align*}intercept. The top line has a \begin{align*}y-\end{align*}intercept of 1. From there, determine the slope triangle, or the “rise over run.” From the \begin{align*}y-\end{align*}intercept, if you go up 1 and over 2, you hit the line again. Therefore, the slope of this line is \begin{align*}\frac{1}{2}\end{align*}. The equation is \begin{align*}y=\frac{1}{2}x+1\end{align*}. For the second line, the \begin{align*}y-\end{align*}intercept is -3. Again, start here to determine the slope and if you “rise” 1 and “run” 2, you run into the line again, making the slope \begin{align*}\frac{1}{2}\end{align*}. The equation of this line is \begin{align*}y=\frac{1}{2}x-3\end{align*}. The lines are parallel because they have the same slope.

**Example 9:** Graph \begin{align*}3x-4y=8\end{align*} and \begin{align*}4x+3y=15\end{align*}. Determine if they are parallel, perpendicular, or neither.

**Solution:** First, we have to change each equation into slope-intercept form. In other words, we need to solve each equation for \begin{align*}y\end{align*}.

\begin{align*}3x-4y & = 8 && 4x+3y=15\\ -4y & = -3x+8 && 3y = -4x + 15\\ y & = \frac{3}{4}x-2 && y = -\frac{4}{3}x+5\end{align*}

Now that the lines are in slope-intercept form (also called \begin{align*}y-\end{align*}intercept form), we can tell they are perpendicular because the slopes are opposites signs and reciprocals.

To graph the two lines, plot the \begin{align*}y-\end{align*}intercept on the \begin{align*}y-\end{align*}axis. From there, use the slope to rise and then run. For the first line, you would plot -2 and then rise 3 and run 4, making the next point on the line (1, 4). For the second line, plot 5 and then fall (because the slop is negative) 4 and run 3, making the next point on the line (1, 3).

**Know What? Revisited** In order to find the slope, we need to first find the horizontal distance in the triangle to the right. This triangle represents the incline and the elevation. To find the horizontal distance, or the run, we need to use the Pythagorean Theorem, \begin{align*}a^2+b^2=c^2\end{align*}, where \begin{align*}c\end{align*} is the hypotenuse.

\begin{align*}177^2 +run^2 & = 1532^2\\ 31,329+run^2 & = 2,347,024\\ run^2 & = 2,315,695\\ run & \approx 1521.75\end{align*}

The slope is then \begin{align*}\frac{177}{1521.75}\end{align*}, which is roughly \begin{align*}\frac{3}{25}\end{align*}.

## Review Questions

Find the slope between the two given points.

- (4, -1) and (-2, -3)
- (-9, 5) and (-6, 2)
- (7, 2) and (-7, -2)
- (-6, 0) and (-1, -10)
- (1, -2) and (3, 6)
- (-4, 5) and (-4, -3)

Determine if each pair of lines are parallel, perpendicular, or neither. Then, graph each pair on the same set of axes.

- \begin{align*}y=-2x+3\end{align*} and \begin{align*}y=\frac{1}{2}x+3\end{align*}
- \begin{align*}y=4x-2\end{align*} and \begin{align*}y=4x+5\end{align*}
- \begin{align*}y=-x+5\end{align*} and \begin{align*}y=x+1\end{align*}
- \begin{align*}y=-3x+1\end{align*} and \begin{align*}y=3x-1\end{align*}
- \begin{align*}2x-3y=6\end{align*} and \begin{align*}3x+2y=6\end{align*}
- \begin{align*}5x+2y=-4\end{align*} and \begin{align*}5x+2y=8\end{align*}
- \begin{align*}x-3y=-3\end{align*} and \begin{align*}x+3y=9\end{align*}
- \begin{align*}x+y=6\end{align*} and \begin{align*}4x+4y=-16\end{align*}

Determine the equation of the line that is ** parallel** to the given line, through the given point.

- \begin{align*}y=-5x+1; \ (-2, \ 3)\end{align*}
- \begin{align*}y=\frac{2}{3}x-2; \ (9, 1)\end{align*}
- \begin{align*}x-4y=12; \ (-16, \ -2)\end{align*}
- \begin{align*}3x+2y=10; \ (8, \ -11)\end{align*}
- \begin{align*}2x - y = 15; \ (3, \ 7)\end{align*}
- \begin{align*}y = x - 5; \ (9, \ -1)\end{align*}

Determine the equation of the line that is ** perpendicular** to the given line, through the given point.

- \begin{align*}y=x-1; \ (-6, \ 2)\end{align*}
- \begin{align*}y=3x+4; \ (9, \ -7)\end{align*}
- \begin{align*}5x-2y=6; \ (5, \ 5)\end{align*}
- \begin{align*}y = 4; \ (-1, \ 3)\end{align*}
- \begin{align*}x = -3; \ (1, \ 8)\end{align*}
- \begin{align*}x - 3y = 11; \ (0, \ 13)\end{align*}

Find the equation of the two lines in each graph below. Then, determine if the two lines are parallel, perpendicular or neither.

For the line and point below, find:

a) A parallel line, through the given point.

b) A perpendicular line, through the given point.

## Review Queue Answers

- \begin{align*}m = \frac{-5-5}{2 + 3} = \frac{-10}{2} = -5\end{align*}
- \begin{align*}m = \frac{2 + 1}{-2-7} = \frac{3}{-9} = - \frac{1}{3}\end{align*}
- Vertical because it has to pass through \begin{align*}x = 3\end{align*} on the \begin{align*}x-\end{align*}axis and doesn’t pass through \begin{align*}y\end{align*} at all.