Professional Documents
Culture Documents
Calculus of Variations: Chapter Contents: The Euler-Lagrange Equation Systems of Several Variables Hamilton's Principle
Calculus of Variations: Chapter Contents: The Euler-Lagrange Equation Systems of Several Variables Hamilton's Principle
Calculus of Variations
Chapter contents:
●
The Euler-Lagrange Equation
●
Systems of Several Variables
●
Hamilton’s Principle
1
The Euler-Lagrange Equation
We have derived the Lagrange’s equations from D’Alembert principle.
It is also possible to derive it from a “variational principle”.
The mathematical language needed to provide the framework is called
the calculus of variations (or variational calculus), which involves
finding the minimum or maximum (or stationary values) of a quantity
that is expressible as an integral.
l= ∫ ds=∫ √ 1+ y ' ( x ) dx
2
x1 x1
Our task is to find the function y(x) such that the length l is minimum.
How to determine such a function y(x)? We need to find y(x) so that the
integral is minimized.
Our task: Find the curve y(x) which makes the integral I[y] an extremum
(also called stationary)
4
To say that I[y] is an extremum means that it is either a minimum or
maximum for a unique curve y(x). A small variation in this curve can
only produce second-order variation in the integral.
The two end points (x1, y1) and (x2, y2) are fixed: δ y ( x1 )=δ y ( x2 )=0
∂F ∂F
F (u , v)=F (u 0 , v 0 )+
∂u ] u0 , v 0
(u−u 0 )+
∂v ]u0 , v 0
(v−v 0 )+... .
x2 x2
∂F d ∂F
=
∂ y' x
]
δ y −∫
x dx ∂ y '
1
δ y dx
1
( ) (we have used integration by parts)
6
By assumption: δ y ( x 1 )=δ y ( x 2 )=0
x2 x2 x2
∂F ∂F d ∂F
∫∂ y'
x1
δ y ' dx=
∂ y'
δ y
x
−∫ ]
x dx ∂ y '
δ y dx
1 1
( )
=0
x2 x2
∂F ∂F ∂F d ∂F
=> δ I =∫
x1
[ ∂y
δ y+
∂ y'
δ y ' dx=∫
x
]−
∂ y dx ∂ y '
1
[
δ y dx ( )]
If I[y] for the path y(x) is stationary, it means that I does not change for
infinitesimal variations: y(x)+δy(x). That is, δI = 0 for any choice of δy(x)
for which we ignore higher order terms O(δy2):
x2
∂F d ∂F
=> δ I =∫
x1
[ − ( )]
∂ y dx ∂ y '
δ y dx=0 for all δ y ( x)
d ∂F ∂F
( ) −
dx ∂ y ' ∂ y
=0 Euler-Lagrange equation
7
Example: Shortest path between 2 points
=> ∂F y' ∂F
= , =0
∂ y ' √ 1+ y ' 2 ∂y
d y'
Euler-Lagrange equation =>
dx (√ 1+ y '
2 )
=0
Since yk(x) are independent, the variations δyk are also independent.
The condition δI = 0 requires that
d ∂F ∂F
( ) −
dx ∂ y k ' ∂ y k
=0 (k=1, 2,... , N )
10
Hamilton’s Principle
It is interesting to note that the Euler-Lagrange equation derived from
the calculus of variation has the same form as the Lagrange’s equation
that we obtained from the D’Alembert principle for mechanics. For a
system of single variable, we have the following correspondence:
d ∂F ∂F d ∂L ∂L
( )
dx ∂ y '
−
∂y
=0 ( )
dx ∂ q̇
−
∂q
=0
F ( y , y ' , x) L(q , q̇ , t)
x t
y q
y' q̇
=> We can re-formulate mechanics and derive the Lagrange’s equation
using a variational approach. 11
Definition: Action S[q] S[q] is a functional of q(t)
t2
13
Side note: δ-notation
t2 N t2 N
Variation of S: δ S=∫
t1
(∑
α=1
δL
δ qα )
δ q α dt=∫
∂L d ∂L
∑
t α=1 ∂ q α
1
[−
dt ∂ q̇α ( )]
δ q α dt
16
Side note: Non-uniqueness of Lagrangian
We have discussed before that two Lagrangians related by
dF (q ,t) arbitrary function of (q,t)
L ' (q , q̇ , t)≡L(q , q̇ , t)+
dt
are physically equivalent. Here we can see how the same conclusion
is obtained by the variational formulation.
t2