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.

Math 3 emblem with sigma notation, a function, and a line graph.
Inside this lesson 10 sections 5 questions 9 figures

SECTION 1

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?

SECTION 2

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.

SECTION 3

Visual Explanation — From Geometry to Equation

Circle: All Points at Distance r from Center (h, k)xyC(h, k)P(x, y)r(x − h)(y − k)r² = (x − h)² + (y − k)²Pythagorean theorem applied to the right triangle
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.

SECTION 4

Mathematical Framework

Equations for Circles

STANDARD FORM OF A CIRCLE

(x−h)2+(y−k)2=r2(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

x2+y2+Dx+Ey+F=0x² + 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−y1=m(x−x1)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

m1×m2=−1m₁ × 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.

SECTION 5

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.

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.

Common geometric conditions and corresponding equation strategies

Three Ways to Determine a Circle's EquationCenter + PointC(3,−2)P(7,1)rr = √[(7−3)²+(1+2)²]r = 5Diameter EndpointsA(−2,4)B(6,0)M(2,2)center = midpointr = ½ diameterTangent LineCtangentrr = distance fromcenter to line
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.

SECTION 6

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. 1

    Step 1 — Identify the Geometric Condition

    A 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. 2

    Step 2 — Calculate the Radius

    Apply the distance formula: r = √[(7 − 3)² + (1 − (−2))²] = √[(4)² + (3)²] = √[16 + 9] = √25 = 5. The radius is 5 units.
    r = 5
  3. 3

    Step 3 — Write the Standard Form

    Substitute (h, k) = (3, −2) and r = 5 into (x − h)² + (y − k)² = r²:
    (x − 3)² + (y + 2)² = 25
  4. 4

    Step 4 — Justify

    This 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. 1

    Step 1 — State the Geometric Property

    A 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. 2

    Step 2 — Find the Slope of the Radius CP

    Slope of CP = (1 − (−2))/(7 − 3) = 3/4.
    m(radius) = 3/4
  3. 3

    Step 3 — Find the Tangent Slope

    Since the tangent is perpendicular to the radius, its slope is the negative reciprocal: m(tangent) = −4/3.
    m(tangent) = −4/3
  4. 4

    Step 4 — Write the Equation Using Point-Slope Form

    Using 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

SECTION 7

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.

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

Comparison of circle equation forms

✦

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.

SECTION 8

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.

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

How today's skills connect to future math

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.

SECTION 9

Practice Problems

Question 1: CONCEPTUAL

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?
Show answer
The equation encodes the definition that a circle is the set of all points (x, y) whose distance from the center (h, k) equals r. The distance formula gives √[(x − h)² + (y − k)²] = r. We square both sides to eliminate the square root, producing (x − h)² + (y − k)² = r². Squaring is valid because both sides are non-negative (distances are always ≥ 0), so squaring preserves the equality without introducing extraneous solutions. The squared form is also much easier to work with algebraically.

Question 2: BASIC 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.
Show answer
First, find the radius using the distance formula: r = √[(2 − (−1))² + (9 − 5)²] = √[(3)² + (4)²] = √[9 + 16] = √25 = 5. Now substitute the center (h, k) = (−1, 5) and r = 5 into standard form: (x − (−1))² + (y − 5)² = 5², which simplifies to (x + 1)² + (y − 5)² = 25. Verification: substituting (2, 9) gives (2 + 1)² + (9 − 5)² = 9 + 16 = 25 ✓.

Question 3: INTERMEDIATE

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.
Show answer
The center is the midpoint of AB: ((−4 + 6)/2, (2 + (−8))/2) = (1, −3). The diameter length is d = √[(6 − (−4))² + (−8 − 2)²] = √[100 + 100] = √200 = 10√2. The radius is r = d/2 = 5√2, so r² = 50. The equation is (x − 1)² + (y + 3)² = 50. For Q(1, 3): (1 − 1)² + (3 + 3)² = 0 + 36 = 36. Since 36 < 50, the point Q is inside the circle (the distance from Q to the center is less than the radius).

Question 4: APPLIED

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.
Show answer
The circle equation is (x − 5)² + (y − 3)² = 100. The point (5, 13) is directly above the center (5, 3) because they share the same x-coordinate. The radius from the center to (5, 13) is vertical (undefined slope). A tangent line is perpendicular to the radius at the point of tangency. The line perpendicular to a vertical line is horizontal, so the tangent has slope 0. Using point-slope form: y − 13 = 0(x − 5), which gives y = 13. Geometrically, the tangent touches the top of the circle and runs horizontally, like the flat surface touching the top of a ball.

Question 5: CRITICAL 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).
Show answer
Substituting (0, 0): 0 + 0 + 0 + 0 + F = 0, so F = 0. Substituting (6, 0): 36 + 0 + 6D + 0 + 0 = 0, so 6D = −36, giving D = −6. Substituting (0, 8): 0 + 64 + 0 + 8E + 0 = 0, so 8E = −64, giving E = −8. The general form is x² + y² − 6x − 8y = 0. Converting to standard form by completing the square: (x² − 6x + 9) + (y² − 8y + 16) = 9 + 16, so (x − 3)² + (y − 4)² = 25. The circle has center (3, 4) and radius 5. This demonstrates how substituting known points into the general form creates a solvable system — a powerful method when the center isn't given directly.

SUMMARY

Lesson Summary

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