We now present an alternative formulation of the results of Euler and Lagrange, proposed many years later by Hamilton. These mathematical developments will be of great significance to us later in the context of optimal control. We will also discuss the physical interpretation of the relevant concepts and equations, which is somewhat secondary to our main goals but nevertheless interesting and important.