Introduction
An ellipse is the locus of a point that moves such that the ratio of its distance from a focus to its distance from a directrix is a constant (eccentricity). Equivalently, it is the set of points where the sum of distances to two foci is constant: .