Parallel And Perpendicular Lines | College Algebra - Lumen Learning
Maybe your like
Learning Outcomes
- Determine whether lines are parallel or perpendicular given their equations
- Find equations of lines that are parallel or perpendicular to a given line
The two lines in the graph below are parallel lines: they will never intersect. Notice that they have exactly the same steepness which means their slopes are identical. The only difference between the two lines is the y-intercept. If we shifted one line vertically toward the y-intercept of the other, they would become the same line.
Parallel lines.

We can determine from their equations whether two lines are parallel by comparing their slopes. If the slopes are the same and the y-intercepts are different, the lines are parallel. If the slopes are different, the lines are not parallel.
Unlike parallel lines, perpendicular lines do intersect. Their intersection forms a right or 90-degree angle. The two lines below are perpendicular.
Perpendicular lines.
Perpendicular lines do not have the same slope. The slopes of perpendicular lines are different from one another in a specific way. The slope of one line is the negative reciprocal of the slope of the other line. The product of a number and its reciprocal is 1. If [latex]{m}_{1}\text{ and }{m}_{2}[/latex] are negative reciprocals of one another, they can be multiplied together to yield [latex]-1[/latex].
[latex]{m}_{1}*{m}_{2}=-1[/latex]
To find the reciprocal of a number, divide 1 by the number. So the reciprocal of 8 is [latex]\frac{1}{8}[/latex], and the reciprocal of [latex]\frac{1}{8}[/latex] is 8. To find the negative reciprocal, first find the reciprocal and then change the sign.
As with parallel lines, we can determine whether two lines are perpendicular by comparing their slopes. The slope of each line below is the negative reciprocal of the other so the lines are perpendicular.
[latex]\begin{array}{ll}f\left(x\right)=\frac{1}{4}x+2\hfill & \text{negative reciprocal of }\frac{1}{4}\text{ is }-4\hfill \\ f\left(x\right)=-4x+3\hfill & \text{negative reciprocal of }-4\text{ is }\frac{1}{4}\hfill \end{array}[/latex]
The product of the slopes is –1.
[latex]-4\left(\frac{1}{4}\right)=-1[/latex]
A General Note: Parallel and Perpendicular Lines
Two lines are parallel lines if they do not intersect. The slopes of the lines are the same.
[latex]f\left(x\right)={m}_{1}x+{b}_{1}\text{ and }g\left(x\right)={m}_{2}x+{b}_{2}\text{ are parallel if }{m}_{1}={m}_{2}[/latex].
If and only if [latex]{b}_{1}={b}_{2}[/latex] and [latex]{m}_{1}={m}_{2}[/latex], we say the lines coincide. Coincident lines are the same line.
Two lines are perpendicular lines if they intersect at right angles.
[latex]f\left(x\right)={m}_{1}x+{b}_{1}\text{ and }g\left(x\right)={m}_{2}x+{b}_{2}\text{ are perpendicular if }{m}_{1}*{m}_{2}=-1,\text{ and }{m}_{2}=-\frac{1}{{m}_{1}}[/latex].
Example: Identifying Parallel and Perpendicular Lines
Given the functions below, identify the functions whose graphs are a pair of parallel lines and a pair of perpendicular lines.
[latex]\begin{array}{l}f\left(x\right)=2x+3\hfill & \hfill & h\left(x\right)=-2x+2\hfill \\ g\left(x\right)=\frac{1}{2}x - 4\hfill & \hfill & j\left(x\right)=2x - 6\hfill \end{array}[/latex]
Show SolutionParallel lines have the same slope. Because the functions [latex]f\left(x\right)=2x+3[/latex] and [latex]j\left(x\right)=2x - 6[/latex] each have a slope of 2, they represent parallel lines. Perpendicular lines have negative reciprocal slopes. Because −2 and [latex]\frac{1}{2}[/latex] are negative reciprocals, the equations, [latex]g\left(x\right)=\frac{1}{2}x - 4[/latex] and [latex]h\left(x\right)=-2x+2[/latex] represent perpendicular lines.
Analysis of the Solution
A graph of the lines is shown below.
The graph shows that the lines [latex]f\left(x\right)=2x+3[/latex] and [latex]j\left(x\right)=2x - 6[/latex] are parallel, and the lines [latex]g\left(x\right)=\frac{1}{2}x - 4[/latex] and [latex]h\left(x\right)=-2x+2[/latex] are perpendicular.
Writing Equations of Parallel Lines
If we know the equation of a line, we can use what we know about slope to write the equation of a line that is either parallel or perpendicular to the given line.
Suppose we are given the following function:
[latex]f\left(x\right)=3x+1[/latex]
We know that the slope of the line is 3. We also know that the y-intercept is (0, 1). Any other line with a slope of 3 will be parallel to f(x). The lines formed by all of the following functions will be parallel to f(x).
[latex]\begin{array}{l}g\left(x\right)=3x+6\hfill \\ h\left(x\right)=3x+1\hfill \\ p\left(x\right)=3x+\frac{2}{3}\hfill \end{array}[/latex]
Suppose then we want to write the equation of a line that is parallel to f and passes through the point (1, 7). We already know that the slope is 3. We just need to determine which value for b will give the correct line. We can begin by using point-slope form of an equation for a line. We can then rewrite it in slope-intercept form.
[latex]\begin{array}{l}y-{y}_{1}=m\left(x-{x}_{1}\right)\hfill \\ y - 7=3\left(x - 1\right)\hfill \\ y - 7=3x - 3\hfill \\ \text{}y=3x+4\hfill \end{array}[/latex]
So [latex]g\left(x\right)=3x+4[/latex] is parallel to [latex]f\left(x\right)=3x+1[/latex] and passes through the point (1, 7).
How To: Given the equation of a linear function, write the equation of a line WHICH passes through a given point and is parallel to the given line.
- Find the slope of the function.
- Substitute the slope and given point into point-slope or slope-intercept form.
- Simplify.
Example: Finding a Line Parallel to a Given Line
Find a line parallel to the graph of [latex]f\left(x\right)=3x+6[/latex] that passes through the point (3, 0).
Show SolutionThe slope of the given line is 3. If we choose slope-intercept form, we can substitute [latex]m=3[/latex], [latex]x=3[/latex], and [latex]f(x)=0[/latex] into slope-intercept form to find the y-intercept.
[latex]\begin{array}{l}g\left(x\right)=3x+b\hfill \\ \text{}0=3\left(3\right)+b\hfill \\ \text{}b=-9\hfill \end{array}[/latex]
The line parallel to f(x) that passes through (3, 0) is [latex]g\left(x\right)=3x - 9[/latex].
Analysis of the Solution
We can confirm that the two lines are parallel by graphing them. The figure below shows that the two lines will never intersect.

Writing Equations of Perpendicular Lines
We can use a very similar process to write the equation of a line perpendicular to a given line. Instead of using the same slope, however, we use the negative reciprocal of the given slope. Suppose we are given the following function:
[latex]f\left(x\right)=2x+4[/latex]
The slope of the line is 2, and its negative reciprocal is [latex]-\frac{1}{2}[/latex]. Any function with a slope of [latex]-\frac{1}{2}[/latex] will be perpendicular to f(x). The lines formed by all of the following functions will be perpendicular to f(x).
[latex]\begin{array}{l}g\left(x\right)=-\frac{1}{2}x+4\hfill \\ h\left(x\right)=-\frac{1}{2}x+2\hfill \\ p\left(x\right)=-\frac{1}{2}x-\frac{1}{2}\hfill \end{array}[/latex]
As before, we can narrow down our choices for a particular perpendicular line if we know that it passes through a given point. Suppose that we want to write the equation of a line that is perpendicular to f(x) and passes through the point (4, 0). We already know that the slope is [latex]-\frac{1}{2}[/latex]. Now we can use the point to find the y-intercept by substituting the given values into the slope-intercept form of a line and solving for b.
[latex]\begin{array}{l}g\left(x\right)=mx+b\hfill \\ 0=-\frac{1}{2}\left(4\right)+b\hfill \\ 0=-2+b\hfill \\ 2=b\hfill \\ b=2\hfill \end{array}[/latex]
The equation for the function with a slope of [latex]-\frac{1}{2}[/latex] and a y-intercept of 2 is
[latex]g\left(x\right)=-\frac{1}{2}x+2[/latex].
So [latex]g\left(x\right)=-\frac{1}{2}x+2[/latex] is perpendicular to [latex]f\left(x\right)=2x+4[/latex] and passes through the point (4, 0). Be aware that perpendicular lines may not look obviously perpendicular on a graphing calculator unless we use the square zoom feature.
Q & A
A horizontal line has a slope of zero and a vertical line has an undefined slope. These two lines are perpendicular, but the product of their slopes is not –1. Doesn’t this fact contradict the definition of perpendicular lines?
No. For two perpendicular linear functions, the product of their slopes is –1. However, a vertical line is not a function so the definition is not contradicted.
How To: Given the equation of a linear function, write the equation of a line WHICH passes through a given point and is Perpendicular to the given line.
- Find the slope of the given function.
- Determine the negative reciprocal of the slope.
- Substitute the new slope and the values for x and y from given point into [latex]g\left(x\right)=mx+b[/latex].
- Solve for b.
- Write the equation of the line.
Example: Finding the Equation of a Perpendicular Line
Find the equation of a line perpendicular to [latex]f\left(x\right)=3x+3[/latex] that passes through the point (3, 0).
Show SolutionThe original line has slope [latex]m=3[/latex], so the slope of the perpendicular line will be its negative reciprocal, or [latex]-\frac{1}{3}[/latex]. Using this slope and the given point, we can find the equation for the line.
[latex]\begin{array}{l}g\left(x\right)=-\frac{1}{3}x+b\hfill \\ 0=-\frac{1}{3}\left(3\right)+b\hfill \\ \text{ }1=b\hfill \\ b=1\hfill \end{array}[/latex]
The line perpendicular to f(x) that passes through (3, 0) is [latex]g\left(x\right)=-\frac{1}{3}x+1[/latex].
Analysis of the Solution
A graph of the two lines is shown below.

How To: Given two points on a line and a third point, write the equation of the perpendicular line that passes through the point.
- Determine the slope of the line passing through the points.
- Find the negative reciprocal of the slope.
- Use slope-intercept form or point-slope form to write the equation by substituting the known values.
- Simplify.
Example: Finding the Equation of a Line going through a point and Perpendicular to a Given Line
A line passes through the points (–2, 6) and (4, 5). Find the equation of a line that is perpendicular and passes through the point (4, 5).
Show SolutionFrom the two points of the given line, we can calculate the slope of that line.
[latex]\begin{array}{l}{m}_{1}=\frac{5 - 6}{4-\left(-2\right)}\hfill \\ {m}_{1}=\frac{-1}{6}\hfill \\ {m}_{1}=-\frac{1}{6}\hfill \end{array}[/latex]
Find the negative reciprocal of the slope.
[latex]\begin{array}{l}{m}_{2}=\frac{-1}{-\frac{1}{6}}\hfill \\ {m}_{2}=-1\left(-\frac{6}{1}\right)\hfill \\ {m}_{2}=6\hfill \end{array}[/latex]
We can then solve for the y-intercept of the line passing through the point (4, 5).
[latex]\begin{array}{l}g\left(x\right)=6x+b\hfill \\ 5=6\left(4\right)+b\hfill \\ 5=24+b\hfill \\ -19=b\hfill \\ b=-19\hfill \end{array}[/latex]
The equation of the line that passes through the point (4, 5) and is perpendicular to the line passing through the two given points is [latex]y=6x - 19[/latex].
Try It
A line passes through the points, (–2, –15) and (2, –3). Find the equation of a perpendicular line that passes through the point, (6, 4).
Show Solution[latex]y=-\frac{1}{3}x+6[/latex]
Candela Citations
CC licensed content, Original- Revision and Adaptation. Provided by: Lumen Learning. License: CC BY: Attribution
- College Algebra. Authored by: Abramson, Jay et al.. Provided by: OpenStax. Located at: http://cnx.org/contents/[email protected]. License: CC BY: Attribution. License Terms: Download for free at http://cnx.org/contents/[email protected]
Tag » How To Find A Parallel Slope
-
Algebra 1 : How To Find The Slope Of Parallel Lines - Varsity Tutors
-
Finding Parallel And Perpendicular Lines - Math Is Fun
-
Slope Of Parallel Lines | Do Parallel Lines Have The Same Slope?
-
Parallel Line Equation - YouTube
-
Finding Slopes Of Parallel And Perpendicular Lines (and Graphing)!
-
Slope Of Parallel - Definition, Formula, Derivation, Examples
-
How Do You Find The Slope Of A Line That Is A) Parallel And B ... - Socratic
-
Parallel And Perpendicular Line Calculator - EMathHelp
-
Parallel And Perpendicular Lines Slope Intercept Form
-
How To Use Y=mx+b To Find A Parallel Line When I Have A ... - Quora
-
Algebra Examples | Finding The Slope Of A Parallel Line - Mathway
-
Parallel Slopes And Perpendicular Slopes: Complete Guide
-
Writing Equations Of Parallel Lines - Expii