Calcvar
Calcvar
Calculus of Variations ∗
1 Introduction
Let us first consider something very familiar to us, a simple minimiza-
tion problem from differential calculus: What is the value of 𝑥 that will
minimize 𝑦 = 3𝑥 2 , with 𝑥 ∈ [𝑥1 , 𝑥2 ]?
Next, consider the integration 𝐼 = ∫𝑥1 2 𝑓 (𝑥) d𝑥, which has a definite value
𝑥
• Find the shape of a frictionless path between two points such that a
particle takes the least time to slide down the path under the effect
of gravity. We have
√ √
𝑥2 𝑥2
d𝑥 2 + d𝑦 2 √ 1 + 𝑦′
𝑇 =∫ , with 𝑉 = 2𝑔𝑦. Thus, 𝑇 = ∫ d𝑥
𝑥1 𝑉 𝑥1 2𝑔𝑦
In the first example, the integrand is of the form 𝐹 (𝑦 ′ ), and in the second,
it is of the form 𝐹 (𝑦, 𝑦 ′ ). More generally, beyond these examples, we
want to minimize 𝐼 = ∫𝑥1 2 𝐹 (𝑥, 𝑦, 𝑦 ′ , 𝑦 ′′ , … 𝑦 (𝑛) )d𝑥. Even more generally,
𝑥
we want to extremize 𝐼 .
∗ Notes prepared by Jeevanjyoti Chakraborty. Contact: [email protected]
1
Advanced Mechanics of Solids Mechanical Engineering
Calculus of Variations IIT Kharagpur
2 Extremization of functions
Consider a simple function 𝑦(𝑥). Suppose this function takes on extreme
values (either minimum or maximum) at 𝑥 = 𝑎. To concretize our ideas
consider the case of the minimum. We expand 𝑦(𝑥) about 𝑥 = 𝑎 as:
𝑥 −𝑎 ′ (𝑥 − 𝑎)2 ′′
𝑦(𝑥) = 𝑦(𝑥 − 𝑎 + 𝑎) = 𝑦(𝑎) + 𝑦 (𝑎) + 𝑦 +⋯ (1)
1! 2!
Since 𝑦(𝑎) is a minimum, we must have 𝑦(𝑥) − 𝑦(𝑎) > 0. Now, both the
conditions 𝑥 − 𝑎 < 0 and 𝑥 − 𝑎 > 0 are possible depending on where 𝑥
is located. However, because we are considering a particular function,
𝑦(𝑥), only a particular value of 𝑦 ′ (𝑎) is possible. Therefore, to ensure
that the sign of (𝑥 − 𝑎) does not influence 𝑦(𝑥) − 𝑦(𝑎), we need to have
𝑓 ′ (𝑎) = 0. This condition is the necessary condition for extremum value
which we are all familiar with from high school calculus.
2
Advanced Mechanics of Solids Mechanical Engineering
Calculus of Variations IIT Kharagpur
Next, to ensure that 𝑦(𝑥) − 𝑦(𝑎) > 0, it is sufficient that 𝑦 ′′ > 0 because
(𝑥 − 𝑎)2 > 0, always.
Now, we will export this idea of finding the conditions for extremum of
functions to functionals.
3 Extremization of functionals
At the outset, note that in the previous section for the extremization of
functions, we started by exploring the neighbourhood of 𝑥 = 𝑎. Similarly
for functionals, we need to explore the “neighbourhood” of the desired
function or curve 𝑦 that will ultimately lead to the extreme value of the
functional. But since derivatives and integrations are involved we need
to be careful in exploring this neighbourhood. We need to select those
alternative curves which satisfy certain conditions. This set of curves are
referred to as admissible curves. We consider an admissible curve 𝑦 + 𝜀𝜂.
The value of the functional corresponding to 𝑦 + 𝜀𝜂 is
𝑥2
𝐼̄ = ∫ 𝐹 (𝑥, 𝑦 + 𝜀𝜂, 𝑦 ′ + 𝜀𝜂′ ) d𝑥. (2)
𝑥1
3
Advanced Mechanics of Solids Mechanical Engineering
Calculus of Variations IIT Kharagpur
𝛿𝐼 = 0,
𝑥2
𝜕 𝜕
or, ∫ 𝜀 𝜂 + 𝜂′ ′ d𝑥 = 0,
𝑥1 ( 𝜕𝑦 𝜕𝑦 )
𝑥2 2 𝑥 𝑥2
𝜕𝐹 𝜕𝐹 d 𝜕𝐹
or, ∫ 𝜀𝜂 d𝑥 + 𝜀 ′ 𝜂 − ∫ 𝜀 𝜂 d𝑥 = 0.
𝑥1 𝜕𝑦 [ 𝜕𝑦 ]𝑥 𝑥1 d𝑥 ( 𝜕𝑦 ′ )
1
2 𝑥
𝜕𝐹
Now, we focus on the boundary term 𝜀 ′ 𝜂 , and consider the fol-
[ 𝜕𝑦 ]𝑥
1
lowing cases:
Case 1: If among the conditions which define the admissibility of curves
that can serve as input to our functional, we have the conditions that the
values of the curves are specified at the boundaries 𝑥 = 𝑥1 and 𝑥 = 𝑥2 ,
then we must have 𝜂 = 0 at 𝑥1 and 𝑥2 . Then the boundary term becomes
zero, and we have
𝑥2 𝑥2
𝜕𝐹 d 𝜕𝐹
∫ 𝜀𝜂 d𝑥 − ∫ 𝜀 𝜂 d𝑥 = 0,
𝑥1 𝜕𝑦 𝑥1 d𝑥 ( 𝜕𝑦 ′ )
𝑥2
𝜕𝐹 d 𝜕𝐹
or, ∫ 𝜀𝜂 [ 𝜕𝑦 − d𝑥 ( 𝜕𝑦 ′ )] d𝑥 = 0.
𝑥1
4
Advanced Mechanics of Solids Mechanical Engineering
Calculus of Variations IIT Kharagpur
Since 𝜂 is arbitrary, the integral can be zero only if we have the follow-
ing†
𝜕𝐹 d 𝜕𝐹
− = 0, (8)
𝜕𝑦 d𝑥 𝜕𝑦 ′ )
(
Case 2: If the values of the curves are not specified at the boundaries
𝑥 = 𝑥1 and 𝑥 = 𝑥2 , then 𝜂 is not equal to zero at the boundaries. Then the
boundary terms in Eq. (7) are not zero, and so in addition to the Euler-
Lagrange equations we end up with the requirement that at 𝑥1 and 𝑥2 ,
𝜕𝐹
= 0.
𝜕𝑦 ′
† Actually, there is a proof for this statement. But we state it without proof here!