Variational Calculus and Functional Optimisation

Introduction to Functional Optimisation

Functional optimization deals with finding functions (rather than finite-dimensional vectors) that optimize a functional.

A functional is a mapping from a space of functions to real numbers: (technically, ).

Concept of Functional and Variational Calculus

  • In classical (discrete) optimisation, we minimize a function of variables
  • In variational calculus, we consider a continuum of variables , where is continuous – it can be seen as a limit

Variation of a Functional

For a function and a “direction” (which is another function), the variation of objective function is:

The “derivative” of this variation should be zero for all admissible :

Euler-Lagrange Equation

For a functional of the form:

The necessary condition for an extremum is given by the Euler-Lagrange equation:

Example: The Brachistochrone Problem

Problem Statement: Given two points A and B, find the path joining these points such that a bead sliding down under gravity travels from A to B in the shortest time.

Objective Function:

This is a classic problem that can be solved using the Euler-Lagrange equation. The solution is a cycloid.

Example: Minimum Distance Path

Objective Function:

Here:

Applying the Euler-Lagrange equation yields (constant), so the solution is a straight line.

Key Points about Functional Optimisation

  1. Instead of algebraic equations, we get differential equations as the first-order necessary conditions
  2. These differential equations, along with boundary conditions, need to be solved to find the extrema
  3. Finite element method (FEM) is based on variational calculus (minimizing total system energy)
  4. Lagrange multiplier and KKT conditions extend to the continuum limit of variational calculus
  5. Contact and plasticity in FEM (constraints) also lead to KKT conditions