The derivation of the cartesian form for an ellipse is simple and instructive. An ellipse is defined as a the loci of points equidistant to two fixed points called the foci. Assuming that the foci are located at (-c,0) and (c,0) (ie. the ellipse is centered at (0,0)) then the sum of the distance between any point (x,y) and the two foci is constant.
If (x,y) is any point on the ellipse and if d1 is the distance between (x,y) and (-c,0) and d2 is the distance between (x,y) and (c,0), ie
then
- d1 + d2 = 2a
where a is the semimajor axis. From this we can derive the cartesian equation. Substituting:
To simplify we rearrange and square both sides.
Solving for the root and simplifying:
A final squaring
Grouping the x-terms and dividing with a2 - c2
It is easy to see that by the Pythagorean theorem a2 - c2 is the square of the semiminor axis.
Therefore we can substitute
- b2 = a2 - c2
And we have our desired equation: