Use the Levi-Civita connection and the Riemann curvature tensor convention
for orthonormal . Thus the round sphere has positive sectional curvature. Work on a fixed compact parameter interval inside the given open interval; this keeps all differentiations and endpoint evaluations well-defined. The base geodesic is regular and has constant speed, so a constant rescaling of makes it unit-speed. Put , , , and evaluate at . The torsion-free connection gives because the two parameter derivatives commute. The geodesic equation is .
Differentiating the length of a curve once and twice, using metric compatibility, gives
and
Let . The curvature commutator gives , and the skew-adjoint curvature symmetry gives . Integration by parts therefore proves the moving-endpoint second variation of Riemannian arc length:
Equivalently, with , the integral is , the Riemannian index form. The endpoints of this geodesic variation generally move, so the displayed boundary term must be retained. For a base speed instead of one, the boundary and integral have an overall factor , and the subtracted square inside the integral is . Returning to the original parameter, every ruling has constant speed, so and the full open-interval length is . Consequently
The preceding curvature formula, with the base-speed factor when necessary, therefore evaluates the original full length derivative using any compact subinterval. No extension to the missing endpoints is required.
Differentiating in yields the Jacobi field equation
The same ruling curves are geodesics of the surface with its induced metric, because the tangential part of their ambient acceleration is zero. Write its second fundamental form as and its induced Levi-Civita connection as . In particular . The scalar satisfies , by the Jacobi field equation, so is a Jacobi field both intrinsically and in the ambient manifold. In a regular surface chart , and is the perpendicular unit tangent. Along a two-dimensional geodesic, : its derivative is orthogonal to both and the parallel field . The intrinsic Jacobi field equation consequently gives
For the ambient derivative, the Gauss formula gives . Applying the same norm differentiation used above to gives
Comparing these identities proves the curvature comparison for a geodesically ruled surface:
This is also the Gauss equation in a curved ambient manifold with . It applies locally to each regular patch of the surface.
For strict inequality, take the Euclidean embedded submanifold parametrized by . Each -curve is a straight-line geodesic. Its first fundamental form has coefficients , , ; the normal gives second fundamental form coefficients , , . Hence
Thus equality can fail everywhere, although every ruling is an ambient geodesic.
The length differentiation requires a nonconstant base ruling; a regular parametrized surface patch guarantees this. If “image of a smooth map” is read literally without a rank assumption, a degenerate member can fail even to have a first length derivative. For example, in the flat cylinder , the map for , has geodesic rulings and a two-dimensional open image: every nonzero- point has full-rank parametrization, and the sole zero- image point also has a full-rank preimage at . Yet is not differentiable at zero. The variation formula therefore applies to nonconstant members, as usual. The curvature inequality still holds on the whole image: regular values are dense by Sard theorem, and both curvatures extend continuously to the remaining points.