Skip to main content
K12 LibreTexts

4.6.1: Equations of Parallel and Perpendicular Lines

  • Page ID
    4322
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \) \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)\(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\) \(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\)\(\newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    Comparing Equations of Parallel and Perpendicular Lines

    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.

    Figure 4.6.1.1

    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 (6−2)/(0−(−2))=4/2=2, and the slope of line B is (0−(−4))/(2−0)=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.

    Figure 4.6.1.2

    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?

    Figure 4.6.1.3

    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 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∘. Where line A goes 8 units up and 4 units right, line B goes 8 units right and 4 units down. Its slope is −4/8, or −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 a/b and the slope of the other line will be −b/a.

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

    Determining 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.

    1. Determine whether the lines are parallel or perpendicular or neither. One line passes through the points (2, 11) and (-1, 2); another line passes through the points (0, -4) and (-2, -10).

    Find the slope of each line and compare them.

    m1=(2−11)/(−1−2)=−9/−3=3 and m2=(−10−(−4))/(−2−0)=−6/−2=3

    The slopes are equal, so the lines are parallel.

    2. Determine whether the lines are parallel or perpendicular or neither. One line passes through the points (-2, -7) and (1, 5); another line passes through the points (4, 1) and (-8, 4).

    m1=(5−(−7))/(1−(−2))=12/3=4 and m2=(4−1)/(−8−4)=3/−12=−1/4

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

    3. Determine whether the lines are parallel or perpendicular or neither. One line passes through the points (3, 1) and (-2, -2); another line passes through the points (5, 5) and (4, -6).

    m1=(−2−1)/(−2−3)=−3/−5=3/5 and m2=(−6−5)/(4−5)=−13/−1=13

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

    Examples

    Determine whether the lines are parallel or perpendicular or neither:

    Example 4.6.1.1

    3x+4y=2 and 8x−6y=5

    Solution

    Write each equation in slope-intercept form:

    line 1: 3x+4y=2⇒4y=−3x+2⇒y=−(3/4)x+(1/2)⇒ slope=−3/4

    line 2: 8x−6y=5⇒8x−5=6y⇒y=(8/6)x−(5/6)⇒y=(4/3)x−(5/6)⇒ slope=4/3

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

    Example 4.6.1.2

    2x=y−10 and y=−2x+5

    Solution

    line 1: 2x=y−10⇒y=2x+10⇒ slope=2

    line 2: y=−2x+5⇒ slope=−2

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

    Example 4.6.1.3

    7y+1=7x and x+5=y

    Solution

    line 1: 7y+1=7x⇒7y=7x−1⇒y=x−(1/7)⇒ slope=1

    line 2: x+5=y⇒y=x+5⇒ slope=1

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

    Review

    For 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 Epasses 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?

    Review (Answers)

    To view the Review answers, open this PDF file and look for section 5.4.

    Vocabulary

    Term Definition
    Parallel Two or more lines are parallel when they lie in the same plane and never intersect. These lines will always have the same slope.
    Perpendicular Perpendicular lines are lines that intersect at a 90∘ angle. The product of the slopes of two perpendicular lines is -1.
    standard form The standard form of a quadratic function is f(x)=ax2+bx+c.

    Additional Resources

    PLIX: Play, Learn, Interact, eXplore: Parallel and Perpendicular Lines

    Video: Determining Parallel v. Perpendicular - Overview

    Practice: Equations of Parallel and Perpendicular Lines


    This page titled 4.6.1: Equations of Parallel and Perpendicular Lines is shared under a CC BY-NC license and was authored, remixed, and/or curated by CK-12 Foundation via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit history is available upon request.