Title: The calculus of variation