TExcelTAD
Home › School Analytical Trigonometry & Conic Sections › Parallel and Perpendicular Lines

Parallel and Perpendicular Lines

In coordinate geometry, testing whether two lines are parallel or perpendicular does not require drawing them out on graph paper. Instead, their relative orientation can be determined directly through the algebra of their slopes or their normal vectors.

Mastering these criteria enables you to construct parallel lines, perpendicular lines, and perpendicular bisectors with swift, error-free paper calculations.


1. Concepts & Geometric Criteria

Parallel Lines (d1∥d2d_1 \parallel d_2)

Two lines in a plane are parallel if they never intersect or if they coincide entirely:

  1. In terms of slopes: Two non-vertical lines d1:y=m1x+b1d_1: y = m_1 x + b_1 and d2:y=m2x+b2d_2: y = m_2 x + b_2 have the same inclination:

    d1∥d2  ⟺  m1=m2d_1 \parallel d_2 \iff m_1 = m_2
    • If m1=m2m_1 = m_2 and b1≠b2b_1 \neq b_2, the lines are strictly parallel (no common points).
    • If m1=m2m_1 = m_2 and b1=b2b_1 = b_2, the lines are coincident (infinitely many common points).
  2. In terms of normal vectors and general form: Let d1:A1x+B1y+C1=0d_1: A_1 x + B_1 y + C_1 = 0 and d2:A2x+B2y+C2=0d_2: A_2 x + B_2 y + C_2 = 0. The lines are parallel if and only if their normal vectors n⃗1=(A1,B1)\vec{n}_1 = (A_1, B_1) and n⃗2=(A2,B2)\vec{n}_2 = (A_2, B_2) are collinear (proportional):

    n⃗1∥n⃗2  ⟺  A1A2=B1B2  ⟺  A1B2−A2B1=0\vec{n}_1 \parallel \vec{n}_2 \iff \frac{A_1}{A_2} = \frac{B_1}{B_2} \iff A_1 B_2 - A_2 B_1 = 0

Perpendicular Lines (d1⊥d2d_1 \perp d_2)

Two lines are perpendicular (orthogonal) if they intersect at a right angle (90∘90^\circ or π2\frac{\pi}{2} radians):

  1. In terms of slopes: Let α1\alpha_1 and α2=α1+90∘\alpha_2 = \alpha_1 + 90^\circ be the angles of inclination of two perpendicular non-vertical, non-horizontal lines. Using the trigonometric identity for complementary angles:

    m2=tan⁡(α1+90∘)=−cot⁡α1=−1tan⁡α1=−1m1m_2 = \tan(\alpha_1 + 90^\circ) = -\cot \alpha_1 = -\frac{1}{\tan \alpha_1} = -\frac{1}{m_1}

    Multiplying both sides by m1m_1:

    d1⊥d2  ⟺  m1⋅m2=−1  ⟺  m2=−1m1d_1 \perp d_2 \iff m_1 \cdot m_2 = -1 \iff m_2 = -\frac{1}{m_1}

    The slope of the perpendicular line is the negative reciprocal of the original slope.

  2. In terms of normal vectors: Two lines are perpendicular if and only if their normal vectors are orthogonal:

    n⃗1⊥n⃗2  ⟺  n⃗1⋅n⃗2=0  ⟺  A1A2+B1B2=0\vec{n}_1 \perp \vec{n}_2 \iff \vec{n}_1 \cdot \vec{n}_2 = 0 \iff A_1 A_2 + B_1 B_2 = 0

    Note: This vector criterion works universally, even when one line is vertical (B1=0B_1 = 0) and the other is horizontal (A2=0A_2 = 0).

Line d: Ax + By + C = 0 Normal n = (A, B) M0(x0, y0)

Formula Box

Parallel & Perpendicular Toolkit

  1. Slope Rules:
    d1∥d2  ⟺  m1=m2d1⊥d2  ⟺  m1⋅m2=−1(m1,m2≠0)\begin{aligned} d_1 \parallel d_2 &\iff m_1 = m_2 \\ d_1 \perp d_2 &\iff m_1 \cdot m_2 = -1 \quad (m_1, m_2 \neq 0) \end{aligned}
  2. General Form Rules:
    d1∥d2  ⟺  A1B2−A2B1=0d1⊥d2  ⟺  A1A2+B1B2=0\begin{aligned} d_1 \parallel d_2 &\iff A_1 B_2 - A_2 B_1 = 0 \\ d_1 \perp d_2 &\iff A_1 A_2 + B_1 B_2 = 0 \end{aligned}
  3. Paper Shortcut Templates:
    • Any line parallel to Ax+By+C=0Ax + By + C = 0 has the form:
      Ax+By+D=0Ax + By + D = 0
    • Any line perpendicular to Ax+By+C=0Ax + By + C = 0 has the form:
      Bx−Ay+D=0Bx - Ay + D = 0
      (Swap coefficients AA and BB, flip one sign, and solve for DD using the given point).

2. Step-by-Step Paper Notebook Method

Method: Finding the Line Through P(x0,y0)P(x_0, y_0) Perpendicular to Ax+By+C=0Ax + By + C = 0

Line d: Ax + By + C = 0 Normal n = (A, B) M0(x0, y0)

3. Worked Notebook Examples

Example 1: Parallel Line Through a Point

Problem: Find the equation of the line passing through P(2,−5)P(2, -5) that is parallel to d:3x−4y+8=0d: 3x - 4y + 8 = 0.

Step 1: Write the parallel template Since the required line is parallel to 3x−4y+8=03x - 4y + 8 = 0, its normal vector must be the same: n⃗=(3,−4)\vec{n} = (3, -4). Its equation takes the form:

3x−4y+D=03x - 4y + D = 0

Step 2: Substitute P(2,−5)P(2, -5) to find DD

3(2)−4(−5)+D=06+20+D=026+D=0  ⟹  D=−26\begin{aligned} 3(2) - 4(-5) + D &= 0 \\ 6 + 20 + D &= 0 \\ 26 + D &= 0 \implies D = -26 \end{aligned}

Step 3: Write the final equation

3x−4y−26=03x - 4y - 26 = 0

Final Answer:

3x−4y−26=03x - 4y - 26 = 0

Example 2: Perpendicular Line Through a Point

Problem: Find the equation of the line passing through Q(−3,1)Q(-3, 1) that is perpendicular to d:5x+2y−9=0d: 5x + 2y - 9 = 0.

Step 1: Write the perpendicular template For 5x+2y−9=05x + 2y - 9 = 0, A=5A = 5 and B=2B = 2. Swap the coefficients and negate one: (A,B)→(B,−A)=(2,−5)(A, B) \to (B, -A) = (2, -5). The perpendicular template is:

2x−5y+D=02x - 5y + D = 0

Step 2: Substitute Q(−3,1)Q(-3, 1) to find DD

2(−3)−5(1)+D=0−6−5+D=0−11+D=0  ⟹  D=11\begin{aligned} 2(-3) - 5(1) + D &= 0 \\ -6 - 5 + D &= 0 \\ -11 + D &= 0 \implies D = 11 \end{aligned}

Step 3: Verify orthogonality Normal vectors are n⃗1=(5,2)\vec{n}_1 = (5, 2) and n⃗2=(2,−5)\vec{n}_2 = (2, -5):

n⃗1⋅n⃗2=5(2)+2(−5)=10−10=0\vec{n}_1 \cdot \vec{n}_2 = 5(2) + 2(-5) = 10 - 10 = 0

Final Answer:

2x−5y+11=02x - 5y + 11 = 0

Example 3: Perpendicular Bisector of a Segment

Problem: Find the equation of the perpendicular bisector of segment ABAB connecting A(−1,3)A(-1, 3) and B(5,−1)B(5, -1).

Step 1: Find the midpoint II of segment ABAB

xI=xA+xB2=−1+52=2x_I = \frac{x_A + x_B}{2} = \frac{-1 + 5}{2} = 2
yI=yA+yB2=3+(−1)2=1y_I = \frac{y_A + y_B}{2} = \frac{3 + (-1)}{2} = 1

The midpoint is I(2,1)I(2, 1).

Step 2: Find the normal vector to the bisector By definition, the perpendicular bisector is perpendicular to segment ABAB. Therefore, the vector AB⃗\vec{AB} serves directly as the normal vector n⃗\vec{n} of the bisector:

n⃗=AB⃗=(xB−xA, yB−yA)=(5−(−1), −1−3)=(6,−4)\vec{n} = \vec{AB} = (x_B - x_A, \, y_B - y_A) = (5 - (-1), \, -1 - 3) = (6, -4)

Divide by 22 to simplify: n⃗=(3,−2)\vec{n} = (3, -2).

Step 3: Write the equation through midpoint I(2,1)I(2, 1)

A(x−xI)+B(y−yI)=03(x−2)−2(y−1)=03x−6−2y+2=03x−2y−4=0\begin{aligned} A(x - x_I) + B(y - y_I) &= 0 \\ 3(x - 2) - 2(y - 1) &= 0 \\ 3x - 6 - 2y + 2 &= 0 \\ 3x - 2y - 4 &= 0 \end{aligned}

Final Answer:

3x−2y−4=03x - 2y - 4 = 0

4. Common Mistakes & Paper Traps

[!WARNING]

  1. Inverting Without Negating: Writing the perpendicular slope as 1m\frac{1}{m} instead of −1m-\frac{1}{m}.
    • If m=23m = \frac{2}{3}, the perpendicular slope is −32-\frac{3}{2}, NOT 32\frac{3}{2}.
  2. Sign Error in Perpendicular Template: Swapping coefficients without changing a sign.
    • For 3x+4y+5=03x + 4y + 5 = 0, writing 4x+3y+D=04x + 3y + D = 0 is wrong! The template must be 4x−3y+D=04x - 3y + D = 0.
  3. The Vertical / Horizontal Line Trap: Trying to calculate m1⋅m2=−1m_1 \cdot m_2 = -1 for the pair x=3x = 3 and y=−2y = -2. The line x=3x = 3 has undefined slope, so m1⋅m2m_1 \cdot m_2 cannot be evaluated numerically. However, they are perpendicular because one is strictly vertical and the other is strictly horizontal!

5. Pencil & Paper Practice

Try these exercises on paper:

Practice 1

Find the slope-intercept equation of the line passing through M(4,2)M(4, 2) parallel to y=−3x+7y = -3x + 7.

Practice 2

Find the equation of the line passing through origin O(0,0)O(0, 0) perpendicular to 4x−6y+1=04x - 6y + 1 = 0.

Practice 3

Are the lines d1:6x−9y+2=0d_1: 6x - 9y + 2 = 0 and d2:4x−6y−7=0d_2: 4x - 6y - 7 = 0 parallel, perpendicular, or neither?


Worked Solutions

Solution to Practice 1:

  • Parallel lines share the same slope: m=−3m = -3.
  • Using point-slope form with M(4,2)M(4, 2):
y−2=−3(x−4)y−2=−3x+12y=−3x+14\begin{aligned} y - 2 &= -3(x - 4) \\ y - 2 &= -3x + 12 \\ y &= -3x + 14 \end{aligned}

Answer: y=−3x+14y = -3x + 14.


Solution to Practice 2:

  • For 4x−6y+1=04x - 6y + 1 = 0, A=4A = 4 and B=−6B = -6.
  • The perpendicular template is Bx−Ay+D=0  ⟹  −6x−4y+D=0Bx - Ay + D = 0 \implies -6x - 4y + D = 0, or dividing by −2-2:
3x+2y+D=03x + 2y + D = 0
  • Since it passes through O(0,0)O(0, 0): 3(0)+2(0)+D=0  ⟹  D=03(0) + 2(0) + D = 0 \implies D = 0.
  • Equation: 3x+2y=03x + 2y = 0.

Answer: 3x+2y=03x + 2y = 0.


Solution to Practice 3: Check the ratio of coefficients:

A1A2=64=32,B1B2=−9−6=32\frac{A_1}{A_2} = \frac{6}{4} = \frac{3}{2}, \quad \frac{B_1}{B_2} = \frac{-9}{-6} = \frac{3}{2}

Since A1A2=B1B2=32\frac{A_1}{A_2} = \frac{B_1}{B_2} = \frac{3}{2} and C1C2=2−7≠32\frac{C_1}{C_2} = \frac{2}{-7} \neq \frac{3}{2}, the two lines have proportional normal vectors but distinct intercepts.

Answer: The lines are strictly parallel.


Test yourself

What is the slope of a line perpendicular to y=−47x+2y = -\frac{4}{7}x + 2?

  1. 47\frac{4}{7}
  2. −74-\frac{7}{4}
  3. 74\frac{7}{4}
  4. −47-\frac{4}{7}

Which equation represents a line passing through (0,0)(0, 0) perpendicular to 2x+3y−5=02x + 3y - 5 = 0?

  1. 2x−3y=02x - 3y = 0
  2. 3x−2y=03x - 2y = 0
  3. 3x+2y=03x + 2y = 0
  4. −2x+3y=0-2x + 3y = 0

For what value of kk are the lines kx+4y−1=0kx + 4y - 1 = 0 and 2x−6y+5=02x - 6y + 5 = 0 perpendicular?

  1. k=12k = 12
  2. k=−12k = -12
  3. k=43k = \frac{4}{3}
  4. k=−43k = -\frac{4}{3}