How to Derive the Equation of an Ellipse

Recommended Lessons

Not sure where to start? These are the lessons and games we recommend most to students, parents and teachers on Basic-mathematics.com. Each lesson explains the topic in plain language, walks you through worked examples step by step, and ends with practice so you can check your understanding. Pick one below, or use the menu to find lessons on fractions, algebra, geometry, statistics and more.

In order to derive the equation of an ellipse centered at the origin, consider an ellipse that is elongated horizontally in a rectangular coordinate system and whose center is placed at the origin.

The foci are on the x-axis at (−c, 0) and (c, 0) and the vertices are also on the x-axis at (−a, 0) and (a, 0).

Let (x, y) be the coordinates of any point on the ellipse. According to the definition of an ellipse, d1 + d2 = constant.

It is very important to understand the meaning of the equation d1 + d2 = constant in order to derive the equation of an ellipse.

Derive the equation of an ellipse

We will use the distance formula a few times in order to find different expressions for d1 and d2 and these expressions will help us derive the equation of an ellipse.

Step 1: Find the Constant

What will be a little tricky is to find what the constant is equal to. First, we will look for the constant, so gather all of your mental energy. The meaning of the definition is that no matter where you put (x, y), you will always get the same constant.

Since it does not matter where we put (x, y), we should put it on the x-axis. Why? It is because it will be easier to find what the constant is equal to. So here we go! The figure below shows the point (x, y) on the x-axis.

Deriving the equation of an ellipse

Notice that d1 is the distance between (−c, 0) and (a, 0) and d2 is the distance between (c, 0) and (a, 0).

Using the distance formula,

d1= √(a − (−c))² + (0 − 0)²= √(a + c)²= a + c
d2= √(a − c)² + (0 − 0)²= √(a − c)²= a − c
d1 + d2 = c + a + a − c = 2a

We Have Reached a Milestone Trying to Derive the Equation of an Ellipse.

Now, we need to find expressions for d1 and d2. For this, we will need this figure.

Derive the equation of an ellipse

Notice that when using this figure, d1 is the distance between (−c, 0) and (x, y) and d2 is the distance between (c, 0) and (x, y).

d1= √(x − (−c))² + (y − 0)²= √(x + c)² + y²
d2= √(x − c)² + (y − 0)²= √(x − c)² + y²

Let us put it all together! d1 + d2 = 2a

√(x + c)² + y² + √(x − c)² + y²= 2a

Step 2: Get Rid of the Square Roots

1Isolate a radical

√(x + c)² + y²= 2a − √(x − c)² + y²

2Square both sides

(x + c)² + y²= 4a² − 4a√(x − c)² + y²+ (x − c)² + y²

3Expand (x + c)² and (x − c)²

x² + 2cx + c² + y²= 4a² − 4a√(x − c)² + y²+ x² − 2cx + c² + y²

4Simplify by getting rid of x², c², and y² from both sides of the equation.

2cx= 4a² − 4a√(x − c)² + y² − 2cx

5Isolate the radical

4cx − 4a²= −4a√(x − c)² + y²

6Divide both sides by 4

cx − a²= −a√(x − c)² + y²

7Square both sides

(cx − a²)²= a²[(x − c)² + y²]

8Expand (cx − a²)² and (x − c)²

c²x² − 2a²cx + a⁴= a²(x² − 2cx + c² + y²)c²x² − 2a²cx + a⁴= a²x² − 2a²cx + a²c² + a²y²

9Simplify by getting rid of − 2a²cx

c²x² + a⁴= a²x² + a²c² + a²y²

10Rearrange the terms so that terms that have the variable x or the variable y are on the same side of the equation and everything else is on the other side of the equation.

c²x² − a²x² − a²y²= a²c² − a⁴

11Factor out x² and a²

x²(c² − a²) − a²y²= a²(c² − a²)

12Multiply both sides by −1

x²(a² − c²) + a²y²= a²(a² − c²)

Step 3: Find b

We just need 1 little piece of information to finish this problem off and derive the equation of an ellipse! Take a look at the following figure. We now place (x, y) on the y-axis. We also define co-vertices located on the y-axis at (0, b) and (0, −b).

Derive the equation of an ellipse
d1= √(b − 0)² + (0 − (−c))²= √b² + c²
d2= √(b − 0)² + (0 − c)²= √b² + c²

d1 + d2 = 2a

√b² + c² + √b² + c²= 2a2√b² + c²= 2a

Divide both sides by 2

√b² + c² = a

Square both sides

b² + c² = a²

Isolate b²

b² = a² − c²

Step 4: Substitute and Simplify

Substitute b² for a² − c² in x²(a² − c²) + a²y² = a²(a² − c²)

x²b² + a²y² = a²b²

Divide both sides by a²b²

x²b²a²b² + a²y²a²b² = a²b²a²b²
x²a² + y²b² = 1

This is how to derive the equation of an ellipse when the horizontal major axis is centered at the origin.