Suppose that the foci of an ellipse are located at the points
and
. Denote the sum of the distances from a point on the ellipse to the foci by
. Set
.
A point
lies on the ellipse if
![]()
which can be rewritten in the form
![]()

Square both sides of the equation to get
![]()
which simplifies to
![]()
Square both sides again to get
![]()
Use the fact that
to obtain the equation
![]()
Similar steps can be used to find the equation of an ellipse if the foci are located at the points
and
on the
-axis. This time, let
denote the sum of the distance and set
.
The equation
![]()
can be rewritten in the form
![]()