Academy
Formulas/maths/M4c Conics/Complex Slope of a Line

Complex Slope of a Line

The complex slope μ of the line through z₁ and z₂. Two lines are parallel iff their complex slopes are equal; perpendicular iff μ₁ + μ₂ = 0. Note: complex slope is not the same as the real slope m = (y₁−y₂)/(x₁−x₂). The relation is m = i(1−μ)/(1+μ) when μ ≠ −1. Connects back to: Straight Lines chapter.
Derivation

The real slope mm of a line carries partial geometric information — it measures the angle but loses the sign. The complex slope μ\mu carries the full directional information of a line in one complex number.

Definition

For the line through z1z_1 and z2z_2, the direction vector is d=z2z1d = z_2 - z_1. The complex slope is:

μ=z1z2zˉ1zˉ2=ddˉ\mu = \frac{z_1 - z_2}{\bar{z}_1 - \bar{z}_2} = \frac{d}{\bar{d}}

Writing d=reiθd = re^{i\theta}, we get μ=e2iθ\mu = e^{2i\theta}. So μ=1|\mu| = 1 always — the complex slope lies on the unit circle, encoding twice the angle of inclination.

Condition for Parallel Lines

Two lines with direction vectors d1d_1 and d2d_2 are parallel iff d1d_1 and d2d_2 point in the same or opposite direction, i.e., d1/d2Rd_1/d_2 \in \mathbb{R}.

d1d2R    d1d2=dˉ1dˉ2    d1dˉ1=d2dˉ2    μ1=μ2\frac{d_1}{d_2} \in \mathbb{R} \iff \frac{d_1}{d_2} = \frac{\bar{d}_1}{\bar{d}_2} \iff \frac{d_1}{\bar{d}_1} = \frac{d_2}{\bar{d}_2} \iff \mu_1 = \mu_2

Parallel lines have equal complex slopes. \blacksquare

Condition for Perpendicular Lines

Two lines are perpendicular iff the angle between their directions is π/2\pi/2, i.e., d1/d2d_1/d_2 is purely imaginary.

A complex number ww is purely imaginary iff w+wˉ=0w + \bar{w} = 0.

d1d2+dˉ1dˉ2=0    d1dˉ2+dˉ1d2d2dˉ2=0    d1dˉ2+dˉ1d2=0\frac{d_1}{d_2} + \frac{\bar{d}_1}{\bar{d}_2} = 0 \iff \frac{d_1\bar{d}_2 + \bar{d}_1 d_2}{d_2\bar{d}_2} = 0 \iff d_1\bar{d}_2 + \bar{d}_1 d_2 = 0

Dividing by dˉ1dˉ2\bar{d}_1\bar{d}_2:

d1dˉ1+d2dˉ2=0    μ1+μ2=0\frac{d_1}{\bar{d}_1} + \frac{d_2}{\bar{d}_2} = 0 \iff \mu_1 + \mu_2 = 0

Perpendicular lines have complex slopes summing to zero. \blacksquare

Relation to Real Slope

Writing d=Δx+iΔyd = \Delta x + i\Delta y:

μ=Δx+iΔyΔxiΔy\mu = \frac{\Delta x + i\Delta y}{\Delta x - i\Delta y}

Multiply top and bottom by (Δx+iΔy)(\Delta x + i\Delta y):

μ=(Δx+iΔy)2(Δx)2+(Δy)2=(Δx)2(Δy)2+2iΔxΔyΔx+iΔy2\mu = \frac{(\Delta x + i\Delta y)^2}{(\Delta x)^2 + (\Delta y)^2} = \frac{(\Delta x)^2 - (\Delta y)^2 + 2i\Delta x\Delta y}{|\Delta x + i\Delta y|^2}

The real slope m=Δy/Δxm = \Delta y/\Delta x recovers μ\mu via: μ=1m2+2im1+m2\mu = \dfrac{1 - m^2 + 2im}{1 + m^2}, which equals e2iarctanme^{2i\arctan m} — consistent with μ=e2iθ\mu = e^{2i\theta} where tanθ=m\tan\theta = m.

For a vertical line (Δx=0\Delta x = 0): μ=1\mu = -1. For a horizontal line (Δy=0\Delta y = 0): μ=1\mu = 1. Check: 1+(1)=01 + (-1) = 0 ✓ horizontal and vertical are perpendicular.