The equation of the circle has the following form:
Where
(h,k) are the coordinates of the center of the circle
r represents the radius of the circle
First, let's determine the radius of the circle:
We know that the circle has a diameter with endpoints (2,-5) and (8,3). To determine the length of the diameter you have to calculate the distance between both points, using the following formula:
Where
(x₁,y₁) are the coordinates of one of the endpoints of the diameter
(x₂,y₂) are the coordinates of the second endpoint of the diameter
Replace (8,3) as (x₁,y₁) and (2,-5) as (x₂,y₂) on the formula to determine the diameter:
The diameter of the circle is d=10 units, divide it by 2 and you get that the radius of the circle is r= 5 units
Center of the circle
The center of the circle is the midpoint of the diameter, to determine its coordinates you have to work with the x and y coordinates of the endpoints. I will call the center of the circle as point "C"
x-coordinate of the center
The x-coordinate of the midpoint is halfways the distance between the x-coordinates of the endpoints. So you have to calculate the difference between the x-coordinates of the endpoints and divide it by 2:
x₁= 8
x₂= 2
The distance over the x-axis, between the endpoints and the midpoint, is 3 units.
To calculate the x-coordinate of C, add this distance to the x-coordinate of the endpoint (2,-5)
y-coordinate of the center
To determine this coordinate you have to work with the y-coordinates of the endpoints.
As before, the first step is to determine the distance over the y-axis between both endpoints and the midpoint.
y₁=3
y₂=-5
The distance between the endpoints and the midpoint over the y-axis is 4 units
To calculate the y-coordinate of the center, you can subtract the calculated distance to the y-coordinate of the endpoint (8,3)
So the coordinates of the center of the circle are: C(5,-1)
Now we can determine the equation of the circle, replace the formula with h=5, k=-1, and r=5