01 / 21

Writing Equations
from Geometry

Learn to derive and justify equations for circles and lines from geometric conditions: centers, radii, tangent lines, and more.

Math 3

What Does "Equation from Geometry" Mean?

Geometry gives us visual conditions: a center point, a radius length, two points on a line, a tangent relationship. Our job is to translate those conditions into precise algebraic equations.

Geometric Condition
A circle centered at \((3, -2)\) with radius \(5\)
Algebraic Equation
\((x - 3)^2 + (y + 2)^2 = 25\)

The Standard Circle Equation

Every point \((x, y)\) on a circle is exactly \(r\) units from the center \((h, k)\). By the distance formula:

\((h, k)\)
\((x, y)\)
\(r\)

The Line Equation Toolkit

Lines can be written in multiple forms depending on the geometric information you're given.

Slope-Intercept
\(y = mx + b\)
When you know slope and y-intercept
Point-Slope
\(y - y_1 = m(x - x_1)\)
When you know slope and a point
Standard Form
\(Ax + By = C\)
When you need integer coefficients

Core Theorem: Distance Formula

The distance formula is the foundation of both circle and line equations. It comes directly from the Pythagorean Theorem.

\((x_1, y_1)\)
\((x_2, y_2)\)
\(x_2 - x_1\)
\(y_2 - y_1\)
\(d\)

Tangent Lines and Perpendicularity

A tangent line to a circle touches the circle at exactly one point. The key geometric fact:

Center Tangent point Tangent
\(r\)
\(90^\circ\)

Circle vs. Line: What Are You Finding?

Circle Equation Line Equation
Equation form \((x-h)^2+(y-k)^2=r^2\) \(y-y_1=m(x-x_1)\)
You need to find Center \((h,k)\) and radius \(r\) Slope \(m\) and a point
Typical given info Center, point on circle, diameter endpoints Two points, slope + point, parallel/perpendicular condition
Geometric basis Distance from center = \(r\) Constant rate of change between points

Step-by-Step Strategy

1
Identify the shape. Is the problem asking for a circle equation or a line equation?
2
Extract geometric data. List what you know: center, radius, points, slopes, perpendicularity, tangent conditions.
3
Choose the equation form. Standard circle form, point-slope, or slope-intercept: pick the one that matches your given info.
4
Substitute and simplify. Plug in known values. Compute \(r^2\) or simplify the line equation.
5
Justify your answer. Verify your equation satisfies all given conditions. Does the point lie on the curve? Is the tangent perpendicular?

Example 1: Circle from Center and Point

Problem: Write the equation of a circle with center \((2, -3)\) that passes through \((6, 0)\).

\((2, -3)\)
\((6, 0)\)
\(r = 5\)

Example 2: Circle from Diameter Endpoints

Problem: The endpoints of a diameter are \((-1, 4)\) and \((5, -2)\). Write the circle equation.

1
Find the center (midpoint): \(\left(\dfrac{-1+5}{2},\,\dfrac{4+(-2)}{2}\right) = (2, 1)\)
2
Find the radius (half the diameter, or distance from center to endpoint):
\(r = \sqrt{(5-2)^2 + (-2-1)^2} = \sqrt{9+9} = \sqrt{18} = 3\sqrt{2}\)
3
Write the equation: \((x-2)^2 + (y-1)^2 = 18\)

Example 3: Tangent Line to a Circle

Problem: Find the tangent line to \(x^2 + y^2 = 25\) at the point \((3, 4)\).

1
Identify the center: \((0, 0)\) (standard form with \(h=0, k=0\))
2
Slope of radius from \((0,0)\) to \((3,4)\): \(m_r = \dfrac{4-0}{3-0} = \dfrac{4}{3}\)
3
Tangent slope (negative reciprocal): \(m_t = -\dfrac{3}{4}\)
4
Point-slope form: \(y - 4 = -\dfrac{3}{4}(x - 3)\), which simplifies to \(y = -\dfrac{3}{4}x + \dfrac{25}{4}\)

Example 4: Perpendicular Bisector

Problem: Write the equation of the perpendicular bisector of the segment from \(A(1, 2)\) to \(B(7, 6)\).

\(A(1, 2)\)
\(B(7, 6)\)
\(M(4, 4)\)
Perp. bisector

General Form of a Circle

Sometimes you're given a circle in general form and need to convert it to standard form by completing the square.

Ex
\(x^2 + y^2 - 6x + 4y - 12 = 0\)
→ \((x^2 - 6x + 9) + (y^2 + 4y + 4) = 12 + 9 + 4\)
→ \((x - 3)^2 + (y + 2)^2 = 25\)
Center: \((3, -2)\), Radius: \(5\)

Parallel and Perpendicular Line Conditions

Parallel Lines
Same slope: \(m_1 = m_2\)
Different y-intercepts
Perpendicular Lines
Slopes are negative reciprocals: \(m_1 \cdot m_2 = -1\)

Common Mistakes to Avoid

✕ Forgetting to Square the Radius
If \(r = 5\), the equation needs \(r^2 = 25\), not \(r = 5\) on the right side. Don't write \((x-h)^2 + (y-k)^2 = 5\).
✕ Sign Errors in Center
In \((x - h)^2 + (y - k)^2 = r^2\), note the subtraction. If center is \((3, -2)\), you write \((x-3)^2 + (y+2)^2\), not \((y-2)^2\).
✕ Wrong Perpendicular Slope
Perpendicular means negative reciprocal. If slope is \(\dfrac{2}{3}\), the perpendicular slope is \(-\dfrac{3}{2}\), not \(-\dfrac{2}{3}\) or \(\dfrac{3}{2}\).

Summary: Equations at a Glance

Given Information Equation Form Key Step
Center + radius \((x-h)^2+(y-k)^2=r^2\) Plug in directly
Center + point on circle \((x-h)^2+(y-k)^2=r^2\) Use distance formula for \(r\)
Diameter endpoints \((x-h)^2+(y-k)^2=r^2\) Midpoint → center, half-length → \(r\)
Two points (line) \(y-y_1=m(x-x_1)\) Compute slope from points
Point + parallel/perp line \(y-y_1=m(x-x_1)\) Match or negate-reciprocal slope
Tangent to circle at point \(y-y_1=m_t(x-x_1)\) Radius slope → perp. → tangent slope

Question 1 of 5

What is the equation of a circle with center \((−1, 3)\) and radius \(4\)?

Question 2 of 5

A circle has diameter endpoints \((2, 1)\) and \((8, 9)\). What is \(r^2\)?

Question 3 of 5

The tangent line to the circle \(x^2 + y^2 = 50\) at the point \((5, 5)\) has which slope?

Question 4 of 5

What is the equation of the line through \((3, -2)\) that is perpendicular to \(y = \dfrac{1}{2}x + 7\)?

Question 5 of 5

The equation \(x^2 + y^2 + 8x - 6y + 9 = 0\) represents a circle. What is its center?