Slopes of Parallel and Perpendicular Lines – Explanation and Examples
The slopes of two parallel lines are the same, while the slopes of two perpendicular lines are the opposite reciprocals of each other.
Each line has infinitely many lines that are parallel to it and infinitely many lines that are perpendicular to it. Before diving into the topic of parallel and perpendicular slopes, it is helpful to review the general concept of slope.
This section will cover:
- What is the Slope of a Parallel Line?
- How to Find the Slope of a Parallel Line
- What is a Perpendicular Line?
- What is the Slope of a Perpendicular Line?
- How to find the Slope of a Perpendicular Line
What is the Slope of a Parallel Line?
Parallel lines have the same angle of inclination. For example, the floor and the ceiling of a house are parallel to each other. The lines in the picture below are also parallel to each other.
Mathematically speaking, two lines are parallel if and only if they have the same slope. Two such lines will never intersect.
Note, however, that there are infinitely many lines that are parallel to a given line. This is because parallel lines can have different x and y-intercepts. Since there are infinitely many possible y-intercepts, there are infinitely many parallel lines.
How to Find the Slope of a Parallel Line
Finding the slope of a parallel line is pretty simple as long as we understand the definition of parallel lines and how to find slope generally.
We can distinguish two cases for finding the slope of a line parallel to a given line. Either we already know the slope of the given line or we do not know the slope of the given line.
Finding Parallel Lines When Slope is Known
If we know the slope of the given line, the slope of the parallel line is exactly the same.
In some cases, you may be asked to find the equation of a particular parallel line. If the y-intercept of this line is known, we can easily plug the slope and intercept values into the slope-intercept equation.
Alternatively, if another point other than the y-intercept is known, we can plug the values into the point-slope equation. Then, it is possible to solve for y, thus converting the equation into slope-intercept form.
Finding Parallel Lines When Slope is Not Given
In other cases, we may be given a line with a verbal description or graphical depiction without a given slope. If this is the case, we will have to solve for the slope before finding the slope of the parallel line or lines.
Recall that we can solve for the slope of a line as long as we know two points. Often, verbal descriptions will include these two points. For example, we may know that “a line passes through the points (1, 3) and (3, -4).”
Alternatively, we may have to find two points if we are given a graphical depiction of a line.
In either case, the formula for slope is:
After we find the slope, we can proceed in the same way we did when the slope was known.
What is a Perpendicular Line?
Before discussing the slope of a perpendicular line, it is helpful to define a perpendicular line.
Two lines are perpendicular if they meet at a right angle.
For example, in the coordinate plane, the x and y-axes are perpendicular to each other.
Just as there are infinitely lines parallel to any given line, there are infinitely many line perpendicular to a given line. This is because perpendicular lines will meet at exactly one point, and, for each point on a given line, there exists exactly one perpendicular line in two-dimensional space. Because there are infinitely many points on a line, each line consequently has infinitely many perpendicular lines.
What is the Slope of a Perpendicular Line
If two lines are perpendicular, their slopes are the opposite reciprocals of each other.
Recall that the reciprocal of a number n is n-1. Alternatively, we can think of it as 1/n.
If n is a fraction p/q, then the reciprocal of n is q/p. This is because 1/p/q is equal to 1÷p/q=1/1×q/p=q/p.
The opposite reciprocal of a number is the reciprocal with the opposite sign. If the slope of a line is positive, then the slope of a perpendicular line is negative. On the other hand, if the slope of a line is negative, then the slope of the perpendicular line is positive.
How to Find the Slope of a Perpendicular Line
As is the case with parallel lines, it is much easier to find the slope of a line perpendicular to a given line if we already know the slope of the given line. If not, we have to find the slope first. As always, we do this by dividing the change in y-values for two points by the change in x-values for the same two points.
Once we know the slope, m, of a line, we know that any line perpendicular to it will have a slope that is the opposite reciprocal of m. That is, the slope will be -m-1.
Finding the Equation of a Perpendicular Line
Often, we must find the equation of a line perpendicular to a given line that intersects it at a given point. To do this, we first find the slope of the perpendicular line. Then, we can plug the values for the slope and the intersection point into point-slope form. Finally, we can convert the point-slope form into slope-intercept form by solving for y.
But, what if we are given another point on the perpendicular line and asked where it intersects the given line?
As before, we can plug the values of the slope and the given point for the perpendicular line into the point-slope equation. Then, once we have the slope-intercept equation for the perpendicular line, we set it equal to the slope-intercept equation for the given line.
This works because we want to find the value of x that gives the same value of y regardless which of the two equations we use it in.
We will end up with an equation m1x+b1=m2x+b2.
Solving This Equation
To solve this, we subtract m2x from both sides and b1 from both sides. Doing this means all of the terms with x in them are on one side of the equation and all of the terms without x are on the other.
Now, dividing both sides by (m1-m2) leaves x by itself on one side of the equation. Therefore, b2+b1/(m1-m2) is the x-value of the point where the two lines intersect.
If we then plug this value into either original slope-intercept equation and solve, the answer will be the y-value of the point where the two lines intersect.
A Note About Undefined Lines
Remember that a vertical line has a slope that is undefined. How can we find a parallel or perpendicular line if the line does not have a slope?
As a general rule, if two lines both have undefined slope, they are both vertical lines. Their equation is x=a, where a is any real number. We can then consider all lines with this form of equation to be parallel. That is, all vertical lines are parallel to each other.
Again, it might seem impossible to find a line perpendicular to a line with an undefined slope. Likewise, it is also impossible to find the opposite reciprocal of a line with a slope of 0. We therefore consider all horizontal lines, which have slope of 0, to be perpendicular to all vertical lines.
This makes sense because the simplest example of parallel lines are the grid lines on the coordinate plane. Likewise, the simplest example of perpendicular lines are the x and y-axes on the coordinate plane.
This section will cover common examples of problems involving the slopes of parallel and perpendicular lines. It will also include step-by-step solutions.
The slope-intercept form of a line k is y=4/5x+6. What is the slope of any line parallel to k? What is the slope of any line perpendicular to k?
Example 1 Solution
Any line parallel to the line k will have the same slope. Since the equation is in slope-intercept form, we can easily find the slope, which is the coefficient of x. Therefore, both k and any parallel line will have a slope of 4/5.
Any line perpendicular to k will have a slope that is the opposite reciprocal of 4/5. To find this number, we simply change the sign and flip the fraction. Therefore, the slope of any line perpendicular to k is -5/4.
A line l passes through the points (17, 2) and (18, 4). Find the equation of a parallel line that passes through the origin.
Example 2 Solution
In this case, the slope of the line l is not given. Using the formula for slope, we find that it is:
Any line parallel to l will have the same slope.
This question specifically asks about a line that passes through the origin, (0, 0). This means that the y-intercept of this line is 0. Plugging the slope and intercept into the slope-intercept form tells us that the line is y=-2x.
Find the equation of a line perpendicular to the line shown if the two lines have the same y-intercept.
Example 3 Solution
Although we are given the intercept of the perpendicular line, we do not have the slope of the given line. To calculate it, we have to find two points on the graph. The x- and y-intercepts are easy to see, so we can use them. If (x1, y1) is (0, -2) and (x2, y2) is (4, 0), then the slope of the given line is:
We know that the perpendicular line will have a slope that is the opposite reciprocal of the given line’s slope. If we flip the fraction 1/2 and change the sign, we have -2.
Since the y-intercept of the given line is also -2, the equation for the perpendicular line with the same y-intercept is y=-2x-2.
Note: This means that the two lines will intersect each other in the same place where they intersect the y-axis.
The slope-intercept form of a line k is y=2/3x+1.
Another line, l, passes through the points (0, -1) and (3, 0).
A third line, n, is shown below: