Answer:
the equation of the circle is
[tex](x-2)^2+(y+4)^2 = 34[/tex]
Step-by-step explanation:
Recall that the equation of a circle is given by [tex](x-h)^2+(y-k)^2 = r^2[/tex] where r is the radius, and (h,k) is the center. Recall that given two points that are the endpoints of a diameter, the center of the circle is their correspondent midpoint. Also, recall that given points (a,b), (c,d) their midpoint is obtained by [tex](\frac{a+c}{2},\frac{b+d}{2})[/tex]
In this case we are given the endpoints (-1,-9), (5,1). So the center of the circle is the midpoint obtained by [tex](\frac{-1+5}{2},\frac{-9+1}{2}) = (2, -4)[/tex]. Recall that the radius of a circle is the distance from the radius to any of the points of the circle. So, the radius is the distance between the center and the point (-1,-9). We will calculate r^2, by using the distance formula. REcall that the distance between points (a,b), (c,d) is given by
[tex]\sqrt[]{(a-c)^2+(b-d)^2}[/tex]. So, its square is
[tex](a-c)^2+(b-d)^2[/tex].
In our case,
[tex]r^2 = (2-(-1))^2+(-4-(-9))^2 = 3^2+5^2 = 34[/tex]
So, the equation of the circle is
[tex](x-2)^2+(y+4)^2 = 34[/tex]