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
basic_tools:variational_calculus [2018/03/15 14:29]
iiqof
basic_tools:variational_calculus [2021/04/17 19:03] (current)
cleonis Added assertion that different approaches will converge to the same differential equation
Line 1: Line 1:
 ====== Variational Calculus ====== ====== Variational Calculus ======
  
 +<tabbox Why it is 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 [[formalisms:​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 [[frameworks:​lagrangian_formalism|Lagrangian formalism]]. ​ 
  
 +**Variational calculus of the catenary**
  
 +'​Catenary'​ is the name of the curve that represents the shape of a hanging chain. The catenary problem is a problem in statics. Each point of the hanging chain is motionless, as if //all// points of the chain are anchored.
  
 +At the anchor point the tension in the chain can be calculated as follows: the weight tugging at that point is the total weight of the chain. That total weight is tugging in vertical direction. Then the horizontal component of the chain tension is given by the local angle of the chain.
  
-=== What we know from Calculus ​===+Given that the chain is motionless this evaluation can be repeated everywhere along the length of the chain, from the top anchor point to the lowest point, which is in the middle. This means that the state of static equilibrium of the catenary can be expressed in the form of a [[https://​en.wikipedia.org/​wiki/​Catenary#​Analysis|differential equation]]. I will refer to this way of obtaining a differential equation as 'the direct approach'​. 
 + 
 +This raises the question: is it fortuitous that the problem of finding the shape of a catenary can be stated as a //​differential equation//?​ 
 + 
 +In fact this is a general property, and the underlying reason for that was first recognized by the mathematician Jacob Bernoulli. This was in the context of the Brachistochrone problem. 
 + 
 + 
 +**Brachistochrone problem** 
 + 
 +When Johann Bernoulli had presented the Brachistochrone problem to the mathematicians of the time Jacob Bernoulli was among the few who was able to find the solution independently. The treatment by Jacob Bernoulli is in the Acta Eruditorum, May 1697, pp. 211-217 
 + 
 +Jacob opens his treatment with an observation concerning the fact that the curve that is sought is a minimum curve. 
 + 
 +{{:​basic_tools:​jacob_bernoulli_lemma.png|Jacob'​s Lemma}} 
 + 
 +<​blockquote>//​Lemma//​. Let ACEDB be the desired curve along which a heavy point falls from A to B in the shortest time, and let C and D be two points on it as close together as we like. Then the segment of arc CED is among all segments of arc with C and D as end points the segment that a heavy point falling from A traverses in the shortest time. Indeed, if another segment of arc CFD were traversed in a shorter time, then the point would move along ACFDB in a shorter time than along ACEDB, which is contrary to our supposition. 
 + 
 +</​blockquote>​ 
 + 
 +The historical statement of Jacob'​s Lemma was specifically for the Brachistochrone problem. Generalization of it is straightforward. It makes no difference whether the extremum condition is a minimum condition or a maximum condition. 
 + 
 +If the solution is an extremum for the entire curve then it is also an extremum for any sub-section of the curve, down to infinitisimally short subsections.  
 + 
 +It follows that if a problem can be stated in variational form, then if a solution exists there exists a way to restate the condition in the form of a differential equation. 
 + 
 + 
 +In the case of the catenary the static equilibrium can be cast in terms of minimizing potential energy. The middle of the chain tends to pull the sides inward. When the sides are pulled inward they are also raised, which increases the potential energy of the sides. So the middle can pull the sides inward only so much. The catenary is an extremum of the global potential energy of the chain.  
 + 
 +The same reasoning, mirrored, applies in the case of a catenary //arch//. In the case of a catenary arch the extremum is a maximum of potential energy. 
 + 
 +For the catenary the variational problem then is: find the curve such that the derivative of the total potential energy with respect to variation is zero. Notice that since the evaluation looks exclusively at the //​derivative//​ it is not known whether the extremum is a minimum or a maximum. This does not present any problem; the catenary and the catenary arch have the same shape; the shape is the solution to the problem. Whether the extremum condition is a minimum condition or a maximum condition is immaterial. 
 + 
 +The two approaches, direct approach and variational approach, converge; the two approaches arrive at the same differential equation.  
 + 
 +**Euler-Lagrange equation** 
 + 
 +The strategy of finding a solution to a problem in variational calculus is to find the way to restate the problem in terms of differential calculus. 
 + 
 +The Euler-Lagrange equation is the implementation of that strategy. The derivation of the Euler-Lagrange equation does not make any assumption about the nature of the variational problem. If the solution to the variational problem satisfies an extremum condition then that solution will satisfy the corresponding Euler-Lagrange equation. Hence to find the solution to the variational form it suffices to find the solution to the corresponding Euler-Lagrange equation. 
 + 
 +The existence of the Euler-Lagrange equation is in itself mathematical proof that any problem in variatioal calculus can be restated as a problem in differential calculus. As stated in the previous paragraph: the derivation of the Euler-Lagrange equation is completely general since it requires a single assumption only: that the solution to the variational problem satisfies an extremum condition.  
 + 
 +<tabbox Concrete>​ 
 + 
 + 
 +**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 [[basic_tools:​calculus|calculus]],​ when we want to find the extremum of a function, we use the derivative: ​
Line 18: Line 67:
  
  
-=== Concept of Variational Calculus ​===+**Concept of Variational Calculus**
  
 Instead of a 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. Instead of a 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.
Line 28: Line 77:
  
  
-=== References ​===+**References** 
 + 
 +  * //Calculus of Variations//,​ Gelfand and Fomin  
 +  * Calculus of Variations by MacCluer.
  
- * //Calculus of Variations//,​ Gelfand and Fomin+<tabbox Abstract>​
  
 +See [[https://​www.ams.org/​journals/​notices/​201903/​rnoti-p303.pdf|Karen Uhlenbeck and the Calculus of Variations]] by Simon Donaldson
  
 <tabbox Quotes> ​ <tabbox Quotes> ​
basic_tools/variational_calculus.1521120598.txt.gz · Last modified: 2018/03/15 13:29 (external edit)