The abscissae of A and B are the roots of the equation x2+2ax−b2=0 and their coordinates are the roots of the equation y2+2py−q2= 0. The equation of the circle with AB as diameter
Let A(x1,y1) and B(x2,y2), then
x1+x2=−2a,
x1x2=−b2
y1+y2=−2p,
y1y2=−q2
Equation of the circle with AB as diameter.
(x−x1)(x−x2)+(y−y1)(y−y2)=r
x2+y2+2ax+2py−b2−q2=0