Command Palette

Search for a command to run...

Analytic Geometry

Equation of a Tangent Line to a Circle

Unveiling the Mystery of Tangent Lines

Have you ever noticed how a bicycle wheel moves on the road? When the wheel rotates, there's one point at the edge of the wheel that always touches the asphalt perfectly. Well, imagine if we could draw a straight line from that point of contact - that's what we call a tangent line!

Unlike simply determining the position or relation of lines, this time we will delve deeper: how to find the explicit mathematical equation of the tangent line. It's like searching for a secret code that describes the exact path a line must follow to touch a circle perfectly.

The ability to determine tangent line equations is very useful in engineering, physics, and even art. Imagine an architect designing a bridge arch, or an engineer calculating projectile trajectories.

Substitution for Specific Points

When we already know which point on the circle will be touched by the tangent line, our work becomes more focused. Let's look at a systematic approach for this case.

Tangent Line at a Specific Point
Constructing the tangent line equation when the point of tangency is known.

For circle x2+y2=r2x^2 + y^2 = r^2 with point of tangency M(p,q)M(p, q), we use the direct substitution formula:

px+qy=r2px + qy = r^2

Why does this formula work? Because the tangent line is always perpendicular to the radius at the point of tangency. If the radius has direction vector (p,q)(p, q), then the tangent line has the same normal vector, which is (p,q)(p, q).

For general circle (xh)2+(yk)2=r2(x-h)^2 + (y-k)^2 = r^2 with point of tangency M(p,q)M(p, q), the formula becomes:

(ph)(xh)+(qk)(yk)=r2(p-h)(x-h) + (q-k)(y-k) = r^2

The advantage of this method is speed and accuracy. We don't need to calculate gradients separately or perform complex algebraic manipulations.

Distance Approach for Given Gradient

Now we move to a more challenging case: finding the tangent line equation when only its gradient is known. Here we use the principle that the distance from the circle's center to the tangent line must equal the radius.

Tangent Line with Specific Slope
Using distance approach to find equation with given gradient.

Suppose we have circle (xh)2+(yk)2=r2(x-h)^2 + (y-k)^2 = r^2 and want to find a tangent line with gradient mm. The tangent line has form y=mx+cy = mx + c.

The key is using the point-to-line distance formula. The distance from center (h,k)(h,k) to line mxy+c=0mx - y + c = 0 is:

d=mhk+cm2+1d = \frac{|mh - k + c|}{\sqrt{m^2 + 1}}

Since the line is tangent to the circle, this distance must exactly equal the radius:

mhk+cm2+1=r\frac{|mh - k + c|}{\sqrt{m^2 + 1}} = r
mhk+c=rm2+1|mh - k + c| = r\sqrt{m^2 + 1}
mhk+c=±rm2+1mh - k + c = \pm r\sqrt{m^2 + 1}

Thus we obtain two constant values:

c=kmh±rm2+1c = k - mh \pm r\sqrt{m^2 + 1}

Therefore, the equations of both tangent lines are:

y=mx+kmh±rm2+1y = mx + k - mh \pm r\sqrt{m^2 + 1}

Quadratic Method for External Points

The most challenging case is when we want to draw tangent lines from a point outside the circle. From one external point, we can draw exactly two tangent lines with different gradients.

Tangent Line from External Point
Using quadratic method in gradient for points outside the circle.

To solve this problem, we use the quadratic equation in gradient approach. Let the external point be P(x0,y0)P(x_0, y_0) and the circle have equation x2+y2=r2x^2 + y^2 = r^2.

The tangent line from point P has form yy0=m(xx0)y - y_0 = m(x - x_0), or y=mxmx0+y0y = mx - mx_0 + y_0.

Substitute into the circle equation and use the condition that discriminant equals zero:

x2+(mxmx0+y0)2=r2x^2 + (mx - mx_0 + y_0)^2 = r^2
(1+m2)x2+2m(y0mx0)x+(y0mx0)2r2=0(1 + m^2)x^2 + 2m(y_0 - mx_0)x + (y_0 - mx_0)^2 - r^2 = 0

Discriminant equals zero gives a quadratic equation in mm:

(x02r2)m22x0y0m+(y02r2)=0(x_0^2 - r^2)m^2 - 2x_0y_0m + (y_0^2 - r^2) = 0

The two roots of this equation are the gradients of both tangent lines.

Complete Applied Example

Let's solve one concrete case to clarify understanding. Determine the tangent line equation for circle x2+y2=25x^2 + y^2 = 25 passing through point A(7,1)A(7, 1).

Step 1: Verify that point A is outside the circle.

72+12=49+1=50>257^2 + 1^2 = 49 + 1 = 50 > 25 \quad \checkmark

Step 2: Form quadratic equation in gradient with x0=7x_0 = 7, y0=1y_0 = 1, r2=25r^2 = 25:

(4925)m22(7)(1)m+(125)=0(49 - 25)m^2 - 2(7)(1)m + (1 - 25) = 0
24m214m24=024m^2 - 14m - 24 = 0
12m27m12=012m^2 - 7m - 12 = 0

Step 3: Solve using quadratic formula:

m=7±49+57624=7±62524=7±2524m = \frac{7 \pm \sqrt{49 + 576}}{24} = \frac{7 \pm \sqrt{625}}{24} = \frac{7 \pm 25}{24}

So m1=3224=43m_1 = \frac{32}{24} = \frac{4}{3} and m2=1824=34m_2 = \frac{-18}{24} = -\frac{3}{4}.

Step 4: Construct final equations:

y1=43(x7)4x3y=25y - 1 = \frac{4}{3}(x - 7) \Rightarrow 4x - 3y = 25
y1=34(x7)3x+4y=25y - 1 = -\frac{3}{4}(x - 7) \Rightarrow 3x + 4y = 25

Practice

  1. Determine the tangent line equation for circle x2+y2=16x^2 + y^2 = 16 at point (22,22)(2\sqrt{2}, 2\sqrt{2}).

  2. Find the tangent line equation for circle x2+y2=9x^2 + y^2 = 9 with gradient 12-\frac{1}{2}.

  3. Determine the tangent line equation for circle (x3)2+(y4)2=25(x-3)^2 + (y-4)^2 = 25 passing through point (11,10)(11, 10).

  4. A circle has equation x2+y26x8y=0x^2 + y^2 - 6x - 8y = 0. Determine the tangent line equation parallel to line 3x+4y=73x + 4y = 7.

Answer Key

  1. Solution:

    For circle x2+y2=16x^2 + y^2 = 16 at point (22,22)(2\sqrt{2}, 2\sqrt{2}), use the formula:

    xx1+yy1=r2x \cdot x_1 + y \cdot y_1 = r^2

    Step 1: Substitute tangent point coordinates

    x22+y22=16x \cdot 2\sqrt{2} + y \cdot 2\sqrt{2} = 16
    22x+22y=162\sqrt{2}x + 2\sqrt{2}y = 16

    Step 2: Simplify by dividing both sides by 222\sqrt{2}

    x+y=1622=82=822=42x + y = \frac{16}{2\sqrt{2}} = \frac{8}{\sqrt{2}} = \frac{8\sqrt{2}}{2} = 4\sqrt{2}

    So the tangent line equation is x+y=42x + y = 4\sqrt{2}.

  2. Solution:

    For gradient m=12m = -\frac{1}{2} and r=3r = 3, use the formula:

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

    Step 1: Calculate value of 1+m2\sqrt{1 + m^2}

    1+m2=1+(12)2=1+14=54=52\sqrt{1 + m^2} = \sqrt{1 + \left(-\frac{1}{2}\right)^2} = \sqrt{1 + \frac{1}{4}} = \sqrt{\frac{5}{4}} = \frac{\sqrt{5}}{2}

    Step 2: Substitute into formula

    y=12x±352=12x±352y = -\frac{1}{2}x \pm 3 \cdot \frac{\sqrt{5}}{2} = -\frac{1}{2}x \pm \frac{3\sqrt{5}}{2}

    So the two tangent line equations are: y=12x+352y = -\frac{1}{2}x + \frac{3\sqrt{5}}{2} and y=12x352y = -\frac{1}{2}x - \frac{3\sqrt{5}}{2}.

  3. Solution:

    Circle (x3)2+(y4)2=25(x-3)^2 + (y-4)^2 = 25 has center (3,4)(3,4) and radius r=5r = 5.

    Step 1: Check position of point (11,10)(11,10)

    (113)2+(104)2=82+62=64+36=100>25(11-3)^2 + (10-4)^2 = 8^2 + 6^2 = 64 + 36 = 100 > 25

    Point is outside the circle.

    Step 2: Use quadratic equation in gradient. With coordinate translation to circle center, point (11,10)(11,10) becomes (8,6)(8,6) relative to center.

    Step 3: Quadratic equation in gradient for circle x2+y2=25x^2 + y^2 = 25 from point (8,6)(8,6):

    (8225)m22(8)(6)m+(6225)=0(8^2 - 25)m^2 - 2(8)(6)m + (6^2 - 25) = 0
    39m296m+11=039m^2 - 96m + 11 = 0

    Step 4: Using quadratic formula:

    m=96±9624(39)(11)2(39)=96±9216171678m = \frac{96 \pm \sqrt{96^2 - 4(39)(11)}}{2(39)} = \frac{96 \pm \sqrt{9216 - 1716}}{78}
    m=96±750078=96±50378m = \frac{96 \pm \sqrt{7500}}{78} = \frac{96 \pm 50\sqrt{3}}{78}

    Step 5: Simplify gradients and determine tangent line equation through point (11,10)(11,10):

    m1=96+50378 and m2=9650378m_1 = \frac{96 + 50\sqrt{3}}{78} \text{ and } m_2 = \frac{96 - 50\sqrt{3}}{78}

    Both tangent line equations can be written in form y10=m(x11)y - 10 = m(x - 11).

  4. Solution:

    Step 1: Convert circle equation to standard form by completing the square

    x2+y26x8y=0x^2 + y^2 - 6x - 8y = 0
    (x26x+9)+(y28y+16)=9+16(x^2 - 6x + 9) + (y^2 - 8y + 16) = 9 + 16
    (x3)2+(y4)2=25(x-3)^2 + (y-4)^2 = 25

    Center (3,4)(3,4), radius r=5r = 5.

    Step 2: Line 3x+4y=73x + 4y = 7 can be written as y=34x+74y = -\frac{3}{4}x + \frac{7}{4}

    Parallel line gradient: m=34m = -\frac{3}{4}

    Step 3: For circle with center (3,4)(3,4), parallel tangent line equation:

    y4=34(x3)±51+916y - 4 = -\frac{3}{4}(x - 3) \pm 5\sqrt{1 + \frac{9}{16}}
    y4=34(x3)±554y - 4 = -\frac{3}{4}(x - 3) \pm 5 \cdot \frac{5}{4}
    y=34x+94+4±254y = -\frac{3}{4}x + \frac{9}{4} + 4 \pm \frac{25}{4}

    Step 4: Simplify both equations

    y=34x+504=34x+252y = -\frac{3}{4}x + \frac{50}{4} = -\frac{3}{4}x + \frac{25}{2}
    y=34xy = -\frac{3}{4}x

    So the two tangent line equations are: y=34x+252y = -\frac{3}{4}x + \frac{25}{2} and y=34xy = -\frac{3}{4}x.