Equation of the tangent to x² + y² + 2gx + 2fy + c = 0 at the point (x₁, y₁) lying on it. Obtained by the T = 0 substitution rule.
Let the circle be x2+y2+2gx+2fy+c=0 with centre C(−g,−f), and let P(x1,y1) be a point on it.
The radius CP has slope:
mCP=x1−(−g)y1−(−f)=x1+gy1+f
The tangent at P is perpendicular to CP, so its slope is:
mT=−y1+fx1+g
Equation of the tangent through P(x1,y1):
y−y1=−y1+fx1+g(x−x1)
Multiplying through by (y1+f):
(y−y1)(y1+f)=−(x1+g)(x−x1)
Expanding and collecting:
xx1+yy1+g(x+x1)+f(y+y1)+c=0
The last step uses the fact that (x1,y1) lies on the circle: x12+y12+2gx1+2fy1+c=0.
The substitution rule (T = 0): To write the tangent at (x1,y1), replace x2→xx1, y2→yy1, 2x→x+x1, 2y→y+y1 in the circle equation. This pattern holds for all conics.