Example
Use c squared equals a squared minus b squared to locate foci.
highlighted = computed this step
Step 1 — Read a and b
Read a and b for the ellipse.
a=5b=3
Step 2 — Compute c squared
Subtract b squared from a squared.
c2=25−9=16
Step 3 — Take the square root
Take the square root to find c.
Step 4 — Foci
Place the foci c units from the center.
F=(-4,0)G=(4,0)
Step 5 — Plot the foci
Plot the ellipse and foci.
Coordinate plot
Step 6 — Result
State c and the two foci.
c=4F=(-4,0)G=(4,0)
ellipse-foci
For a horizontal ellipse with a > b, use c^2 = a^2 - b^2. The foci are (-c, 0) and (c, 0).