The standard form for the equation of a circle is: (x−h)2+(y−k)2=r2
where (x,y) is any point on the circle (h,k) is the center point and r is the radius.
Using the standard form to write two equations using points A and B
(−2−h)2+(0−k)2=r2
(5−h)2+(1−k)2=r2
Because r2=r2 we can set the left sides equal.
(−2−h)2+(0−k)2=(5−h)2+(1−k)2
Expanding the squares using the pattern (a−b)2=a2−2ab+b2
⇒4+4h+h2+k2=25−10h+h2+1−2k+k2
Combine like terms (noting that the squares cancel):
4+4h=25−10h+1−2k
Move the k term the left and all other terms to the right:
2k=−14h+22
or k=−7h+11 ........(1)
Evaluate the given line at the center point:
2h+k−1=0
Wriring in slope-intercept form
k=−2h+1 .........(2)
Eqn(2)−Eqn(1) we get
k−k=−7h+2h+11−1
⇒h=2
Substitute h=2 in eqn(2)
⇒k=−2×2+1=−3
Substitute the center (2,−3) in to the equation of a circle using point A
(−2−2)2+(0−3)2=r2
⇒r2=25
∴r=5 units
Substitute the center (2,−3) and r=5 into the general equation of a circle, to obtain the specific equation for this circle:
Hence the general equation of the circle is (x−2)2+(y+3)2=25