Calculus of Variations
π Calculus of Variations
While standard calculus deals with finding the extremum of a function of numbers, the calculus of variations deals with finding the extremum of a functionalβa mapping from a space of functions to the real numbers.
π’ 1. The Functional
A functional often takes the form of an integral: The goal is to find a function that minimizes or maximizes .
Classical Examples
- The Shortest Path: Finding the curve that minimizes distance between two points (a straight line).
- Brachistochrone Problem: Finding the curve along which a particle slides under gravity in the shortest time.
- Minimal Surface Area: Finding the shape of a soap film stretched between two loops.
π‘ 2. The Euler-Lagrange Equation
The fundamental result of the calculus of variations is that if is an extremum of , it must satisfy the Euler-Lagrange Equation:
Derivation Sketch
We consider a small variation around the optimal and require that the first variation of be zero: Using integration by parts on the second term leads to the EL equation.
π΄ 3. Applications in Physics and Control
Principle of Least Action
In classical mechanics, the path taken by a system is the one that minimizes the Action (), which is the integral of the Lagrangian (): This allows the derivation of Newtonβs laws from a more fundamental principle.
Optimal Control Theory
In engineering, we want to find a control input that minimizes a cost functional (e.g., fuel consumption) while moving a system (e.g., a rocket) from state A to state B.
- Hamiltonian: , leading to Pontryaginβs Minimum Principle.