Academy
Formulas/maths/Circles/Length of Tangent from an External Point

Length of Tangent from an External Point

Length of the tangent drawn from external point (x₁, y₁) to the circle S = 0. Valid only when S₁ > 0 (point outside the circle).
Derivation

Let the circle Sx2+y2+2gx+2fy+c=0S \equiv x^2 + y^2 + 2gx + 2fy + c = 0 have centre C(g,f)C(-g, -f) and radius r=g2+f2cr = \sqrt{g^2 + f^2 - c}.

Let P(x1,y1)P(x_1, y_1) be an external point and TT the point of tangency. The radius CTCT is perpendicular to the tangent PTPT, forming a right angle at TT.

In right triangle PCTPCT:

PT2=PC2CT2=PC2r2PT^2 = PC^2 - CT^2 = PC^2 - r^2

Now, PC2=(x1+g)2+(y1+f)2=x12+2gx1+g2+y12+2fy1+f2PC^2 = (x_1 + g)^2 + (y_1 + f)^2 = x_1^2 + 2gx_1 + g^2 + y_1^2 + 2fy_1 + f^2.

Therefore:

PT2=x12+y12+2gx1+2fy1+g2+f2(g2+f2c)=S1PT^2 = x_1^2 + y_1^2 + 2gx_1 + 2fy_1 + g^2 + f^2 - (g^2 + f^2 - c) = S_1 PT=S1PT = \sqrt{S_1}

Both tangents from an external point have equal length (since PT2=PT2=S1PT^2 = PT'^2 = S_1). This is a standard geometric result: tangents from an external point are equal.

The formula requires S1>0S_1 > 0, confirming PP is exterior to the circle.