Find the condition that the line $lx+my+n=0$ is a tangent to the circle $x^2+y^2=r^2$.
My Attempt: \begin{align}lx+my+n&=0\\ y&=\dfrac {-n-lx}{m}\end{align}
Now, \begin{align}x^2+y^2&=r^2\\ x^2+(\dfrac {-n-lx}{m})^2&=r^2\\ x^2+\dfrac {n^2+2nlx+l^2x^2}{m^2} &=r^2\\ x^2(m^2+l^2) + 2nlx +n^2-m^2r^2&=0\end{align}
How do I continue further?