Geometry
Conic Sections
Slice a cone — get a circle, ellipse, parabola, or hyperbola — depending on the angle
Conic sections are the four curves you get by slicing a double cone with a plane — circle, ellipse, parabola, and hyperbola. Discovered by Apollonius (~200 BCE), they reappear everywhere — planetary orbits (Kepler showed they're ellipses), satellite-dish reflectors (parabolas), comet trajectories (hyperbolas for unbound, ellipses for bound). All four share a unified algebraic form Ax² + Bxy + Cy² + Dx + Ey + F = 0, and a unified geometric definition via focus-directrix and eccentricity.
- Four conicsCircle, ellipse, parabola, hyperbola (degenerate — point, line, two lines)
- General equationAx² + Bxy + Cy² + Dx + Ey + F = 0
- DiscriminantB² − 4AC — negative=ellipse, zero=parabola, positive=hyperbola
- Eccentricity e0=circle, 0<e<1=ellipse, e=1=parabola, e>1=hyperbola
- Focus-directrixDistance to focus / distance to directrix = e (constant)
- First systematic studyApollonius of Perga, ~200 BCE
Interactive visualization
Press play, or step through manually. The visualization is yours to drive — try it before reading on.
Watch the 60-second explainer
A condensed visual walkthrough — narrated, captioned, under a minute.
The four curves
Slice a double cone with a plane. Depending on the angle of the slice:
- Plane perpendicular to cone's axis → circle.
- Plane tilted slightly (less than the cone's slant angle) → ellipse (closed oval).
- Plane parallel to the cone's slant edge → parabola (open curve, single branch).
- Plane tilted past the slant angle, cutting both cones → hyperbola (open curve, two branches).
Discovered by Apollonius of Perga around 200 BCE in his treatise Conics — the foundational work on the subject. He named them: ellipse ("falling short"), parabola ("alongside"), hyperbola ("exceeding").
Standard equations
| Conic | Standard form | Eccentricity e | Geometry |
|---|---|---|---|
| Circle | x² + y² = r² | 0 | Center origin, radius r |
| Ellipse | x²/a² + y²/b² = 1 | √(1 − b²/a²) (a>b) | Semi-axes a, b; foci at (±c, 0), c² = a² − b² |
| Parabola | y² = 4px | 1 (exactly) | Focus at (p, 0), directrix x = −p |
| Hyperbola | x²/a² − y²/b² = 1 | √(1 + b²/a²) | Vertices (±a, 0); asymptotes y = ±(b/a)x |
Unified algebraic form
Every conic is the zero set of a quadratic in two variables:
Ax² + Bxy + Cy² + Dx + Ey + F = 0
The discriminant B² − 4AC classifies the conic:
- B² − 4AC < 0 — ellipse (or circle when A = C and B = 0).
- B² − 4AC = 0 — parabola.
- B² − 4AC > 0 — hyperbola.
Degenerate cases (a point, a line, two lines) occur when the equation factors or describes degenerate sections of the cone (passing through the apex).
Focus-directrix unified definition
Pick a point F (the focus) and a line ℓ (the directrix) not containing F. Pick a positive number e (the eccentricity).
The locus of points P such that |PF| / d(P, ℓ) = e is a conic:
- e = 0 — circle (degenerate; the focus is the center).
- 0 < e < 1 — ellipse.
- e = 1 — parabola.
- e > 1 — hyperbola.
This unifies all conics into a single parameter family.
Parabolic reflectors
The parabola has a special reflective property — any ray of light (or sound, or radio wave) traveling parallel to the parabola's axis reflects off the parabola and passes through the focus.
Conversely, any ray emitted from the focus reflects off the parabola and travels parallel to the axis. This makes parabolas perfect for:
- Satellite dishes — incoming parallel signals focus to a single receiver point.
- Car headlights — bulb at focus, beam emerges parallel.
- Solar concentrators — focus sunlight onto a small target for heating.
- Parabolic microphones — capture distant sounds by focusing them.
Kepler orbits — conics in physics
Kepler's first law (1609) — planets orbit the Sun in ellipses with the Sun at one focus.
Newton (1687) derived this from the inverse-square law of gravity — under F = −GMm/r², bound orbits are ellipses (or circles, the e=0 limit), and unbound trajectories are parabolas (exactly escape velocity) or hyperbolas (excess velocity).
| Object | Trajectory | Eccentricity |
|---|---|---|
| Earth | Ellipse | 0.0167 (very nearly circular) |
| Mars | Ellipse | 0.0934 |
| Halley's Comet | Ellipse | 0.967 (highly elongated) |
| Voyager 1 (after Saturn) | Hyperbola | 3.7 (interstellar escape) |
| 'Oumuamua | Hyperbola | 1.20 (came from interstellar space) |
JavaScript — drawing conics
// Parametric — generate points on each conic
function circlePoints(r, n = 100) {
return Array.from({length: n + 1}, (_, i) => {
const t = (i / n) * 2 * Math.PI;
return [r * Math.cos(t), r * Math.sin(t)];
});
}
function ellipsePoints(a, b, n = 100) {
return Array.from({length: n + 1}, (_, i) => {
const t = (i / n) * 2 * Math.PI;
return [a * Math.cos(t), b * Math.sin(t)];
});
}
function parabolaPoints(p, tMin = -3, tMax = 3, n = 100) {
return Array.from({length: n + 1}, (_, i) => {
const t = tMin + (i / n) * (tMax - tMin);
return [2 * p * t, p * t * t];
});
}
function hyperbolaPoints(a, b, branch = 1, tMin = -2, tMax = 2, n = 100) {
return Array.from({length: n + 1}, (_, i) => {
const t = tMin + (i / n) * (tMax - tMin);
return [branch * a * Math.cosh(t), b * Math.sinh(t)];
});
}
// Classify a conic from general form: Ax² + Bxy + Cy² + Dx + Ey + F = 0
function classifyConic(A, B, C, D, E, F) {
const disc = B * B - 4 * A * C;
if (Math.abs(disc) < 1e-10) return 'parabola';
if (disc < 0) return A === C && B === 0 ? 'circle' : 'ellipse';
return 'hyperbola';
}
console.log(classifyConic(1, 0, 1, 0, 0, -25)); // x² + y² = 25 → 'circle'
console.log(classifyConic(4, 0, 9, 0, 0, -36)); // 4x² + 9y² = 36 → 'ellipse'
console.log(classifyConic(0, 0, 1, -4, 0, 0)); // y² = 4x → 'parabola'
console.log(classifyConic(1, 0, -1, 0, 0, -1)); // x² - y² = 1 → 'hyperbola'
Where conics show up
- Astronomy. Kepler orbits, comet trajectories, planetary mechanics. Gravitational two-body problem produces conic sections.
- Engineering optics. Parabolic reflectors, elliptical mirrors (whispering galleries), hyperbolic lenses.
- Architecture. Arches and domes use parabolic and elliptical curves; the Gateway Arch in St. Louis is a catenary, not a parabola, but visually similar.
- Navigation — GPS and LORAN. Hyperbolic positioning — distance differences from receivers form hyperbolas.
- Projectile motion. Idealized projectiles (no air resistance) follow parabolas. Real projectiles approximate parabolas at low speeds.
- Computer graphics — Bézier and NURBS. Conic sections appear as special cases of rational Bézier curves; arcs and circles are exact when implemented carefully.
- Algebraic geometry. Foundational examples — conics are the simplest non-trivial algebraic curves; their study generalizes to elliptic curves, cubic curves, etc.
Common mistakes
- Confusing ellipse with oval. "Oval" is informal; "ellipse" is precise (the locus of points whose distances to two foci sum to a constant). Eggs are oval, not elliptical.
- Forgetting the cross term Bxy. A conic rotated off the standard axes has B ≠ 0. Diagonalize (rotate coordinates) to remove the cross term, then classify.
- Mistaking hyperbola asymptotes for the curve. The asymptotes y = ±(b/a)x are not part of the hyperbola; the curve approaches but never touches them.
- Confusing eccentricity with elongation. Eccentricity 0 means circular; eccentricity approaching 1 means highly elongated ellipse, but eccentricity 1 itself is parabola, not the most-elongated ellipse.
- Treating the focus as the center. The center of an ellipse is the midpoint of the two foci, not at a focus. The Sun is at a focus, not at Earth's orbital center.
- Assuming "parabolic" trajectory ignores air resistance. Real projectile motion with drag is not parabolic; it's a more complex curve. The parabola approximation works only at low speeds with small drag.
Frequently asked questions
What does "conic section" actually mean geometrically?
A double cone (two cones tip-to-tip extending infinitely) intersected by a plane. Tilt the plane parallel to the base — circle. Tilt slightly — ellipse. Tilt parallel to the side — parabola. Tilt steeper, cutting both cones — hyperbola (two branches). The cone's axis-to-slant angle controls which conic appears at which plane angle. This is the original Apollonius definition.
How are the four conics described in one formula?
All conic sections are zero-sets of degree-2 polynomials in (x, y). Ax² + Bxy + Cy² + Dx + Ey + F = 0. The discriminant B² − 4AC determines the type — negative for ellipse (including circle when B=0 and A=C), zero for parabola, positive for hyperbola. Degenerate cases (point, line, pair of lines) arise when the conic factors or has special structure.
What is eccentricity, intuitively?
Eccentricity e measures "how stretched" a conic is. Circle (perfectly round) — e = 0. Ellipse — 0 < e < 1. Parabola — e = 1 exactly (boundary case). Hyperbola — e > 1. Specifically, for any point P on the conic, the ratio (distance to focus) / (distance to directrix) = e. Eccentricity unifies all four conics into a single parameterization.
Why are planetary orbits ellipses?
Kepler's first law (1609) — observed empirically from Tycho Brahe's data. Newton later derived it from gravity (1687) — under inverse-square gravitational attraction, bound orbits are ellipses (or circles), unbound trajectories are parabolas (escape velocity exactly) or hyperbolas (escape with leftover speed). The conic structure is a mathematical consequence of 1/r² central forces — the only forces that produce closed conic orbits are 1/r² and Hooke's law (kr).
What's the focus-directrix definition?
Each conic (except circle) has a focus (point) and directrix (line). The conic is the locus of points P such that |PF| / d(P, directrix) = e, the eccentricity. For e = 1 (parabola), |PF| = d(P, directrix) — equidistant. For e < 1, points closer to the focus than the directrix's scaled distance. This is the most general definition working for all non-degenerate conics.
How are parabolas used in technology?
Reflective property — light/radio waves entering parallel to a parabola's axis all reflect through the focus. Used in — satellite dishes (focus the signal at a receiver), car headlights (point a bulb at the focus, output is parallel beam), solar concentrators (focus sunlight at a point), parabolic microphones (focus distant sound). The reflective property is unique to parabolas.
What are the parametric forms?
Circle of radius r — x = r cos t, y = r sin t. Ellipse a, b semi-axes — x = a cos t, y = b sin t. Parabola y = x²/(4p) — x = 2pt, y = pt². Hyperbola — x = a sec t, y = b tan t (or x = a cosh t, y = b sinh t for "right" branch). Parametric forms are useful for plotting, animation, and integration.