The equation for a circle is:
![(x-a)^(2) + (y-b)^(2) + = r^(2)](https://img.qammunity.org/2023/formulas/mathematics/college/s3bef30kx1sqh3fp6bhj90vxlj6vml7qsr.png)
Where (a,b) is the circle's center and r is the circle's radius.
First, we can find the center point of the circle. Because the two points from the problem are the endpoints of a diameter, the midpoint of the line segment is the center point of the circle.
The formula to find the mid-point of a line segment giving the two endpoints is:
M =
,
![(y_(1) + y_(2) )/(y) )](https://img.qammunity.org/2023/formulas/mathematics/college/h8aezrwj5hqkqgsex61d1uhy7y4z0c4t9y.png)
Where M is the midpoint and the given points are:
and
![(x_(2) , y_(2))](https://img.qammunity.org/2023/formulas/mathematics/college/pvmjvhic11dlpji7sy02hqbrbp24xs9h0q.png)
Substituting the values from the two points in the problem gives:
,
![(-2+4)/(2) )](https://img.qammunity.org/2023/formulas/mathematics/college/i2ijir4cnt72aivztnjv5hue3ftnqwiqvu.png)
,
![(2-4)/(2))](https://img.qammunity.org/2023/formulas/mathematics/college/2p245izt3gwwtqtfzhpkhb8sg80gdgku4a.png)
![M = ((20)/(2) , (2)/(2))](https://img.qammunity.org/2023/formulas/mathematics/college/5903p6rhja9enwmgys7cs5oc3qvr4ep6kl.png)
![M = (10,1)](https://img.qammunity.org/2023/formulas/mathematics/college/mi5pzx07c0eqkr1kc4nfwmuul70q9y2nmt.png)