Personal tools

Variational Calculus

From biophysics wiki

Jump to: navigation, search

This article deals with minimizing or maximizing functions. From calculus we know that the extremum of a function $P(u)$ is where its derivative is zero $P'=0$. Sometimes we want to solve a more general problem where $u$ itself is a function of $x$ and $P$ an integral. We want to find a function $u(x)$ that minimizes (or maximizes) $P[u(x)]$, rather than a particular point. Problems of this kind arise e.g. in Optimal Control, Lagrangian and Hamiltonian Mechanics as well as in Optics.

To find the function $u$ that minimizes $P$ we develop $P(u)$ into a Taylorseries. \begin{align} P(u)=P(u^*+v)=P(u^*)+P'(u^*) \cdot v + O(v^2)\\ P(u^*+v)-P(u^*)=P'(u^*) \cdot v + O(v^2)\\ \label{var} \end{align} Equation \ref{var} is called the first order variation or just first variation of $P(u)$. Suppose we are at minimum $u^*(x)$ of a curve. To first approximation the following holds. As we perturb $u^*(x)$ a little bit by $v$ we don't change $P(u^*+v)-P(u^*)$ since $P'(u^*)$ is zero. Thus, at the minimum $P(u)$ is stationary with respect to changes in $u$.

To remind ourselfes that we are doing variational calculus we use the symbol $\delta$ and call the first derivative of $P$ with respect to $u$ the first variation

\begin{align} \frac{\delta P}{\delta u}\cdot v \end{align}

<br\><br\> The problem of finding the extremum of the first variation by setting it zero leads to the Euler-Lagrange Equation

\begin{align} \frac{\delta P}{\delta u}=0 \end{align}

The standard problem of variational calculus deals with an integral of a function of two variables $F(u,u')$. The classical example is the Lagrangeian in Classical Mechanics.

\begin{align} \frac{\delta P}{\delta u}=\int F(u,u') \, dx \hspace{2cm}\text{with } u(0)=a \text{ and } u(1)=b \end{align}









Further Reading

  • Gilbert Strang - Calculus of Variations [1]