Skip to content

Mathematics · Ch 6 — Two Dimensional Analytical Geometry

Condition for Perpendicular Lines

6.4.2

Condition for Perpendicular Lines

For y=m1x+c1y=m_1x+c_1 and y=m2x+c2y=m_2x+c_2 to be perpendicular, the angle between them must be π/2\pi/2: taking the cotangent of tan⁡φ=m2−m11+m1m2\tan\varphi=\dfrac{m_2-m_1}{1+m_1m_2} gives cot⁡φ=1+m1m2m2−m1\cot\varphi=\dfrac{1+m_1m_2}{m_2-m_1}, and cot⁡(π/2)=0\cot(\pi/2)=0 forces 1+m1m2=01+m_1m_2=0, i.e.

m1m2=−1.m_1m_2=-1.

In general form, a1x+b1y+c1=0a_1x+b_1y+c_1=0 and a2x+b2y+c2=0a_2x+b_2y+c_2=0 are perpendicular exactly when a1a2+b1b2=0a_1a_2+b_1b_2=0.

Two ready-made results, mirroring the parallel case:

  1. Every line perpendicular to ax+by+c=0ax+by+c=0 has the form bx−ay=kbx-ay=k.
  2. The line through (x1,y1)(x_1,y_1) perpendicular to ax+by+c=0ax+by+c=0 is bx−ay=bx1−ay1bx-ay=bx_1-ay_1.

Summary table:

Form of the two linesParallelPerpendicular
y=m1x+c1y=m_1x+c_1 and y=m2x+c2y=m_2x+c_2m2=m1m_2=m_1m1m2=−1m_1m_2=-1
a1x+b1y+c1=0a_1x+b_1y+c_1=0 and a2x+b2y+c2=0a_2x+b_2y+c_2=0a1b2=a2b1a_1b_2=a_2b_1a1a2+b1b2=0a_1a_2+b_1b_2=0