For AI agents: use /llms.txt for the Nakafa content index.
An ellipse can appear in a planetary orbit or in the shadow of a circle lit from an angle. Its geometric definition uses the distances to two fixed points.
An ellipse is the set of all points for which the sum of the distances to two fixed points is constant . Those fixed points are the foci . This definition can be modeled with two nails, a closed loop of string, and a pencil. Anchor the string at the nails, pull it taut with the pencil, and trace a full curve. The result is an ellipse.
In the visualization, P P P lies on the ellipse. Its distance to F 1 F_1 F 1 , labeled r 1 r_1 r 1 , plus its distance to F 2 F_2 F 2 , labeled r 2 r_2 r 2 , has the same value for every point on the curve. This is the defining property of an ellipse .
Before using the formulas, identify the parts that determine an ellipse's position and shape.
Ellipse center is the midpoint of the ellipse, usually written with letter O O O . All measurements in the ellipse refer to this point.
Foci (F 1 F_1 F 1 and F 2 F_2 F 2 ) are two fixed points that define the ellipse. Their distance from each other is 2 c 2c 2 c .
Major axis is the longest line that passes through the ellipse center and both foci. Its endpoints are points A 1 A_1 A 1 and A 2 A_2 A 2 .
Minor axis is the shortest line that passes through the ellipse center and is perpendicular to the major axis. Its endpoints are points B 1 B_1 B 1 and B 2 B_2 B 2 .
Semi-major (a a a ) is half the length of the major axis, which is the distance from center to the major axis endpoint.
Semi-minor (b b b ) is half the length of the minor axis, which is the distance from center to the minor axis endpoint.
A noncircular ellipse satisfies a > b a > b a > b . In the limiting case a = b a = b a = b , the two semiaxes are equal and the curve is a circle.
The equation form depends on the center and on whether the major axis is horizontal or vertical.
If the ellipse center is at O ( 0 , 0 ) O(0,0) O ( 0 , 0 ) , there are two possible orientations:
When the major axis is parallel to the x x x axis (horizontal), the ellipse equation is:
This equation applies when a > b a > b a > b .
When the major axis is parallel to the y y y axis (vertical), the ellipse equation is:
This equation applies when a > b a > b a > b .
For an ellipse centered at ( h , k ) (h, k) ( h , k ) , the equation becomes:
The three characteristic lengths satisfy:
In this equation, c c c is the distance from the center to either focus.
Eccentricity of an ellipse is defined as:
For a noncircular ellipse, 0 < e < 1 0 < e < 1 0 < e < 1 . As e e e approaches 0 0 0 , the ellipse becomes more circular. As e e e approaches 1 1 1 , it becomes more elongated. The limiting circle has e = 0 e = 0 e = 0 .
Find the equation of an ellipse with center at ( 0 , 0 ) (0,0) ( 0 , 0 ) , major axis length 12 12 12 and minor axis length 8 8 8 , with horizontal major axis.
Given ellipse x 2 25 + y 2 16 = 1 \frac{x^2}{25} + \frac{y^2}{16} = 1 25 x 2 + 16 y 2 = 1 . Find the coordinates of the foci and the eccentricity of the ellipse.
An ellipse has center at ( 3 , − 1 ) (3, -1) ( 3 , − 1 ) , foci at ( 3 , 2 ) (3, 2) ( 3 , 2 ) and ( 3 , − 4 ) (3, -4) ( 3 , − 4 ) , and minor axis length 6 6 6 . Find the equation of the ellipse.
Find the equation of an ellipse that passes through points ( 4 , 3 ) (4, 3) ( 4 , 3 ) and ( 6 , 2 ) (6, 2) ( 6 , 2 ) with center at ( 0 , 0 ) (0, 0) ( 0 , 0 ) and horizontal major axis.
Solution :
Given:
Center at ( 0 , 0 ) (0,0) ( 0 , 0 )
Major axis length is 12 12 12 , so 2 a = 12 2a = 12 2 a = 12 , thus a = 6 a = 6 a = 6
Minor axis length is 8 8 8 , so 2 b = 8 2b = 8 2 b = 8 , thus b = 4 b = 4 b = 4
Horizontal major axis
Ellipse equation with horizontal major axis:
Substituting values a = 6 a = 6 a = 6 and b = 4 b = 4 b = 4 :
Solution :
From equation x 2 25 + y 2 16 = 1 \frac{x^2}{25} + \frac{y^2}{16} = 1 25 x 2 + 16 y 2 = 1 :
Solution :
Given:
Center: ( 3 , − 1 ) (3, -1) ( 3 , − 1 )
Foci: ( 3 , 2 ) (3, 2) ( 3 , 2 ) and ( 3 , − 4 ) (3, -4) ( 3 , − 4 )
Minor axis length is 6 6 6 , so , thus
Solution :
An ellipse with center ( 0 , 0 ) (0,0) ( 0 , 0 ) and horizontal major axis has the equation:
Published: May 26, 2025 . Updated: Sep 1, 2026 .
a 2 = 25 a^2 = 25 a 2 = 25 , so a = 5 a = 5 a = 5
b 2 = 16 b^2 = 16 b 2 = 16 , so b = 4 b = 4 b = 4
Since a 2 > b 2 a^2 > b^2 a 2 > b 2 , the major axis is horizontal.
Foci coordinates: ( ± 3 , 0 ) (\pm 3, 0) ( ± 3 , 0 ) which are ( − 3 , 0 ) (-3, 0) ( − 3 , 0 ) and ( 3 , 0 ) (3, 0) ( 3 , 0 )
Since the foci have the same x x x coordinate (x = 3 x = 3 x = 3 ), the major axis is vertical.
so 2 c = 6 2c = 6 2 c = 6 , thus c = 3 c = 3 c = 3
Use c 2 = a 2 − b 2 c^2 = a^2-b^2 c 2 = a 2 − b 2 to calculate a a a :
Ellipse equation with center ( h , k ) = ( 3 , − 1 ) (h,k) = (3,-1) ( h , k ) = ( 3 , − 1 ) and vertical major axis:
Substituting point ( 4 , 3 ) (4,3) ( 4 , 3 ) :
Substituting point ( 6 , 2 ) (6,2) ( 6 , 2 ) :
Let u = 1 a 2 u = \frac{1}{a^2} u = a 2 1 and v = 1 b 2 v = \frac{1}{b^2} v = b 2 1 , then:
From equation (1 1 1 ): v = 1 − 16 u 9 v = \frac{1-16u}{9} v = 9 1 − 16 u
Substituting into equation (2 2 2 ):
Ellipse equation: x 2 52 + y 2 13 = 1 \frac{x^2}{52} + \frac{y^2}{13} = 1 52 x 2 + 13 y 2 = 1