We know that if m1 and m2 are the slopes of the lines represented by ax2+2hxy+by2=0,
then sum of slopes =m1+m2=−b2h and
product of slopes =m1m2=ba.
Consider the given equation which is x2+2hxy+2y2=0
On comparing this equation with ax2+2hxy+by2=0,
we have a=1,2h=2h and b=2
Let the slopes be m1 and m2.
Given : m1:m2=1:2
Let m1=x and m2=2x ∴m1+m2=−22h⇒x+2x=−h⇒h=−3x...(i)
and m1m2=ba⇒x.2x=21⇒x=±21...(ii) ∴ From eqs. (i) and (ii), we have h=±23.