In mathematics, an ellipse is a curve in a plane surrounding two focal points such that the sum of the distances to the two focal points is constant for every point on the curve. As such, it is a generalization of a circle, which is a special type of an ellipse having both focal points at the same location. The shape of an ellipse (how "elongated" it is) is represented by its eccentricity, which for an ellipse can be any number from 0 (the limiting case of a circle) to arbitrarily close to but less than 1.
Contents
- Elements of an ellipse
- Pins and string method
- The gardeners ellipse worked example
- Trammel method
- Parallelogram method
- Definition
- Equations
- Focus
- Eccentricity
- Directrix
- Circular directrix
- Ellipse as hypotrochoid
- Area
- Circumference
- Chords
- Curvature
- Angle bisection property
- Reflexive property
- Tangent property
- In projective geometry
- Affine space
- General ellipse
- Canonical form
- Line segment as a type of degenerate ellipse
- General parametric form
- Parametric form in canonical position
- Polar form relative to center
- Polar form relative to focus
- General polar form
- Angular eccentricity
- As a parametric rational polynomial
- Degrees of freedom
- Elliptical reflectors and acoustics
- Planetary orbits
- Harmonic oscillators
- Phase visualization
- Elliptical gears
- Optics
- Statistics and finance
- Computer graphics
- Drawing with Bzier paths
- Drawing with three points of a parallelogram
- Optimization theory
- References
Ellipses are the closed type of conic section: a plane curve resulting from the intersection of a cone by a plane (see figure to the right). Ellipses have many similarities with the other two forms of conic sections: parabolas and hyperbolas, both of which are open and unbounded. The cross section of a cylinder is an ellipse, unless the section is parallel to the axis of the cylinder.
Analytically, an ellipse may also be defined as the set of points such that the ratio of the distance of each point on the curve from a given point (called a focus or focal point) to the distance from that same point on the curve to a given line (called the directrix) is a constant. This ratio is called the eccentricity of the ellipse.
Ellipses are common in physics, astronomy and engineering. For example, the orbit of each planet in our solar system is approximately an ellipse with the barycenter of the planet–Sun pair at one of the focal points. The same is true for moons orbiting planets and all other systems having two astronomical bodies. The shapes of planets and stars are often well described by ellipsoids. Ellipses also arise as images of a circle under parallel projection and the bounded cases of perspective projection, which are simply intersections of the projective cone with the plane of projection. It is also the simplest Lissajous figure formed when the horizontal and vertical motions are sinusoids with the same frequency. A similar effect leads to elliptical polarization of light in optics.
The name, ἔλλειψις (élleipsis, "omission"), was given by Apollonius of Perga in his Conics, emphasizing the connection of the curve with "application of areas".
Elements of an ellipse
Ellipses have two perpendicular axes about which the ellipse is symmetric. Due to this symmetry, these axes intersect at the center of the ellipse (C). The larger of these two axes, which corresponds to the larger distance between antipodal points on the ellipse, is called the major axis (in the figure to the right it is represented by the line segment between the point labeled −a and the point labeled a). The smaller of these two axes, and the smaller distance between antipodal points on the ellipse, is called the minor axis. (in the figure to the right it is represented by the line segment between the point labeled −b to the point labeled b).
The semi-major axis (denoted by a in the figure) and the semi-minor axis (denoted by b in the figure) are one half of the major and minor axes, respectively. These are sometimes called (especially in technical fields) the major and minor semi-axes, the major and minor semiaxes, or major radius and minor radius.
The four points where these axes cross the ellipse are the vertices and are marked as a, −a, b, and −b. In addition to being at the largest and smallest distance from the center, these points are where the curvature of the ellipse is maximum and minimum.
The two foci or focal points of an ellipse are two special points F1 and F2 on the ellipse's major axis that are equidistant from the center point. The sum of the distances from any point P on the ellipse to those two foci is constant and equal to the major axis (PF1 + PF2 = 2a) (in the figure to the right this corresponds to the sum of the two green lines equaling the length of the major axis that goes from −a to a).
The distance to the focal point from the center of the ellipse is sometimes called the linear eccentricity, f, of the ellipse. Here it is denoted by f, but it is often denoted by c. Due to the Pythagorean theorem and the definition of the ellipse explained in the previous paragraph: f 2 = a2 −b2.
A second equivalent method of constructing an ellipse using a directrix is shown on the plot as the three blue lines. (See the Directrix section of this article for more information about this method). The dashed blue line is the directrix of the ellipse shown.
The eccentricity of an ellipse, usually denoted by ε or e, is the ratio of the distance between the two foci, to the length of the major axis or e = 2f/2a = f/a. For an ellipse the eccentricity is between 0 and 1 (0 < e < 1). When the eccentricity is 0 the foci coincide with the center point and the figure is a circle. As the eccentricity tends toward 1, the ellipse gets a more elongated shape. It tends towards a line segment (see below) if the two foci remain a finite distance apart and a parabola if one focus is kept fixed as the other is allowed to move arbitrarily far away. The eccentricity is also equal to the ratio of the distance (such as the (blue) line PF2) from any particular point on an ellipse to one of the foci to the perpendicular distance to the directrix from the same point (line PD), e = PF2/PD.
Pins-and-string method
The characterization of an ellipse as the locus of points so that sum of the distances to the foci is constant leads to a method of drawing one using two drawing pins, a length of string, and a pencil. In this method, pins are pushed into the paper at two points, which become the ellipse's foci. A string tied at each end to the two pins and the tip of a pencil pulls the loop taut to form a triangle. The tip of the pencil then traces an ellipse if it is moved while keeping the string taut. Using two pegs and a rope, gardeners use this procedure to outline an elliptical flower bed—thus it is called the gardener's ellipse.
The gardener's ellipse: worked example
Create an ellipse 3.0m by 1.5m
Tools required:
Method:
- Place center peg at C (the center of the ellipse)
- Determine the orientation of the long (major) axis and, if desired, place a long line (longer than the major axis) along that axis passing through C
- Write down the major radius (a) and minor radius (b), that is, half of the full major/minor axes:
a = 1500 b = 750 - Calculate the positions of the foci (F1) and (F2)
f = 1500 2 − 750 2 = 1299
Note: This is the distance CF. The distance F1F2 = 2598 - Place pegs accordingly at F1 and F2 on the orientation line you affixed at step 2.
- Cut the string to the length of the major axis, 2a (allowing for the knot and tail ends)
2 a = 3000 - Place the string on the ground around the pegs F1 and F2, pull taut and then moving around the periphery, mark as desired on the ground. It doesn't matter where you start/stop.
Trammel method
An ellipse can also be drawn using a ruler, a set square, and a pencil:
Draw two perpendicular lines M,N on the paper; these are the major (M) and minor (N) axes of the ellipse. Mark three points A, B, C on the ruler. A->C being the length of the semi-major axis and B->C the length of the semi-minor axis. With one hand, move the ruler on the paper, turning and sliding it so as to keep point A always on line N, and B on line M. With the other hand, keep the pencil's tip on the paper, following point C of the ruler. The tip traces out an ellipse.The trammel of Archimedes, or ellipsograph, is a mechanical device that implements this principle. The ruler is replaced by a rod with a pencil holder (point C) at one end, and two adjustable side pins (points A and B) that slide into two perpendicular slots cut into a metal plate. The mechanism can be used with a router to cut ellipses from board material. The mechanism is also used in a toy called the "nothing grinder".
Parallelogram method
In the parallelogram method, an ellipse is constructed point by point using equally spaced points on two horizontal lines and equally spaced points on two vertical lines. It is based on Steiner's theorem on the generation of conic sections. Similar methods exist for the parabola and hyperbola.
Definition
In Euclidean geometry, the ellipse is usually defined as the bounded case of a conic section, or as the set of points such that the sum of the distances to two fixed points (the foci) is constant. The ellipse can also be defined as the set of points such that the distance from any point in that set to a given point in the plane (a focus) is a constant positive fraction less than 1 (the eccentricity) of the perpendicular distance of the point in the set to a given line (called the directrix). Yet another equivalent definition of the ellipse is that it is the set of points that are equidistant from one point in the plane (a focus) and a particular circle, the directrix circle (whose center is the other focus).
The equivalence of these definitions can be proved using the Dandelin spheres.
Equations
The equation of an ellipse whose major axis is the
This equation is a direct consequence of the definition from the two focal points. This equation means an ellipse is a unit circle scaled by a factor of
The trigonometric parametric formula
is equivalent to (1). Substituting
Focus
The distance from the center C to either focus is f = ae, which can be expressed in terms of the major and minor radii:
The sum of the distances from any point P = P(x,y) on the ellipse to those two foci is constant and equal to the major axis length:
This is just a mathematical formulation of the definition in the first sentence of this article.
Eccentricity
The eccentricity of the ellipse (commonly denoted as either e or
(where again a and b are one-half of the ellipse's major and minor axes respectively, and f is the focal distance) or, as expressed in terms using the flattening factor
Other formulas for the eccentricity of an ellipse are listed in the article on eccentricity of conic sections. Formulas for the eccentricity of an ellipse that is expressed in the more general quadratic form are described in the article dedicated to conic sections.
Directrix
Each focus F of the ellipse is associated with a line parallel to the minor axis called a directrix. Refer to the illustration on the right, in which the ellipse is centered at the origin. The distance from any point P on the ellipse to the focus F is a constant fraction of that point's perpendicular distance to the directrix, resulting in the equality e = PF/PD. The ratio of these two distances is the eccentricity of the ellipse. This property (which can be proved using the Dandelin spheres) can be taken as another definition of the ellipse.
Besides the well-known ratio e = f/a, where f is the distance from the center to the focus and a is the distance from the center to the farthest vertices (most sharply curved points of the ellipse), it is also true that e = a/d, where d is the distance from the center to the directrix.
Circular directrix
The ellipse can also be defined as the set of points that are equidistant from one focus and a circle, the directrix circle, that is centered on the other focus. The radius of the directrix circle equals the ellipse's major axis, so the focus and the entire ellipse are inside the directrix circle.
Ellipse as hypotrochoid
The ellipse is a special case of the hypotrochoid when R = 2r, as shown in the adjacent image.
Area
The area
where
The second integral is the area of a circle of radius
An ellipse defined implicitly by
Circumference
The circumference
where again
which calculates the circumference of the ellipse in the first quadrant alone, and the formula for the circumference of an ellipse can thus be written
The arc length of an ellipse, in general, has no closed-form solution in terms of elementary functions. Elliptic integrals were motivated by this problem. Equation (3) may be evaluated directly using the Carlson symmetric form. This gives a succinct and quadratically converging iterative method for evaluating the circumference using the arithmetic-geometric mean.
The exact infinite series is:
where
Ramanujan gives two good approximations for the circumference in §16 of "Modular Equations and Approximations to
and
The errors in these approximations, which were obtained empirically, are of order
More generally, the arc length of a portion of the circumference, as a function of the angle subtended, is given by an incomplete elliptic integral.
The inverse function, the angle subtended as a function of the arc length, is given by the elliptic functions.
Some lower and upper bounds on the circumference of the canonical ellipse
Here the upper bound
Chords
The midpoints of a set of parallel chords of an ellipse are collinear.
Latus rectum
The chords of an ellipse that are perpendicular to the major axis and pass through one of its foci are called the latera recta of the ellipse. The length of each latus rectum is 2b2/a.
Curvature
The curvature is given by
Angle bisection property
A local normal (perpendicular) to the ellipse at any point P on the ellipse bisects the angle
Reflexive property
When a ray of light originating from one focus reflects off the inner surface of an ellipse, it always passes through the other focus. A ray of light coming from outside the ellipse toward a focus reflects off the ellipse directly away from the other focus.
Tangent property
The angle containing part of the ellipse, formed at a point on the major axis by a tangent line to the ellipse and the major axis, has measure less than 45°.
In projective geometry
In a projective geometry defined over a field, a conic section can be defined as the set of all points of intersection between corresponding lines of two pencils of lines in a plane that are related by a projective, but not perspective, map (see Steiner's theorem). By projective duality, a conic section can also be defined as the envelope of all lines that connect corresponding points of two lines related by a projective, but not perspective, map.
In a pappian projective plane (one defined over a field), all conic sections are equivalent to each other, and the different types of conic sections are determined by how they intersect the line at infinity, denoted by Ω. An ellipse is a conic section that does not intersect this line. A parabola is a conic section that is tangent to Ω, and a hyperbola is one that crosses Ω twice. Since an ellipse does not intersect the line at infinity, it properly belongs to the affine plane determined by removing the line at infinity and all of its points from the projective plane.
Affine space
An ellipse is also the result of projecting a circle, sphere, or ellipse in a three dimensional affine space onto a plane (flat), by parallel lines. This is a special case of conical (perspective) projection of any of those geometric objects in the affine space from a point O onto a plane P, when the point O lies in the plane at infinity of the affine space. In the setting of pappian projective planes, the image of an ellipse by any affine map (a projective map that leaves the line at infinity invariant) is an ellipse, and, more generally, the image of an ellipse by any projective map M such that the line M−1(Ω) does not touch or cross the ellipse is an ellipse.
General ellipse
In analytic geometry, the ellipse is defined as the set of points
provided
To distinguish the degenerate cases from the non-degenerate case, let ∆ be the determinant
that is,
Then the ellipse is a non-degenerate real ellipse if and only if C∆ < 0. If C∆ > 0, we have an imaginary ellipse, and if ∆ = 0, we have a point ellipse.
The general equation's coefficients can be obtained from known semi-major axis
These expressions can be derived from the canonical equation (see next section) by substituting the coordinates with expressions for rotation and translation of the coordinate system:
Canonical form
Let
Here
In this system, the center is the origin
Any ellipse can be obtained by rotation and translation of a canonical ellipse with the proper semi-diameters. The expression of an ellipse centered at
Moreover, any canonical ellipse can be obtained by scaling the unit circle of
by factors a and b along the two axes.
For an ellipse in canonical form, we have
The distances from a point
The canonical form coefficients can be obtained from the general form coefficients using the following equations:
where
Line segment as a type of degenerate ellipse
A line segment is a degenerate ellipse with semi-minor axis = 0 and eccentricity = 1, and with the focal points at the ends. It arises when the sum of the distances of a point on the ellipse to the foci is required to equal the distance between the foci. Although the eccentricity is 1 this is not a parabola. A radial elliptic trajectory is a non-trivial special case of an elliptic orbit, where the ellipse is a line segment.
General parametric form
An ellipse in general position can be expressed parametrically as the path of a point
as the parameter t varies from 0 to 2π. Here
Parametric form in canonical position
For an ellipse in canonical position (center at origin, major axis along the X-axis), the equation simplifies to
The parameter t (called the eccentric anomaly in astronomy) is not the angle of
For a given point on an ellipse, formulae connecting the tangential angle
Polar form relative to center
In polar coordinates, with the origin at the center of the ellipse and with the angular coordinate
Polar form relative to focus
If instead we use polar coordinates with the origin at one focus, with the angular coordinate
where the sign in the denominator is negative if the reference direction
In the slightly more general case of an ellipse with one focus at the origin and the other focus at angular coordinate
The angle
General polar form
The following equation on the polar coordinates (r, θ) describes a general ellipse with semidiameters a and b, centered at a point (r0, θ0), with the a axis rotated by φ relative to the polar axis:
where r is the radius or central distance, and
Angular eccentricity
The angular eccentricity
As a parametric rational polynomial
An ellipse can be parameterized as a rational quadratic polynomial, in other words described by the equations
imply
Substituting this equation for
Substituting these values for
For
Degrees of freedom
An ellipse in the plane has five degrees of freedom (the same as a general conic section), defining its vertical and horizontal position, orientation, shape, and scale. In comparison, circles have only three degrees of freedom (horizontal position, vertical position and scale), while parabolae have four. Said another way, the set of all ellipses in the plane, with any natural metric (such as the Hausdorff distance) is a five-dimensional manifold.
The five degrees of freedom can be identified with, for example, the coefficients A,B,C,D,E of the implicit equation, or with the coefficients Xc, Yc, φ, a, b of the general parametric form. Thus an ellipse is uniquely determined by any five points lying on it.
Elliptical reflectors and acoustics
If the water's surface is disturbed at one focus of an elliptical water tank, the circular waves of that disturbance, after reflecting off the walls, converge simultaneously to a single point: the second focus. This is a consequence of the total travel length being the same along any wall-bouncing path between the two foci.
Similarly, if a light source is placed at one focus of an elliptic mirror, all light rays on the plane of the ellipse are reflected to the second focus. Since no other smooth curve has such a property, it can be used as an alternative definition of an ellipse. (In the special case of a circle with a source at its center all light would be reflected back to the center.) If the ellipse is rotated along its major axis to produce an ellipsoidal mirror (specifically, a prolate spheroid), this property holds for all rays out of the source. Alternatively, a cylindrical mirror with elliptical cross-section can be used to focus light from a linear fluorescent lamp along a line of the paper; such mirrors are used in some document scanners.
Sound waves are reflected in a similar way, so in a large elliptical room a person standing at one focus can hear a person standing at the other focus remarkably well. The effect is even more evident under a vaulted roof shaped as a section of a prolate spheroid. Such a room is called a whisper chamber. The same effect can be demonstrated with two reflectors shaped like the end caps of such a spheroid, placed facing each other at the proper distance. Examples are the National Statuary Hall at the United States Capitol (where John Quincy Adams is said to have used this property for eavesdropping on political matters); the Mormon Tabernacle at Temple Square in Salt Lake City, Utah; at an exhibit on sound at the Museum of Science and Industry in Chicago; in front of the University of Illinois at Urbana-Champaign Foellinger Auditorium; and also at a side chamber of the Palace of Charles V, in the Alhambra.
Planetary orbits
In the 17th century, Johannes Kepler discovered that the orbits along which the planets travel around the Sun are ellipses with the Sun [approximately] at one focus, in his first law of planetary motion. Later, Isaac Newton explained this as a corollary of his law of universal gravitation.
More generally, in the gravitational two-body problem, if the two bodies are bound to each other (that is, the total energy is negative), their orbits are similar ellipses with the common barycenter being one of the foci of each ellipse. The other focus of either ellipse has no known physical significance. Interestingly, the orbit of either body in the reference frame of the other is also an ellipse, with the other body at the same focus.
Keplerian elliptical orbits are the result of any radially directed attraction force whose strength is inversely proportional to the square of the distance. Thus, in principle, the motion of two oppositely charged particles in empty space would also be an ellipse. (However, this conclusion ignores losses due to electromagnetic radiation and quantum effects, which become significant when the particles are moving at high speed.)
For elliptical orbits, useful relations involving the eccentricity
where
Also, in terms of
Harmonic oscillators
The general solution for a harmonic oscillator in two or more dimensions is also an ellipse. Such is the case, for instance, of a long pendulum that is free to move in two dimensions; of a mass attached to a fixed point by a perfectly elastic spring; or of any object that moves under influence of an attractive force that is directly proportional to its distance from a fixed attractor. Unlike Keplerian orbits, however, these "harmonic orbits" have the center of attraction at the geometric center of the ellipse, and have fairly simple equations of motion.
Phase visualization
In electronics, the relative phase of two sinusoidal signals can be compared by feeding them to the vertical and horizontal inputs of an oscilloscope. If the display is an ellipse, rather than a straight line, the two signals are out of phase.
Elliptical gears
Two non-circular gears with the same elliptical outline, each pivoting around one focus and positioned at the proper angle, turn smoothly while maintaining contact at all times. Alternatively, they can be connected by a link chain or timing belt, or in the case of a bicycle the main chainring may be elliptical, or an ovoid similar to an ellipse in form. Such elliptical gears may be used in mechanical equipment to produce variable angular speed or torque from a constant rotation of the driving axle, or in the case of a bicycle to allow a varying crank rotation speed with inversely varying mechanical advantage.
Elliptical bicycle gears make it easier for the chain to slide off the cog when changing gears.
An example gear application would be a device that winds thread onto a conical bobbin on a spinning machine. The bobbin would need to wind faster when the thread is near the apex than when it is near the base.
Optics
Statistics and finance
In statistics, a bivariate random vector (X, Y) is jointly elliptically distributed if its iso-density contours — loci of equal values of the density function — are ellipses. The concept extends to an arbitrary number of elements of the random vector, in which case in general the iso-density contours are ellipsoids. A special case is the multivariate normal distribution. The elliptical distributions are important in finance because if rates of return on assets are jointly elliptically distributed then all portfolios can be characterized completely by their mean and variance — that is, any two portfolios with identical mean and variance of portfolio return have identical distributions of portfolio return.
Computer graphics
Drawing an ellipse as a graphics primitive is common in standard display libraries, such as the MacIntosh QuickDraw API, and Direct2D on Windows. Jack Bresenham at IBM is most famous for the invention of 2D drawing primitives, including line and circle drawing, using only fast integer operations such as addition and branch on carry bit. M. L. V. Pitteway extended Bresenham's algorithm for lines to conics in 1967. Another efficient generalization to draw ellipses was invented in 1984 by Jerry Van Aken.
In 1970 Danny Cohen presented at the "Computer Graphics 1970" conference in England a linear algorithm for drawing ellipses and circles. In 1971, L. B. Smith published similar algorithms for all conic sections and proved them to have good properties. These algorithms need only a few multiplications and additions to calculate each vector.
It is beneficial to use a parametric formulation in computer graphics because the density of points is greatest where there is the most curvature. Thus, the change in slope between each successive point is small, reducing the apparent "jaggedness" of the approximation.
Drawing with Bézier paths
Composite Bézier curves may also be used to draw an ellipse to sufficient accuracy, since any ellipse may be construed as an affine transformation of a circle. The spline methods used to draw a circle may be used to draw an ellipse, since the constituent Bézier curves behave appropriately under such transformations.
Drawing with three points of a parallelogram
Rytz’s construction can be used to find the minor and major axes and their angle of an ellipse from conjugate diameters (which can be seen as three points of a parallelogram). The method uses the conjugate diameters of an ellipse to map the ellipse to an unit circle under affine transformation and calculate the ellipse parameters from that.
Optimization theory
It is sometimes useful to find the minimum bounding ellipse on a set of points. The ellipsoid method is quite useful for attacking this problem.