Tangent lines from a point to circle
Circles form:   (x-a)2 + (y-b)2 = r2 ( x - )2 + ( y - )2 = 2
Circles form:   x2 + y2 + Ax + By + C = 0 x2 + y2 + x + y + = 0
Point outside the circle:     input (x, y): ( , )
     
Circle equation:
Tangent line 1 Equation:
Tangency point:
Tangent line 2 Equation:
Tangency point:
Distance from point to circle center:
Line connecting circle center to the point Line equation:
Line angle:
Degree
x axis intercept:
y axis intercept:
Circle equations summary Line Geometry
Tangent lines between circle and point
Tangent points from a point
(xp , yp) on a circle.
Scheme of tangent line to circle
Example: Find the tangent points on the circle (x − 2)2 + (y + 5)2 = 9   from point (7 , 1).
In this case:    a = 2    b = − 5    r = 3
The value of the square root is:
x1 = 4.87         x2 = 0.61
y1 = − 5.89         y2 = − 2.34
So first tangency point is:
(4.87,-5.89) and the second point is the other points: (0.61,-2.34)
Now we can check if the tangent point that we found is on the circle:
(4.866-2)2 + (-5.888 + 5)2 =
2.8662 + (-.888)2 = 9
Note: we used higher precision of the point coordinate otherwise we would get slightly different value then 9.

nomenclature:
D − Distance from point to circle center
d − Distance from point to tangent point
θ − Angle between the two tangent lines
x1,2Tangent points x coordinates
y1,2Tangent points y coordinates
xiline connecting point to
circle center x intercept
yiline connecting point to
circle center y intercept
The distance between the point (xp , yp) and the tangent point (1) is:
The angle between the two tangent lines   θ   is:
Note: in the equations above x1 can be replaced by x2.
Circle form: x2 + y2 = r2
Line connecting point (xp , yp) with circle center
equation:
x intercept: xi = 0
y intercept: yi = 0
Circle form: (x − a)2 + (y − b)2 = r2
Line connecting point (xp , yp) with circle center
equation:
x intercept:
y intercept:
Circle form: x2 + y2 + Ax + By + C = 0
Line connecting point (xp , yp) with circle center
equation:
x intercept:
y intercept:
If two points (x1 , y1)   and (x2 , y2) on the circle are given then the intersection point (xp , yp ) created by the tangents lines is:
Where: and