Personal tools

Variational Calculus: Difference between revisions

From biophysics wiki

Jump to: navigation, search
No edit summary
No edit summary
Line 1: Line 1:
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$. 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 and Optics.
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.
 
Let's for the beginning stick to the equation $P(u)=\int \frac{1}{2}c \cdot (u'(x))^2-f(x)u(x) \, dx$ without resticting ourselfes to a physical situation. If you want you can thing of it as the kinetic energie $\frac{mv^2}{2}$ minus the potential energy with spring konstant $f$ and displacement $u$. To find the function $u$ that minimizes $P$ we develop $P(u)$ into a Taylorseries.
\begin{align}
P(u)=P(u^*)+P'(u^*) \cdot v + O(v^2)
\end{align}
Suppose we are at minimum $u^*$ of a curve. To first approximation the following holds. As we move a little bit away from the minimum $u^*$ by $v$ we don't change P(u) since $P'(u)$ is zero. Thus ''at the minimum $P(u)$ is stationary with respect to changes in $u$''.
 


We call the first derivative of $P$ with respect to $u$ '''the first variation'''
We call the first derivative of $P$ with respect to $u$ '''the first variation'''
Line 7: Line 14:
\end{align}
\end{align}
</div>
</div>
<br\><br\>
The problem of finding the extremum of the first variation by setting it zero leads to the '''Euler-Lagrange Equation'''
The problem of finding the extremum of the first variation by setting it zero leads to the '''Euler-Lagrange Equation'''
<div style="background:#FEF5CA;border:1px solid #797979;border-radius:10px;padding:5px 15px 5px 15px;">
<div style="background:#FEF5CA;border:1px solid #797979;border-radius:10px;padding:5px 15px 5px 15px;">

Revision as of 14:35, 16 May 2013

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.

Let's for the beginning stick to the equation $P(u)=\int \frac{1}{2}c \cdot (u'(x))^2-f(x)u(x) \, dx$ without resticting ourselfes to a physical situation. If you want you can thing of it as the kinetic energie $\frac{mv^2}{2}$ minus the potential energy with spring konstant $f$ and displacement $u$. To find the function $u$ that minimizes $P$ we develop $P(u)$ into a Taylorseries. \begin{align} P(u)=P(u^*)+P'(u^*) \cdot v + O(v^2) \end{align} Suppose we are at minimum $u^*$ of a curve. To first approximation the following holds. As we move a little bit away from the minimum $u^*$ by $v$ we don't change P(u) since $P'(u)$ is zero. Thus at the minimum $P(u)$ is stationary with respect to changes in $u$.


We call the first derivative of $P$ with respect to $u$ the first variation

\begin{align} \frac{\delta P}{\delta u} \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}












Further Reading

  • Gilbert Strang - Calculus of Variations [1]