Academy
Formulas/maths/Pair Of Straight Lines/Sum and Product of Slopes

Sum and Product of Slopes

The two lines y = m₁x and y = m₂x satisfying ax² + 2hxy + by² = 0. Derived by dividing through by x² to get a quadratic in y/x = m. Valid when b ≠ 0.
Derivation

Dividing ax2+2hxy+by2=0ax^2+2hxy+by^2=0 by x2x^2 gives the quadratic in m=y/xm = y/x:

bm2+2hm+a=0bm^2 + 2hm + a = 0

By Vieta's formulas:

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

Usage: These relations allow solving problems without finding m1m_1 and m2m_2 individually.

Example: Find m12+m22m_1^2 + m_2^2:

m12+m22=(m1+m2)22m1m2=4h2b22ab=4h22abb2m_1^2+m_2^2 = (m_1+m_2)^2 - 2m_1m_2 = \frac{4h^2}{b^2} - \frac{2a}{b} = \frac{4h^2-2ab}{b^2}

When b=0b = 0: One line is x=0x = 0 (vertical, slope undefined). The other is ax+2hy=0ax + 2hy = 0, slope =a/2h= -a/2h. The Vieta formulas break down in this case — treat it separately.

Joint equation from slopes: Given two lines with slopes m1m_1 and m2m_2 through the origin, the joint equation is:

y2(m1+m2)xy+m1m2x2=0y^2 - (m_1+m_2)xy + m_1m_2x^2 = 0

Substitute the known values of m1+m2m_1+m_2 and m1m2m_1m_2 directly.