The length of an arc of a circle can be computed with sines and cosines. That of an arc of a parabola, with logarithms. But that of an arc of an ellipse cannot be computed with any of the school functions. For the ellipse $x = a\sin\theta$, $y = b\cos\theta$, with eccentricity $e = \sqrt{1 - b^2/a^2}$, the perimeter is $$4a\int_0^{\pi/2}\sqrt{1 - e^2\sin^2\theta}\;d\theta,$$and this integral has no elementary antiderivative. Integrals of this kind, with the square root of a polynomial of degree three or four, were called elliptic because of this origin. They turn up everywhere: in the pendulum, in the elastic curve of a bent rod, in the lemniscate, in the motion of a spinning top. The Bernoullis, Fagnano and Euler discovered surprising formulas about them. Legendre set out to put the subject in order.