In mathematics, an ellipse is a plane curve surrounding two focal points, such that for all points on the curve, the sum of the two distances to the focal points is a constant. It generalizes a circle, which is the special type of ellipse in which the two focal points are the same. The elongation of an ellipse is measured by its eccentricity formula_1, a number ranging from formula_2 (the limiting case of a circle) to formula_3 (the limiting case of infinite elongation, no longer an ellipse but a parabola). An ellipse has a simple algebraic solution for its area, but for its perimeter (also known as circumference), integration is required to obtain an exact solution. The largest and smallest diameters of an ellipse, also known as its width and height, are typically denoted and . An ellipse has four extreme points: two "vertices" at the endpoints of the major axis and two "co-vertices" at the endpoints of the minor axis. Analytically, the equation of a standard ellipse centered at the origin is: formula_4 Assuming formula_5, the foci are formula_6 where formula_7, called "linear eccentricity", is the distance from the center to a focus. The standard parametric equation is: formula_8 Ellipses are the closed type of conic section: a plane curve tracing the intersection of a cone with a plane (see figure). Ellipses have many similarities with the other two forms of conic sections, parabolas and hyperbolas, both of which are open and unbounded. An angled cross section of a right circular cylinder is also an ellipse. An ellipse may also be defined in terms of one focal point and a line outside the ellipse called the "directrix": for all points on the ellipse, the ratio between the distance to the focus and the distance to the directrix is a constant, called the "eccentricity": formula_9 Ellipses are common in physics, astronomy and engineering. For example, the orbit of each planet in the Solar System is approximately an ellipse with the Sun at one focus point (more precisely, the focus is the barycenter of the Sunplanet pair). The same is true for moons orbiting planets and all other systems of two astronomical bodies. The shapes of planets and stars are often well described by ellipsoids. A circle viewed from a side angle looks like an ellipse: that is, the ellipse is the image of a circle under parallel or perspective projection. The ellipse 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, (, "omission"), was given by Apollonius of Perga in his "Conics". Definition as locus of points. An ellipse can be defined geometrically as a set or locus of points in the Euclidean plane: The midpoint formula_10 of the line segment joining the foci is called the "center" of the ellipse. The line through the foci is called the "major axis", and the line perpendicular to it through the center is the "minor axis". The major axis intersects the ellipse at two "vertices" formula_11, which have distance formula_12 to the center. The distance formula_13 of the foci to the center is called the "focal distance" or linear eccentricity. The quotient formula_14 is defined as the "eccentricity". The case formula_15 yields a circle and is included as a special type of ellipse. The equation formula_16 can be viewed in a different way (see figure): formula_17 is called the "circular directrix" (related to focus of the ellipse. This property should not be confused with the definition of an ellipse using a directrix line below. Using Dandelin spheres, one can prove that any section of a cone with a plane is an ellipse, assuming the plane does not contain the apex and has slope less than that of the lines on the cone. In Cartesian coordinates. Standard equation. The standard form of an ellipse in Cartesian coordinates assumes that the origin is the center of the ellipse, the "x"-axis is the major axis, and: For an arbitrary point formula_18 the distance to the focus formula_19 is formula_20 and to the other focus formula_21. Hence the point formula_22 is on the ellipse whenever: formula_23 Removing the radicals by suitable squarings and using formula_24 (see diagram) produces the standard equation of the ellipse: formula_25 or, solved for "y": formula_26 The width and height parameters formula_27 are called the semi-major and semi-minor axes. The top and bottom points formula_28 are the "co-vertices". The distances from a point formula_22 on the ellipse to the left and right foci are formula_30 and formula_31. It follows from the equation that the ellipse is "symmetric" with respect to the coordinate axes and hence with respect to the origin. Parameters. Principal axes. Throughout this article, the semi-major and semi-minor axes are denoted formula_12 and formula_33, respectively, i.e. formula_34 In principle, the canonical ellipse equation formula_35 may have formula_36 (and hence the ellipse would be taller than it is wide). This form can be converted to the standard form by transposing the variable names formula_37 and formula_38 and the parameter names formula_12 and formula_40 Linear eccentricity. This is the distance from the center to a focus: formula_41. Eccentricity. The eccentricity can be expressed as: formula_42 assuming formula_43 An ellipse with equal axes (formula_44) has zero eccentricity, and is a circle. Semi-latus rectum. The length of the chord through one focus, perpendicular to the major axis, is called the "latus rectum". One half of it is the "semi-latus rectum" formula_45. A calculation shows: formula_46 The semi-latus rectum formula_45 is equal to the radius of curvature at the vertices (see section curvature). Tangent. An arbitrary line formula_48 intersects an ellipse at 0, 1, or 2 points, respectively called an "exterior line", "tangent" and "secant". Through any point of an ellipse there is a unique tangent. The tangent at a point formula_49 of the ellipse formula_50 has the coordinate equation: formula_51 A vector parametric equation of the tangent is: formula_52 Proof: Let formula_49 be a point on an ellipse and formula_54 be the equation of any line formula_48 containing formula_49. Inserting the line's equation into the ellipse equation and respecting formula_57 yields: formula_58 There are then cases: Using (1) one finds that formula_70 is a tangent vector at point formula_49, which proves the vector equation. If formula_72 and formula_73 are two points of the ellipse such that formula_74, then the points lie on two "conjugate diameters" (see below). (If formula_44, the ellipse is a circle and "conjugate" means "orthogonal".) Shifted ellipse. If the standard ellipse is shifted to have center formula_76, its equation is formula_77 The axes are still parallel to the "x"- and "y"-axes. General ellipse. In analytic geometry, the ellipse is defined as a quadric: the set of points formula_22 of the Cartesian plane that, in non-degenerate cases, satisfy the implicit equation formula_79 provided formula_80 To distinguish the degenerate cases from the non-degenerate case, let "∆" be the determinant formula_81 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 formula_12, semi-minor axis formula_33, center coordinates formula_76, and rotation angle formula_85 (the angle from the positive horizontal axis to the ellipse's major axis) using the formulae: formula_86 These expressions can be derived from the canonical equation formula_87 by a Euclidean transformation of the coordinates formula_88: formula_89 Conversely, the canonical form parameters can be obtained from the general-form coefficients by the equations: formula_90 where is the 2-argument arctangent function. Parametric representation. Standard parametric representation. Using trigonometric functions, a parametric representation of the standard ellipse formula_91 is: formula_92 The parameter "t" (called the "eccentric anomaly" in astronomy) is not the angle of formula_93 with the "x"-axis, but has a geometric meaning due to Philippe de La Hire (see "" below). Rational representation. With the substitution formula_94 and trigonometric formulae one obtains formula_95 and the "rational" parametric equation of an ellipse formula_96 which covers any point of the ellipse formula_50 except the left vertex formula_98. For formula_99 this formula represents the right upper quarter of the ellipse moving counter-clockwise with increasing formula_100 The left vertex is the limit formula_101 Alternately, if the parameter formula_102 is considered to be a point on the real projective line formula_103, then the corresponding rational parametrization is formula_104 Then formula_105 Rational representations of conic sections are commonly used in computer-aided design (see Bézier curve). Tangent slope as parameter. A parametric representation, which uses the slope formula_106 of the tangent at a point of the ellipse can be obtained from the derivative of the standard representation formula_107: formula_108 With help of trigonometric formulae one obtains: formula_109 Replacing formula_110 and formula_111 of the standard representation yields: formula_112 Here formula_106 is the slope of the tangent at the corresponding ellipse point, formula_114 is the upper and formula_115 the lower half of the ellipse. The verticesformula_116, having vertical tangents, are not covered by the representation. The equation of the tangent at point formula_117 has the form formula_118. The still unknown formula_119 can be determined by inserting the coordinates of the corresponding ellipse point formula_117: formula_121 This description of the tangents of an ellipse is an essential tool for the determination of the orthoptic of an ellipse. The orthoptic article contains another proof, without differential calculus and trigonometric formulae. General ellipse. Another definition of an ellipse uses affine transformations: Any "ellipse" is an affine image of the unit circle with equation formula_122. An affine transformation of the Euclidean plane has the form formula_123, where formula_124 is a regular matrix (with non-zero determinant) and formula_125 is an arbitrary vector. If formula_126 are the column vectors of the matrix formula_124, the unit circle formula_128, formula_129, is mapped onto the ellipse: formula_130 Here formula_125 is the center and formula_132 are the directions of two conjugate diameters, in general not perpendicular. The four vertices of the ellipse are formula_133, for a parameter formula_134 defined by: formula_135 (If formula_136, then formula_137.) This is derived as follows. The tangent vector at point formula_138 is: formula_139 At a vertex parameter formula_134, the tangent is perpendicular to the major/minor axes, so: formula_141 Expanding and applying the identities formula_142 gives the equation for formula_143 From Apollonios theorem (see below) one obtains:<br> The area of an ellipse formula_144 is formula_145 With the abbreviations formula_146 the statements of Apollonios's theorem can be written as: formula_147 Solving this nonlinear system for formula_148 yields the semiaxes: formula_149 Solving the parametric representation for formula_150 by Cramer's rule and using formula_151, one obtains the implicit representation formula_152 Conversely: If the equation formula_153 with formula_154 of an ellipse centered at the origin is given, then the two vectors formula_155 point to two conjugate points and the tools developed above are applicable. "Example": For the ellipse with equation formula_156 the vectors are formula_157 For formula_158 one obtains a parametric representation of the standard ellipse rotated by angle formula_85: formula_160 The definition of an ellipse in this section gives a parametric representation of an arbitrary ellipse, even in space, if one allows formula_161 to be vectors in space. Polar forms. Polar form relative to center. In polar coordinates, with the origin at the center of the ellipse and with the angular coordinate formula_85 measured from the major axis, the ellipse's equation is formula_163 where formula_1 is the eccentricity (not Euler's number). Polar form relative to focus. If instead we use polar coordinates with the origin at one focus, with the angular coordinate formula_165 still measured from the major axis, the ellipse's equation is formula_166 where the sign in the denominator is negative if the reference direction formula_165 points towards the center (as illustrated on the right), and positive if that direction points away from the center. The angle formula_85 is called the true anomaly of the point. The numerator formula_169 is the semi-latus rectum. Eccentricity and the directrix property. Each of the two lines parallel to the minor axis, and at a distance of formula_170 from it, is called a "directrix" of the ellipse (see diagram). For an arbitrary point formula_171 of the ellipse, the quotient of the distance to one focus and to the corresponding directrix (see diagram) is equal to the eccentricity: formula_172 The proof for the pair formula_173 follows from the fact that formula_174 and formula_175 satisfy the equation formula_176 The second case is proven analogously. The converse is also true and can be used to define an ellipse (in a manner similar to the definition of a parabola): For any point formula_177 (focus), any line formula_178 (directrix) not through formula_177, and any real number formula_1 with formula_181 the ellipse is the locus of points for which the quotient of the distances to the point and to the line is formula_182 that is: formula_183 The extension to formula_2, which is the eccentricity of a circle, is not allowed in this context in the Euclidean plane. However, one may consider the directrix of a circle to be the line at infinity in the projective plane. Let formula_187, and assume formula_188 is a point on the curve. The directrix formula_178 has equation formula_190. With formula_191, the relation formula_192 produces the equations formula_193 and formula_194 The substitution formula_195 yields formula_196 This is the equation of an "ellipse" (formula_197), or a "parabola" (formula_3), or a "hyperbola" (formula_186). All of these non-degenerate conics have, in common, the origin as a vertex (see diagram). If formula_197, introduce new parameters formula_201 so that formula_202, and then the equation above becomes formula_203 which is the equation of an ellipse with center formula_204, the "x"-axis as major axis, and the major/minor semi axis formula_201. Because of formula_206 point formula_207 of directrix formula_208 (see diagram) and focus formula_209 are inverse with respect to the circle inversion at circle formula_210 (in diagram green). Hence formula_207 can be constructed as shown in the diagram. Directrix formula_208 is the perpendicular to the main axis at point formula_207. If the focus is formula_214 and the directrix formula_215, one obtains the equation formula_216 Focus-to-focus reflection property. An ellipse possesses the following property: The normal at a point formula_171 bisects the angle between the lines formula_219. Because the tangent line is perpendicular to the normal, an equivalent statement is that the tangent is the external angle bisector of the lines to the foci (see diagram). Let formula_220 be the point on the line formula_221 with distance formula_222 to the focus formula_223, where formula_12 is the semi-major axis of the ellipse. Let line formula_225 be the external angle bisector of the lines formula_226 and formula_227 Take any other point formula_228 on formula_229 By the triangle inequality and the angle bisector theorem, formula_230formula_231formula_232 so formula_228 must be outside the ellipse. As this is true for every choice of formula_234 formula_225 only intersects the ellipse at the single point formula_171 so must be the tangent line. The rays from one focus are reflected by the ellipse to the second focus. This property has optical and acoustic applications similar to the reflective property of a parabola (see whispering gallery). Additionally, because of the focus-to-focus reflection property of ellipses, if the rays are allowed to continue propagating, reflected rays will eventually align closely with the major axis. Conjugate diameters. Definition of conjugate diameters. A circle has the following property: The midpoints of parallel chords lie on a diameter. An affine transformation preserves parallelism and midpoints of line segments, so this property is true for any ellipse. (Note that the parallel chords and the diameter are no longer orthogonal.) Two diameters formula_237 of an ellipse are "conjugate" if the midpoints of chords parallel to formula_238 lie on formula_239 From the diagram one finds: Two diameters formula_240 of an ellipse are conjugate whenever the tangents at formula_241 and formula_242 are parallel to formula_243. Conjugate diameters in an ellipse generalize orthogonal diameters in a circle. In the parametric equation for a general ellipse given above, formula_244 any pair of points formula_245 belong to a diameter, and the pair formula_246 belong to its conjugate diameter. For the common parametric representation formula_247 of the ellipse with equation formula_248 one gets: The points formula_249 (signs: (+,+) or (−,−) ) formula_250 (signs: (−,+) or (+,−) ) are conjugate and formula_251 In case of a circle the last equation collapses to formula_252 Theorem of Apollonios on conjugate diameters. For an ellipse with semi-axes formula_201 the following is true: Let formula_254 and formula_255 be halves of two conjugate diameters (see diagram) then # formula_256. # The "triangle" formula_257 with sides formula_258 (see diagram) has the constant area formula_259, which can be expressed by formula_260, too. formula_238 is the altitude of point formula_241 and formula_263 the angle between the half diameters. Hence the area of the ellipse (see section metric properties) can be written as formula_264. # The parallelogram of tangents adjacent to the given conjugate diameters has the formula_265 Let the ellipse be in the canonical form with parametric equation formula_266 The two points formula_267 are on conjugate diameters (see previous section). From trigonometric formulae one obtains formula_268 and formula_269 The area of the triangle generated by formula_270 is formula_271 and from the diagram it can be seen that the area of the parallelogram is 8 times that of formula_272. Hence formula_273 Orthogonal tangents. For the ellipse formula_50 the intersection points of "orthogonal" tangents lie on the circle formula_275. This circle is called "orthoptic" or director circle of the ellipse (not to be confused with the circular directrix defined above). Drawing ellipses. Ellipses appear in descriptive geometry as images (parallel or central projection) of circles. There exist various tools to draw an ellipse. Computers provide the fastest and most accurate method for drawing an ellipse. However, technical tools ("ellipsographs") to draw an ellipse without a computer exist. The principle was known to the 5th century mathematician Proclus, and the tool now known as an elliptical trammel was invented by Leonardo da Vinci. If there is no ellipsograph available, one can draw an ellipse using an approximation by the four osculating circles at the vertices. For any method described below, knowledge of the axes and the semi-axes is necessary (or equivalently: the foci and the semi-major axis). If this presumption is not fulfilled one has to know at least two conjugate diameters. With help of Rytz's construction the axes and semi-axes can be retrieved. de La Hire's point construction. The following construction of single points of an ellipse is due to de La Hire. It is based on the standard parametric representation formula_276 of an ellipse: 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 is tied at each end to the two pins; its length after tying is formula_222. 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 Byzantine architect Anthemius of Tralles () described how this method could be used to construct an elliptical reflector, and it was elaborated in a now-lost 9th-century treatise by Al-Ḥasan ibn Mūsā. A similar method for drawing with a "closed" string is due to the Irish bishop Charles Graves. Paper strip methods. The two following methods rely on the parametric representation (see "", above): formula_284 This representation can be modeled technically by two simple methods. In both cases center, the axes and semi axes formula_285 have to be known. The first method starts with a strip of paper of length formula_286. The point, where the semi axes meet is marked by formula_171. If the strip slides with both ends on the axes of the desired ellipse, then point formula_171 traces the ellipse. For the proof one shows that point formula_171 has the parametric representation formula_276, where parameter formula_291 is the angle of the slope of the paper strip. A technical realization of the motion of the paper strip can be achieved by a Tusi couple (see animation). The device is able to draw any ellipse with a "fixed" sum formula_286, which is the radius of the large circle. This restriction may be a disadvantage in real life. More flexible is the second paper strip method. A variation of the paper strip method 1 uses the observation that the midpoint formula_293 of the paper strip is moving on the circle with center formula_294 (of the ellipse) and radius formula_295. Hence, the paperstrip can be cut at point formula_293 into halves, connected again by a joint at formula_293 and the sliding end formula_298 fixed at the center formula_294 (see diagram). After this operation the movement of the unchanged half of the paperstrip is unchanged. This variation requires only one sliding shoe. The second method starts with a strip of paper of length formula_12. One marks the point, which divides the strip into two substrips of length formula_33 and formula_302. The strip is positioned onto the axes as described in the diagram. Then the free end of the strip traces an ellipse, while the strip is moved. For the proof, one recognizes that the tracing point can be described parametrically by formula_276, where parameter formula_291 is the angle of slope of the paper strip. This method is the base for several "ellipsographs" (see section below). Similar to the variation of the paper strip method 1 a "variation of the paper strip method 2" can be established (see diagram) by cutting the part between the axes into halves. Most ellipsograph drafting instruments are based on the second paperstrip method. Approximation by osculating circles. From "Metric properties" below, one obtains: The diagram shows an easy way to find the centers of curvature formula_309 at vertex formula_310 and co-vertex formula_311, respectively: The centers for the remaining vertices are found by symmetry. With help of a French curve one draws a curve, which has smooth contact to the osculating circles. Steiner generation. The following method to construct single points of an ellipse relies on the Steiner generation of a conic section: Given two pencils formula_316 of lines at two points formula_317 (all lines containing formula_318 and formula_319, respectively) and a projective but not perspective mapping formula_320 of formula_321 onto formula_322, then the intersection points of corresponding lines form a non-degenerate projective conic section. For the generation of points of the ellipse formula_50 one uses the pencils at the vertices formula_305. Let formula_325 be an upper co-vertex of the ellipse and formula_326. formula_171 is the center of the rectangle formula_328. The side formula_329 of the rectangle is divided into n equal spaced line segments and this division is projected parallel with the diagonal formula_330 as direction onto the line segment formula_331 and assign the division as shown in the diagram. The parallel projection together with the reverse of the orientation is part of the projective mapping between the pencils at formula_310 and formula_333 needed. The intersection points of any two related lines formula_334 and formula_335 are points of the uniquely defined ellipse. With help of the points formula_336 the points of the second quarter of the ellipse can be determined. Analogously one obtains the points of the lower half of the ellipse. Steiner generation can also be defined for hyperbolas and parabolas. It is sometimes called a "parallelogram method" because one can use other points rather than the vertices, which starts with a parallelogram instead of a rectangle. As hypotrochoid. The ellipse is a special case of the hypotrochoid when formula_337, as shown in the adjacent image. The special case of a moving circle with radius formula_338 inside a circle with radius formula_337 is called a Tusi couple. Inscribed angles and three-point form. Circles. A circle with equation formula_340 is uniquely determined by three points formula_341 not on a line. A simple way to determine the parameters formula_342 uses the "inscribed angle theorem" for circles: For four points formula_343 (see diagram) the following statement is true: The four points are on a circle if and only if the angles at formula_344 and formula_345 are equal. Usually one measures inscribed angles by a degree or radian "θ", but here the following measurement is more convenient: In order to measure the angle between two lines with equations formula_346 one uses the quotient: formula_347 Inscribed angle theorem for circles. For four points formula_343 no three of them on a line, we have the following (see diagram): The four points are on a circle, if and only if the angles at formula_344 and formula_345 are equal. In terms of the angle measurement above, this means: formula_351 At first the measure is available only for chords not parallel to the y-axis, but the final formula works for any chord. As a consequence, one obtains an equation for the circle determined by three non-collinear points formula_352: formula_353 Three-point form of circle equation. For example, for formula_354 the three-point equation is: formula_355, which can be rearranged to formula_356 Using vectors, dot products and determinants this formula can be arranged more clearly, letting formula_357: formula_358 The center of the circle formula_76 satisfies: formula_360 The radius is the distance between any of the three points and the center. formula_361 Ellipses. This section considers the family of ellipses defined by equations formula_362 with a "fixed" eccentricity formula_1. It is convenient to use the parameter: formula_364 and to write the ellipse equation as: formula_365 where "q" is fixed and formula_366 vary over the real numbers. (Such ellipses have their axes parallel to the coordinate axes: if formula_367, the major axis is parallel to the "x"-axis; if formula_368, it is parallel to the "y"-axis.) Like a circle, such an ellipse is determined by three points not on a line. For this family of ellipses, one introduces the following q-analog angle measure, which is "not" a function of the usual angle measure "θ": In order to measure an angle between two lines with equations formula_369 one uses the quotient: formula_370 Given four points formula_371, no three of them on a line (see diagram). The four points are on an ellipse with equation formula_372 if and only if the angles at formula_344 and formula_345 are equal in the sense of the measurement above—that is, if formula_375 Inscribed angle theorem for ellipses. At first the measure is available only for chords which are not parallel to the y-axis. But the final formula works for any chord. The proof follows from a straightforward calculation. For the direction of proof given that the points are on an ellipse, one can assume that the center of the ellipse is the origin. A consequence, one obtains an equation for the ellipse determined by three non-collinear points formula_352: formula_377 Three-point form of ellipse equation. For example, for formula_378 and formula_379 one obtains the three-point form formula_380 and after conversion formula_381 Analogously to the circle case, the equation can be written more clearly using vectors: formula_382 where formula_383 is the modified dot product formula_384 Pole-polar relation. Any ellipse can be described in a suitable coordinate system by an equation formula_50. The equation of the tangent at a point formula_386 of the ellipse is formula_387 If one allows point formula_386 to be an arbitrary point different from the origin, then point formula_389 is mapped onto the line formula_390, not through the center of the ellipse. This relation between points and lines is a bijection. The inverse function maps Such a relation between points and lines generated by a conic is called "pole-polar relation" or "polarity". The pole is the point; the polar the line. By calculation one can confirm the following properties of the pole-polar relation of the ellipse: Pole-polar relations exist for hyperbolas and parabolas as well. Metric properties. All metric properties given below refer to an ellipse with equation except for the section on the area enclosed by a tilted ellipse, where the generalized form of Eq.() will be given. Area. The area formula_402 enclosed by an ellipse is: where formula_12 and formula_33 are the lengths of the semi-major and semi-minor axes, respectively. The area formula formula_405 is intuitive: start with a circle of radius formula_33 (so its area is formula_407) and stretch it by a factor formula_408 to make an ellipse. This scales the area by the same factor: formula_409 However, using the same approach for the circumference would be fallacious – compare the integrals formula_410 and formula_411. It is also easy to rigorously prove the area formula using integration as follows. Equation () can be rewritten as formula_412 For formula_413 this curve is the top half of the ellipse. So twice the integral of formula_414 over the interval formula_415 will be the area of the ellipse: formula_416 The second integral is the area of a circle of radius formula_417 that is, formula_418 So formula_419 An ellipse defined implicitly by formula_420 has area formula_421 The area can also be expressed in terms of eccentricity and the length of the semi-major axis as formula_422 (obtained by solving for flattening, then computing the semi-minor axis). So far we have dealt with "erect" ellipses, whose major and minor axes are parallel to the formula_37 and formula_424 axes. However, some applications require "tilted" ellipses. In charged-particle beam optics, for instance, the enclosed area of an erect or tilted ellipse is an important property of the beam, its "emittance". In this case a simple formula still applies, namely where formula_425, formula_426 are intercepts and formula_427, formula_428 are maximum values. It follows directly from Apollonios's theorem. Circumference. The circumference formula_10 of an ellipse is: formula_430 where again formula_12 is the length of the semi-major axis, formula_432 is the eccentricity, and the function formula_433 is the complete elliptic integral of the second kind, formula_434 which is in general not an elementary function. The circumference of the ellipse may be evaluated in terms of formula_435 using Gauss's arithmetic-geometric mean; this is a quadratically converging iterative method (see here for details). The exact infinite series is: formula_436 where formula_437 is the double factorial (extended to negative odd integers in the usual way, giving formula_438 and formula_439). This series converges, but by expanding in terms of formula_440 James Ivory, Bessel and Kummer derived a series that converges much more rapidly. It is most concisely written in terms of the binomial coefficient with formula_441: formula_442 The coefficients are slightly smaller (by a factor of formula_443), but also formula_444 is numerically much smaller than formula_1 except at formula_446 and formula_447. For eccentricities less than 0.5 the error is at the limits of double-precision floating-point after the formula_448 term. Srinivasa Ramanujan gave two close approximations for the circumference in §16 of "Modular Equations and Approximations to formula_320"; they are formula_450 and formula_451 where formula_452 takes on the same meaning as above. The errors in these approximations, which were obtained empirically, are of order formula_453 and formula_454 respectively. This is because the second formula's infinite series expansion matches Ivory's formula up to the formula_448 term. Arc length. More generally, the arc length of a portion of the circumference, as a function of the angle subtended (or of any two points on the upper half of the ellipse), is given by an incomplete elliptic integral. The upper half of an ellipse is parameterized by formula_456 Then the arc length formula_457 from formula_458 to formula_459 is: formula_460 This is equivalent to formula_461 where formula_462 is the incomplete elliptic integral of the second kind with parameter formula_463 Some lower and upper bounds on the circumference of the canonical ellipse formula_464 with formula_465 are formula_466 Here the upper bound formula_467 is the circumference of a circumscribed concentric circle passing through the endpoints of the ellipse's major axis, and the lower bound formula_468 is the perimeter of an inscribed rhombus with vertices at the endpoints of the major and the minor axes. Given an ellipse whose axes are drawn, we can construct the endpoints of a particular elliptic arc whose length is one eighth of the ellipse's circumference using only straightedge and compass in a finite number of steps; for some specific shapes of ellipses, such as when the axes have a length ratio of , it is additionally possible to construct the endpoints of a particular arc whose length is one twelfth of the circumference. (The vertices and co-vertices are already endpoints of arcs whose length is one half or one quarter of the ellipse's circumference.) However, the general theory of straightedge-and-compass elliptic division appears to be unknown, unlike in the case of the circle and the lemniscate. The division in special cases has been investigated by Legendre in his classical treatise. Curvature. The curvature is given by: formula_469 and the radius of curvature, ρ = 1/κ, at point formula_18: formula_471The radius of curvature of an ellipse, as a function of angle "" from the center, is: formula_472where e is the eccentricity. Radius of curvature at the two "vertices" formula_473 and the centers of curvature: formula_474 Radius of curvature at the two "co-vertices" formula_475 and the centers of curvature: formula_476The locus of all the centers of curvature is called an evolute. In the case of an ellipse, the evolute is an astroid. In triangle geometry. Ellipses appear in triangle geometry as As plane sections of quadrics. Ellipses appear as plane sections of the following quadrics: Applications. Physics. 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. 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 formula_1 are: formula_478 where Also, in terms of formula_479 and formula_480, the semi-major axis formula_12 is their arithmetic mean, the semi-minor axis formula_33 is their geometric mean, and the semi-latus rectum formula_45 is their harmonic mean. In other words, formula_487 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 Lissajous figure 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. Statistics and finance. In statistics, a bivariate random vector formula_488 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 the financial field 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. 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. Optimization theory. It is sometimes useful to find the minimum bounding ellipse on a set of points. The ellipsoid method is quite useful for solving this problem.