Find the equation of tangents through the origin to the circle $x^2+y^2-2rx-2hy+h^2=0.$
Let the given tangent be $y=mx$
The perpendicular distance of this tangent from the centre of circle must be equal to $r$.
Now I know that one tangent will surely be $x=0$.
And while solving the equation I mentioned,there’s a term of $m^2r^2$ on both sides of the equation.
Since m is not equal to zero,I can subtract these two equal terms. But that means that one value of m can be zero,but that would mean the line is $y=0$ which is wrong unless $r=h$
How do I solve this enigma?
Not all straight lines through the origin may be given by the equation $y=mx$, you’ve mentioned the straight line given by $x=0$. For that particular line no $m$ exists at all.
For the tangent given by $x=0$ you will find $y=h$ and the distance from $(0,h)$ and the center $(r,h)$ is indeed $r$.