Introduction

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
  • This approach allows us to optimize over entire functions rather than discrete parameters

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:

where represents , the necessary condition for an extremum is given by the Euler-Lagrange equation:

Derivation of Euler-Lagrange Equation

Starting with:

Using integration by parts for the second term:

For admissible , we have , so:

Since this must be zero for all , we get the Euler-Lagrange equation.

Example Problems

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.

Minimum Distance Path

Objective Function:

Here:

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

Connection to Other Areas

  1. Finite element method (FEM) is based on variational calculus (minimizing total system energy)
  2. Lagrange multiplier and KKT conditions extend to the continuum limit of variational calculus
  3. Contact and plasticity in FEM (constraints) also lead to KKT conditions
  4. Many physics problems can be formulated as minimization of energy functionals (principle of least action)

Key Differences from Discrete Optimization

  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. The solution is a function rather than a finite set of parameters
  4. Numerical solutions typically involve discretization (returning to finite dimensions)