If (x1,y1) is a point inside the circle x2+y2+2gx+2fy+c=0 Given two expressions S1 and T1 such that,
S1=x21+y12+2gx1+2fy1+c
T1=xx1+yy1+g(x+x1)+f(y+y1)+c
Then the equation of chord centered at (x1,y1) is
We are again making use of the fact here that a chord is always perpendicular to the radius going through its midpoint. The circle is given by the following figure.
In the figure AB⊥OP
∵ SlopeofAB=−1slope of OP
=−1(y2+f)(x1+g)
−(x1+g)(y2+f)
∴ Equation of the given chord=Equation a line passing through (x1,y1) and having slope of −(x1+g)(y1+f)
∴ y−y1=−(x1+g)(y1+f).(x−x1)
(y−y1)(y1+f)+(x1+g)(x−x1)=0
yy1+y21+fy−fy1+x1x−x21+gx−gx1=0
x21+y21+fy1+gx1=yy1+x1x+fy+gx
adding fy1+gx1+c to both sides
xx1+yy1+f(y+y1)+g(x+x1)+c=y21+x21+2gx1+2fy1+c
⇒ T1=S1
⇒ T1−S1=0
This can be used as a formula for finding the equation of chord with given midpoint.