Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

I have a point 'a' with known coordinates, from which I have drawn a tangent to a circle with centre 'c' which is also known. What is the best way of finding the coordinates of point 'b', the touching point between the tangent and the circle? Here is a diagram: http://i.stack.imgur.com/gcKYn.jpg

Thanks,

David

share|improve this question
add comment

2 Answers 2

up vote 2 down vote accepted

If numeric precision is not a problem you can use trigonometry. Find ab from the Pythagorean theorem, find the angle at a from bc/ac, calculate the angle of ac relative to the horizontal, add the triangle angle and get the slope of ab. If the angle gets very small, you may want to use the small angle approximations.

share|improve this answer
add comment

You have (x-xc)^2+(y-yc)^2=r^2 for the circle. You also have (y-ya)=m(x-xa). m=(xc-xa)/(yc-ya). Take the second equation, solve for y, plot it into the first equation, and solve for x.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.