Skip to content
Tutorials Center
My learning

Topics

Lesson 31 of 38 · Complex Numbers and Conic Sections

Ellipses and Hyperbolas

Learn the standard equations of ellipses and hyperbolas, find vertices, foci and asymptotes, and identify any conic from its general equation.

A circle has one center. Stretch it and you get an ellipse; the planets orbit the Sun on ellipses. Cut the cone more steeply and you get a hyperbola, which has two branches. Both are defined by distances to two fixed points called foci.

Ellipses

An ellipse is the set of points whose distances to two foci add up to a constant. Pin the ends of a string to two points, pull it tight with a pencil and trace: you draw an ellipse.

Centered at (h, k) with a horizontal major axis:

Text
(x - h)²/a² + (y - k)²/b² = 1     with a > b > 0
  • Vertices (ends of the major axis): (h ± a, k); co-vertices: (h, k ± b).
  • Distance to each focus: c, where c² = a² - b². Foci: (h ± c, k).
  • If the larger denominator is under y, the major axis is vertical and the foci are (h, k ± c).
  • a = b gives a circle.

Example 1. x²/25 + y²/9 = 1. Here a = 5, b = 3, c² = 25 - 9 = 16, c = 4. Vertices (±5, 0), co-vertices (0, ±3), foci (±4, 0).

Example 2. (x - 2)²/4 + (y + 1)²/16 = 1. The larger denominator, 16, is under y: vertical major axis, a = 4, b = 2, c² = 12, c = 2√3. Center (2, -1), vertices (2, 3) and (2, -5), foci (2, -1 ± 2√3).

The eccentricity e = c/a (between 0 and 1) measures how stretched the ellipse is; a circle has e = 0.

Hyperbolas

A hyperbola is the set of points where the difference of the distances to the two foci is a constant. Horizontal orientation:

Text
(x - h)²/a² - (y - k)²/b² = 1
  • Vertices: (h ± a, k).
  • Foci: (h ± c, k) where c² = a² + b² (note the plus).
  • Asymptotes: y - k = ±(b/a)(x - h). The branches approach these lines.
  • If the y term is positive instead, the hyperbola opens up and down; asymptotes are y - k = ±(a/b)(x - h) with a² under the y term.

Example 3. x²/16 - y²/9 = 1: a = 4, b = 3, c = 5. Vertices (±4, 0), foci (±5, 0), asymptotes y = ±(3/4)x.

Example 4. y²/4 - x²/12 = 1 opens up and down: a² = 4 (under y), b² = 12, c² = 16, c = 4. Vertices (0, ±2), foci (0, ±4), asymptotes y = ±(2/√12)x = ±(1/√3)x.

For ellipses c² = a² - b² (with a the larger); for hyperbolas c² = a² + b². Mixing them up is the most common error. For hyperbolas, a is not necessarily larger than b; a is always the number under the positive term.

Identifying a conic from its equation

For Ax² + Cy² + Dx + Ey + F = 0 (no xy term), look at A and C:

Condition Conic
only one of x², y² present parabola
A = C (same sign) circle
A ≠ C, same sign ellipse
A and C opposite signs hyperbola

Then complete the square to get standard form.

Draw an ellipse and a hyperbola

Python Plot an ellipse with its foci

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Hyperbola, asymptotes and the focus property

Python Hyperbola x^2/16 - y^2/9 = 1

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Check your understanding

Quick check · 4 questions

of 4 answered You scored / 4 · perfect!

  1. 1. For x²/49 + y²/25 = 1, what is c (distance from center to a focus)?

    c² = a² - b² = 49 - 25 = 24, so c = √24 = 2√6.
  2. 2. What are the asymptotes of x²/16 - y²/9 = 1?

    The asymptotes of a horizontal hyperbola are y = ±(b/a)x with a = 4, b = 3.
  3. 3. Which equation is an ellipse with a vertical major axis?

    The larger denominator (9) is under y, so the long axis is vertical.
  4. 4. 4x² + 9y² = 36 describes which conic?

    Dividing by 36 gives x²/9 + y²/4 = 1, an ellipse.

Summary

  • Ellipse: constant sum of distances to the foci; c² = a² - b².
  • Hyperbola: constant difference; c² = a² + b²; asymptotes y = ±(b/a)x for a horizontal one.
  • From Ax² + Cy² + ...: same sign and A = C circle, same sign A ≠ C ellipse, opposite signs hyperbola.
  • Complete the square to reach standard form.

Next: Arithmetic Sequences