Skip to content

Mathematics · Ch 11 — Circle

Position of a Line Relative to a Circle; the Tangent

11.5

Position of a Line Relative to a Circle; the Tangent

A straight line can relate to a circle in exactly three ways: it can cut through the circle at two distinct points (a secant), just graze it at exactly one point (a tangent), or miss it entirely. Algebraically, substituting the line's equation into the circle's equation produces a quadratic in one variable, and the nature of its roots — two real roots, one repeated root, or no real roots — tells you which case you're in. Equivalently, and much faster in practice, you can compare the perpendicular distance dd from the centre to the line against the radius rr: the line is a secant if d<rd<r, a tangent if d=rd=r, and misses the circle entirely if d>rd>r. This distance test is almost always the quickest way to decide.

Equation of the tangent at a known point on the circle. If P(x1,y1)P(x_1,y_1) is a point that actually lies on the circle S≡x2+y2+2gx+2fy+c=0S\equiv x^2+y^2+2gx+2fy+c=0, the tangent to the circle at PP has the compact equation

S1≡xx1+yy1+g(x+x1)+f(y+y1)+c=0S_1\equiv xx_1+yy_1+g(x+x_1)+f(y+y_1)+c=0

which is obtained from S=0S=0 by the standard 'replace x2x^2 with xx1xx_1, y2y^2 with yy1yy_1, xx with x+x12\tfrac{x+x_1}{2}, yy with y+y12\tfrac{y+y_1}{2}' substitution. It is worth noticing this is also always perpendicular to the radius CPCP, since a tangent line and the radius to the point of contact meet at right angles.

Tangent of a given slope (no point known yet). For the circle x2+y2=r2x^2+y^2=r^2 centred at the origin, the line y=mx+cy=mx+c (slope mm) touches the circle exactly when the perpendicular distance from the origin equals rr, which works out to c=±r1+m2c=\pm r\sqrt{1+m^2}. So the tangents of slope mm are

y=mx±r1+m2y=mx\pm r\sqrt{1+m^2}

— note there are always two parallel tangents of any given slope, one on each side of the circle. For a circle not centred at the origin, shift coordinates to the centre first, apply this result, then shift back.

Length of a chord. If a line cuts a circle of radius rr in two points, and the perpendicular distance from the centre to the line is dd (necessarily d<rd<r for the line to be a genuine secant), then half the chord, the radius, and dd form a right triangle, giving chord length =2r2−d2=2\sqrt{r^2-d^2}.

Worked Example 1 (distance test). Is the line 3x+4y=203x+4y=20 tangent to the circle x2+y2=16x^2+y^2=16?

The circle is centred at the origin with radius 44. Distance from the origin to the line is ∣3(0)+4(0)−20∣32+42=205=4\dfrac{|3(0)+4(0)-20|}{\sqrt{3^2+4^2}}=\dfrac{20}{5}=4, exactly equal to the radius. So yes, the line is tangent to the circle.

Worked Example 2 (tangent at a point). Find the tangent to x2+y2−4x−2y−4=0x^2+y^2-4x-2y-4=0 at the point (5,1)(5,1). …