MATH 3 • GEOMETRY

Writing Equations from Geometry — I can write and justify an equation for a circle or line from geometric conditions at my level.

Transform geometric conditions like distances, midpoints, and tangency into precise algebraic equations for circles and lines.

Historical Context & Motivation

For thousands of years, geometry was a purely visual discipline — mathematicians drew shapes, measured angles, and proved theorems using diagrams and logic alone. The idea that a geometric shape could be captured by an algebraic equation was a groundbreaking shift that changed mathematics forever. This connection — translating geometric conditions into equations — is the foundation of analytic geometry, and it's exactly the skill you'll master in this lesson.

~300 BCE
Euclid's Elements
Euclid formalized geometry with axioms and proofs, defining circles as "all points equidistant from a center" — a purely geometric description with no algebra.
~200 BCE
Apollonius & Conic Sections
Apollonius of Perga studied circles, ellipses, parabolas, and hyperbolas by slicing cones, laying groundwork for relating geometry to numerical relationships.
1637
Descartes Creates Coordinate Geometry
René Descartes introduced the coordinate plane, making it possible to describe geometric shapes — including circles and lines — with algebraic equations for the first time.
1748
Euler Unifies Algebra and Geometry
Leonhard Euler systematized the idea that every geometric condition (distance, slope, tangency) can be expressed as an equation, formalizing the tools you'll use today.

Before Descartes, if someone said "find all circles passing through two points," you would need a compass and straightedge. After Descartes, you could set up equations and solve them algebraically. This lesson focuses on the core question: How do we translate a geometric description — like "a circle with center (3, −2) that passes through (7, 1)" — into a precise equation, and how do we justify every step?

Core Principles & Definitions

Writing equations from geometry requires you to recognize which geometric property defines a shape and then express that property algebraically. Every equation you write should be justified — meaning you can explain why the equation is correct based on the geometric condition. Here are the foundational ideas you'll need.

1

Distance as the Foundation

The distance formula d = √[(x₂ − x₁)² + (y₂ − y₁)²] translates the Pythagorean theorem onto the coordinate plane. Both circles and perpendicular bisectors depend on distance relationships.
2

Circle = Constant Distance

A circle is the set of all points (x, y) that are exactly r units from a center (h, k). This single geometric condition produces the standard equation (x − h)² + (y − k)² = r².
3

Line = Constant Slope

A non-vertical line has a constant rate of change (slope). Given a point and a slope, or two points, you can write y − y₁ = m(x − x₁). Geometric conditions like parallelism or perpendicularity determine m.
4

Justification = Reasoning

"Justify" means explain why your equation is valid. Cite the definition (e.g., "all points equidistant from the center"), show substitutions, and verify that given conditions are satisfied.
KEY TAKEAWAY
Think of a geometric condition as a rule, and the equation as that rule written in algebra. A circle's rule is "stay exactly r units from the center" — the equation (x − h)² + (y − k)² = r² is just that rule applied to every point (x, y). It's like setting your phone's GPS to alert you whenever you're exactly 5 miles from home: the circle equation does the same thing on a coordinate plane.

Visual Explanation — From Geometry to Equation

The circle with center C(h, k) and radius r is shown in cyan. The dashed violet line is the radius r connecting the center to any point P(x, y) on the circle. The green and orange dashed segments form a right triangle whose legs are (x − h) and (y − k). The Pythagorean theorem gives the circle equation.

The diagram above captures the fundamental idea: a circle is defined by a single distance condition. Every point P(x, y) on the circle is exactly r units from the center C(h, k). When you draw the horizontal and vertical distances from C to P, you create a right triangle. Applying the Pythagorean theorem to that triangle produces (x − h)² + (y − k)² = r². This is not a formula to memorize blindly — it is a direct, logical consequence of the definition of a circle and the distance formula.

For lines, the visual reasoning is similar but uses slope instead of distance. If you know a line passes through a point and has a specific slope (perhaps because it's perpendicular to a radius), you can draw the rise-over-run triangle and write the equation directly. The key habit is the same: start with the geometric condition, draw it, then translate it into algebra.

Mathematical Framework

Equations for Circles

STANDARD FORM OF A CIRCLE
(x − h)² + (y − k)² = r²
where (h, k) is the center and r is the radius (r > 0). This equation comes directly from the distance formula: the distance from any point (x, y) on the circle to the center equals r.
GENERAL FORM OF A CIRCLE
x² + y² + Dx + Ey + F = 0
This is the expanded version of the standard form. You can convert between forms by completing the square. Here, h = −D/2, k = −E/2, and r² = (D/2)² + (E/2)² − F.

Equations for Lines from Geometric Conditions

POINT-SLOPE FORM
y − y₁ = m(x − x₁)
where m is the slope and (x₁, y₁) is a known point on the line. Use this when you know a point and a slope — for example, when writing the equation of a tangent line to a circle.
PERPENDICULAR SLOPES
m₁ × m₂ = −1
Two lines are perpendicular if and only if the product of their slopes equals −1 (assuming neither is vertical). This is essential for tangent lines: a tangent to a circle at a point is perpendicular to the radius at that point.
📋 Justification Checklist
When you write an equation from a geometric condition, always state: (1) the geometric definition or property you're using (e.g., "a circle is all points equidistant from the center"), (2) how you obtained each value (center, radius, slope), and (3) verify by substituting a known point back into the equation.

Geometric Conditions & How They Determine Equations

Different geometric conditions give you different pieces of information. The table below summarizes the most common scenarios you'll encounter and the strategy for writing the equation in each case.

Common geometric conditions and corresponding equation strategies
Geometric ConditionWhat It Tells YouStrategy
Center and a point on the circleCenter (h, k) and radius r (via distance formula)Find r using the distance formula, then plug (h, k) and r into standard form.
Center and tangent lineCenter (h, k) and radius r (distance from center to the tangent line)Use the point-to-line distance formula to find r, then write the standard form.
Endpoints of a diameterCenter = midpoint; radius = half the diameter lengthUse the midpoint formula for (h, k), then distance from center to either endpoint for r.
Tangent to a circle at a given pointThe tangent is perpendicular to the radius at the point of tangencyFind the slope of the radius, take the negative reciprocal, and use point-slope form.
Line through two given pointsSlope m = (y₂ − y₁)/(x₂ − x₁)Compute slope, choose either point, use point-slope form.
Line perpendicular to a given line through a pointSlope is the negative reciprocal of the given line's slopeFind the given line's slope, negate and flip, use point-slope form.
Three common scenarios for writing circle equations. Left: given a center and a point, use the distance formula to find r. Center: given diameter endpoints, use the midpoint for the center and half the distance for r. Right: given a center and tangent line, use the perpendicular distance for r.

Worked Example — Circle from a Center and a Point

Let's work through a complete problem. We'll write and justify the equation of a circle, then find the equation of the tangent line at a specific point.

📝 Problem
A circle has center C(3, −2) and passes through the point P(7, 1). (a) Write the equation of the circle in standard form and justify your equation. (b) Write the equation of the line tangent to the circle at P.
Part (a): Equation of the Circle
1
Step 1 — Identify the Geometric ConditionA circle is defined as the set of all points equidistant from the center. Since P(7, 1) lies on the circle with center C(3, −2), the radius r equals the distance from C to P.
2
Step 2 — Calculate the RadiusApply the distance formula: r = √[(7 − 3)² + (1 − (−2))²] = √[(4)² + (3)²] = √[16 + 9] = √25 = 5. The radius is 5 units.
r = 5
3
Step 3 — Write the Standard FormSubstitute (h, k) = (3, −2) and r = 5 into (x − h)² + (y − k)² = r²:
(x − 3)² + (y + 2)² = 25
4
Step 4 — JustifyThis equation is correct because it encodes the geometric definition: every point (x, y) satisfying this equation is exactly 5 units from (3, −2). We can verify by substituting P(7, 1): (7 − 3)² + (1 + 2)² = 16 + 9 = 25 ✓. The point satisfies the equation, confirming our work.
Part (b): Equation of the Tangent Line at P
1
Step 1 — State the Geometric PropertyA tangent line to a circle at a point is perpendicular to the radius drawn to that point. So the tangent at P is perpendicular to segment CP.
2
Step 2 — Find the Slope of the Radius CPSlope of CP = (1 − (−2))/(7 − 3) = 3/4.
m(radius) = 3/4
3
Step 3 — Find the Tangent SlopeSince the tangent is perpendicular to the radius, its slope is the negative reciprocal: m(tangent) = −4/3.
m(tangent) = −4/3
4
Step 4 — Write the Equation Using Point-Slope FormUsing point P(7, 1) and slope −4/3: y − 1 = −4/3 (x − 7). Distribute: y − 1 = −4/3 x + 28/3. Add 1 (which is 3/3): y = −4/3 x + 31/3.
y = −4/3 x + 31/3

Standard Form vs. General Form — Strengths & Limitations

You'll encounter circle equations in two common forms. Each has its advantages depending on what you're trying to do. Understanding when to use each form — and how to convert between them — is essential for flexibility in problem solving.

Comparison of circle equation forms
FeatureStandard Form: (x − h)² + (y − k)² = r²General Form: x² + y² + Dx + Ey + F = 0
Center visible?Yes — immediately read (h, k)No — must complete the square
Radius visible?Yes — take √(r²)No — must compute from D, E, F
Easy to graph?Yes — plot center, measure radiusNot until converted
Easy to expand/simplify?Can be messy with fractionsClean for algebraic manipulation
Best used for…Writing equations, graphing, interpreting geometrySolving systems, finding intersections
KEY TAKEAWAY
Standard form and general form are two languages describing the same circle — like Celsius and Fahrenheit for temperature. Standard form is great for understanding (you see the center and radius at a glance), while general form is better for computation (especially when combining with other equations). Master converting between them using completing the square, and you'll be fluent in both.

Connections to Advanced Topics

The skills you're building here — translating geometric conditions into equations — are the foundation for much of the mathematics you'll encounter beyond Math 3. The table below previews how these ideas extend into more advanced courses.

How today's skills connect to future math
What You Learn NowWhere It Leads
Standard form of a circle: (x − h)² + (y − k)² = r²Conic sections (ellipses, hyperbolas, parabolas) — each is defined by a geometric distance condition
Tangent line perpendicular to radiusCalculus: tangent lines to any curve using derivatives (the slope at a point)
Distance formula in 2D3D geometry and spheres: (x − h)² + (y − k)² + (z − l)² = r²
Writing equations from conditionsLinear algebra and systems of equations; modeling real-world constraints

The biggest takeaway for your mathematical future is this: geometry and algebra are not separate subjects. Every geometric relationship can be expressed as an equation, and every equation can be visualized geometrically. The more fluent you become at moving between these two worlds, the more powerful your problem-solving toolkit becomes — whether you're headed for precalculus, calculus, physics, engineering, or data science.

Practice Problems

PROBLEM 1CONCEPTUAL
In your own words, explain why the equation (x − h)² + (y − k)² = r² represents a circle. What geometric definition does it encode, and why does squaring both sides of the distance formula make sense?
PROBLEM 2BASIC CALCULATION
Write the equation of a circle with center (−1, 5) that passes through the point (2, 9). Show your work for finding the radius.
PROBLEM 3INTERMEDIATE
The endpoints of a diameter of a circle are A(−4, 2) and B(6, −8). Write the equation of the circle in standard form. Then determine whether the point Q(1, 3) lies inside, on, or outside the circle.
PROBLEM 4APPLIED
A circular fountain has its center at (5, 3) and has a radius of 10 feet. A straight walkway follows the line y = −1. Write the equation of the circle. Then write the equation of the tangent line to the fountain at the point (5, 13), and explain geometrically why this tangent is horizontal.
PROBLEM 5CRITICAL THINKING
A circle passes through the points (0, 0), (6, 0), and (0, 8). Find the equation of the circle. Hint: Use the general form x² + y² + Dx + Ey + F = 0 and substitute each point to create a system of three equations in three unknowns (D, E, F).

Lesson Summary

Writing equations from geometry means translating geometric definitions into algebraic language. A circle is the set of all points at a fixed distance (radius r) from a center (h, k), which produces the standard form equation (x − h)² + (y − k)² = r². You can find the center and radius from various geometric conditions: a center and a point (use the distance formula for r), diameter endpoints (use midpoint for center, half-distance for r), or a tangent line (use perpendicular distance for r).

For lines, geometric conditions like tangency (perpendicular to the radius) or perpendicularity (negative reciprocal slopes, m₁ × m₂ = −1) determine the slope, and point-slope form y − y₁ = m(x − x₁) gives the equation. Always justify your equation by citing the geometric property, showing your computation, and verifying with a known point. Mastering this translation between geometry and algebra is the heart of analytic geometry.

Varsity Tutors • Math 3 • Writing Equations from Geometry