What is the equation for a line tangent to a circle from a point outside the circle?

4.2k Views Asked by At

I need to know the equation for a line tangent to a circle and through a point outside the circle. I have found a number of solutions which involve specific numbers for the circles equation and the point outside but I need a specific solution, i.e., I need an equation which gives me the $m$ and the $b$ in $f(x) = mx + b$ for this line.

3

There are 3 best solutions below

6
On BEST ANSWER

HINT:

Let $C(a,b)$ be the point outside the circle

Equation of any line passing through $C$ will be $$\frac{y-b}{x-a}=m\implies mx -y+b-am=0$$ where $m$ is the gradient.

Now, for tangency, the distance of the tangent from the center of the circle will be equal to the radius of the circle.

This condition will give us two values of $m$

As $C$ is outside the circle, we shall have two distinct real values of $m,$ resulting in two real tangents

Alternatively, you find the intersection of the given circle with the line by eliminating $x$ or $y$ to form a quadratic equation of the surviving variable .

For tangency, both roots must be same i.e., the discriminant must be $0$

0
On

Given a circle $x^2 + y^2 = r^2$ and the point (a,b)

The line from the origin to (a,b) is $y = \frac{b}{a} * x$

The line and the circle intersect at $( \frac{a*r}{\sqrt{a^2+b^2}}, \frac{b*r}{\sqrt{a^2+b^2}} )$

The slope of the tangent is $\frac{-a}{b}$

The equation of the tangent is

$y - \frac{b*r}{\sqrt{a^2+b^2}} = \frac{-a}{b} * (x - \frac{a*r}{\sqrt{a^2+b^2}} )$

$y = \frac{-a}{b} x + \frac{\sqrt{a^2+b^2}}{b} r $

0
On

The key point is see that the line that is tangent to the circle and intersects your point forms a triangle with a right angle.

See https://stackoverflow.com/questions/1351746/find-a-tangent-point-on-circle