User Tools

Site Tools


basic_tools:variational_calculus

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
basic_tools:variational_calculus [2018/03/10 16:49]
iiqof [Student]
basic_tools:variational_calculus [2018/05/05 15:41]
jakobadmin
Line 1: Line 1:
 ====== Variational Calculus ====== ====== Variational Calculus ======
  
-<tabbox Why is it interesting?> ​ 
  
  
-Variational calculus is the alternative to the usual calculus methods when we want to find functions that minimize something. As an analogy, usually when we search for the extrema of a function, we differentiate the function, set the derivative of the function to zero and find the point that yields the extrema. Similar results can be computed by using variational calculus.In variational calculus we find extrema of functionals which are functions of functions with respect some function (instead of variable). This is extremely important for the [[frameworks:​lagrangian_formalism|Lagrangian formalism]]. ​+Variational calculus is the alternative to the usual calculus methods when we want to find functions that minimize something. As an analogy, usually when we search for the extrema of a function, we differentiate the function, set the derivative of the function to zero and find the point that yields the extrema. Similar results can be computed by using variational calculus.In variational calculus we find extrema of functionals which are functions of functions with respect some function (instead of variable). This is extremely important for the [[formalisms:​lagrangian_formalism|Lagrangian formalism]]. ​
  
  
-<tabbox Layman> ​ 
  
-<​blockquote>​Another way of saying a thing is least is to say that if you move the path a little bit at first it 
-does not make any difference. Suppose you were walking around on hills – but smooth hills, since 
-the mathematical things involved correspond to smooth things – and you come to a place where you 
-are lowest, then I say that if you take a small step forward you will not change your height. When 
-you are at the lowest or at the highest point, a step does not make any difference in the altitude in 
-first approximation,​ whereas if you are on a slope you can walk down the slope with a step and then 
-if you take the step in the opposite direction you walk up. That is the key to the reason why, when 
-you are at the lowest place, taking a step does not make much difference, because if it did make any 
-difference then if you took a step in the opposite direction you would go down. Since this is the 
-lowest point and you cannot go down, your first approximation is that the step does not make any 
-difference. We therefore know that if we move a path a little bit it does not make any difference to the 
-action on a first approximation.<​cite>"​The Character of Physical Law" by R. Feynman</​cite></​blockquote>​ 
-<tabbox Student> ​ 
  
-Variational calculus is a powerful mathematical tool to find the extremums (maxima, minima and saddle points) of functions and even functionals ( we can call them functions of functions).+=== What we know from Calculus ===
  
-**What we know from Calculus** +On [[basic_tools:​calculus|calculus]], when we want to find the extremum of a function, we use the derivative: ​
- +
-On calculus, when we want to find the extremum of a function, we use the derivative: ​+
  
 We differentiate the function $f(x)$, then demand that the resulting derivative vanishes: ​ We differentiate the function $f(x)$, then demand that the resulting derivative vanishes: ​
-$$\frac{d f(x)}{dx} \stackrel{!}{=} 0 .$$+$$\frac{d f(x)}{dx} \stackrel{!}{=} 0 
 +$
 +if we solve for $x$, we find an critical point, for this function $f$
  
-While this mathematical tool is great for functions it does not help us if we want to calculate the extrema of different objects, like functionals. A **functional** is a function of a function. This means, a functional $S[f(x)]$ has as an argument a **function** $f(x)$ and spits out a number for each function that we put into it. This is to be contrasted with what a function is: A function $f(x)$ eats a //number// $x$ and spits our a number. ​ 
  
-(Functionals are especially important for the Lagrangian framework.)+=== Concept of Variational Calculus ===
  
-We will see in moment ​that the variational calculus enables us to calculate ​the extrema ​of functions ​**and** ​functionals. ​+Instead of function $f$ that takes numbers ​to numbers, ​the object of interest is a [[basic_tools:​variational_calculus:​functional|functional]],​ a function ​of functions ​of sorts. To find the stationary functions of the functionals, we need to change a bit the differentiation process, and we use the //​[[basic_tools:​variational_calculus:​functional_derivatives|functional derivative]]//​ or variational derivative, and we equate the result to zero.
  
-To "​invent"​ this new theory ​that is capable of finding ​the minima ​of functionals,​ we need to take step back and think about what characterizes ​mathematical minimum.+In the same way that the to find the extrema ​of a function one needs to solve system of algebraic equation, the result of variational derivative is a system of differential equations, these being ordinary or partial differential equations, depending on the function space being search.
  
-The answer of variational calculus is that a minimum is characterised by the neighbourhood of the minimum. For example, let's find the minimum $x_{\mathrm{min }}$ of an ordinary function $f(x)=3x^2+x$. We start by looking at one specific $x=a$ and take a close look at its neighborhood. Mathematically this means $a+ \epsilon$, where $\epsilon$ denotes an infinitesimal (positive or negative) variation. We put this variation of $a$ into our function $f(x)$: 
  
-$$f(a+\epsilon)=3(a+\epsilon)^2+(a+\epsilon)=3(a^2+2a \epsilon + \epsilon^2)+a+\epsilon. $$+This is the recipe of the [[basic_tools:​variational_calculus:​the_variational_problem|variational problem]]
  
-**If $a$ is a minimum, first-order variations in $\epsilon$ must vanish**, because otherwise we can choose $\epsilon$ to be negative $\epsilon<​0$ and then $f(a+\epsilon)$ is smaller than  $f(a)$. Therefore, we collect all terms linear in $\epsilon$ and demand this to be zero 
  
-$$3\cdot 2a \epsilon+ \epsilon \stackrel{!}{=}0 \rightarrow 6a+1 \stackrel{!}{=} 0.$$+=== References ===
  
-So we find the minimum+  * //Calculus of Variations//,​ Gelfand and Fomin  
 +  * Calculus of Variations by MacCluer.
  
-$x_{\mathrm{min }}= a=\frac{-1}{6},​$$ 
  
-which is of course exactly the same result we get if we take the derivative $f(x)=3x^2+x \rightarrow f'(x)= 6x+1$ and demand this to be zero. In terms of ordinary functions, this is just another way of doing the same thing, but variational calculus is, in addition, able to find the extrema of functionals.+<tabbox Quotes> ​
  
- +<​blockquote>​ 
- +Another way of saying a thing is least is to say that if you move the path a little bit at first it does not make any difference. Suppose you were walking around on hills – but smooth hillssince the mathematical things involved correspond to smooth things – and you come to a place where you are lowest, then I say that if you take a small step forward you will not change your height. When you are at the lowest or at the highest point, a step does not make any difference ​in the altitude in first approximation,​ whereas if you are on a slope you can walk down the slope with a step and then if you take the step in the opposite direction you walk up. That is the key to the reason whywhen you are at the lowest place, taking a step does not make much difference, because if it did make any difference then if you took a step in the opposite direction you would go down. Since this is the lowest point and you cannot go down, your first approximation is that the step does not make any difference. We therefore know that if we move a path a little bit it does not make any difference to the action on a first approximation
- +<cite>"The Character of Physical Law" by R. Feynman</cite
- +</blockquote>
-__** References**__ +
- +
- * //​Calculus ​of Variations//​Gelfand ​and Fomin +
- +
-<tabbox Researcher>​  +
- +
-<note tip> +
-The motto in this section ​is: //the higher ​the level of abstraction, the better//+
-</note> +
- +
---> Common Question 1# +
- +
-  +
-<-- +
- +
---Common Question 2# +
- +
-  +
-<-- +
-   +
-<tabbox Examples>​  +
- +
---> Example1# +
- +
-  +
-<-- +
- +
---> Example2:#​ +
- +
-  +
-<-- +
-   +
-<tabbox History+
  
 </​tabbox>​ </​tabbox>​
- 
- 
basic_tools/variational_calculus.txt · Last modified: 2021/04/17 19:03 by cleonis