# Finding the equation of a circle and a tangent line to the circle given two end points

Given the endpoints $(11, 23)$ and $(6, 13)$ of a circle, find the equation of the circle and the equation of a line tangent to the circle.

First, I found the center using the midpoint formula:

$$\left(\frac{11+6}{2}, \frac{13+23}{2}\right)$$ $$\left(\frac{17}{2}, 18\right)$$

Then I found the radius by finding the distance between the points and dividing by 2:

$$\frac{\sqrt{(13 - 23)^2 + (6 - 11)^2}}{2} = \frac{5\sqrt{5}}{2}$$

The equation:

$$(x - 17/2)^2 + (y - 18)^2 = \left(\frac{5\sqrt{5}}{2}\right)^2$$

How can I find an equation tangent to this? I tried finding the slope between $(11, 23)$ and $(6, 13)$, finding the negative reciprocal, and plugging in one of the points into the point slope form, but when I graphed it, the line wasn't tangent to the circle.

-
I'm a bit confused as to why it asks for the tangent line. Because there's not just one. – Ataraxia Apr 26 '13 at 0:34
Right... I edited it. – badjr Apr 26 '13 at 0:35

Perhaps you should find the tangent line at the two given points $(11, 23)$ and $(6, 13)$: Since they are endpoints of a diameter of the circle, the slopes of the tangent lines to the circle at each point, respectively, will be equal (they will be parallel).

The slope of the line connecting them will thus be perpendicular to the tangent lines at those points.

So find the slope of the line connecting the two given points. Call it $m$. We see $\quad m = \dfrac{23-10}{11 - 5} = 2$

The slope of the lines tangent to the circle at the given points will then be $-\dfrac 1m = -\dfrac 12$.

Then you can find both the equation of the line tangent to the circle at $(11, 23)$, and the equation of the line tangent to the circle at $(6, 13)$, using the point-slope form for the equation of a line. E.g., the tangent to the circle at $(6, 13)$ will be $$y - 13 = -\dfrac 12(x - 6) \iff y = -\dfrac 12 x + 16\qquad\qquad\tag{tangent line at (6, 13)}$$

Indeed, the process outlined above sounds like what you tried, so I suspect you made an error somewhere in your calculation of slope, or forming the equation of one of the tangent lines:

Graphing both the circle and the equation of the line given above in Wolfram Alpha gives this nice tangent to the circle

-
Nice descriptions and a slow night indeed! + 1 – Amzoti Apr 26 '13 at 1:32

The simplest tangent lines would be horizontal or vertical. Try looking for those.

-

As vadim123 said, finding the horizontal and vertical tangent lines is trivial. To find any tangent line on the circle, take the derivative of the parametric equations: and divide them to find the slope of a tangent line: $$y-y_1=m(x-x_1)$$ $$\frac{d}{d\theta}x=-sin(\theta)$$ $$\frac{d}{d\theta}y=cos(\theta)$$ $$m = -\frac{cos(\theta)}{sin(\theta)}$$

here $\theta$ can be any angle. To find $x_1$ and $y_1$, use the same angle $\theta$ and plug it into $x=\frac{5\sqrt{5}}{2}cos(\theta)+17/2$ and $y=\frac{5\sqrt{5}}{2}sin(\theta)+17/2$.

-
As you can see, $tan$ is called the tangent function for a reason. – Ataraxia Apr 26 '13 at 1:23

Using vadim's idea: You know that the center is at $(17/2, 18)$, and the radius is $5\sqrt5/2$. So, the point $(17/2, 18 + 5\sqrt5/2)$ is at the "top" of the circle. The tangent at this point is horizontal; it is the line $y = 18 + 5\sqrt5/2$.

-