Presentation is loading. Please wait.

Presentation is loading. Please wait.

Hamiltonian Mechanics

Similar presentations


Presentation on theme: "Hamiltonian Mechanics"— Presentation transcript:

1 Hamiltonian Mechanics
1 1 Hamiltonian Mechanics Jeffrey Eldred Classical Mechanics and Electromagnetism June 2018 USPAS at MSU 1 1 1 1 1 1

2 2 Einstein Sum Notation The Goldstein textbook makes use of Einstein Sum Notation and I will try to follow the same notation. Three different meanings of indices: 2 Classical Mechanics and Electromagnetism | June 2018 USPAS at MSU 11/11/2018 2 2 2

3 3 3 Lagrangian Mechanics 3 Classical Mechanics and Electromagnetism | June 2018 USPAS at MSU 11/11/2018 3 3 3 3 3 3

4 Deriving the Lagrangian from Newton’s Equation
4 Deriving the Lagrangian from Newton’s Equation Newton’s equation is given by: We can write this instead as a differential operation on a single variable known as the Lagrangian: 4 Classical Mechanics and Electromagnetism | June 2018 USPAS at MSU 11/11/2018 4 4 4

5 Least Action Principle
5 Least Action Principle 5 Classical Mechanics and Electromagnetism | June 2018 USPAS at MSU 11/11/2018 5 5 5

6 Least Action Principle
6 Least Action Principle 6 Classical Mechanics and Electromagnetism | June 2018 USPAS at MSU 11/11/2018 6 6 6

7 Least Action Principle Example
7 Least Action Principle Example Example: Harmonic Oscillator with a periodic deviation 7 Classical Mechanics and Electromagnetism | June 2018 USPAS at MSU 11/11/2018 7 7 7

8 Lagrangian under coordinate transformations
8 Lagrangian under coordinate transformations Example: Polar Coordinates 8 Classical Mechanics and Electromagnetism | June 2018 USPAS at MSU 11/11/2018 8 8 8

9 9 Kinetic Energy Why is the kinetic energy term of the Lagrangian take this form? Lagrangian invariant under velocity rotations: It means orthogonal system of coordinates. 9 Classical Mechanics and Electromagnetism | June 2018 USPAS at MSU 11/11/2018 9 9 9

10 Orthogonal Coordinates
10 Orthogonal Coordinates Polar coordinates are also orthogonal: Consider some nonorthogonal coordinates: 10 Classical Mechanics and Electromagnetism | June 2018 USPAS at MSU 11/11/2018 10 10 10

11 Relativistic Lagrangian
11 Relativistic Lagrangian The form of the kinetic term comes from the Newtonian equations of motion that we started with. But now consider relativistic momentum: Still invariant under velocity rotation, but no longer uses simple velocity addition (we will instead need a Lorentz transform). 11 Classical Mechanics and Electromagnetism | June 2018 USPAS at MSU 11/11/2018 11 11 11

12 Lagrangian for a Continuum System 12 12 12 12 12 12 12 12 12
Classical Mechanics and Electromagnetism | June 2018 USPAS at MSU 11/11/2018 12 12 12 12 12 12

13 Lagrangian in the Continuum Limit
13 Lagrangian in the Continuum Limit The equations of a motion from a Lagrangian are: But what if the Lagrangian has a dependence? Then the equations of motion become: Example: Wave Equation for a String N springs with constant k, separating each of N-1 masses m by distance a, given by N-1 coordinates η 13 Classical Mechanics and Electromagnetism | June 2018 USPAS at MSU 11/11/2018 13 13 13

14 Wave Equation for a String
14 Wave Equation for a String The kinetic energy of each mass is given by: The potential energy of each spring is given by: The Lagrangian and equations of motion are: 14 Classical Mechanics and Electromagnetism | June 2018 USPAS at MSU 11/11/2018 14 14 14

15 Wave Equation for a String (cont.)
15 Wave Equation for a String (cont.) Now we take the continuum limit: Notice the Lagrangian density becomes the quantity of interest: And where we had qi, now we have η(x). 15 Classical Mechanics and Electromagnetism | June 2018 USPAS at MSU 11/11/2018 15 15 15

16 Hamiltonian Mechanics
16 16 Hamiltonian Mechanics 16 Classical Mechanics and Electromagnetism | June 2018 USPAS at MSU 11/11/2018 16 16 16 16 16 16

17 Lagrangian to Hamiltonian
17 Lagrangian to Hamiltonian The Lagrangian is a function of and our equations of motion yield N second-order differential equations. For each degree of freedom, we can define a new variable the canonical momentum. This will permit us to write 2N first-order differential equations. 17 Classical Mechanics and Electromagnetism | June 2018 USPAS at MSU 11/11/2018 17 17 17

18 Deriving the Hamiltonian
18 Deriving the Hamiltonian Look for an expression H, which depends on but has the same differential behavior as L: 18 Classical Mechanics and Electromagnetism | June 2018 USPAS at MSU 11/11/2018 18 18 18

19 Obtaining the Hamiltonian
19 Obtaining the Hamiltonian Now we have a way to obtain H from L: The equations of motion from H have the same underlying dynamics, but are expressed in terms of 2N variables. 19 Classical Mechanics and Electromagnetism | June 2018 USPAS at MSU 11/11/2018 19 19 19

20 Obtaining the Hamiltonian
20 Obtaining the Hamiltonian Another way to obtain the Hamiltonian is by directly integrating the equations of motion. Example: Synchrotron focusing This works for any equation of the form: 20 Classical Mechanics and Electromagnetism | June 2018 USPAS at MSU 11/11/2018 20 20 20

21 The Hamiltonian and the Energy
21 The Hamiltonian and the Energy If L = L0 – V, does that mean H = L0 + V? That is, when L depends on quadratically. Example: Polar Coordinates 21 Classical Mechanics and Electromagnetism | June 2018 USPAS at MSU 11/11/2018 21 21 21

22 The Hamiltonian and the Energy
22 The Hamiltonian and the Energy If L = L0 – V, does that mean H = L0 + V? That is, when L depends on quadratically. Another-Example: Relativistic Hamiltonian 22 Classical Mechanics and Electromagnetism | June 2018 USPAS at MSU 11/11/2018 22 22 22

23 The Hamiltonian and the Energy
23 The Hamiltonian and the Energy Is the Hamiltonian a constant of motion? The Hamiltonian is an invariant of motion if and only if it is not explicitly time-dependent. 23 Classical Mechanics and Electromagnetism | June 2018 USPAS at MSU 11/11/2018 23 23 23

24 Example: Conservation of Angular Momentum
24 Example: Conservation of Angular Momentum Hamiltonians, as 2N first-order differential equations rather than N second-order differential equations, sometimes make conserved momentum more explicit. Example: Central Force 24 Classical Mechanics and Electromagnetism | June 2018 USPAS at MSU 11/11/2018 24 24 24


Download ppt "Hamiltonian Mechanics"

Similar presentations


Ads by Google