Academy
Formulas/maths/Straight Lines/Homogeneous Second Degree Equation as a Pair of Lines

Homogeneous Second Degree Equation as a Pair of Lines

Represents a pair of straight lines through the origin if and only if h² ≥ ab. The two lines are real and distinct (h²>ab), coincident (h²=ab), or imaginary (h²<ab).
Derivation

Two lines through the origin y=m1xy = m_1x and y=m2xy = m_2x have combined equation:

(ym1x)(ym2x)=0(y - m_1x)(y - m_2x) = 0

Expanding:

y2(m1+m2)xy+m1m2x2=0y^2 - (m_1+m_2)xy + m_1m_2\, x^2 = 0

The slopes m1,m2m_1, m_2 are roots of the quadratic bm2+2hm+a=0bm^2 + 2hm + a = 0, giving Vieta's relations:

m1+m2=2hb,m1m2=abm_1 + m_2 = -\frac{2h}{b}, \qquad m_1m_2 = \frac{a}{b}

Substituting and multiplying through by bb:

ax2+2hxy+by2=0\boxed{ax^2 + 2hxy + by^2 = 0}

Condition for real lines

Discriminant of bm2+2hm+a=0bm^2 + 2hm + a = 0 is 4(h2ab)4(h^2 - ab):

  • h2>abh^2 > ab: two real distinct lines
  • h2=abh^2 = ab: coincident lines
  • h2<abh^2 < ab: no real lines

Angle between the pair

tanθ=2h2aba+b\tan\theta = \frac{2\sqrt{h^2-ab}}{|a+b|}

Derived by applying the angle formula to the slopes using Vieta's relations (see the angle formula derivation).

Perpendicularity

θ=90°a+b=0\theta = 90° \Rightarrow a + b = 0.

Angle bisectors

The combined equation of the bisectors of ax2+2hxy+by2=0ax^2+2hxy+by^2=0 is:

x2y2ab=xyh\frac{x^2-y^2}{a-b} = \frac{xy}{h}

The bisectors are always perpendicular to each other.