Personal tools

Variational Calculus: Difference between revisions

From biophysics wiki

Jump to: navigation, search
No edit summary
No edit summary
Line 29: Line 29:
\end{align}
\end{align}
</div>
</div>
Develop the Taylorseries in two dimensions for $F(u,u')$ we have
<br\><br\>
Developing the Taylorseries in two dimensions for $F(u,u')$ we have
\begin{align}
\begin{align}
F(u+v,u'+v')=F(u,u')+\frac{\partial F}{\partial u} v + \frac{\partial F}{\partial u'}v' + \dots\\
F(u+v,u'+v')=F(u,u')+\frac{\partial F}{\partial u} v + \frac{\partial F}{\partial u'}v' + \dots\\
F(u+v,u'+v')-F(u,u')=\frac{\partial F}{\partial u} v + \frac{\partial F}{\partial u'}v' + \dots
\end{align}
\end{align}
 
After integrating we have
 
\begin{align}
P(u+v)=P(u)+ \int_0^1 \frac{\partial F}{\partial u} v + \frac{\partial F}{\partial u'}v' \, dx + \dots\\
\end{align}





Revision as of 16:21, 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.

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} The second equation of \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$. <br\><br\> 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}

<br\><br\> 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 } \hspace{1cm}u(0)=a \hspace{1cm}\text{ and }\hspace{1cm} u(1)=b \end{align}

<br\><br\> Developing the Taylorseries in two dimensions for $F(u,u')$ we have \begin{align} F(u+v,u'+v')=F(u,u')+\frac{\partial F}{\partial u} v + \frac{\partial F}{\partial u'}v' + \dots\\ \end{align} After integrating we have \begin{align} P(u+v)=P(u)+ \int_0^1 \frac{\partial F}{\partial u} v + \frac{\partial F}{\partial u'}v' \, dx + \dots\\ \end{align}







Further Reading

  • Gilbert Strang - Calculus of Variations [1]