Math Core

Lesson 8.2 · Conic Sections

Ellipses

Planets travel around the sun in ellipses, and a whisper in an elliptical room can be heard clearly across the floor. A parabola has one focus; an ellipse has two, and its shape comes from a simple rule about the distances to them. In this lesson you'll learn that rule, the standard equation, and how to find the center, vertices and foci from any equation of an ellipse.

Two foci and a constant sum

Pin two tacks to a board, loop a string around them, and trace a curve while keeping the string tight. The pencil draws an ellipse, because the total length of string from the pencil to the two tacks never changes.

Definition

Ellipse

An ellipse is the set of all points in a plane whose distances to two fixed points, the foci, have a constant sum. That sum is written 2a2a.

The vocabulary for an ellipse:

  • The center is the midpoint of the two foci.
  • The major axis is the longest chord. It passes through both foci and has length 2a2a. Its endpoints are the vertices.
  • The minor axis is the chord through the center perpendicular to the major axis. It has length 2b2b. Its endpoints are the co-vertices.
  • Each focus is cc units from the center.

How a, b and c are related

Look at a co-vertex. It is the same distance from both foci, and the two distances add to 2a2a, so each one equals aa. Those two distances, together with the center, form right triangles with legs bb (center to co-vertex) and cc (center to focus) and hypotenuse aa. By the Pythagorean theorem,

a2=b2+c2,soc2=a2−b2.a^2 = b^2 + c^2, \qquad\text{so}\qquad c^2 = a^2 - b^2.

This means aa is always the largest of the three numbers: the vertices are farther from the center than the foci and farther than the co-vertices.

The standard equation

Place the center at the origin with foci (±c,0)(\pm c, 0). Setting the sum of the two distances equal to 2a2a, squaring twice and using b2=a2−c2b^2 = a^2 - c^2 produces the equation x2a2+y2b2=1\dfrac{x^2}{a^2} + \dfrac{y^2}{b^2} = 1. Shifting the center to (h,k)(h, k) gives the general standard form.

Standard form of an ellipse with center (h, k)

Horizontal major axisVertical major axis
Equation(x−h)2a2+(y−k)2b2=1\dfrac{(x - h)^2}{a^2} + \dfrac{(y - k)^2}{b^2} = 1(x−h)2b2+(y−k)2a2=1\dfrac{(x - h)^2}{b^2} + \dfrac{(y - k)^2}{a^2} = 1
Vertices(h±a, k)(h \pm a,\ k)(h, k±a)(h,\ k \pm a)
Co-vertices(h, k±b)(h,\ k \pm b)(h±b, k)(h \pm b,\ k)
Foci(h±c, k)(h \pm c,\ k)(h, k±c)(h,\ k \pm c)

In both cases a>b>0a > b > 0 and c2=a2−b2c^2 = a^2 - b^2. The larger denominator is a2a^2, and it sits under the variable of the major axis.

When a=ba = b, the foci merge at the center (c=0c = 0) and the ellipse is a circle of radius aa.

Worked example: An ellipse centered at the origin

Find the vertices, co-vertices and foci of x225+y29=1\dfrac{x^2}{25} + \dfrac{y^2}{9} = 1.

Solution. The larger denominator, 2525, is under x2x^2, so the major axis is horizontal with a2=25a^2 = 25 and b2=9b^2 = 9. That gives a=5a = 5 and b=3b = 3, and

c2=25−9=16,c=4.c^2 = 25 - 9 = 16, \qquad c = 4.
  • Vertices: (±5,0)(\pm 5, 0)
  • Co-vertices: (0,±3)(0, \pm 3)
  • Foci: (±4,0)(\pm 4, 0)

Check the definition at the vertex (5,0)(5, 0): its distances to the foci are 11 and 99, which add to 10=2a10 = 2a. ✓

x²/25 + y²/9 = 1 with vertices (V), co-vertices and foci (F).Open in grapher →

Worked example: A shifted ellipse with a vertical major axis

Find the center, vertices and foci of (x−1)29+(y+2)225=1\dfrac{(x - 1)^2}{9} + \dfrac{(y + 2)^2}{25} = 1.

Solution. The center is (1,−2)(1, -2). The larger denominator, 2525, is under the yy-term, so the major axis is vertical: a=5a = 5, b=3b = 3, and c=25−9=4c = \sqrt{25 - 9} = 4.

Move up and down from the center for the vertices and foci:

  • Vertices: (1,−2±5)(1, -2 \pm 5), which are (1,3)(1, 3) and (1,−7)(1, -7)
  • Co-vertices: (1±3,−2)(1 \pm 3, -2), which are (4,−2)(4, -2) and (−2,−2)(-2, -2)
  • Foci: (1,−2±4)(1, -2 \pm 4), which are (1,2)(1, 2) and (1,−6)(1, -6)
The major axis is vertical because the larger denominator is under the y-term.Open in grapher →

Common mistake

Don't assume a2a^2 is the number under x2x^2. It is always the larger denominator. And for an ellipse, c2=a2−b2c^2 = a^2 - b^2 (subtract), not a2+b2a^2 + b^2. The foci always lie inside the ellipse, so cc must be smaller than aa.

Writing the equation

To write the equation, find the center, decide the orientation, and find a2a^2 and b2b^2.

Worked example: From foci and major axis length

An ellipse has foci (−2,1)(-2, 1) and (6,1)(6, 1), and its major axis has length 1010. Write its equation.

Solution. The center is the midpoint of the foci: (−2+62,1)=(2,1)\left(\dfrac{-2 + 6}{2}, 1\right) = (2, 1). The foci lie on a horizontal line, so the major axis is horizontal.

The foci are 44 units from the center, so c=4c = 4. The major axis has length 2a=102a = 10, so a=5a = 5. Then

b2=a2−c2=25−16=9.b^2 = a^2 - c^2 = 25 - 16 = 9.

The equation is

(x−2)225+(y−1)29=1.\frac{(x - 2)^2}{25} + \frac{(y - 1)^2}{9} = 1.

From general form

Expanded equations such as 4x2+9y2−16x+18y−11=04x^2 + 9y^2 - 16x + 18y - 11 = 0 describe ellipses when both squared terms have positive coefficients that are different. Complete the square in each variable, then divide so the right side is 11.

Worked example: Complete the square twice

Write 4x2+9y2−16x+18y−11=04x^2 + 9y^2 - 16x + 18y - 11 = 0 in standard form and find the foci.

Solution. Group and factor out the leading coefficients:

4(x2−4x)+9(y2+2y)=11.4(x^2 - 4x) + 9(y^2 + 2y) = 11.

Complete each square. Inside the first group add 44, which really adds 4⋅4=164 \cdot 4 = 16; inside the second add 11, which adds 9⋅1=99 \cdot 1 = 9:

4(x2−4x+4)+9(y2+2y+1)=11+16+94(x−2)2+9(y+1)2=36(x−2)29+(y+1)24=1.\begin{aligned} 4(x^2 - 4x + 4) + 9(y^2 + 2y + 1) &= 11 + 16 + 9 \\ 4(x - 2)^2 + 9(y + 1)^2 &= 36 \\ \frac{(x - 2)^2}{9} + \frac{(y + 1)^2}{4} &= 1. \end{aligned}

The center is (2,−1)(2, -1), a=3a = 3, b=2b = 2 and the major axis is horizontal. Then c=9−4=5c = \sqrt{9 - 4} = \sqrt{5}, and the foci are (2±5, −1)\left(2 \pm \sqrt{5},\ -1\right), about (4.24,−1)(4.24, -1) and (−0.24,−1)(-0.24, -1).

(x - 2)^2/9 + (y + 1)^2/4 = 1(2 + sqrt(5), -1)(2 - sqrt(5), -1)(2, -1)Open in grapher →

Tip

When you factor out a coefficient before completing the square, remember that the number you add inside the parentheses gets multiplied by that coefficient. Add the product to the other side.

How round is it? Eccentricity

The ratio e=cae = \dfrac{c}{a} is the eccentricity of the ellipse. Since 0≤c<a0 \le c < a, it satisfies 0≤e<10 \le e < 1. An eccentricity near 00 means the foci are close to the center and the ellipse is nearly a circle. An eccentricity near 11 means a long, flat ellipse. Earth's orbit has e≈0.017e \approx 0.017, which is almost perfectly round.

Practice

Practice 1

The ellipse x2100+y236=1\dfrac{x^2}{100} + \dfrac{y^2}{36} = 1 has its foci on the xx-axis. Enter the xx-coordinates of both foci.

Separate answers with commas, e.g. 2, -5

Practice 2

Find the vertex with the greater yy-coordinate of the ellipse (x+3)24+(y−1)249=1\dfrac{(x + 3)^2}{4} + \dfrac{(y - 1)^2}{49} = 1.

Enter a point like (2, -3)

Practice 3

Which is the equation of the ellipse with vertices (0,±6)(0, \pm 6) and foci (0,±4)(0, \pm 4)?

Practice 4

Find the center of the ellipse 9x2+4y2+36x−24y+36=09x^2 + 4y^2 + 36x - 24y + 36 = 0.

Enter a point like (2, -3)

Practice 5

Find the eccentricity of x225+y216=1\dfrac{x^2}{25} + \dfrac{y^2}{16} = 1.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 6

An elliptical "whispering gallery" is 5050 feet long and 3030 feet wide. Sound leaving one focus reflects off the wall to the other focus. How far from the center of the room should each person stand, in feet?

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 7

An ellipse centered at the origin has vertices (±10,0)(\pm 10, 0) and passes through the point (6,4)(6, 4). Find b2b^2.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.