Algebra 2 • Geometry & Conic Sections

Deriving and Using the Equation of a Circle

From the ancient definition of a circle to its powerful algebraic equation—master the bridge between geometry and algebra.

Historical Context & Motivation

The circle is one of the oldest geometric objects studied by humankind. Long before formal mathematics existed, circles appeared in the construction of wheels, the observation of the sun and moon, and the design of sacred spaces. But the question that drove centuries of progress was deceptively simple: how can we describe a circle using numbers and equations? The answer required bridging the gap between pure geometry and algebra—a process that took over two thousand years.

~300 BCE
Euclid of Alexandria
Euclid of Alexandria defines a circle in Elements Book III as "a plane figure contained by one line such that all straight lines falling upon it from one point among those lying within the figure are equal to one another." This purely geometric definition—a circle is the set of all points equidistant from a center—remains the conceptual foundation of everything that follows.
~200 BCE
Apollonius of Perga
Apollonius of Perga writes Conics, systematically studying the circle as a special case of a conic section—the intersection of a plane with a cone. This work establishes that circles, ellipses, parabolas, and hyperbolas belong to a unified family of curves.
1637
René Descartes
René Descartes publishes La Géométrie, introducing the coordinate plane and demonstrating that geometric curves can be described by algebraic equations. This revolutionary idea—analytic geometry—makes it possible to write the equation of a circle for the first time.
1640s–1660s
Pierre de Fermat
Pierre de Fermat and later mathematicians refine the coordinate approach, working with equations of the form x² + y² = r² and recognizing that completing the square could transform general second-degree equations into recognizable circle equations.
Modern Era
Modern Applications
The equation of a circle becomes indispensable in GPS navigation, computer graphics, orbital mechanics, and signal processing. Every time your phone triangulates your position, it is solving a system of circle equations.

The central question this lesson addresses is: given Euclid's elegant geometric definition—all points at a fixed distance from a center—how do we translate that into a precise algebraic equation, and how do we use that equation to solve real problems?

Core Principles & Definitions

Before deriving the equation, we need a solid understanding of the geometric ingredients. A circle is completely determined by two pieces of information: the location of its center and the length of its radius. Every other property—diameter, circumference, area, and the algebraic equation—flows from these two values.

1

The Locus Definition

A circle is the locus (set) of all points in a plane that are a fixed distance from a given point. This distance is the radius (r), and the given point is the center (h, k).
2

The Distance Formula

The distance between any two points (x₁, y₁) and (x₂, y₂) is d = √[(x₂ − x₁)² + (y₂ − y₁)²]. This is the algebraic form of the Pythagorean theorem and the key tool for deriving the circle equation.
3

Radius vs. Diameter

The radius is the distance from the center to any point on the circle. The diameter is twice the radius (d = 2r) and passes through the center. In the equation, we always work with the radius.
4

Standard vs. General Form

The equation of a circle can be written in standard form (center and radius visible) or general form (expanded polynomial). Converting between them uses the algebraic technique of completing the square.
Key Takeaway
Think of a circle as a leash. If you stake a dog in your yard with a leash of length r, the boundary of the region the dog can reach is a circle. The stake is the center (h, k), the leash is the radius, and every point the dog can just barely reach satisfies the circle's equation. The equation of a circle is simply the distance formula applied to every point on that boundary.

Visual Explanation — The Circle on a Coordinate Plane

The diagram below shows a circle with center (h, k) and radius r on the Cartesian coordinate plane. A general point (x, y) lies on the circle, and the right triangle formed by dropping a perpendicular from (x, y) to the horizontal through the center reveals the Pythagorean relationship at the heart of the circle equation.

Circle on coordinate plane with center (h, k), radius r, and a right triangle showing the derivation of the equation

In the diagram above, the right triangle's horizontal leg has length |x − h| and its vertical leg has length |y − k|. By the Pythagorean theorem, the hypotenuse—which is the radius r—satisfies the relationship (x − h)² + (y − k)² = r². This is the standard form equation of a circle. Every point (x, y) that makes this equation true lies exactly on the circle, and every point on the circle makes it true.

Mathematical Framework — Deriving the Equations

Let us walk through the derivation step by step. We begin with the geometric definition, apply the distance formula, and arrive at two equivalent algebraic forms.

Step 1: Start with the Distance Formula

Let the center of the circle be the point (h, k) and let r be the radius. Any point (x, y) lies on the circle if and only if its distance from the center equals r:

Distance Condition
√[(x − h)² + (y − k)²] = r

Step 2: Square Both Sides

To eliminate the square root, we square both sides. Since both sides are non-negative, this produces an equivalent equation:

Standard Form
(x − h)² + (y − k)² = r²
where (h, k) is the center and r is the radius

This is the standard form of the equation of a circle. It is the most useful form because you can immediately read off the center and radius. Note that if the center is at the origin (0, 0), the equation simplifies to x² + y² = r².

Step 3: Expand to General Form

If we expand the squared binomials and collect terms, we obtain the general form:

General Form
x² + y² + Dx + Ey + F = 0
where D = −2h, E = −2k, and F = h² + k² − r²

The general form is less intuitive, but it is the form you often encounter when a problem presents a circle equation that hasn't been simplified. To recover the center and radius, you must complete the square—the reverse of the expansion we just performed.

Step 4: Completing the Square (Reverse Process)

Given x² + y² + Dx + Ey + F = 0, group the x-terms and y-terms, then complete the square for each group. Add (D/2)² and (E/2)² to both sides, factor each group into a perfect square binomial, and you will have the equation back in standard form. We will demonstrate this technique in the worked example (Section 6).

Completing the Square — Key Identity
x² + Dx = (x + D/2)² − (D/2)²
This identity transforms a sum into a squared binomial minus a constant

Standard Form vs. General Form — A Detailed Comparison

Understanding when to use each form is essential. The standard form is best for graphing and interpreting circles, while the general form arises naturally in many algebraic contexts, such as when you add or subtract circle equations or when problems give you equations that haven't been factored.

Flowchart showing conversion between standard and general forms of a circle equation
FeatureStandard FormGeneral Form
Equation(x − h)² + (y − k)² = r²x² + y² + Dx + Ey + F = 0
Center visible?Yes — (h, k)No — must complete the square
Radius visible?Yes — r = √(right side)No — must derive from D, E, F
Conversion methodExpand the binomialsComplete the square
Number of parameters3 (h, k, r)3 (D, E, F)
Center from general form(−D/2, −E/2)
Radius from general form√(D²/4 + E²/4 − F)
Key Takeaway
The standard form and general form are two windows into the same circle. Standard form is like a clear photograph—you can see the center and radius immediately. General form is like a coded message—the same information is there, but you need to decode it by completing the square. Always convert to standard form when you need to graph or interpret a circle.

Worked Example

Let's solve a complete problem that requires converting from general form to standard form, then interpreting the result.

Find the center and radius of x² + y² − 6x + 4y − 12 = 0
1
ProblemFind the center and radius of the circle given by the equation: x² + y² − 6x + 4y − 12 = 0
2
Step 1 — Group the x and y termsRearrange the equation so that x-terms and y-terms are grouped together, and move the constant to the right side:
(x² − 6x) + (y² + 4y) = 12
3
Step 2 — Complete the square for xTake the coefficient of x, which is −6. Divide by 2 to get −3, then square it to get 9. Add 9 to both sides:
(x² − 6x + 9) + (y² + 4y) = 12 + 9
4
Step 3 — Complete the square for yTake the coefficient of y, which is +4. Divide by 2 to get 2, then square it to get 4. Add 4 to both sides:
(x² − 6x + 9) + (y² + 4y + 4) = 12 + 9 + 4
5
Step 4 — Factor the perfect square trinomialsThe left side factors into squared binomials, and the right side simplifies:
(x − 3)² + (y + 2)² = 25
6
Step 5 — Identify center and radiusComparing with the standard form (x − h)² + (y − k)² = r², we read off:
Center: (h, k) = (3, −2) | Radius: r = √25 = 5
7
Step 6 — Interpret the resultThe circle is centered at the point (3, −2), which lies in the fourth quadrant (positive x, negative y). It has a radius of 5 units, so it extends from x = −2 to x = 8 horizontally, and from y = −7 to y = 3 vertically. The diameter is 10 units.

Strengths, Limitations & Common Pitfalls

The equation of a circle is a powerful tool, but students often stumble on a few common mistakes. Understanding both what the equation can do and where errors typically occur will help you use it confidently.

StrengthsCommon Pitfalls
Directly encodes the geometric definition (locus of equidistant points)Sign errors when reading center from (x − h)² — if the equation has (x + 3)², the center's x-coordinate is −3, not +3
Easy to graph once in standard form — plot center, measure radiusForgetting to add completing-the-square constants to both sides of the equation
Readily extends to 3D (equation of a sphere)Confusing r and r² — the right side of standard form is r², so if it equals 25, the radius is 5, not 25
Can determine if a point is inside, on, or outside the circle by substituting coordinatesNegative right side after completing the square means no real circle exists (radius would be imaginary)
Pairs naturally with line equations to find intersection pointsCoefficient of x² or y² must both be 1 and equal; if the general form has 2x² + 2y², divide everything by 2 first
Key Takeaway
The most frequent error is a sign mistake when reading the center. Remember: the standard form uses subtraction, (x − h)² + (y − k)² = r². If your equation contains (x + 5)², rewrite it as (x − (−5))², so h = −5. Always ask yourself: "What value of x or y would make this binomial equal zero?" That value is the coordinate of the center.

Connection to Advanced Theory

The equation of a circle is your first step into the world of conic sections—the family of curves formed by slicing a cone at different angles. Understanding circles prepares you for the more complex equations of ellipses, parabolas, and hyperbolas, which share the same algebraic techniques but have richer geometry.

Conic SectionStandard FormRelationship to Circle
Circle(x−h)² + (y−k)² = r²Equal coefficients for x² and y²; eccentricity = 0
Ellipse(x−h)²/a² + (y−k)²/b² = 1Generalization of circle with two different radii (a ≠ b); circle is a special case where a = b
Parabola(y−k)² = 4p(x−h)Only one squared variable; eccentricity = 1; not a closed curve
Hyperbola(x−h)²/a² − (y−k)²/b² = 1Subtraction instead of addition; two separate branches; eccentricity > 1

The general second-degree equation in two variables, Ax² + Bxy + Cy² + Dx + Ey + F = 0, can represent any conic section depending on the values of the coefficients. For a circle specifically, A = C and B = 0. As you progress through Algebra 2 and into Precalculus, the technique of completing the square that you have mastered here will be your primary tool for identifying and graphing every type of conic.

Beyond two dimensions, the equation extends naturally to three dimensions: (x − h)² + (y − k)² + (z − l)² = r² describes a sphere. In higher mathematics and physics, circles and their generalizations appear in trigonometric parameterization (x = h + r cos θ, y = k + r sin θ), complex analysis (|z − z₀| = r), and differential geometry (curvature of curves).

Practice Problems

Work through these five problems in order, from conceptual to synthesis-level. Click "Show Answer" to check your work after you have attempted each problem on your own.

PROBLEM 1CONCEPTUAL
Explain in your own words why the equation of a circle is derived from the distance formula rather than, say, the midpoint formula or the slope formula. What specific geometric property of a circle does the distance formula capture?
PROBLEM 2BASIC IDENTIFICATION
Write the equation of the circle with center (−4, 7) and radius 6 in standard form.
PROBLEM 3INTERMEDIATE
Convert the equation x² + y² + 10x − 2y + 17 = 0 to standard form and identify the center and radius.
PROBLEM 4APPLIED / MULTI-STEP
A circle has a diameter with endpoints A(2, −3) and B(8, 5). Find the equation of the circle in standard form.
PROBLEM 5CRITICAL THINKING / SYNTHESIS
Determine whether the equation x² + y² − 8x + 6y + 30 = 0 represents a circle, a single point, or no graph at all. Justify your answer by completing the square and interpreting the result.

Lesson Summary

A circle is defined as the set of all points equidistant from a fixed center point, and the distance formula translates this geometric idea into algebra. By squaring the distance equation, we derive the standard form, (x − h)² + (y − k)² = r², where (h, k) is the center and r is the radius. When this equation is expanded, it produces the general form, x² + y² + Dx + Ey + F = 0, which hides the center and radius but is useful in algebraic contexts.

The essential skill connecting these two forms is completing the square—a technique that groups variable terms, adds strategic constants to both sides, and factors the results into perfect square binomials. When interpreting results, remember that the sign of the constant on the right side matters: a positive value gives a circle with real radius, zero gives a single point (a degenerate circle), and a negative value means no real graph exists. The circle equation is the foundation for all conic sections, and the algebraic methods you use here—particularly completing the square and interpreting squared binomial expressions—will carry directly into your study of ellipses, parabolas, and hyperbolas.

Varsity Tutors • Algebra 2 — Geometry & Conic Sections • Deriving and Using the Equation of a Circle