Circle: General Form Formula Solver with Worked Examples
The circle x2+y2+2gx+2fy+c=0 has centre (−g,−f) and radius r=g2+f2−c. Use the calculator to find the radius or c.
Give every value except the one you want, or write the letter with a question mark, for example g=-3, f=4, c=0 or g=2, f=-1, c=-4. Every answer is checked by putting it back into the formula.
Completing the square on x and y turns the general form into (x+g)2+(y+f)2=g2+f2−c. Comparing with (x−a)2+(y−b)2=r2 gives centre (−g,−f) and r2=g2+f2−c.
If g2+f2−c is not positive, the equation does not describe a real circle.
Take care: the coefficients of x and y are 2g and 2f, so halve them first. Completing the square gives the centre-radius form in the equation of a circle, the radius can be checked with the distance between two points, and tangents use distance from a point to a line.
The general form x² + y² + 2gx + 2fy + c = 0 describes a circle with centre (−g, −f) and radius √(g² + f² − c).
Finding the centre and radius from an expanded equation.
Checking whether an equation really describes a circle.
Solving coordinate geometry questions about circles.
How to use the circle: general form formula
Compare the equation with x2+y2+2gx+2fy+c=0.
Find g, f and c by halving the coefficients.
The centre is (−g,−f).
The radius is g2+f2−c.
Graph
Here g = −2, f = 1, c = −4, so the centre is (2, −1) and the radius is √(4 + 1 + 4) = 3.
Worked examples
Each example below was worked out by the solver on this page and checked by substituting the answer back into the formula.
Example 1: find the radius
The circle x2+y2−6x+8y=0 has g=−3, f=4, c=0. Find its radius.
Circle: general formAnswer checked
Answer
r=5
The formula
Circle: general form. In this formula r is the radius, g is the half the coefficient of x, f is the half the coefficient of y, c is the constant term.
r2=g2+f2−c
What we know and what we want
We know g=−3,f=4,c=0 and we want to find r, the radius.
Substitute the numbers
r=(−3)2+42−0
Calculate
r=5
Check by substituting back
Put all the values back into the original formula: both sides should match.
52=(−3)2+42−0✓
Example 2: another radius
Find the radius of x2+y2+4x−2y−4=0.
Circle: general formAnswer checked
Answer
r=3
The formula
Circle: general form. In this formula r is the radius, g is the half the coefficient of x, f is the half the coefficient of y, c is the constant term.
r2=g2+f2−c
What we know and what we want
We know g=2,f=−1,c=−4 and we want to find r, the radius.
Substitute the numbers
r=22+(−1)2−(−4)
Calculate
r=3
Check by substituting back
Put all the values back into the original formula: both sides should match.
32=22+(−1)2−(−4)✓
Example 3: find the constant
A circle with g=3, f=4 has radius 5. Find c.
Circle: general formAnswer checked
Answer
c=0
The formula
Circle: general form. In this formula r is the radius, g is the half the coefficient of x, f is the half the coefficient of y, c is the constant term.
r2=g2+f2−c
What we know and what we want
We know r=5,g=3,f=4 and we want to find c, the constant term.
Rearrange for c
Rearrange the formula to make c the subject.
c=g2+f2−r2
Substitute the numbers
c=32+42−52
Calculate
c=0
Check by substituting back
Put all the values back into the original formula: both sides should match.
52=32+42−0✓
Special cases
A few situations come up again and again. Knowing them saves time and helps you spot answers that cannot be right.
The radius
x² + y² − 6x + 8y = 0: g = −3, f = 4, c = 0, so r = 5
r² = g² + f² − c.
Another circle
g = 2, f = −1, c = −4: r = √(4 + 1 + 4) = 3
The constant is negative here.
Finding the constant
r = 5, g = 3, f = 4: c = 9 + 16 − 25 = 0
The circle passes through the origin.
The centre
the centre is (−g, −f)
For g = −3 and f = 4 it is (3, −4).
Word problems
Write the equation as x² + y² + 2gx + 2fy + c = 0, read g, f and c, and find the radius from r² = g² + f² − c.
Finding the radius
Find the radius of x² + y² − 6x + 8y = 0.
Compare with 2gx and 2fyg = −3 and f = 4
Use the formular² = 9 + 16 − 0 = 25
Rootr = 5
Check: the centre (3, −4) is 5 from the origin ✓The radius is 5.
A negative constant
Find the radius of x² + y² + 4x − 2y − 4 = 0.
g = 2, f = −1, c = −4r² = 4 + 1 + 4 = 9
Rootr = 3
Check: centre (−2, 1) ✓The radius is 3.
Finding c Higher
A circle x² + y² + 6x + 8y + c = 0 has radius 5. Find c.
g = 3, f = 4r² = 9 + 16 − c = 25
Solvec = 0
Check: 9 + 16 − 0 = 25 ✓c = 0.
Is it a circle? Higher
Does x² + y² + 2x + 2y + 5 = 0 describe a circle?
g = 1, f = 1, c = 5r² = 1 + 1 − 5 = −3
A negative r² is impossibleno circle
Check: r² must be positive ✓No, it is not a circle.
Common mistakes
Using the coefficient instead of g
x² + y² − 6x: g = −6 ✗
g = −3 (half the coefficient) ✓
2g is the coefficient.
Using + c
r² = g² + f² + c ✗
r² = g² + f² − c ✓
The sign is minus.
Taking the centre as (g, f)
centre (−3, 4) ✗
centre (3, −4) ✓
The centre is (−g, −f).
Forgetting the root
r = 25 ✗
r = 5 ✓
Take the root.
Accepting a negative r²
r² = −3, r = √−3 ✗
no circle ✓
r² must be positive.
Exam tips
Match 2gx and 2fy.
Use r² = g² + f² − c.
Centre (−g, −f).
Check r² > 0.
Complete the square as a check.
Practice questions
Try each one on paper, then open the answer. Use the solver above to see the full working.
1. Use the formula to find the radius (r) when half the coefficient of x (g) = 1, half the coefficient of y (f) = 2, constant term (c) = 4. Foundation
r = 1
2. Find the constant term (c) when radius (r) = 6, half the coefficient of x (g) = 4, half the coefficient of y (f) = 4. Higher
c = −4
3. Use the formula to find the radius (r) when half the coefficient of x (g) = 2, half the coefficient of y (f) = 4, constant term (c) = 4. Foundation
r = 4
4. Find the constant term (c) when radius (r) = 0, half the coefficient of x (g) = 2, half the coefficient of y (f) = 1. Higher
c = 5
5. Use the formula to find the radius (r) when half the coefficient of x (g) = 1, half the coefficient of y (f) = 1, constant term (c) = −2. Foundation
r = 2
6. Find the constant term (c) when radius (r) = 11, half the coefficient of x (g) = 6, half the coefficient of y (f) = 9. Higher
c = −4
Practice generator
Unlimited fresh questions with instant marking. Choose a level, work it out on paper, then type your answer.