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

Sum and Product of Slopes of a Pair

For the pair ax²+2hxy+by²=0, the two slopes satisfy these Vieta-like relations.
Derivation

For the pair ax2+2hxy+by2=0ax^2 + 2hxy + by^2 = 0, divide by x2x^2 (assuming x0x \neq 0):

b(yx)2+2h(yx)+a=0b\left(\frac{y}{x}\right)^2 + 2h\left(\frac{y}{x}\right) + a = 0

The slopes m1=y/xm_1 = y/x and m2=y/xm_2 = y/x of the two lines are the roots of:

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

By Vieta's formulas:

m1+m2=2hb,m1m2=ab\boxed{m_1 + m_2 = -\frac{2h}{b}, \qquad m_1 m_2 = \frac{a}{b}}

Why this is useful

Many JEE problems give a condition on the slopes (e.g., one slope is twice the other, slopes are in ratio 1:21:2, sum of squares of slopes equals a constant) and ask for a relation between aa, hh, bb. These reduce to one or two equations using m1+m2m_1 + m_2 and m1m2m_1m_2 — without ever finding m1m_1 and m2m_2 individually.

Example: If one slope is double the other, m2=2m1m_2 = 2m_1:

m1+2m1=2hbm1=2h3bm_1 + 2m_1 = -\frac{2h}{b} \Rightarrow m_1 = -\frac{2h}{3b} m12m1=ab2m12=abm_1 \cdot 2m_1 = \frac{a}{b} \Rightarrow 2m_1^2 = \frac{a}{b}

Substituting m1m_1: 24h29b2=ab2 \cdot \frac{4h^2}{9b^2} = \frac{a}{b}, giving 8h2=9ab8h^2 = 9ab.