A variable line cuts the lines $x^2-(a+b)x+ab=0$ in such a way that intercept between the lines subtends a right angle at the origin. Find the locus of the foot of perpendicular from origin on the variable line.
Lines are $x=a$ and $x=b$ and I assume variable line to $px+qy=1$. Foot of perpendicular$(h,k)$ can be found in terms of $p$ and $q$ but I am not able to eliminate $p,q$ using the information that at intercept between the lines subtends a right angle at the origin
Could someone help me with this?