The ellipse


An ellipse is one of the so-called conic sections, figures that result from slicing a right-regular cone in one of three ways. The figure below shows how that works for an ellipse. There is only one way to form a closed figure by slicing a cone, and that's to do it without intersecting the base. If that cut is made parallel to the base we end up with a circle, which is just a special case of the ellipse. Any other such cut is an ellipse.

Ellipses are very important in many areas of science and technology. They arise quite naturally in many areas. One is planetary orbits. The orbit of any planet is an ellipse with the body being orbited located at one of the two foci of the elliptical path. All celestial bodies – planets, stars, comets, asteroids, &c. – orbit in elliptical paths, though one body can affect the orbit of another by perturbing it slightly.


Anatomy of an ellipse: terminology


1 / 10
Conic section
2 / 10
An ellipse
3 / 10
Vertices
4 / 10
Major axis & symmetry
5 / 10
Minor axis & symmetry
6 / 10
The foci
7 / 10
Major axis
8 / 10
Minor axis
9 / 10
Dimensions
10 / 10
Constant distances

Click/tap on the blue arrows in the figure to learn about the anatomy and terminology of the ellipse. You'll have to be familiar with all of the terms and measurements in order to understand what's to follow

Focus / foci

These are points along the major axis of an ellipse that determine how elongated or eccentric it is. They are analogous to the center of a circle, and in fact when the foci (plural of focus, pronounced fo'┬Ěsy) of an ellipse are at the same point, the ellipse is a circle. These are labeled f1 and f2. The distance between a focus and the center of the ellipse is labeled c.

Major & minor axes

The major axis is the longest line of mirror symmetry that can be drawn through an ellipse. It contains both foci. The minor axis is the shortest axis of mirror symmetry.

Dimensions of an ellipse

a = one half of the length of the major axis (sometimes called the semi major axis)

b = one half of the length of the minor axis (sometimes called the semi minor axis).

c = the distance between the center of an ellipse and each focus. The distance between the foci is 2c.

d1, d2 are the distances from each focus, f1 and f2, to any point on the ellipse.

d1 + d2 = 2a,

always, for any ellipse.


Drawing an ellipse


Play this clip to show one way that an ellipse can be drawn.

Imagine that we place two tacks (the foci) in a piece of paper. Now tie a loop of string and loop it around the two tacks. Make a triangle of the loop by stretching it out with a pencil, the pencil being the third vertex. Now move the pencil with the string taut and trace out the resulting figure, just like in the animation.

Now the loop of string has a constant perimeter, and the distance between the foci is constant, therefore the sum of the lengths of the strings from each focus to the pencil are the same – the definition of an ellipse.

Notice also that when the distance between the two foci is zero, the loop of string becomes a line, the radius of a circle.

When the distance between the foci of an ellipse is reduced to zero (2c = 0), the ellipse is a circle. A circle is a special case of the ellipse.


Geometry of an ellipse


One way to approach the geometry of the ellipse is to start with a circle. At any point on a circle centered at the origin, the coordinates (x, y) satisfy the equation

x2 + y2 = r2,

where r is the radius of the circle. Here's a drawing of that. Two points are highlighted on the circle and the relationship between their x- and y-coordinates to the radius is in the right triangles and the Pythagorean theorem.

Now an ellipse can be considered to be a circle with two separate characteristic radii, a major one of length a and a minor one of length b. We just have to figure out the analogous relationship between the "radius" at any point on the ellipse and the three dimensions that characterize it, a, b and c. Here's that diagram again:

We need to find a formula for the location of any point (x, y) on the ellipse, given that we know that the sum d1 + d2 is constant.

We begin by trying to find the lengths of d1 and d2 by drawing two right triangles like in this graph. On the right the length of the lower leg is c - x, and on the left it's c + x.

So using the Pythagorean theorem, we find the lengths of d1 and d2:

Now take a look at the figure below, in which the point P has been moved to a location along the major axis of the ellipse (the overlapping lines d1 and d2 have been moved apart a little so you can see both of them). If a is the dimension shown (the semi-major axis length), then the length of d1 in this position is a - c, where c is the distance from a focus to the center. Likewise, the length of d2 is a + c. Adding those, we get

a + c + (a - c) = 2a, so

d1 + d2 = 2a

The rest of the derivation (below) involves a fair bit of algebra consisting of simple steps, but there's a lot of it. It's here if you're curious about it.

Before we get to that we need to do just one more thing. Given the result that d1 + d2 = 2a, if we draw d1 and d2 to a point P on the minor axis, the resulting equilateral triangle gives us the Pythagorean relationship

a2 = b2 + c2.

In what follows, we'll need that relationship, rearranged to

b2 = c2 - a2.


The derivation


We begin here:

The distance formula, or equivalently an analysis of the right triangles in the figure above, gives us the lengths of d1 and d2:


(continued ...)

Adding those expressions and setting them equal to 2a gives

Now let's rearrange that equation slightly (moving the second radical to the right side by subtraction) to give:

Now we square both sides to begin getting rid of the square roots. I say begin because the square on the right will result in a cross- or mixed term containing a root, but we'll get to that later.

The square on the left is obvious, and we expand (FOIL) the one on the right to give:

Expanding the squared binomials (x - c)2 and (x + c)2, and canceling terms on both sides of the equal sign like this:

gives us a simpler expression. We'll rearrange it just a bit, keeping the root on the left and the other terms on the right, and simplifying a bit further by dividing through by 4:

The result is

Now we can again square both sides to finally get rid of the last of the roots. That happens because we're no longer squaring a binomial:

The result is

We now expand the squared binomial (x + c)2 on the left:

and multiply through by a2, canceling terms that again appear on both sides of the equal sign:

We're getting closer. If we take the result,

and rearrange it slightly by moving c2x2 to the left and a2c2 to the right, both by subtraction, we get:

we can then factor an x2 from the left and an a2 on the right to find a binomial in common to both sides:

We can take that expression and divide both sides by a2(a2 - c2), canceling as we can. That's going to give us 1 on the right, just what we're looking for. It looks like this:

The result is getting closer to what we're looking for:

Now if we remember that b2 = a2 - c2, we can make the direct substitution to get our well-known formula for an ellipse centered at the origin with major axis 2a and minor axis 2b:

The Ellipse

The equation of an ellipse centered at (0, 0) with major axis a and minor axis b (a > b) is

If we add translation to a new center located at (h, k), the equation is:

The locations of the foci are (-c, 0) and (c, 0) if the ellipse is longer in the x direction, and (0, -c) & (0, c) if it's elongated in the y-direction. c2 = a2 - b2.


Example 1

Sketch the graph of the ellipse described by


Solution: The equation looks roughly like that of an ellipse, but our goal will be to convert it into the correct form so that we can just read off the geometric dimensions of our ellipse and sketch it.

To start, we'll divide by 3 on both sides to get a 1 on the right:

Now the root of the larger dimension goes with x and we'll call it a, where 2a is the length of the major axis. The root of the smaller dimension is b, twice the length of the minor axis.

For an ellipse, we showed above that

So c, the distance between the center of the ellipse and each focus is:

This ellipse is centered a the origin, so now we have all of the information we need to sketch it.

Begin by drawing a box of dimensions 2a × 2b centered at the origin. The vertices of the ellipse will be tangent to that box. Then sketch in the foci along the major axis, about 1.7 units from the origin. Finally, sketch in the outline of the ellipse.

This "box method" of drawing an ellipse from its formula is pretty straightforward. Below we'll do an example of an ellipse elongated along the y-axis and of one displaced from the origin.


Example 2

Sketch the graph of the ellipse described by


Solution: This figure is already in in the standard form for an ellipse centered at the origin, so we can just read off what a and b are: a = 2 and b = 3.

Notice that a in this case is tied to the y-dimension. That's our convention: a is always the longest axis of the ellipse, and in this case the ellipse is elongated in the y-direction.

Then c is the distance along the y-axis from the center to each focus:

The distance is

Now we can sketch the ellipse. It helps to begin with the "box" into which the ellipse will be drawn or inscribed. That box has dimensions 2a × 2b, centered at the origin.

Sketch in the vertices and the foci, and draw the ellipse, and you're done.


Example 3

Sketch the ellipse (not centered at the origin) described by:


Solution: Here we need to coax this equation

into one that looks like the standard form for an ellipse. This one is obviously not centered a the origin; we know that adding a number to x or y before squaring is a translation in the x- and y-direction, respectively.

Dividing the 9 and 6 into the denominators (36) gives us the standard form,

from which we can identify a and b:

and because c2 = a2 - b2 for any ellipse, we have c:

All that remains is to sketch the graph. The dimensions of the bounding box (dashed line) are 2a × 2b.

The major axis is along the y-direction and the foci are located about 1.4 units above and below the center of the ellipse, at (1, -2).

The vertices are located at the center of each side of the bounding box, and the ellipse (our sketch, anyway) is a smooth curve connecting those.

If you aren't familiar with the translation transformations we used here to move the ellipse over a unit and down two (or you've forgotten them, you might want to review horizontal translations on the functions page, or translations of an ellipse on the conic sections page.


Example 4

Write an equation for an ellipse located in the x-y plane with its center at (-5, 6), and having a major axis of length 15 units in the x-direction, and a minor axis of length 10 units.


Solution: In a case like this, we can actually sketch our ellipse first:

The center is at (-5, 6), as given. This means that we add 5 to x before squaring, and we subtract 6 from y in the y-term before squaring. These translations look like the opposite of what they are.

If the length of the major axis is 15 units, then a = 15/2 = 7.5 units, and a2 = 56.25. Likewise, b = 6 and b2 = 36; we just plug those into our basic form and we have the equation of our ellipse.


Tilted ellipses


We can apply one more transformation to an ellipse, and that is to rotate its axes by an angle, θ, about the center of the ellipse, or to tilt it.

 

We can come up with a general equation for an ellipse tilted by θ by applying the 2-D rotational matrix to the vector (x, y) of coordinates of the ellipse. Here is the rotation matrix:

Multiplication of (x,y) by the rotation matrix gives rotated vectors x and y.

Now if we recall the general form of an ellipse centered at (0, 0)


we can insert our rotated x and y into it:

Expanding the numerators gives:

Now if we collect terms in x2, xy and y2 we get

This is a quadratic equation parameterized by the angle, θ, and characterized by constants A, B and C: f(θ) = Aθ2 + Bθ + C

Notice that A and C are always positive because they consist of a sum of squares. The part of B in parentheses is positive because a > b for an ellipse, so the B term is negative only when the signs of sin(θ) and cos(θ) are opposite, that is, when the angle is in quadrant II and quadrant IV.

You can help


This site is a one-person operation. If you can manage it, I'd appreciate anything you could give to help defray the cost of keeping up the domain name, server, search service and my time.


Creative Commons License   optimized for firefox
xaktly.com by Dr. Jeff Cruzan is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License. © 2012, Jeff Cruzan. All text and images on this website not specifically attributed to another source were created by me and I reserve all rights as to their use. Any opinions expressed on this website are entirely mine, and do not necessarily reflect the views of any of my employers. Please feel free to send any questions or comments to jeff.cruzan@verizon.net.