# What exactly are Hamiltonian Mechanics (and Lagrangian mechanics)

I want to self-study QM, and I've heard from most people that Hamiltonian mechanics is a prereq. So I wikipedia'd it and the entry only confused me more. I don't know any differential equations yet, so maybe that's why.

• But what's the difference between Hamiltonian (& Lagrangian mechanics) and Newtonian mechanics?

• And why is Hamiltonian mechanics used for QM instead of Newtonian?

• Also, what would the prereqs for studying Hamiltonian mechanics be?

• I have the feeling I answered this before: physics.stackexchange.com/q/39677 - regarding the prerequisites for Hamiltonian mechanics: if you know how to solve differential equations (both PDE and ODE), you should be fine. Nov 20, 2012 at 21:22
• @Claudius Are there no physics prereqs? Can I jump straight into Hamiltonian mechanics from Newtonian if I understand the math behind it, or would you recommend studyinh langrangian first? Nov 20, 2012 at 21:26
• You should do Lagrangian first, then Hamiltonian. You don’t necessarily need Newtonian for that, but it is nice to derive Newtonian mechanics from Lagrangian/Hamiltonian mechanics, so it might help knowing $F = m a$ (it also helps in recalling the Hamiltonian equations of motion, $F = - \nabla U \equiv \dot p = - \frac{\partial H}{\partial q}$ and $v = \frac{1}{2} \frac{\partial m v^2}{\partial p} = \frac{\partial H}{\partial p}$). Nov 20, 2012 at 21:31
• Nov 20, 2012 at 21:40
• Watch first Leonard Susskind courses in youtube. About ten lessons each, one called Classical Mechanics, and then Quantum Mechanics. They are an excellent introduction with extremely simplified, yet serious maths Nov 20, 2012 at 21:44

I'd say there were almost no prerequisites for learning Langrangian and Hamiltonian mechanics.

First thing to say is that there's almost no difference between them. They're both part of the same overarching framework. Basically it's a convenient way to write down general laws of physics. There's nothing too difficult or scary about it, and it's a lot more elegant than Newtonian theory.

If you have a rough grasp of basic physics, I don't think you need to formally learn Newtonian theory first. I had to as an undergraduate and it was a horrible mess. I've never needed to do anything using purely Newtonian theory since.

You might need to know how to solve differential equations, both ordinary and partial, but it's possible to pick this up as you go along. There's almost no linear algebra needed, so don't worry about that.

If you're looking for a book, the best one is Landau and Lifschitz, Volume I. Their exposition is very clear and concise, ideal in a textbook! Good luck!

• Definite vote for Landau and Lifschitz! Nov 20, 2012 at 22:40
• But one definitely needs some linear algebra once one has more than a few degrees of freedom. Nov 21, 2012 at 10:05

In university, here is the way the material was presented to me:

1. Newtonian Mechanics
2. Learn solutions to ODE and PDE
3. Lagrangian Mechanics
4. Hamiltonian Mechanics

This was over two course, back to back. Hamiltonian and Lagrangian Mechanics provide a formalism for looking at problems using a generalized coordinate system with generalized momenta. Hamiltonians and Lagrangians are written in terms of energy, a departure somewhat from Newtonian mechanics, if I recall properly.

Hamiltonian Mechanics is suitable for quantum mechanics in that one can describe a system's energy in terms of generalized position and momentum. Newtonian mechanics is for macro scale systems, like throwing a baseball. Quantum mechanics is on a much smaller scale. It is the only way I have been taught QM and it is the only way in which I've seen it taught.

Prerequisites for Hamiltonian mechanics would be solving ODEs and PDEs, familiarity with matrix operations and some linear algebra. This would do well for Hamiltonian mechanics through beginners Quantum Mechanics. Books for starting; I would recommend Boas (Mathematical Methods of the Physical Sciences) and Arfkan (Mathematical Methods for Physicists, Sixth Edition; another math methods book). For classical mechanics, Taylor Classical Mechanics. For intro QM, Giffiths Introduction to Quantum Mechanics (2nd Edition).

Best of luck!

• Please, anyone correct me if I'm wrong or misleading! Nov 20, 2012 at 21:42
• What topics in Linear Algebra are necessary for Hamiltonian Mechanics? I'm currently self-studying LA, so I'd like to know what I actually need. Nov 20, 2012 at 21:48
• You will need LA for QM, but I was introduced to LA before I took CM and it helped. I think matrix operations and such are important. Learning about vector spaces is key. Perhaps I did not say this right, because I think it is worth studying specifically for QM. If you go deep into CM you will use LA, but you can get through Hamiltonian and Lagrangian Mech without it. Nov 20, 2012 at 22:39