Variational Calculus: Difference between revisions
From biophysics wiki
No edit summary |
No edit summary |
||
| Line 6: | Line 6: | ||
P(u^*+v)-P(u^*)=P'(u^*) \cdot v + O(v^2)\\ \label{var} | P(u^*+v)-P(u^*)=P'(u^*) \cdot v + O(v^2)\\ \label{var} | ||
\end{align} | \end{align} | ||
The second 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$''. | 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$''. | ||
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''' | 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''' | ||
Revision as of 16:07, 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$.
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]