The Lagrangian, in General Is The Function Of: T and Q Q Q Q Q Q
The Lagrangian, in General Is The Function Of: T and Q Q Q Q Q Q
The Lagrangian, in General Is The Function Of: T and Q Q Q Q Q Q
H p q
k
(5)
k k L( p, q , t )
It will be seen later on, H is equal to the total energy in most of the physical problems.
From equation (5) it is seen that Hamiltonian H is the function of p, q and t
H H ( p, q, t ) (6)
Hamilton’s Equation
The Hamiltonian function H is function of p, q and t,
H H ( p, q, t )
H ( p1 , p 2 ,..., p k ,...q1 , q 2 ,..., q k ,..., t )
H H H
dH p
k k
dpk qk k
dqk
t
dt
(7)
L L L
q
k k
dqk p dq
k
k k
t
dt Since q k
pk (9)
Substituting the value of dL from equation (9) in (8), we have
L L (10)
dH q dp p dq q
k
k k
k
k k
k k
dqk p dq
k
k k
t
dt
L L
dH q dp p dq
k
k k
k
k k
t
dt Since
q k
p k from equ. (2) (11)
L H
(13)
t t
Equation (12) are referred as Hamilton’s equations or canonical equations of motion.
L
k q k
q k L
k
q k
q k
(T V ) (T V )
T V
k
q k (T V )
q k q k
T
k
q k
q k
(T V ) From equation (4)
1
q k mi qi2 (T V )
2 m q
q k 1
k i 2 Since T 2
i i
m q
k
2
i i (T V ) i
2T T V
T V
H K .E. P.E.
E Total potential energy of the system
Thus for a conservative system, where the coordinate transformation is independent of time,
the Hamiltonian function H represent the total energy of the system.
dx dy
I ds 2 2
dy
(1 y ) dx
2 y
dx
f ( y)dx f ( y, y, x)dx
We know that path I is the integral of the function f , which itself is function of y. If we want
that path I be extremum, any variation in it. i.e., I should be zero that is
I f ( y, y , x)dx 0
f [( y ( x), y ( x), x)dx 0
y x, y x,0 ( x)
Where (x) is any arbitrary function of x which is vanish at end points. Note 0 in y x,0
to represent extremum path. Thus represents the paths. It mean I the path length which
different for different paths, will also be a function of i.e., I I so that
I ( ) f [( y( x, ), y ( x, ), x)dx 0
Thus x is same for all paths considered i.e., x is not a function of or we can write
x
0
Further, at end points, all paths meet and therefore there is no variation even in y coordinate
at end points y
0
end points 1 & 2
1 1 E
mi vi dsi 0
2
(1)
1 E
We know that mi vi dsi mi vi dri pi vi dt
2
( pi .vi )dt 0
1 E
In term of generalised coordinates this means
2 2
pi . qi dt pi . dqi 0 (2)
1 E 1 E
The principle of lest action expressed as in equation (1) is sometimes called Lagrange’s
principle of least action. Since pk q k 2T , another equivalent form of (2) is
2
12Tdt E 0 (3)
Which is sometimes called Jacobi’s principle of least action. One more equivalent form that
reduced from
2
1 2mi ( Ei Vi )dsi E 0 (4)
Where Ei 1 mi vi2 Vi and Vi are the total energy and the potential energy respectively.
2
Deduction of Principle of Least Action:- For the deduction of principle of least action we
have to use a variation , in which
(i) time as well as position coordinates are allowed to vary.
(ii) time t varies even at the end points of the path.
(ii) the position coordinates are held fixed at the end points of the path i.e., qk 0 the end
points.
The action A we write
t2 t2
A
t1
j
p j q j dt t1
( L H ) dt
t2
A t1
Ldt H (t 2 t1 )
(1)
Since H is conserved, variation of action is
t2
A
t1
Ldt H(t 2 t1 )
t2
t
Ldt Ht t2 (2)
t1 1
So that I L
If is variational parameter, then in process t is independent of ; but in process t is
function of even at the end points, i.e.,t t ( ) . Thus the function qk depends on t and
throught.
Analytically variation is defined as q q ( , t )
j j
dq j ( , t )
q j dq j d
d
q j d q j dt
q j d
d t d
q j dt
d q j
d
d
or q j q j q j t t
dt
dt q j
Since d t ; q j d
d
d
t
dt
t2
t1
Ldt I (t 2 ) I (t1 )
I (t 2 ) I(t 2 )t 2 I (t1 ) I(t1 )t1
I (t ) I (t ) I(t )t I(t )t
2 1 2 2 1 1
t2
t
Ldt Lt t2
t1 1
d L
q j L d q j dt
t2
t1
j dt q j q j dt
L d L d
qk
After putting from Lagrange’s equation of motion also we know that q k
q j dt q j
dt
Thus
p q
t2 t2 d
Ldt j j pj q j dt
t1 t1
j dt
[Since p j L ]
t2 d
p jq j dt q j
t1
j dt
dt p q
t2 d
j j q j .t dt
t1
j
[using q j q j q j t ]
d ( p j q j ) d ( p j q j t )
t2 t2
t1 t1 (5)
j j
But pk , qk tt12 0 Since qk 0 at end point. Equation (3) becomes
Ldt [( L p j q j )t ]tt2 Ht t12
t2 t
(6)
t1 1
j
For which H remains constant, then
Ht
t2
t2
t1 Hdt
t1
Therefore equation (6) becomes
t2 t2
t1
Ldt
t1
Hdt
p q
t2 t2
t1
( L H )dt t1
(L
j
j j L)dt 0
p q dt 0
t2
j j (7)
t1
j
This is principle of least action.
The quantity t p j q j is generally called the Hamilton’s characteristics function but p j q j 2T
t2
1 j j
Therefore,
t2
2Tdt 0
t1
(8)
I t2
dx I
0
t1
Ldt 0 (1)
m r r 0
i
or Fi ri i i i (2)
i i
d d
But ri ri (ri .ri ) ri (ri ) (3)
dt dt
if there is a little variation along the actual path and neighboring paths, we have
ri ri ri
d d dr dr
Then (ri ) (ri ri ) i i
dt dt dt dt
dr
i ri
dt (4)
Here primes have been used for neighbouring paths.
Using (4) and (3) may be written as
d
ri ri (ri .ri ) ri . (ri ) (5)
dt
Using above equation (2) becomes
d
i
Fi ri i
mi
dt
(ri .ri ) ri .ri 0
d 2
F r m dt (r .r ) 2 r
or 1
i i i i i i 0
i i
1 d
or Fi ri mi (ri2 ) (mi ri .ri )
i i 2 i dt
F r 2 m r dt (m r .r )
1 2 d
or i i i i i i i (6)
i i i
but Fi ri = work done by the force Fi during displacement ri W (say ) and 2 mi ri is equal
2 1
i i
to kinetic energy of the system T
Therefore, the equation (6) becomes
W T
d
(mi ri .ri )
i dt
Integrating above expression between the limits t1 and t 2 , we get
dt (m r .r )dt
t2 t2 d
t1
(W T )dt
t1
i
i i i
t2
d (mi ri .ri )dt
t1
i
m r .r
i
i i
Q
i P
t2
or t1 Ldt I extremum,
Which is the Hamilton’s principle
T T V
t2
q j q j q j dt 0
or t1
j q j q j q j
T V T
t2 t2
or q j dt q j dt 0
q j q j q j
t1 t1
j j
T V T d
q
t2 t2
or q j dt (q j )dt 0
q j q j dt
t1 t1
j j j
T V d T
t2
q q dt 0
or q j q j j dt q j j
t1
j
Since each q j are independent of each other, the coefficient of every q j should be zero to
satisfy above equation
T V d T
0
j
q q j dt j
q
d T
or (T V ) 0
j
dt q q j
Now, for conservative system, V is not a function of velocities q j but only of coordinates.
Therefore
d (T V )
(T V ) 0
dt q q
j j
but T V L , then
d L L
0
dt q j q j
This called Lagrange’s equation of motion.
Problem 1:- Use Hamilton’s principle to find the equation of motion of one dimensional
harmonic oscillation.
Problem 2:- A surface is generated by revolving the curve y(x) along the axis of X. Apply
variational principle of choose the curve y(x), which passes through two fixed points (x1 ,y1 )
and (x2 ,y2 ) so that the area of the resulting surface may be minimum.
Problem 3:- Prove that the shortest distance between two points in a plane is a straight line.
or
Find the shortest distance between two points in a plane.
Problem 4:- A particle moves under the influence of gravity on the frictionless inner surface
of the paraboloid of revolution x2 +y2 =az. Obtained the equation of motion.