Skip to content

Straight Lines & Pair of Lines

Linear Geometry Foundation

A linear equation in two variables $a x + b y + c = 0$ ($a^2 + b^2 \neq 0$) geometrically represents a straight line in the Cartesian plane $\mathbb{R}^2$.


1. Distance Metrics & Angle Between Lines

Perpendicular Distance from (x1,y1) to ax+by+c=0

d=|ax1+by1+c|a2+b2

Distance Between Parallel Lines ax+by+c1=0 and ax+by+c2=0

d=|c1c2|a2+b2

Angle θ Between Lines with Slopes m1,m2

tanθ=|m1m21+m1m2|
  • Lines are parallel m1=m2.
  • Lines are perpendicular m1m2=1.

2. Equations of Angle Bisectors

For lines L1:a1x+b1y+c1=0 and L2:a2x+b2y+c2=0 (make c1,c2>0):

a1x+b1y+c1a12+b12=±a2x+b2y+c2a22+b22
  • Bisector Containing Origin: Choose + sign.
  • Acute vs Obtuse Angle Bisector:
    • If a1a2+b1b2>0+ sign is Obtuse Bisector, sign is Acute Bisector.
    • If a1a2+b1b2<0+ sign is Acute Bisector, sign is Obtuse Bisector.

3. Homogenization of Second-Degree Curves

Homogenization Method

The joint equation of lines joining the origin to the points of intersection of a second-degree curve: $$a x^2 + 2h x y + b y^2 + 2g x + 2f y + c = 0$$ and a line $l x + m y + n = 0$ (written as $\frac{l x + m y}{-n} = 1$) is obtained by homogenizing to degree 2: $$a x^2 + 2h x y + b y^2 + 2(g x + f y)\left(\frac{l x + m y}{-n}\right) + c\left(\frac{l x + m y}{-n}\right)^2 = 0$$ These lines are mutually perpendicular if and only if: $$\text{Coefficient of } x^2 + \text{Coefficient of } y^2 = 0$$