document.write( "Question 581654: Find the equation of the circle with the diameter AB, given that the coordinates of A and B are (-6,1) and (4,-5).
\n" ); document.write( "The equation of the circle should be written in the form (x-h)squard + (y-k))squared =radius squared
\n" ); document.write( "

Algebra.Com's Answer #371757 by jim_thompson5910(35256)\"\" \"About 
You can put this solution on YOUR website!
Recall that the general equation of a circle is \"%28x-h%29%5E2%2B%28y-k%29%5E2=r%5E2\".\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "So we need the center (h,k) and the radius squared \"r%5E2\".\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "First, let's find the center (h,k).\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Since the center is the midpoint of the line segment with endpoints (-6,1) and (4,-5), we need to find the midpoint.\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "X-Coordinate of Midpoint = \"%28x%5B1%5D%2Bx%5B2%5D%29%2F2+=+%28-6%2B4%29%2F2=-2%2F2+=+-1\"\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Since the x coordinate of midpoint is \"-1\", this means that \"h=-1\"\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Y-Coordinate of Midpoint = \"%28y%5B1%5D%2By%5B2%5D%29%2F2+=+%281%2B-5%29%2F2=-4%2F2+=+-2\"\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Since the y coordinate of midpoint is \"-2\", this means that \"k=-2\"\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "So the center is the point (-1, -2)\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "---------------------------------------------------\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Now let's find the radius squared\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Use the formula \"r%5E2=%28x-h%29%5E2%2B%28y-k%29%5E2\", where (h,k) is the center and (x,y) is an arbitrary point on the circle.\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "In this case, \"h=-1\" and \"k=-2\". Also, \"x=-6\" and \"y=1\". Plug these values into the equation above and simplify to get:\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\"r%5E2=%28-6--1%29%5E2%2B%281--2%29%5E2\"\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\"r%5E2=%28-5%29%5E2%2B%283%29%5E2\"\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\"r%5E2=25%2B9\"\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\"r%5E2=34\"\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "So because \"h=-1\", \"k=-2\", and \"r%5E2=34\", this means that the equation of the circle that passes through the points (-6,1) and (4,-5) (which are the endpoints of the diameter) is \r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\"%28x%2B1%29%5E2%2B%28y%2B2%29%5E2=34\".\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "So the answer is \"%28x%2B1%29%5E2%2B%28y%2B2%29%5E2=34\"
\n" ); document.write( "
\n" ); document.write( "
\n" );