Title: Differential geometry and the calculus of variations