We've updated our
Privacy Policy effective December 15. Please read our updated Privacy Policy and tap

Guías de estudio > College Algebra

Determining Whether Graphs of Lines are Parallel or Perpendicular

Coordinate plane with the x-axis ranging from negative 8 to 8 in intervals of 2 and the y-axis ranging from negative 7 to 7. Three functions are graphed on the same plot: y = 2 times x minus 3; y = 2 times x plus 1 and y = 2 times x plus 5.Figure 4. Parallel lines
Parallel lines have the same slope and different y-intercepts. Lines that are parallel to each other will never intersect. For example, Figure 4 shows the graphs of various lines with the same slope, [latex]m=2[/latex]. All of the lines shown in the graph are parallel because they have the same slope and different y-intercepts. Lines that are perpendicular intersect to form a [latex]{90}^{\circ }[/latex] -angle. The slope of one line is the negative reciprocal of the other. We can show that two lines are perpendicular if the product of the two slopes is [latex]-1:{m}_{1}\cdot {m}_{2}=-1[/latex]. For example, Figure 4 shows the graph of two perpendicular lines. One line has a slope of 3; the other line has a slope of [latex]-\frac{1}{3}[/latex].

[latex]\begin{array}{l}\text{ }{m}_{1}\cdot {m}_{2}=-1\hfill \\ \text{ }3\cdot \left(-\frac{1}{3}\right)=-1\hfill \end{array}[/latex]
Coordinate plane with the x-axis ranging from negative 3 to 6 and the y-axis ranging from negative 2 to 5. Two functions are graphed on the same plot: y = 3 times x minus 1 and y = negative x/3 minus 2. Their intersection is marked by a box to show that it is a right angle.Figure 5. Perpendicular lines

Example 13: Graphing Two Equations, and Determining Whether the Lines are Parallel, Perpendicular, or Neither

Graph the equations of the given lines, and state whether they are parallel, perpendicular, or neither: [latex]3y=-4x+3[/latex] and [latex]3x - 4y=8[/latex].

Solution

The first thing we want to do is rewrite the equations so that both equations are in slope-intercept form. First equation:
[latex]\begin{array}{l}3y=-4x+3\hfill \\ y=-\frac{4}{3}x+1\hfill \end{array}[/latex]
Second equation:
[latex]\begin{array}{l}3x - 4y=8\hfill \\ -4y=-3x+8\hfill \\ y=\frac{3}{4}x - 2\hfill \end{array}[/latex]
See the graph of both lines in Figure 6.
Coordinate plane with the x-axis ranging from negative 4 to 5 and the y-axis ranging from negative 4 to 4. Two functions are graphed on the same plot: y = negative 4 times x/3 plus 1 and y = 3 times x/4 minus 2. A box is placed at the intersection to note that it forms a right angle.Figure 6
From the graph, we can see that the lines appear perpendicular, but we must compare the slopes.
[latex]\begin{array}{l}{m}_{1}=-\frac{4}{3}\hfill \\ {m}_{2}=\frac{3}{4}\hfill \\ {m}_{1}\cdot {m}_{2}=\left(-\frac{4}{3}\right)\left(\frac{3}{4}\right)=-1\hfill \end{array}[/latex]
The slopes are negative reciprocals of each other, confirming that the lines are perpendicular.

Try It 11

Graph the two lines and determine whether they are parallel, perpendicular, or neither: [latex]2y-x=10[/latex] and [latex]2y=x+4[/latex]. Solution

Writing the Equations of Lines Parallel or Perpendicular to a Given Line

As we have learned, determining whether two lines are parallel or perpendicular is a matter of finding the slopes. To write the equation of a line parallel or perpendicular to another line, we follow the same principles as we do for finding the equation of any line. After finding the slope, use the point-slope formula to write the equation of the new line.

How To: Given an equation for a line, write the equation of a line parallel or perpendicular to it.

  1. Find the slope of the given line. The easiest way to do this is to write the equation in slope-intercept form.
  2. Use the slope and the given point with the point-slope formula.
  3. Simplify the line to slope-intercept form and compare the equation to the given line.

Example 14: Writing the Equation of a Line Parallel to a Given Line Passing Through a Given Point

Write the equation of line parallel to a [latex]5x+3y=1[/latex] and passing through the point [latex]\left(3,5\right)[/latex].

Solution

First, we will write the equation in slope-intercept form to find the slope.
[latex]\begin{array}{l}5x+3y=1\hfill \\ 3y=-5x+1\hfill \\ y=-\frac{5}{3}x+\frac{1}{3}\hfill \end{array}[/latex]
The slope is [latex]m=-\frac{5}{3}[/latex]. The y-intercept is [latex]\frac{1}{3}[/latex], but that really does not enter into our problem, as the only thing we need for two lines to be parallel is the same slope. The one exception is that if the y-intercepts are the same, then the two lines are the same line. The next step is to use this slope and the given point with the point-slope formula.
[latex]\begin{array}{l}y - 5=-\frac{5}{3}\left(x - 3\right)\hfill \\ y - 5=-\frac{5}{3}x+5\hfill \\ y=-\frac{5}{3}x+10\hfill \end{array}[/latex]
The equation of the line is [latex]y=-\frac{5}{3}x+10[/latex].
Coordinate plane with the x-axis ranging from negative 8 to 8 in intervals of 2 and the y-axis ranging from negative 2 to 12 in intervals of 2. Two functions are graphed on the same plot: y = negative 5 times x/3 plus 1/3 and y = negative 5 times x/3 plus 10. The lines do not cross.Figure 7

Try It 12

Find the equation of the line parallel to [latex]5x=7+y[/latex] and passing through the point [latex]\left(-1,-2\right)[/latex]. Solution

Example 15: Finding the Equation of a Line Perpendicular to a Given Line Passing Through a Given Point

Find the equation of the line perpendicular to [latex]5x - 3y+4=0\left(-4,1\right)[/latex].

Solution

The first step is to write the equation in slope-intercept form.
[latex]\begin{array}{l}5x - 3y+4=0\hfill \\ -3y=-5x - 4\hfill \\ y=\frac{5}{3}x+\frac{4}{3}\hfill \end{array}[/latex]
We see that the slope is [latex]m=\frac{5}{3}[/latex]. This means that the slope of the line perpendicular to the given line is the negative reciprocal, or [latex]-\frac{3}{5}[/latex]. Next, we use the point-slope formula with this new slope and the given point.
[latex]\begin{array}{l}y - 1=-\frac{3}{5}\left(x-\left(-4\right)\right)\hfill \\ y - 1=-\frac{3}{5}x-\frac{12}{5}\hfill \\ y=-\frac{3}{5}x-\frac{12}{5}+\frac{5}{5}\hfill \\ y=-\frac{3}{5}x-\frac{7}{5}\hfill \end{array}[/latex]

Licenses & Attributions

CC licensed content, Specific attribution