
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 , a number ranging from (the limiting case of a circle) to (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.
Analytically, the equation of a standard ellipse centered at the origin with width and height is:
Assuming , the foci are for (where , the distance from the center to a focus, is the Linear eccentricity). The standard parametric equation is:
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. This constant ratio is the above-mentioned eccentricity:
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 Sun–planet 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, ἔλλειψις (élleipsis, "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 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
, which have distance
to the center. The distance
of the foci to the center is called the focal distance or linear eccentricity. The quotient
is defined as the eccentricity.
The case yields a circle and is included as a special type of ellipse.
The equation can be viewed in a different way (see figure):
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

- a: semi-major axis,
- b: semi-minor axis,
- c: linear eccentricity,
- p: semi-latus rectum (usually
).
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:
- the foci are the points
,
- the vertices are
.
For an arbitrary point the distance to the focus
is
and to the other focus
. Hence the point
is on the ellipse whenever:
Removing the radicals by suitable squarings and using (see diagram) produces the standard equation of the ellipse:
or, solved for y:
The width and height parameters are called the semi-major and semi-minor axes. The top and bottom points
are the co-vertices. The distances from a point
on the ellipse to the left and right foci are
and
.
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 and
, respectively, i.e.
In principle, the canonical ellipse equation may have
(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
and
and the parameter names
and
Linear eccentricity
This is the distance from the center to a focus: .
Eccentricity

The eccentricity can be expressed as:
assuming An ellipse with equal axes (
) 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 . A calculation shows:
The semi-latus rectum is equal to the radius of curvature at the vertices (see section curvature).
Tangent
An arbitrary line 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
of the ellipse
has the coordinate equation:
A vector parametric equation of the tangent is:
Proof: Let be a point on an ellipse and
be the equation of any line
containing
. Inserting the line's equation into the ellipse equation and respecting
yields:
There are then cases:
Then line
and the ellipse have only point
in common, and
is a tangent. The tangent direction has perpendicular vector
, so the tangent line has equation
for some
. Because
is on the tangent and the ellipse, one obtains
.
Then line
has a second point in common with the ellipse, and is a secant.
Using (1) one finds that is a tangent vector at point
, which proves the vector equation.
If and
are two points of the ellipse such that
, then the points lie on two conjugate diameters (see below). (If
, the ellipse is a circle and "conjugate" means "orthogonal".)
Shifted ellipse
If the standard ellipse is shifted to have center , its equation is
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 of the Cartesian plane that, in non-degenerate cases, satisfy the implicit equation
provided
To distinguish the degenerate cases from the non-degenerate case, let ∆ be the determinant
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.: 63
The general equation's coefficients can be obtained from known semi-major axis , semi-minor axis
, center coordinates
, and rotation angle
(the angle from the positive horizontal axis to the ellipse's major axis) using the formulae:
These expressions can be derived from the canonical equation by a Euclidean transformation of the coordinates
:
Conversely, the canonical form parameters can be obtained from the general-form coefficients by the equations:
where atan2 is the 2-argument arctangent function.
Parametric representation


Standard parametric representation
Using trigonometric functions, a parametric representation of the standard ellipse is:
The parameter t (called the eccentric anomaly in astronomy) is not the angle of with the x-axis, but has a geometric meaning due to Philippe de La Hire (see § Drawing ellipses below).
Rational representation
With the substitution and trigonometric formulae one obtains
and the rational parametric equation of an ellipse
which covers any point of the ellipse except the left vertex
.
For this formula represents the right upper quarter of the ellipse moving counter-clockwise with increasing
The left vertex is the limit
Alternately, if the parameter is considered to be a point on the real projective line
, then the corresponding rational parametrization is
Then
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 of the tangent at a point of the ellipse can be obtained from the derivative of the standard representation
:
With help of trigonometric formulae one obtains:
Replacing and
of the standard representation yields:
Here is the slope of the tangent at the corresponding ellipse point,
is the upper and
the lower half of the ellipse. The vertices
, having vertical tangents, are not covered by the representation.
The equation of the tangent at point has the form
. The still unknown
can be determined by inserting the coordinates of the corresponding ellipse point
:
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
.
- Parametric representation
An affine transformation of the Euclidean plane has the form , where
is a regular matrix (with non-zero determinant) and
is an arbitrary vector. If
are the column vectors of the matrix
, the unit circle
,
, is mapped onto the ellipse:
Here is the center and
are the directions of two conjugate diameters, in general not perpendicular.
- Vertices
The four vertices of the ellipse are , for a parameter
defined by:
(If , then
.) This is derived as follows. The tangent vector at point
is:
At a vertex parameter , the tangent is perpendicular to the major/minor axes, so:
Expanding and applying the identities gives the equation for
- Area
From Apollonios theorem (see below) one obtains:
The area of an ellipse is
- Semiaxes
With the abbreviations the statements of Apollonios's theorem can be written as:
Solving this nonlinear system for
yields the semiaxes:
- Implicit representation
Solving the parametric representation for by Cramer's rule and using
, one obtains the implicit representation
Conversely: If the equation
with
of an ellipse centered at the origin is given, then the two vectors point to two conjugate points and the tools developed above are applicable.
Example: For the ellipse with equation the vectors are

- Rotated standard ellipse
For one obtains a parametric representation of the standard ellipse rotated by angle
:
- Ellipse in space
The definition of an ellipse in this section gives a parametric representation of an arbitrary ellipse, even in space, if one allows 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 measured from the major axis, the ellipse's equation is: 75
where
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 still measured from the major axis, the ellipse's equation is
where the sign in the denominator is negative if the reference direction points towards the center (as illustrated on the right), and positive if that direction points away from the center.
The angle is called the true anomaly of the point. The numerator
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 from it, is called a directrix of the ellipse (see diagram).
- For an arbitrary point
of the ellipse, the quotient of the distance to one focus and to the corresponding directrix (see diagram) is equal to the eccentricity:
The proof for the pair follows from the fact that
and
satisfy the equation
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
(focus), any line
(directrix) not through
, and any real number
with
the ellipse is the locus of points for which the quotient of the distances to the point and to the line is
that is:
The extension to , 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.
(The choice yields a parabola, and if
, a hyperbola.)

- Proof
Let , and assume
is a point on the curve. The directrix
has equation
. With
, the relation
produces the equations
and
The substitution yields
This is the equation of an ellipse (), or a parabola (
), or a hyperbola (
). All of these non-degenerate conics have, in common, the origin as a vertex (see diagram).
If , introduce new parameters
so that
, and then the equation above becomes
which is the equation of an ellipse with center , the x-axis as major axis, and the major/minor semi axis
.

- Construction of a directrix
Because of point
of directrix
(see diagram) and focus
are inverse with respect to the circle inversion at circle
(in diagram green). Hence
can be constructed as shown in the diagram. Directrix
is the perpendicular to the main axis at point
.
- General ellipse
If the focus is and the directrix
, one obtains the equation
(The right side of the equation uses the Hesse normal form of a line to calculate the distance .)
Focus-to-focus reflection property


An ellipse possesses the following property:
- The normal at a point
bisects the angle between the lines
.
- Proof
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 be the point on the line
with distance
to the focus
, where
is the semi-major axis of the ellipse. Let line
be the external angle bisector of the lines
and
Take any other point
on
By the triangle inequality and the angle bisector theorem,
so
must be outside the ellipse. As this is true for every choice of
only intersects the ellipse at the single point
so must be the tangent line.
- Application
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.)
- Definition
Two diameters of an ellipse are conjugate if the midpoints of chords parallel to
lie on
From the diagram one finds:
- Two diameters
of an ellipse are conjugate whenever the tangents at
and
are parallel to
.
Conjugate diameters in an ellipse generalize orthogonal diameters in a circle.
In the parametric equation for a general ellipse given above,
any pair of points belong to a diameter, and the pair
belong to its conjugate diameter.
For the common parametric representation of the ellipse with equation
one gets: The points
(signs: (+,+) or (−,−) )
(signs: (−,+) or (+,−) )
- are conjugate and
In case of a circle the last equation collapses to
Theorem of Apollonios on conjugate diameters

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 e displaystyle e a number ranging from e 0 displaystyle e 0 the limiting case of a circle to e 1 displaystyle e 1 the limiting case of infinite elongation no longer an ellipse but a parabola An ellipse red obtained as the intersection of a cone with an inclined plane Ellipse notationsEllipses examples with increasing eccentricity 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 Analytically the equation of a standard ellipse centered at the origin with width 2a displaystyle 2a and height 2b displaystyle 2b is x2a2 y2b2 1 displaystyle frac x 2 a 2 frac y 2 b 2 1 Assuming a b displaystyle a geq b the foci are c 0 displaystyle pm c 0 for c a2 b2 textstyle c sqrt a 2 b 2 where c displaystyle c the distance from the center to a focus is the Linear eccentricity The standard parametric equation is x y acos t bsin t for0 t 2p displaystyle x y a cos t b sin t quad text for quad 0 leq t leq 2 pi 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 This constant ratio is the above mentioned eccentricity e ca 1 b2a2 displaystyle e frac c a sqrt 1 frac b 2 a 2 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 Sun planet 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 ἔlleipsis elleipsis omission was given by Apollonius of Perga in his Conics Definition as locus of pointsEllipse definition by sum of distances to fociEllipse definition by focus and circular directrix An ellipse can be defined geometrically as a set or locus of points in the Euclidean plane Given two fixed points F1 F2 displaystyle F 1 F 2 called the foci and a distance 2a displaystyle 2a which is greater than the distance between the foci the ellipse is the set of points P displaystyle P such that the sum of the distances PF1 PF2 displaystyle PF 1 PF 2 is equal to 2a displaystyle 2a E P R2 PF2 PF1 2a displaystyle E left P in mathbb R 2 mid left PF 2 right left PF 1 right 2a right The midpoint C displaystyle C 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 V1 V2 displaystyle V 1 V 2 which have distance a displaystyle a to the center The distance c displaystyle c of the foci to the center is called the focal distance or linear eccentricity The quotient e ca displaystyle e tfrac c a is defined as the eccentricity The case F1 F2 displaystyle F 1 F 2 yields a circle and is included as a special type of ellipse The equation PF2 PF1 2a displaystyle left PF 2 right left PF 1 right 2a can be viewed in a different way see figure If c2 displaystyle c 2 is the circle with center F2 displaystyle F 2 and radius 2a displaystyle 2a then the distance of a point P displaystyle P to the circle c2 displaystyle c 2 equals the distance to the focus F1 displaystyle F 1 PF1 Pc2 displaystyle left PF 1 right left Pc 2 right c2 displaystyle c 2 is called the circular directrix related to focus F2 displaystyle F 2 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 coordinatesShape parameters a semi major axis b semi minor axis c linear eccentricity p semi latus rectum usually ℓ displaystyle ell 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 the foci are the points F1 c 0 F2 c 0 displaystyle F 1 c 0 F 2 c 0 the vertices are V1 a 0 V2 a 0 displaystyle V 1 a 0 V 2 a 0 For an arbitrary point x y displaystyle x y the distance to the focus c 0 displaystyle c 0 is x c 2 y2 textstyle sqrt x c 2 y 2 and to the other focus x c 2 y2 textstyle sqrt x c 2 y 2 Hence the point x y displaystyle x y is on the ellipse whenever x c 2 y2 x c 2 y2 2a displaystyle sqrt x c 2 y 2 sqrt x c 2 y 2 2a Removing the radicals by suitable squarings and using b2 a2 c2 displaystyle b 2 a 2 c 2 see diagram produces the standard equation of the ellipse x2a2 y2b2 1 displaystyle frac x 2 a 2 frac y 2 b 2 1 or solved for y y baa2 x2 a2 x2 1 e2 displaystyle y pm frac b a sqrt a 2 x 2 pm sqrt left a 2 x 2 right left 1 e 2 right The width and height parameters a b displaystyle a b are called the semi major and semi minor axes The top and bottom points V3 0 b V4 0 b displaystyle V 3 0 b V 4 0 b are the co vertices The distances from a point x y displaystyle x y on the ellipse to the left and right foci are a ex displaystyle a ex and a ex displaystyle a ex 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 a displaystyle a and b displaystyle b respectively i e a b gt 0 displaystyle a geq b gt 0 In principle the canonical ellipse equation x2a2 y2b2 1 displaystyle tfrac x 2 a 2 tfrac y 2 b 2 1 may have a lt b displaystyle a lt b 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 x displaystyle x and y displaystyle y and the parameter names a displaystyle a and b displaystyle b Linear eccentricity This is the distance from the center to a focus c a2 b2 displaystyle c sqrt a 2 b 2 Eccentricity Eccentricity e in terms of semi major a and semi minor b axes e b a 1 The eccentricity can be expressed as e ca 1 ba 2 displaystyle e frac c a sqrt 1 left frac b a right 2 assuming a gt b displaystyle a gt b An ellipse with equal axes a b displaystyle a b 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 ℓ displaystyle ell A calculation shows ℓ b2a a 1 e2 displaystyle ell frac b 2 a a left 1 e 2 right The semi latus rectum ℓ displaystyle ell is equal to the radius of curvature at the vertices see section curvature Tangent An arbitrary line g displaystyle g 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 x1 y1 displaystyle x 1 y 1 of the ellipse x2a2 y2b2 1 displaystyle tfrac x 2 a 2 tfrac y 2 b 2 1 has the coordinate equation x1a2x y1b2y 1 displaystyle frac x 1 a 2 x frac y 1 b 2 y 1 A vector parametric equation of the tangent is x x1y1 s y1a2x1b2 s R displaystyle vec x begin pmatrix x 1 y 1 end pmatrix s left begin array r y 1 a 2 x 1 b 2 end array right quad s in mathbb R Proof Let x1 y1 displaystyle x 1 y 1 be a point on an ellipse and x x1y1 s uv textstyle vec x begin pmatrix x 1 y 1 end pmatrix s begin pmatrix u v end pmatrix be the equation of any line g displaystyle g containing x1 y1 displaystyle x 1 y 1 Inserting the line s equation into the ellipse equation and respecting x12a2 y12b2 1 textstyle frac x 1 2 a 2 frac y 1 2 b 2 1 yields x1 su 2a2 y1 sv 2b2 1 2s x1ua2 y1vb2 s2 u2a2 v2b2 0 displaystyle frac left x 1 su right 2 a 2 frac left y 1 sv right 2 b 2 1 quad Longrightarrow quad 2s left frac x 1 u a 2 frac y 1 v b 2 right s 2 left frac u 2 a 2 frac v 2 b 2 right 0 There are then cases x1a2u y1b2v 0 displaystyle frac x 1 a 2 u frac y 1 b 2 v 0 Then line g displaystyle g and the ellipse have only point x1 y1 displaystyle x 1 y 1 in common and g displaystyle g is a tangent The tangent direction has perpendicular vector x1a2y1b2 displaystyle begin pmatrix frac x 1 a 2 amp frac y 1 b 2 end pmatrix so the tangent line has equation x1a2x y1b2y k textstyle frac x 1 a 2 x tfrac y 1 b 2 y k for some k displaystyle k Because x1 y1 displaystyle x 1 y 1 is on the tangent and the ellipse one obtains k 1 displaystyle k 1 x1a2u y1b2v 0 displaystyle frac x 1 a 2 u frac y 1 b 2 v neq 0 Then line g displaystyle g has a second point in common with the ellipse and is a secant Using 1 one finds that y1a2x1b2 displaystyle begin pmatrix y 1 a 2 amp x 1 b 2 end pmatrix is a tangent vector at point x1 y1 displaystyle x 1 y 1 which proves the vector equation If x1 y1 displaystyle x 1 y 1 and u v displaystyle u v are two points of the ellipse such that x1ua2 y1vb2 0 textstyle frac x 1 u a 2 tfrac y 1 v b 2 0 then the points lie on two conjugate diameters see below If a b displaystyle a b the ellipse is a circle and conjugate means orthogonal Shifted ellipse If the standard ellipse is shifted to have center x y displaystyle left x circ y circ right its equation is x x 2a2 y y 2b2 1 displaystyle frac left x x circ right 2 a 2 frac left y y circ right 2 b 2 1 The axes are still parallel to the x and y axes General ellipse A general ellipse in the plane can be uniquely described as a bivariate quadratic equation of Cartesian coordinates or using center semi major and semi minor axes and angle In analytic geometry the ellipse is defined as a quadric the set of points x y displaystyle x y of the Cartesian plane that in non degenerate cases satisfy the implicit equationAx2 Bxy Cy2 Dx Ey F 0 displaystyle Ax 2 Bxy Cy 2 Dx Ey F 0 provided B2 4AC lt 0 displaystyle B 2 4AC lt 0 To distinguish the degenerate cases from the non degenerate case let be the determinant D A12B12D12BC12E12D12EF ACF 14BDE 14 AE2 CD2 FB2 displaystyle Delta begin vmatrix A amp frac 1 2 B amp frac 1 2 D frac 1 2 B amp C amp frac 1 2 E frac 1 2 D amp frac 1 2 E amp F end vmatrix ACF tfrac 1 4 BDE tfrac 1 4 AE 2 CD 2 FB 2 Then the ellipse is a non degenerate real ellipse if and only if C lt 0 If C gt 0 we have an imaginary ellipse and if 0 we have a point ellipse 63 The general equation s coefficients can be obtained from known semi major axis a displaystyle a semi minor axis b displaystyle b center coordinates x y displaystyle left x circ y circ right and rotation angle 8 displaystyle theta the angle from the positive horizontal axis to the ellipse s major axis using the formulae A a2sin2 8 b2cos2 8B 2 b2 a2 sin 8cos 8C a2cos2 8 b2sin2 8D 2Ax By E Bx 2Cy F Ax 2 Bx y Cy 2 a2b2 displaystyle begin aligned A amp a 2 sin 2 theta b 2 cos 2 theta amp B amp 2 left b 2 a 2 right sin theta cos theta 1ex C amp a 2 cos 2 theta b 2 sin 2 theta amp D amp 2Ax circ By circ 1ex E amp Bx circ 2Cy circ amp F amp Ax circ 2 Bx circ y circ Cy circ 2 a 2 b 2 end aligned These expressions can be derived from the canonical equation X2a2 Y2b2 1 displaystyle frac X 2 a 2 frac Y 2 b 2 1 by a Euclidean transformation of the coordinates X Y displaystyle X Y X x x cos 8 y y sin 8 Y x x sin 8 y y cos 8 displaystyle begin aligned X amp left x x circ right cos theta left y y circ right sin theta Y amp left x x circ right sin theta left y y circ right cos theta end aligned Conversely the canonical form parameters can be obtained from the general form coefficients by the equations a b 2 AE2 CD2 BDE B2 4AC F A C A C 2 B2 B2 4AC x 2CD BEB2 4AC y 2AE BDB2 4AC 8 12atan2 B C A displaystyle begin aligned a b amp frac sqrt 2 big AE 2 CD 2 BDE B 2 4AC F big big A C pm sqrt A C 2 B 2 big B 2 4AC x circ amp frac 2CD BE B 2 4AC 5mu y circ amp frac 2AE BD B 2 4AC 5mu theta amp tfrac 1 2 operatorname atan2 B C A end aligned where atan2 is the 2 argument arctangent function Parametric representationThe construction of points based on the parametric equation and the interpretation of parameter t which is due to de la HireEllipse points calculated by the rational representation with equally spaced parameters Du 0 2 displaystyle Delta u 0 2 Standard parametric representation Using trigonometric functions a parametric representation of the standard ellipse x2a2 y2b2 1 displaystyle tfrac x 2 a 2 tfrac y 2 b 2 1 is x y acos t bsin t 0 t lt 2p displaystyle x y a cos t b sin t 0 leq t lt 2 pi The parameter t called the eccentric anomaly in astronomy is not the angle of x t y t displaystyle x t y t with the x axis but has a geometric meaning due to Philippe de La Hire see Drawing ellipses below Rational representation With the substitution u tan t2 textstyle u tan left frac t 2 right and trigonometric formulae one obtains cos t 1 u21 u2 sin t 2u1 u2 displaystyle cos t frac 1 u 2 1 u 2 quad sin t frac 2u 1 u 2 and the rational parametric equation of an ellipse x u a1 u21 u2y u b2u1 u2 lt u lt displaystyle begin cases x u a dfrac 1 u 2 1 u 2 10mu y u b dfrac 2u 1 u 2 10mu infty lt u lt infty end cases which covers any point of the ellipse x2a2 y2b2 1 displaystyle tfrac x 2 a 2 tfrac y 2 b 2 1 except the left vertex a 0 displaystyle a 0 For u 0 1 displaystyle u in 0 1 this formula represents the right upper quarter of the ellipse moving counter clockwise with increasing u displaystyle u The left vertex is the limit limu x u y u a 0 textstyle lim u to pm infty x u y u a 0 Alternately if the parameter u v displaystyle u v is considered to be a point on the real projective line P R textstyle mathbf P mathbf R then the corresponding rational parametrization is u v av2 u2v2 u2 b2uvv2 u2 displaystyle u v mapsto left a frac v 2 u 2 v 2 u 2 b frac 2uv v 2 u 2 right Then 1 0 a 0 textstyle 1 0 mapsto a 0 Rational representations of conic sections are commonly used in computer aided design see Bezier curve Tangent slope as parameter A parametric representation which uses the slope m displaystyle m of the tangent at a point of the ellipse can be obtained from the derivative of the standard representation x t acos t bsin t T displaystyle vec x t a cos t b sin t mathsf T x t asin t bcos t T m bacot t cot t mab displaystyle vec x t a sin t b cos t mathsf T quad rightarrow quad m frac b a cot t quad rightarrow quad cot t frac ma b With help of trigonometric formulae one obtains cos t cot t 1 cot2 t ma m2a2 b2 sin t 1 1 cot2 t b m2a2 b2 displaystyle cos t frac cot t pm sqrt 1 cot 2 t frac ma pm sqrt m 2 a 2 b 2 quad quad sin t frac 1 pm sqrt 1 cot 2 t frac b pm sqrt m 2 a 2 b 2 Replacing cos t displaystyle cos t and sin t displaystyle sin t of the standard representation yields c m ma2 m2a2 b2 b2 m2a2 b2 m R displaystyle vec c pm m left frac ma 2 pm sqrt m 2 a 2 b 2 frac b 2 pm sqrt m 2 a 2 b 2 right m in mathbb R Here m displaystyle m is the slope of the tangent at the corresponding ellipse point c displaystyle vec c is the upper and c displaystyle vec c the lower half of the ellipse The vertices a 0 displaystyle pm a 0 having vertical tangents are not covered by the representation The equation of the tangent at point c m displaystyle vec c pm m has the form y mx n displaystyle y mx n The still unknown n displaystyle n can be determined by inserting the coordinates of the corresponding ellipse point c m displaystyle vec c pm m y mx m2a2 b2 displaystyle y mx pm sqrt m 2 a 2 b 2 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 Ellipse as an affine image of the unit circle Another definition of an ellipse uses affine transformations Any ellipse is an affine image of the unit circle with equation x2 y2 1 displaystyle x 2 y 2 1 Parametric representation An affine transformation of the Euclidean plane has the form x f 0 Ax displaystyle vec x mapsto vec f 0 A vec x where A displaystyle A is a regular matrix with non zero determinant and f 0 displaystyle vec f 0 is an arbitrary vector If f 1 f 2 displaystyle vec f 1 vec f 2 are the column vectors of the matrix A displaystyle A the unit circle cos t sin t displaystyle cos t sin t 0 t 2p displaystyle 0 leq t leq 2 pi is mapped onto the ellipse x p t f 0 f 1cos t f 2sin t displaystyle vec x vec p t vec f 0 vec f 1 cos t vec f 2 sin t Here f 0 displaystyle vec f 0 is the center and f 1 f 2 displaystyle vec f 1 vec f 2 are the directions of two conjugate diameters in general not perpendicular Vertices The four vertices of the ellipse are p t0 p t0 p2 p t0 p displaystyle vec p t 0 vec p left t 0 pm tfrac pi 2 right vec p left t 0 pi right for a parameter t t0 displaystyle t t 0 defined by cot 2t0 f 12 f 222f 1 f 2 displaystyle cot 2t 0 frac vec f 1 2 vec f 2 2 2 vec f 1 cdot vec f 2 If f 1 f 2 0 displaystyle vec f 1 cdot vec f 2 0 then t0 0 displaystyle t 0 0 This is derived as follows The tangent vector at point p t displaystyle vec p t is p t f 1sin t f 2cos t displaystyle vec p t vec f 1 sin t vec f 2 cos t At a vertex parameter t t0 displaystyle t t 0 the tangent is perpendicular to the major minor axes so 0 p t p t f 0 f 1sin t f 2cos t f 1cos t f 2sin t displaystyle 0 vec p t cdot left vec p t vec f 0 right left vec f 1 sin t vec f 2 cos t right cdot left vec f 1 cos t vec f 2 sin t right Expanding and applying the identities cos2 t sin2 t cos 2t 2sin tcos t sin 2t displaystyle cos 2 t sin 2 t cos 2t 2 sin t cos t sin 2t gives the equation for t t0 displaystyle t t 0 Area From Apollonios theorem see below one obtains The area of an ellipse x f 0 f 1cos t f 2sin t displaystyle vec x vec f 0 vec f 1 cos t vec f 2 sin t is A p det f 1 f 2 displaystyle A pi left det vec f 1 vec f 2 right Semiaxes With the abbreviations M f 12 f 22 N det f 1 f 2 displaystyle M vec f 1 2 vec f 2 2 N left det vec f 1 vec f 2 right the statements of Apollonios s theorem can be written as a2 b2 M ab N displaystyle a 2 b 2 M quad ab N Solving this nonlinear system for a b displaystyle a b yields the semiaxes a 12 M 2N M 2N b 12 M 2N M 2N displaystyle begin aligned a amp frac 1 2 sqrt M 2N sqrt M 2N 1ex b amp frac 1 2 sqrt M 2N sqrt M 2N end aligned Implicit representation Solving the parametric representation for cos t sin t displaystyle cos t sin t by Cramer s rule and using cos2 t sin2 t 1 0 displaystyle cos 2 t sin 2 t 1 0 one obtains the implicit representation det x f 0 f 2 2 det f 1 x f 0 2 det f 1 f 2 2 0 displaystyle det left vec x vec f 0 vec f 2 right 2 det left vec f 1 vec x vec f 0 right 2 det left vec f 1 vec f 2 right 2 0 Conversely If the equation x2 2cxy d2y2 e2 0 displaystyle x 2 2cxy d 2 y 2 e 2 0 with d2 c2 gt 0 displaystyle d 2 c 2 gt 0 of an ellipse centered at the origin is given then the two vectors f 1 e0 f 2 ed2 c2 c1 displaystyle vec f 1 e choose 0 quad vec f 2 frac e sqrt d 2 c 2 c choose 1 point to two conjugate points and the tools developed above are applicable Example For the ellipse with equation x2 2xy 3y2 1 0 displaystyle x 2 2xy 3y 2 1 0 the vectors are f 1 10 f 2 12 11 displaystyle vec f 1 1 choose 0 quad vec f 2 frac 1 sqrt 2 1 choose 1 Whirls nested scaled and rotated ellipses The spiral is not drawn we see it as the locus of points where the ellipses are especially close to each other Rotated standard ellipse For f 0 00 f 1 a cos 8sin 8 f 2 b sin 8cos 8 displaystyle vec f 0 0 choose 0 vec f 1 a cos theta choose sin theta vec f 2 b sin theta choose cos theta one obtains a parametric representation of the standard ellipse rotated by angle 8 displaystyle theta x x8 t acos 8cos t bsin 8sin t y y8 t asin 8cos t bcos 8sin t displaystyle begin aligned x amp x theta t a cos theta cos t b sin theta sin t y amp y theta t a sin theta cos t b cos theta sin t end aligned Ellipse in space The definition of an ellipse in this section gives a parametric representation of an arbitrary ellipse even in space if one allows f 0 f 1 f 2 displaystyle vec f 0 vec f 1 vec f 2 to be vectors in space Polar formsPolar form relative to center Polar coordinates centered at the center In polar coordinates with the origin at the center of the ellipse and with the angular coordinate 8 displaystyle theta measured from the major axis the ellipse s equation is 75 r 8 ab bcos 8 2 asin 8 2 b1 ecos 8 2 displaystyle r theta frac ab sqrt b cos theta 2 a sin theta 2 frac b sqrt 1 e cos theta 2 where e displaystyle e is the eccentricity not Euler s number Polar form relative to focus Polar coordinates centered at focus If instead we use polar coordinates with the origin at one focus with the angular coordinate 8 0 displaystyle theta 0 still measured from the major axis the ellipse s equation is r 8 a 1 e2 1 ecos 8 displaystyle r theta frac a 1 e 2 1 pm e cos theta where the sign in the denominator is negative if the reference direction 8 0 displaystyle theta 0 points towards the center as illustrated on the right and positive if that direction points away from the center The angle 8 displaystyle theta is called the true anomaly of the point The numerator ℓ a 1 e2 displaystyle ell a 1 e 2 is the semi latus rectum Eccentricity and the directrix propertyEllipse directrix property Each of the two lines parallel to the minor axis and at a distance of d a2c ae textstyle d frac a 2 c frac a e from it is called a directrix of the ellipse see diagram For an arbitrary point P displaystyle P of the ellipse the quotient of the distance to one focus and to the corresponding directrix see diagram is equal to the eccentricity PF1 Pl1 PF2 Pl2 e ca displaystyle frac left PF 1 right left Pl 1 right frac left PF 2 right left Pl 2 right e frac c a The proof for the pair F1 l1 displaystyle F 1 l 1 follows from the fact that PF1 2 x c 2 y2 Pl1 2 x a2c 2 textstyle left PF 1 right 2 x c 2 y 2 left Pl 1 right 2 left x tfrac a 2 c right 2 and y2 b2 b2a2x2 displaystyle y 2 b 2 tfrac b 2 a 2 x 2 satisfy the equation PF1 2 c2a2 Pl1 2 0 displaystyle left PF 1 right 2 frac c 2 a 2 left Pl 1 right 2 0 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 F displaystyle F focus any line l displaystyle l directrix not through F displaystyle F and any real number e displaystyle e with 0 lt e lt 1 displaystyle 0 lt e lt 1 the ellipse is the locus of points for which the quotient of the distances to the point and to the line is e displaystyle e that is E P PF Pl e displaystyle E left P left frac PF Pl e right right The extension to e 0 displaystyle e 0 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 The choice e 1 displaystyle e 1 yields a parabola and if e gt 1 displaystyle e gt 1 a hyperbola Pencil of conics with a common vertex and common semi latus rectumProof Let F f 0 e gt 0 displaystyle F f 0 e gt 0 and assume 0 0 displaystyle 0 0 is a point on the curve The directrix l displaystyle l has equation x fe displaystyle x tfrac f e With P x y displaystyle P x y the relation PF 2 e2 Pl 2 displaystyle PF 2 e 2 Pl 2 produces the equations x f 2 y2 e2 x fe 2 ex f 2 displaystyle x f 2 y 2 e 2 left x frac f e right 2 ex f 2 and x2 e2 1 2xf 1 e y2 0 displaystyle x 2 left e 2 1 right 2xf 1 e y 2 0 The substitution p f 1 e displaystyle p f 1 e yields x2 e2 1 2px y2 0 displaystyle x 2 left e 2 1 right 2px y 2 0 This is the equation of an ellipse e lt 1 displaystyle e lt 1 or a parabola e 1 displaystyle e 1 or a hyperbola e gt 1 displaystyle e gt 1 All of these non degenerate conics have in common the origin as a vertex see diagram If e lt 1 displaystyle e lt 1 introduce new parameters a b displaystyle a b so that 1 e2 b2a2 and p b2a displaystyle 1 e 2 tfrac b 2 a 2 text and p tfrac b 2 a and then the equation above becomes x a 2a2 y2b2 1 displaystyle frac x a 2 a 2 frac y 2 b 2 1 which is the equation of an ellipse with center a 0 displaystyle a 0 the x axis as major axis and the major minor semi axis a b displaystyle a b Construction of a directrixConstruction of a directrix Because of c a2c a2 displaystyle c cdot tfrac a 2 c a 2 point L1 displaystyle L 1 of directrix l1 displaystyle l 1 see diagram and focus F1 displaystyle F 1 are inverse with respect to the circle inversion at circle x2 y2 a2 displaystyle x 2 y 2 a 2 in diagram green Hence L1 displaystyle L 1 can be constructed as shown in the diagram Directrix l1 displaystyle l 1 is the perpendicular to the main axis at point L1 displaystyle L 1 General ellipse If the focus is F f1 f2 displaystyle F left f 1 f 2 right and the directrix ux vy w 0 displaystyle ux vy w 0 one obtains the equation x f1 2 y f2 2 e2 ux vy w 2u2 v2 displaystyle left x f 1 right 2 left y f 2 right 2 e 2 frac left ux vy w right 2 u 2 v 2 The right side of the equation uses the Hesse normal form of a line to calculate the distance Pl displaystyle Pl Focus to focus reflection propertyEllipse the tangent bisects the supplementary angle of the angle between the lines to the foci Rays from one focus reflect off the ellipse to pass through the other focus An ellipse possesses the following property The normal at a point P displaystyle P bisects the angle between the lines PF1 PF2 displaystyle overline PF 1 overline PF 2 Proof 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 L displaystyle L be the point on the line PF2 displaystyle overline PF 2 with distance 2a displaystyle 2a to the focus F2 displaystyle F 2 where a displaystyle a is the semi major axis of the ellipse Let line w displaystyle w be the external angle bisector of the lines PF1 displaystyle overline PF 1 and PF2 displaystyle overline PF 2 Take any other point Q displaystyle Q on w displaystyle w By the triangle inequality and the angle bisector theorem 2a LF2 lt displaystyle 2a left LF 2 right lt QF2 QL displaystyle left QF 2 right left QL right QF2 QF1 displaystyle left QF 2 right left QF 1 right so Q displaystyle Q must be outside the ellipse As this is true for every choice of Q displaystyle Q w displaystyle w only intersects the ellipse at the single point P displaystyle P so must be the tangent line Application 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 diametersDefinition of conjugate diameters Orthogonal diameters of a circle with a square of tangents midpoints of parallel chords and an affine image which is an ellipse with conjugate diameters a parallelogram of tangents and midpoints of chords 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 Definition Two diameters d1 d2 displaystyle d 1 d 2 of an ellipse are conjugate if the midpoints of chords parallel to d1 displaystyle d 1 lie on d2 displaystyle d 2 From the diagram one finds Two diameters P1Q1 P2Q2 displaystyle overline P 1 Q 1 overline P 2 Q 2 of an ellipse are conjugate whenever the tangents at P1 displaystyle P 1 and Q1 displaystyle Q 1 are parallel to P2Q2 displaystyle overline P 2 Q 2 Conjugate diameters in an ellipse generalize orthogonal diameters in a circle In the parametric equation for a general ellipse given above x p t f 0 f 1cos t f 2sin t displaystyle vec x vec p t vec f 0 vec f 1 cos t vec f 2 sin t any pair of points p t p t p displaystyle vec p t vec p t pi belong to a diameter and the pair p t p2 p t p2 displaystyle vec p left t tfrac pi 2 right vec p left t tfrac pi 2 right belong to its conjugate diameter For the common parametric representation acos t bsin t displaystyle a cos t b sin t of the ellipse with equation x2a2 y2b2 1 displaystyle tfrac x 2 a 2 tfrac y 2 b 2 1 one gets The points x1 y1 acos t bsin t displaystyle x 1 y 1 pm a cos t pm b sin t quad signs or x2 y2 asin t bcos t displaystyle x 2 y 2 color red mp a sin t pm b cos t quad signs or are conjugate and x1x2a2 y1y2b2 0 displaystyle frac x 1 x 2 a 2 frac y 1 y 2 b 2 0 In case of a circle the last equation collapses to x1x2 y1y2 0 displaystyle x 1 x 2 y 1 y 2 0 Theorem of Apollonios on conjugate diameters Theorem of Apollonios