Title: A study in the calculus of variations