Equation of the Tangent to a Circle with Slope m
📂GeometryEquation of the Tangent to a Circle with Slope m
The equation of the tangent line to the circle x2+y2=r2 with slope m is as follows.
y=mx±rm2+1
Proof

Let’s denote the equation of the line with slope m as y=mx+n. Substituting into the equation of the circle and rearranging for x, we get
x2+(mx+n)2=x2+m2x2+2mnx+n2−r2=(1+m2)x2+2mnx+n2−r2= r2 0 0
Since the circle and the line are tangent to each other, the discriminant is D=0.
D==== (2mn)2−4(1+m2)(n2−r2) 4m2n2−4(n2−r2+m2n2−m2r2) 4m2n2−4n2+4r2−4m2n2+4m2r2 −4(n2−r2−m2r2)=0
Therefore,
⟹n2=n= r2m2+r2=r2(m2+1) ±rm2+1
Hence, the equation of the tangent line to circle x2+y2=r2 with slope m is
y=mx±rm2+1
■