Skip to content
Family Table Math
Auto

Parallel and Perpendicular Lines

Slopes tell you more than how steep one line is. By comparing the slopes of two lines, you can tell straight away whether they’re parallel (they never meet) or perpendicular (they meet at a right angle), without drawing anything. You’ll use this to find equations of lines, to predict how many solutions a linear system has, and to check shapes like rectangles and right triangles.

Two different non-vertical lines are parallel exactly when they have the same slope:

m1=m2m_1 = m_2

The lines y=2x−1y = 2x - 1 and y=2x+3y = 2x + 3 both have slope 22. They rise at the same rate, so the gap between them never changes and they never meet. (If two lines have the same slope and the same yy-intercept, they aren’t two lines at all: they’re the same line.)

All vertical lines are parallel to each other, and so are all horizontal lines.

Perpendicular lines have negative reciprocal slopes

Section titled “Perpendicular lines have negative reciprocal slopes”

Two lines are perpendicular exactly when their slopes are negative reciprocals: flip the fraction and change the sign.

m2=−1m1or, equivalently,m1×m2=−1m_2 = -\frac{1}{m_1} \qquad \text{or, equivalently,} \qquad m_1 \times m_2 = -1

For example, 22 and −12-\dfrac{1}{2} are negative reciprocals, because 2×(−12)=−12 \times \left(-\dfrac{1}{2}\right) = -1. So y=2x−1y = 2x - 1 and y=−12x+4y = -\dfrac{1}{2}x + 4 are perpendicular.

Two parallel lines with slope 2, and a line with slope -1/2 that meets y = 2x - 1 at a right angle at (2, 3) y = 2x − 1 y = 2x + 3 y = −½x + 4 (2, 3) 2 4 −2 2 6
y=2x−1y = 2x - 1 and y=2x+3y = 2x + 3 are parallel; y=−12x+4y = -\tfrac{1}{2}x + 4 is perpendicular to both.

Why does this work? Picture a slope triangle with a run of 22 and a rise of 11 (slope 12\tfrac{1}{2}). Turn the whole picture a quarter turn counterclockwise. The run of 22 becomes a rise of 22, and the rise of 11 becomes a run of 11 to the left. The turned line has slope 2−1=−2\dfrac{2}{-1} = -2. Turning swaps rise and run (that’s the reciprocal) and sends one of them backwards (that’s the negative sign).

The exception: a horizontal line (slope 00) and a vertical line (undefined slope) are perpendicular, but you can’t multiply their slopes to get −1-1. Spot these by their equations: y=by = b and x=ax = a.

To compare slopes, you first need each line’s slope. Rewrite each equation in the form y=mx+by = mx + b and read off mm.

For Ax+By+C=0Ax + By + C = 0 (or Ax+By=DAx + By = D), solving for yy always gives the slope m=−ABm = -\dfrac{A}{B}. For example, 3x−4y+8=03x - 4y + 8 = 0 becomes y=34x+2y = \dfrac{3}{4}x + 2, and −AB=−3−4=34-\dfrac{A}{B} = -\dfrac{3}{-4} = \dfrac{3}{4}. It’s safest to solve for yy until you’re confident with the shortcut.

Finding a parallel or perpendicular line through a point

Section titled “Finding a parallel or perpendicular line through a point”
  1. Find the slope of the given line.
  2. Use the same slope (parallel) or the negative reciprocal (perpendicular).
  3. Substitute that slope and the given point into y=mx+by = mx + b, and solve for bb.
  4. Write the equation in the form the question asks for, and check the point.

For these SAT questions, mental math is usually fastest: find the slope, keep it for a parallel line, or flip it and change its sign for a perpendicular line. Desmos is a good check: graph the given line and your answer and see whether they look parallel or meet at a right angle, and whether your line passes through the given point (type it as (x, y)). Don’t decide from the picture alone, though: if you’ve zoomed so the axes have different scales, perpendicular lines no longer look square, so always confirm with the slopes. See using Desmos on the SAT.

Example 1: Parallel, perpendicular, or neither?

Section titled “Example 1: Parallel, perpendicular, or neither?”

Decide whether each pair of lines is parallel, perpendicular, or neither.

  • (a) y=3x−2y = 3x - 2 and 6x−2y+5=06x - 2y + 5 = 0
  • (b) y=23x+1y = \dfrac{2}{3}x + 1 and 3x+2y=83x + 2y = 8
  • (c) 2x+5y=102x + 5y = 10 and y=25x−3y = \dfrac{2}{5}x - 3

Solution.

(a) The first slope is 33. Solve the second equation for yy:

−2y=−6x−5y=3x+52\begin{aligned} -2y &= -6x - 5 \\ y &= 3x + \frac{5}{2} \end{aligned}

Both slopes are 33 and the yy-intercepts are different, so the lines are parallel.

(b) The first slope is 23\dfrac{2}{3}. For the second, 2y=−3x+82y = -3x + 8, so y=−32x+4y = -\dfrac{3}{2}x + 4, with slope −32-\dfrac{3}{2}.

23×(−32)=−1\frac{2}{3} \times \left(-\frac{3}{2}\right) = -1

The lines are perpendicular.

(c) For the first, 5y=−2x+105y = -2x + 10, so y=−25x+2y = -\dfrac{2}{5}x + 2, with slope −25-\dfrac{2}{5}. The second slope is 25\dfrac{2}{5}. The slopes aren’t equal, and their product is −425-\dfrac{4}{25}, not −1-1. The lines are neither. (The slopes are opposites, but not reciprocals.)

Example 2: A parallel line through a point

Section titled “Example 2: A parallel line through a point”

Find the equation of the line through (8,−1)(8, -1) that is parallel to 3x−4y+8=03x - 4y + 8 = 0. Give the answer in standard form.

Solution. Solve the given equation for yy:

−4y=−3x−8y=34x+2\begin{aligned} -4y &= -3x - 8 \\ y &= \frac{3}{4}x + 2 \end{aligned}

Its slope is 34\dfrac{3}{4}, so the parallel line also has slope 34\dfrac{3}{4}. Substitute (8,−1)(8, -1):

−1=34(8)+b−1=6+bb=−7\begin{aligned} -1 &= \frac{3}{4}(8) + b \\ -1 &= 6 + b \\ b &= -7 \end{aligned}

So y=34x−7y = \dfrac{3}{4}x - 7. Multiply by 44 and rearrange:

4y=3x−283x−4y−28=0\begin{aligned} 4y &= 3x - 28 \\ 3x - 4y - 28 &= 0 \end{aligned}

Check with (8,−1)(8, -1): 3(8)−4(−1)−28=24+4−28=03(8) - 4(-1) - 28 = 24 + 4 - 28 = 0. ✓

Example 3: A perpendicular line through a point

Section titled “Example 3: A perpendicular line through a point”

Find the equation of the line through (4,−1)(4, -1) that is perpendicular to y=−23x+4y = -\dfrac{2}{3}x + 4.

Solution. The given slope is −23-\dfrac{2}{3}. Flip it and change the sign: the perpendicular slope is 32\dfrac{3}{2}.

Check: −23×32=−1-\dfrac{2}{3} \times \dfrac{3}{2} = -1. ✓

Substitute (4,−1)(4, -1):

−1=32(4)+b−1=6+bb=−7\begin{aligned} -1 &= \frac{3}{2}(4) + b \\ -1 &= 6 + b \\ b &= -7 \end{aligned}

The line is y=32x−7y = \dfrac{3}{2}x - 7, or 3x−2y−14=03x - 2y - 14 = 0 in standard form.

Check with (4,−1)(4, -1): 3(4)−2(−1)−14=12+2−14=03(4) - 2(-1) - 14 = 12 + 2 - 14 = 0. ✓

A triangle has vertices P(−3,2)P(-3, 2), Q(1,4)Q(1, 4) and R(3,0)R(3, 0). Show that it is a right triangle.

Solution. A right angle means two sides are perpendicular. Find the slope of each side:

mPQ=4−21−(−3)=24=12mQR=0−43−1=−42=−2mPR=0−23−(−3)=−26=−13m_{PQ} = \frac{4 - 2}{1 - (-3)} = \frac{2}{4} = \frac{1}{2} \qquad m_{QR} = \frac{0 - 4}{3 - 1} = \frac{-4}{2} = -2 \qquad m_{PR} = \frac{0 - 2}{3 - (-3)} = \frac{-2}{6} = -\frac{1}{3}

Since 12×(−2)=−1\dfrac{1}{2} \times (-2) = -1, sides PQPQ and QRQR are perpendicular. The triangle has a right angle at QQ, the vertex the two sides share.

Taking the reciprocal but forgetting the negative (or the reverse). The perpendicular slope to 25\dfrac{2}{5} is −52-\dfrac{5}{2}. Neither 52\dfrac{5}{2} nor −25-\dfrac{2}{5} works. Check by multiplying: you must get −1-1.

Reading the slope straight from standard form. In 3x+2y=83x + 2y = 8, the slope is not 33 (or 22). Solve for yy first: y=−32x+4y = -\dfrac{3}{2}x + 4, so the slope is −32-\dfrac{3}{2}.

Calling the same line “parallel”. If two equations give the same slope and the same yy-intercept, they describe one line. For example, y=3x+1y = 3x + 1 and 6x−2y+2=06x - 2y + 2 = 0 are the same line.

Multiplying slopes for horizontal and vertical lines. y=5y = 5 and x=−2x = -2 are perpendicular, even though you can’t multiply 00 by an undefined slope. Recognize them by their equations.

Using the original line’s point. When you find a parallel or perpendicular line, substitute the new point into y=mx+by = mx + b, not a point from the given line.

1. (Warm-up) A line has the given slope. Find the slope of a line parallel to it and the slope of a line perpendicular to it.

  • (a) 44
  • (b) −35-\dfrac{3}{5}
  • (c) 00
Solution

(a) Parallel: 44. Perpendicular: −14-\dfrac{1}{4}.

(b) Parallel: −35-\dfrac{3}{5}. Perpendicular: 53\dfrac{5}{3}.

(c) Parallel: 00 (another horizontal line). Perpendicular: undefined (a vertical line).

2. (Warm-up) Find the slope of the line 6x−3y+2=06x - 3y + 2 = 0.

Solution−3y=−6x−2y=2x+23\begin{aligned} -3y &= -6x - 2 \\ y &= 2x + \frac{2}{3} \end{aligned}

The slope is 22.

3. (Core) Decide whether each pair of lines is parallel, perpendicular, or neither.

  • (a) y=−13x+2y = -\dfrac{1}{3}x + 2 and 3x−y=43x - y = 4
  • (b) 2x+3y=62x + 3y = 6 and 4x+6y+1=04x + 6y + 1 = 0
  • (c) y=5x−1y = 5x - 1 and y=−5x+2y = -5x + 2
Solution

(a) The second line is y=3x−4y = 3x - 4, slope 33. Since −13×3=−1-\dfrac{1}{3} \times 3 = -1, they are perpendicular.

(b) The first line is y=−23x+2y = -\dfrac{2}{3}x + 2. The second is 6y=−4x−16y = -4x - 1, so y=−23x−16y = -\dfrac{2}{3}x - \dfrac{1}{6}. Same slope, different yy-intercepts: parallel.

(c) The slopes are 55 and −5-5. They aren’t equal, and 5×(−5)=−255 \times (-5) = -25, not −1-1: neither.

4. (Core) Find the equation of the line through (−2,4)(-2, 4) that is parallel to y=−3x+1y = -3x + 1.

Solution

The slope is −3-3. Substitute (−2,4)(-2, 4):

4=−3(−2)+b⇒4=6+b⇒b=−24 = -3(-2) + b \quad\Rightarrow\quad 4 = 6 + b \quad\Rightarrow\quad b = -2

The line is y=−3x−2y = -3x - 2.

Check: −3(−2)−2=4-3(-2) - 2 = 4. ✓

5. (Core) Find the equation, in standard form, of the line through (6,1)(6, 1) that is perpendicular to 3x+2y−5=03x + 2y - 5 = 0.

Solution

Solve the given equation for yy: 2y=−3x+52y = -3x + 5, so y=−32x+52y = -\dfrac{3}{2}x + \dfrac{5}{2}. Its slope is −32-\dfrac{3}{2}, so the perpendicular slope is 23\dfrac{2}{3}.

Substitute (6,1)(6, 1):

1=23(6)+b⇒1=4+b⇒b=−31 = \frac{2}{3}(6) + b \quad\Rightarrow\quad 1 = 4 + b \quad\Rightarrow\quad b = -3

So y=23x−3y = \dfrac{2}{3}x - 3. Multiply by 33: 3y=2x−93y = 2x - 9, so

2x−3y−9=02x - 3y - 9 = 0

Check with (6,1)(6, 1): 2(6)−3(1)−9=02(6) - 3(1) - 9 = 0. ✓

6. (Core) The line x=4x = 4 is vertical.

  • (a) Find the equation of the line through (−5,2)(-5, 2) that is parallel to it.
  • (b) Find the equation of the line through (−5,2)(-5, 2) that is perpendicular to it.
Solution

(a) A line parallel to a vertical line is also vertical. Through (−5,2)(-5, 2) it is x=−5x = -5.

(b) A line perpendicular to a vertical line is horizontal. Through (−5,2)(-5, 2) it is y=2y = 2.

7. (Core) Show that the quadrilateral with vertices A(0,0)A(0, 0), B(4,2)B(4, 2), C(3,4)C(3, 4) and D(−1,2)D(-1, 2) is a rectangle.

Solution

Find the slope of each side:

mAB=2−04−0=12mBC=4−23−4=−2mCD=2−4−1−3=12mDA=0−20−(−1)=−2m_{AB} = \frac{2 - 0}{4 - 0} = \frac{1}{2} \qquad m_{BC} = \frac{4 - 2}{3 - 4} = -2 \qquad m_{CD} = \frac{2 - 4}{-1 - 3} = \frac{1}{2} \qquad m_{DA} = \frac{0 - 2}{0 - (-1)} = -2

Opposite sides have equal slopes (AB∥CDAB \parallel CD and BC∥DABC \parallel DA), so ABCDABCD is a parallelogram. Neighbouring sides have slopes 12\dfrac{1}{2} and −2-2, whose product is −1-1, so every corner is a right angle. ABCDABCD is a rectangle.

8. (Challenge) Consider the line kx+2y−6=0kx + 2y - 6 = 0. Find the value of kk that makes it

  • (a) parallel to y=23x+1y = \dfrac{2}{3}x + 1
  • (b) perpendicular to y=23x+1y = \dfrac{2}{3}x + 1
Solution

Solve for yy: 2y=−kx+62y = -kx + 6, so y=−k2x+3y = -\dfrac{k}{2}x + 3. The slope is −k2-\dfrac{k}{2}.

(a) Set −k2=23-\dfrac{k}{2} = \dfrac{2}{3}. Multiply both sides by −2-2: k=−43k = -\dfrac{4}{3}.

(b) The perpendicular slope is −32-\dfrac{3}{2}. Set −k2=−32-\dfrac{k}{2} = -\dfrac{3}{2}, so k=3k = 3.

Check (b): 3x+2y−6=03x + 2y - 6 = 0 gives y=−32x+3y = -\dfrac{3}{2}x + 3, and −32×23=−1-\dfrac{3}{2} \times \dfrac{2}{3} = -1. ✓

9. (Challenge) Triangle ABCABC has vertices A(1,1)A(1, 1), B(5,3)B(5, 3) and C(a,7)C(a, 7). Find aa so that the triangle has a right angle at BB.

Solution

A right angle at BB means AB⊥BCAB \perp BC.

mAB=3−15−1=12m_{AB} = \frac{3 - 1}{5 - 1} = \frac{1}{2}

So BCBC must have slope −2-2:

7−3a−5=−24=−2(a−5)4=−2a+10a=3\begin{aligned} \frac{7 - 3}{a - 5} &= -2 \\ 4 &= -2(a - 5) \\ 4 &= -2a + 10 \\ a &= 3 \end{aligned}

Check: mBC=7−33−5=4−2=−2m_{BC} = \dfrac{7 - 3}{3 - 5} = \dfrac{4}{-2} = -2, and 12×(−2)=−1\dfrac{1}{2} \times (-2) = -1. ✓

Try these independently after the practice questions. Show your setup and explain your reasoning. Use exact answers where possible, and check that your answers fit the question. Homework solutions are not provided on the published site.

Give slopes as fractions, not decimals, and check every perpendicular slope by multiplying.

H1. (Foundations) For each line, give the slope of a line parallel to it and the slope of a line perpendicular to it.

  • (a) A line with slope −6-6
  • (b) A line with slope 72\dfrac{7}{2}
  • (c) A line with slope −1-1
  • (d) The vertical line x=3x = 3

H2. (Foundations) Decide whether each pair of lines is parallel, perpendicular, the same line, or neither. Show the slopes you compare.

  • (a) y=4x+1y = 4x + 1 and x+4y=8x + 4y = 8
  • (b) y=−2y = -2 and x=6x = 6
  • (c) 5x−2y=35x - 2y = 3 and y=52x−32y = \dfrac{5}{2}x - \dfrac{3}{2}
  • (d) y=34xy = \dfrac{3}{4}x and y=43x+1y = \dfrac{4}{3}x + 1

H3. (Core) Find the equation of the line through (4,−3)(4, -3) that is parallel to 5x+2y−4=05x + 2y - 4 = 0. Give it in the form y=mx+by = mx + b and in standard form, and check the point.

H4. (Core) Find the equation of the line through (2,−5)(2, -5) that is perpendicular to x−3y+6=0x - 3y + 6 = 0. Give it in the form y=mx+by = mx + b and in standard form, and check the point.

H5. (Core) On a (hypothetical) town map of a small Ontario town, each grid unit is 100100 m, with east along the positive xx-axis and north along the positive yy-axis. Main Street runs in a straight line through (0,2)(0, 2) and (6,5)(6, 5).

  • (a) Find the equation of Main Street, and show that the library at (4,4)(4, 4) is on it.
  • (b) A new road will cross Main Street at a right angle at the library. Find its equation.
  • (c) A bike path will run parallel to Main Street and pass through the arena at (2,−1)(2, -1). Find its equation.
  • (d) Where does the new road from (b) cross the xx-axis? How far east of the origin is that, in metres?

H6. (Core) (SAT style) Line ℓ\ell in the xyxy-plane is perpendicular to the line 4x−6y=94x - 6y = 9 and passes through the point (6,−1)(6, -1). Which of the following is an equation of line ℓ\ell?

  • A) y=23x−5y = \dfrac{2}{3}x - 5
  • B) y=−32x+8y = -\dfrac{3}{2}x + 8
  • C) y=32x−10y = \dfrac{3}{2}x - 10
  • D) y=−32x−1y = -\dfrac{3}{2}x - 1

(On the SAT, you could graph the given line and each choice in Desmos, but check the slopes too.)

H7. (Challenge) Jordan was asked for the equation of the line through (−6,1)(-6, 1) that is perpendicular to 3x−2y=43x - 2y = 4. Here is his work:

The line is y=32x−2y = \dfrac{3}{2}x - 2, so its slope is 32\dfrac{3}{2}. The perpendicular slope is 23\dfrac{2}{3}. Then 1=23(−6)+b1 = \dfrac{2}{3}(-6) + b, so 1=−4+b1 = -4 + b and b=5b = 5. The answer is y=23x+5y = \dfrac{2}{3}x + 5.

Answer these:

  • (a) Find Jordan’s mistake.
  • (b) Find the correct equation, in the form y=mx+by = mx + b and in standard form.
  • (c) Jordan checked that his line passes through (−6,1)(-6, 1), and it does. Explain why that check didn’t catch his mistake, and give a check that would have.

H8. (Challenge) Use slopes only to classify each quadrilateral as a parallelogram, a rectangle, a trapezoid (exactly one pair of parallel sides), or none of these. Say where any right angles are.

  • (a) A(−2,−1)A(-2, -1), B(4,1)B(4, 1), C(5,4)C(5, 4), D(−1,2)D(-1, 2)
  • (b) P(0,0)P(0, 0), Q(6,3)Q(6, 3), R(5,5)R(5, 5), S(1,3)S(1, 3)

H9. (Challenge) Consider the lines (k+1)x+3y=6(k + 1)x + 3y = 6 and 2x−ky=52x - ky = 5.

  • (a) Find the value of kk that makes the lines perpendicular. Check your answer by finding both slopes.
  • (b) When k=0k = 0, the second line is vertical. Are the lines perpendicular then? Explain.
  • (c) Find the value of kk that makes the first line parallel to y=4x−1y = 4x - 1.

H10. (Challenge) Decide whether each statement is true or false. Justify each answer with a reason or a counterexample.

  • (a) If two lines are perpendicular, one of them has a positive slope and the other has a negative slope.
  • (b) The lines y=xy = x and y=−xy = -x are perpendicular.
  • (c) If line 1 is perpendicular to line 2, and line 2 is perpendicular to line 3, then line 1 and line 3 are parallel (or are the same line).
  • (d) If two lines have slopes that are opposites, such as 33 and −3-3, then they are perpendicular.