# Nakafa Framework: LLM URL: /en/subject/high-school/12/mathematics/analytic-geometry/equation-of-circle Source: https://raw.githubusercontent.com/nakafaai/nakafa.com/refs/heads/main/packages/contents/subject/high-school/12/mathematics/analytic-geometry/equation-of-circle/en.mdx Output docs content for large language models. --- export const metadata = { title: "Equation of Circle", description: "Learn circle equations from (x-h)² + (y-k)² = r² to general form. Master finding center, radius, and converting between forms with practice problems.", authors: [{ name: "Nabil Akbarazzima Fatih" }], date: "05/26/2025", subject: "Analytic Geometry", }; import { getColor } from "@repo/design-system/lib/color"; import { LineEquation } from "@repo/design-system/components/contents/line-equation"; ## Understanding Circle Equations Circle equation is a mathematical formula that describes all points forming a circle on a coordinate plane. Imagine you have a compass and want to draw a circle on coordinate paper. Well, the circle equation tells us which coordinates the compass pencil tip will pass through. Why is this useful? Because by knowing the circle equation, we can immediately tell where the **center of the circle** is and what its **radius** is without having to draw the circle first. ## Circle Centered at Origin Let's start with the easiest case first: a circle whose center is at the origin . If we have a circle with center at and radius , then every point on that circle has the same distance from the center, which is . Using the distance formula, we get: If we square both sides, we get the circle equation with center at origin: Let's visualize this first. Circle with center and radius 3.} data={[ { points: Array.from({ length: 361 }, (_, i) => { const angle = (i * Math.PI) / 180; return { x: 3 * Math.cos(angle), y: 3 * Math.sin(angle), z: 0, }; }), color: getColor("PURPLE"), showPoints: false, }, { points: Array.from({ length: 2 }, (_, i) => { const center = { x: 0, y: 0 }; const radius = 3; const angle = 0; return { x: center.x + i * radius * Math.cos(angle), y: center.y + i * radius * Math.sin(angle), z: 0, }; }), color: getColor("ORANGE"), showPoints: true, labels: [ { text: "O(0,0)", at: 0, offset: [-0.5, -0.5, 0] }, { text: "r = 3", at: 1, offset: [0, -0.5, 0] }, ], }, { points: Array.from({ length: 2 }, (_, i) => { const xMin = -4; const xMax = 4; const y = 0; return { x: xMin + i * (xMax - xMin), y: y, z: 0, }; }), color: getColor("AMBER"), showPoints: false, smooth: false, }, { points: Array.from({ length: 2 }, (_, i) => { const yMin = -4; const yMax = 4; const x = 0; return { x: x, y: yMin + i * (yMax - yMin), z: 0, }; }), color: getColor("AMBER"), showPoints: false, smooth: false, }, ]} cameraPosition={[0, 0, 10]} showZAxis={false} /> For the circle above, the equation is because the radius is 3, so . ## Circle with Arbitrary Center Now what if the center isn't at the origin? Say the circle center is at point with radius . Every point on this circle must have the same distance from center . Using the distance formula: After squaring, we get the **general circle equation**: If we visualize this, it will look like this: Circle with center and radius 2.} data={[ { points: Array.from({ length: 361 }, (_, i) => { const angle = (i * Math.PI) / 180; return { x: 2 + 2 * Math.cos(angle), y: -1 + 2 * Math.sin(angle), z: 0, }; }), color: getColor("PURPLE"), showPoints: false, }, { points: Array.from({ length: 2 }, (_, i) => { const center = { x: 2, y: -1 }; const radius = 2; const angle = 0; return { x: center.x + i * radius * Math.cos(angle), y: center.y + i * radius * Math.sin(angle), z: 0, }; }), color: getColor("ORANGE"), showPoints: true, labels: [ { text: "P(2,-1)", at: 0, offset: [-0.5, 0.5, 0] }, { text: "r = 2", at: 1, offset: [0, -0.5, 0] }, ], }, { points: Array.from({ length: 2 }, (_, i) => { const xMin = -1; const xMax = 5; const y = 0; return { x: xMin + i * (xMax - xMin), y: y, z: 0, }; }), color: getColor("AMBER"), showPoints: false, smooth: false, }, { points: Array.from({ length: 2 }, (_, i) => { const yMin = -4; const yMax = 2; const x = 0; return { x: x, y: yMin + i * (yMax - yMin), z: 0, }; }), color: getColor("AMBER"), showPoints: false, smooth: false, }, ]} cameraPosition={[0, 0, 10]} showZAxis={false} /> The equation of the circle above is because the center is and the radius is 2, so . ## General Form of Circle Equation Sometimes we find circle equations that have already been expanded into general form. For example, from the equation , if we expand it:
This last form is called the **general form of circle equation**: If we have an equation in general form, we can convert it back to standard form using **completing the square** technique. > Not all equations of the form are circle equations. The condition is . If this value is zero, then it's just a single point, and if negative, then there's no curve at all. ## Determining Center and Radius From the standard form , we can directly know: The center is at and the radius is (obtained from ). While from the general form , we can determine:
## Practice Problems 1. Determine the equation of a circle centered at with radius 5. 2. Given a circle with equation . Determine the center and radius of the circle. 3. A circle passes through point and is centered at . Determine the equation of the circle. 4. Determine the equation of a circle that has a diameter with endpoints at and . ### Answer Key 1. **Solution**: Given center and radius . Using the circle equation formula:
So the circle equation is . 2. **Solution**: From the equation , we identify the coefficients: , ,
So the circle center is at with radius 5. 3. **Solution**: Since the circle is centered at and passes through point , the radius is the distance from the center to that point. The circle equation: 4. **Solution**: The circle center is the midpoint of diameter : The radius is half the diameter length:
The circle equation: