Given that, ax2+2hxy+by2=0...(i)
Which is homogeneous equation representing pair of straight line each of which passing through the origin. Given one slope of line =m.
Let another slope of line =m1
Then, the lines are y=mx and y=m1x
Now, (mx−y)(m1x−y) ⇒mm1x2−m1xy−mxy+y2 ⇒mm1⋅x2−(m+m1)y⋅x+y2...(ii)
On comparing Eqs. (i) and (ii), m+m1=−b2h...(iii) mm1=ba...(iv)
From Eqs. (iii) and (iv), m1=(−b2h−m) ⇒m(b−2h−m)=ba ⇒−bm(2h+mb)=ba ⇒−2mh−m2b=a ⇒−2mhb−m2b2=ab ⇒h2+2mhb+m2b2=−ab+h2 ⇒(h+mb)2=h2−ab