Loading…

Locus Equation Generator [ellipse from Two Foci]

Math Geometry • Analytical and Advanced Geometry (capstone)

View all topics

Ellipse Locus Calculator – Sum of Distances to Foci

Enter two foci \(F_1(x_1,y_1)\), \(F_2(x_2,y_2)\) and a constant sum \(S\). This tool generates the ellipse locus: the set of points \(P(x,y)\) such that \(PF_1 + PF_2 = S\). It computes \(a,c,b\), outputs a readable equation (including rotated cases), and draws the ellipse with an interactive “string ellipse” animation.

Inputs accept 1e-3, pi, e, sqrt(2), sin(), cos(), tan(), ln(), log(), abs(). Use * for multiplication.

Ellipse definition


Valid ellipse requires \(S > d(F_1,F_2)\). If \(S = d\), the locus degenerates to the segment \(\overline{F_1F_2}\). If \(S < d\), no real locus exists.
View & output options

Drag to pan • wheel/trackpad to zoom • double-click “Reset view” to refit. Units are square.

Ready
Construction view (interactive)

Foci are highlighted, a moving point \(P\) shows the “string” segments, and the dashed curve traces the ellipse locus.

Rate this calculator

0.0 /5 (0 ratings)
Be the first to rate.
Your rating
You can update your rating any time.

Frequently Asked Questions

Why must S be larger than the distance between the foci?

By triangle inequality, PF1 + PF2 is always at least the distance(F1,F2). A strict ellipse requires S > distance; S = distance gives a degenerate segment.

What do a, b, and c mean in an ellipse?

S = 2a defines the semi-major axis a. The foci separation is 2c. Then b is determined by a^2 = b^2 + c^2.

Why can an ellipse be rotated?

The major axis lies along the line through the foci. If that line is not parallel to the x- or y-axis, the ellipse is rotated in the xy-plane.

What happens when S equals the distance between the foci?

The locus degenerates to the line segment between the foci, because PF1 + PF2 = distance holds only on that segment.