Originally Posted by

**mark** the question i have is: the points A(2, 5) and B(-4, 13) lie at opposite ends of a diameter of a circle with centre C

a) find the radius of the circle- i did this by finding the diameter which was 10 and halving it, so the radius is 5

b) (which is the one i had a problem with): find the equation of the circle in the form $\displaystyle x^2 + y^2 + px + qy + c = 0$

i found that the centre was (-1, 9) like so $\displaystyle \frac{2 + (-4)}{2} = -1$ and $\displaystyle \frac {5 + 13}{2} = 9$

so the equation of the circle would be this: $\displaystyle (x + 1)^2 + (y - 9)^2 = 25$

the answer the book gave was $\displaystyle x^2 + y^2 + 2x - 18y + 57 = 0$ which would imply that you made the squared constant terms positive, but it thought you would make them negative ie $\displaystyle (x + 1)^2 - 1 + (y - 9)^2 - 81 = 25$

does the method i used only work for certain things?

thanks