Question
Question: Find the equation to the circle passing through the points (0,a), (b,h), and having its centre on x-...
Find the equation to the circle passing through the points (0,a), (b,h), and having its centre on x-axis.

x2+y2−(bb2+h2−a2)x−a2=0
Solution
Let the equation of the circle be (x−hc)2+(y−kc)2=r2. Given that the center lies on the x-axis, kc=0. The equation becomes (x−hc)2+y2=r2. The circle passes through (0,a): (0−hc)2+a2=r2⟹hc2+a2=r2. (1) The circle passes through (b,h): (b−hc)2+h2=r2. (2) Equating (1) and (2): hc2+a2=(b−hc)2+h2. Solving for hc: hc2+a2=b2−2bhc+hc2+h2⟹a2=b2−2bhc+h2⟹2bhc=b2+h2−a2⟹hc=2bb2+h2−a2. (Assuming b=0 for a unique circle). Substitute r2 from (1) and hc into the circle equation (x−hc)2+y2=r2: x2−2xhc+hc2+y2=hc2+a2 x2+y2−2xhc=a2. Substitute the value of hc: x2+y2−2x(2bb2+h2−a2)=a2. Simplify to get the final equation: x2+y2−x(bb2+h2−a2)−a2=0.