Find the condition that the lines represented by $$ax^2+2hxy+by^2=0$$ are such that the slope of one line is $k$ times that of the other.
I calculated the two represented by $ax^2+2hxy+by^2=0$ by multiplying by a on both sides and adding $h^2y^2$ to both sides as : $(ax+by)^2=y^2(h^2-ab) (ax+by)=\pm\sqrt{h^2-ab}$. After this I could not understand what the question says.
Let the equations of the straight lines be $$y=mx, y=kmx$$
$$\iff0=(mx-y)(kmx-y)\iff km^2x-mxy(k+1)+y^2=0\ \ \ \ (1)$$
This will be same as $$ax^2+2hxy+by^2=0\ \ \ \ (2)$$
iff $$\dfrac a{km^2}=\dfrac{2h}{-m(k+1)}=\dfrac b1$$
$$\implies m^2=\dfrac a{kb}, m=-\dfrac{2h}{b(k+1)}$$
Eliminate $m$ using $$m^2=(m)^2$$