Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
DEPARTMENT OF MATHEMATICS
Virtual University of Pakistan
SPRING 2019
Outline
• Differential equation
• Invariants
• Classical Mechanics
• Hamiltonian Systems
• References
Differential Equation
A differential equation is a mathematical equation that relates
some function with its derivatives. In applications, the functions
usually represent physical quantities, the derivatives represent their
rates of change, and the differential equation defines a relationship
between the two.
𝑑𝑦
= (1 − 2𝑥)𝑦 2
𝑑𝑥
Types of Differential Equation
Linear Differential Equation
Non-Linear Differential Equation
Ordinary Differential Equation
Partial Differential Equation
Linear Differential Equations
A linear differential equation is of first degree with respect to the
dependent variable (or variables) and its (or their) derivatives.
𝑑𝑦
+ 𝑥𝑦 = 5𝑥
𝑑𝑥
Non-Linear Differential Equations
Equations that contain nonlinear terms are known as non-linear
differential equations.
𝑑𝑦
= (1 − 2𝑥)𝑦 2
𝑑𝑥
Ordinary Differential Equation(ODE)
𝛿𝑢 𝛿𝑢 𝛿 2𝑢
𝑓 𝑥1 , … , 𝑥𝑛 ; 𝑢, ,…, ; ,…
𝛿𝑥1 𝛿𝑥𝑛 𝛿𝑥1 𝛿𝑥1
Initial Value Problem
Linear invariants
Linear systems have the property that the output is linearly related to the input.
Time-invariant systems are systems where the output for a particular input does
If the present state of an object is known it is possible to predict how it will move
in the future and how it has moved in the past. There are three alternative
Newtonian
Lagrangian
Hamiltonian
Formally, all these approaches are equivalent, they have the same “physical
content” and any one can be derived from any of others.
Hamiltonian Mechanics
dp H dq H
dt q dt p
Energy Conservation
Symplecticity
Energy Conservation Property
Mathematically, it is stated as
𝑑𝐻 𝜕𝐻 𝑑𝑝𝑖 𝜕𝐻 𝑑𝑞𝑖 𝜕𝐻 𝜕𝐻 𝜕𝐻 𝜕𝐻
= + = − + =0
𝑑𝑡 𝜕𝑝𝑖 𝑑𝑡 𝜕𝑞𝑖 𝑑𝑡 𝜕𝑝𝑖 𝜕𝑞𝑖 𝜕𝑞𝑖 𝜕𝑝𝑖
𝑖 𝑖
Symplecticity
0 𝐼𝑛
𝐽=
−𝐼𝑛 0
F (t ) kx (t )
1 2
P.E. kx
2
The equation that relates kinetic energy (KE) to mass (𝑚) and speed (𝑣) is
1 2
K .E. mv
2
Hamiltonian of spring mass system is
H K .E. P.E.
p2 1 2
H kx
2m 2
Now by taking derivative of Hamiltonian equation we get
H H p dp dx
kx, v x 2kx, p
x p m dt dt
dH H dp H dx
dt p dt x dt
dH
0
dt
This shows that the given system does not change with time and the total energy
dp
dt 2kx
dx p
dt
0 2k
1 0
0 1
T
2k 0
The Jacobian of this system is
0 1
J
1 0
Now
0 1 0 1 0 2k
J
T
2k 0 1 0 1 0
0 1
J
1 0
Thus, the analytical spring mass system map satisfies the
conditions for symplecticness as expected.
Simple Pendulum
A pendulum is a weight suspended from a pivot so that it can swing freely. When
𝑑𝐻 𝜕𝐻 𝑑𝑃 𝜕𝐻 𝑑𝜃
= +
𝑑𝑡 𝜕𝑃 𝑑𝑡 𝜕𝜃 𝑑𝑡
Jacobian is given by
0 1
𝐽=
−1 0
Now
𝑔
𝜕𝜑 𝑡 𝐽𝜕𝜙 = cos 𝜃 ∗ 𝐽
𝑙
Hence, Simple pendulum fulfill symplectic property.
Kepler Problem (Two-Body Motion)
dH p1q1 p2 q2 p1q1 p2 q2
2 2 2 2
dt (q1 q2 )
2 3/2
(q1 q2 )
2 3/2
(q1 q2 )
2 3/2
(q1 q22 )3/2
dH
0
dt
Hence energy of the system is conserved.
Symplecticity of Kepler Problem
0 0 1 0
0 0 0 1
2q12 q22
( ) 2
T
0 0 0
(q1 q2 )
2 5/ 2
2q22 q12
0 0 0
(q12 q22 )5/ 2
The Jacobian of this system is
0 0 1 0
0 0 0 1
J
1 0 0 0
0 1 0 0
Putting values 0 0 1 0
2q12 q22 2q22 q12 0 0 0 1
[( 2 )( )]
(q1 q22 )5/2 (q12 q22 )5/2 1 0 0 0
0 1 0 1
2q12 q22 2q22 q12
[( 2 )( 2 )] J
(q1 q2 )
2 5/2
(q1 q2 )
2 5/2
dq1 H
Dq1 p1 ,
dt p1
dq2 H
Dq2 p2 ,
dt p2
dp1 q1 0.0075q1 H
Dp1 ( )
dt (q1 q2 )
2 2 3
(q12 q2 2 )3 q1
dp2 q2 0.0075q2 H
Dp2 ( )
dt (q1 q2 )
2 2 3
(q12 q2 2 )3 q2
Where (𝑞1 , 𝑞2 ) and (𝑝1 , 𝑝2 ) are the generalized coordinates and generalized
momenta respectively. The Hamiltonian of the system is
1 1 0.005
H ( p1 , p2 ; q1 , q2 ) ( p12 p2 2 )
2 (q12 q2 2 ) 2 ( q12 q2 2 )3
Energy Conservation equation for perturbed kepler is described as follows:
0 0 1 0
0 0 0 1
The Jacobian of this system is J
1 0 0 0
0 1 0 0
0 q
V (q)
q
dp H dq H
dt q dt p
dH H dp H dq
dt p dt q dt
Putting values in above equation we get
dH
0
dt
Hence energy of the system is conserved.
References
[1] Codington, Earl A.; Levinson, Norman (1955). Theory of ordinary
differential equations. New York-Toronto-London: McGraw-Hill Book
Company, Inc.