A twice differentiable curve is a geodesic when its velocity is parallel along the curve:
For a surface embedded in , the ambient acceleration criterion for a surface geodesic gives the equivalent condition
The parameter is then an affine parameter, and is constant.
Take the parallel at height one,
It has constant speed . Its distance from the axis is the constant , and its tangent is parallel to the parallel, so and it satisfies the Clairaut first integral for a surface of revolution.
However,
whereas a normal vector to at is
These vectors are not parallel. By the ambient acceleration criterion for a surface geodesic, is not a geodesic. Thus constant speed together with Clairaut's relation is not sufficient for the geodesic equations.
Write , , , and let be the first fundamental form. Since
differentiating and , or equivalently taking the two inner products of the second formula with , gives
The matrix is invertible because is a regular embedded surface parametrization. Consequently the two geodesic equations hold exactly when is orthogonal to both tangent vectors and , which says precisely that is a normal vector. This is the ambient acceleration criterion for a surface geodesic.
Because is tangent and is normal,
Thus an affinely parametrized geodesic has constant speed, as recorded by constant speed of an affinely parametrized geodesic.
For a surface of revolution, use profile arc length and azimuth . Its Riemannian metric is
The azimuth is an ignorable coordinate, so the corresponding geodesic equation has the first integral
If and is the oriented angle with the parallel, then the component of velocity along the parallel is
Since is constant,
This is the Clairaut first integral for a surface of revolution.