For the pair ax²+2hxy+by²=0, the two slopes satisfy these Vieta-like relations.
For the pair ax2+2hxy+by2=0, divide by x2 (assuming x=0):
b(xy)2+2h(xy)+a=0
The slopes m1=y/x and m2=y/x of the two lines are the roots of:
bm2+2hm+a=0
By Vieta's formulas:
m1+m2=−b2h,m1m2=ba
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:2, sum of squares of slopes equals a constant) and ask for a relation between a, h, b. These reduce to one or two equations using m1+m2 and m1m2 — without ever finding m1 and m2 individually.
Example: If one slope is double the other, m2=2m1:
m1+2m1=−b2h⇒m1=−3b2h
m1⋅2m1=ba⇒2m12=ba
Substituting m1: 2⋅9b24h2=ba, giving 8h2=9ab.