Find the centre and radius of the circle with equation X2+Y2-6X-2Y-6=0
I have some more but I need just the method , so please help me.
Lets do the general solution and see if that is enough:
Suppose we have an equation
a x
2 + a y
2 + bx + c y + d = 0
where a is not zero and b, c, and d are real valued. Well if a is not zero, we can divide through by a and get
x
2 + y
2 + bx + c y + d = 0
where I have just relabeled the other constants, i.e. replaced b/a with b, etc.
We now need to complete the squares for the x and y parts. We'll do x and y can be done the same way:
x
2 + bx = x
2 + 2 (b/2) x + (b/2)
2 - (b/2)
2 = (x + b/2)
2 - (b/2)
2
Doing the same for y we can now write our original equation as
x
2 + y
2 + bx + c y + d = (x + b/2)
2 - (b/2)
2 + (y + c/2)
2 - (c/2)
2 + d = 0
or
(x + b/2)
2 + (y + c/2)
2 = (b/2)
2 + (c/2)
2 - d
Letting
r = \(\displaystyle \frac{1}{2}\sqrt{b^2 + c^2 - 4 d}\)
we finally have the equation of a circle [IF r is real, i.e. \(\displaystyle b^2 + c^2 \ge 4 d\)],
(x - x
0)
2 + (y - y
0)
2 = r
2
with center at (x
0, y
0) and radius r where
x
0 = -b/2
y
0 = -c/2
As an aside, if \(\displaystyle b^2 + c^2 \lt 4 d\) we would still have a circle but x and y would be complex numbers with real parts x
0 and y
0 and imaginary parts satisfying a circle of radius [EDIT: magnitude of] r centered (0,0) for the imaginary part.