What is the difference between Langrangian, Hamiltonian and Newtonian Mechanics?

In summary, Langrangian mechanics, Hamiltonian mechanics, and Newtonian mechanics are all different ways of obtaining the equations of motion in physics, with Lagrangian and Hamiltonian being more "elegant" and offering a different perspective. A strong foundation in Newtonian mechanics and knowledge of ordinary differential equations is necessary to understand these formulations, with additional knowledge in partial differential equations and variational calculus being helpful. While all three are equivalent, they may be more convenient to use depending on the system being described. Lagrangian and Hamiltonian mechanics are particularly useful for systems with constraint forces and torques, and as a prequel to quantum mechanics. However, there are practical limitations in their application, as some systems in engineering and meteorology may
  • #1
Alexc475
4
0
What is the main difference between Langrangian, Hamiltonian, and Netwonian Mechanics in physics, and what are the most important uses of them?

I'm currently a high school senior, with knowledge in calculus based physics, what would the prerequisites be in order for me to begin Langrangian and Hamiltonian Mechanics?

I have general knowledge in Single and Multi-variable Calculus, and I'm starting Ordinary Differential Equations.
 
Physics news on Phys.org
  • #2
Different ways of obtaining the equations of motion. Lagrangian/Hamiltonian is more "elegant", and I guess you can say "a different way of looking at mechanics".

I'd say finish differential equations before you look into this, and also study numerical methods of integrating ODEs (Euler and Runge-Kutta) if you want to ever use L.M. for practical applications.
 
  • #3
That's a tall order, but in a nutshell:

1. Newtonian mechanics develops equations of motion based on forces and acceleration as described by Newton's three laws.
2. Lagrangian mechanics develops equations of motion by minimizing the integral of a function of a system's coordinates and time derivatives of those coordinates.
3. Hamiltonian mechanics is a refinement of Lagrangian mechanics in which the time derivatives of a system's coordinates are replaced by "generalized momenta" (time derivatives of the system's Lagrangian).

The three formulations are 100% equivalent, but one or the other may be more convenient to use, depending on the system you wish to describe. Generally, a set of 1-dimensional springs & masses is best approached with Newtonian mechanics. Anything else, best with one of the other formulations.

You'll need a foundation in systems of ordinary differential equations in order to understand any of the formulations. It is best to have a good grounding in Newtonian mechanics before approaching Lagrangian or Hamiltonian mechanics; Lagrangian and Hamiltonian mechanics also require knowledge of partial differential equations and variational calculus, though variation calculus is often taught within advanced mechanics courses.

You might try checking the Wikipedia articles on those topics. Also check for "action integral" and "principle of least action."
 
  • #4
I don't really agree with the last two posts regarding the math requirements.You can certainly begin to understand the basics of the Lagrangian/Hamiltonian formalism if you understand:partial derivatives,multivariate chain rule some very basic ODE's and strong Newtonian mechanics.
Of course the more math you know the easier it will be and the more problems you can approach. A full course in PDEs or numerical analysis is not required though.
 
  • #5
He hasn't finished ODE class, which means at the moment he's probably studying first order ODEs in his math class, that's why I said finish that first. Lagrangian ODEs are 2nd order almost all the time.

Also you need to study numerical techniques if you want to do more than 3 problems in L.M. because most of the time the solutions are not elementary or extremely hard to solve. You'll need to learn to use computers unless all you want is to stare at the ODEs. Also for nasty constrained systems or nonholonomic constrained systems youll get DAEs which are hard even for computers.
 
  • #6
obafgkmrns said:
The three formulations are 100% equivalent, but one or the other may be more convenient to use, depending on the system you wish to describe. Generally, a set of 1-dimensional springs & masses is best approached with Newtonian mechanics. Anything else, best with one of the other formulations.
There are plenty of applications of classical physics that can only be expressed in terms of Newtonian mechanics. Finite element analysis, computational fluid dynamics, rockets, jets, cars, machinery, most anything subject to nonconservative forces.

Where Lagrangian and Hamiltonian mechanics shine is in systems with constraint forces and torques, and of course as a prequel to quantum mechanics. The concept of force just doesn't carry over into quantum mechanics.
 
  • #7
Lagrangian techniques can apply to systems with non-conservative forces easily.
 
  • #8
D H said:
There are plenty of applications of classical physics that can only be expressed in terms of Newtonian mechanics. Finite element analysis, computational fluid dynamics, rockets, jets, cars, machinery, most anything subject to nonconservative forces.

Not so -- the formulations are entirely equivalent. Nonconservative forces are easily and routinely accommodated. See "Classical Mechanics" by H. Goldstein for a brief description of generalized or velocity-dependent potentials.
 
  • #9
In theory, yes. In practice, no. There are many applications in engineering, meteorology, and other areas of applied classical physics where one has no choice but to use an F=ma type formulation. How are you going to express in Lagrangian/Hamiltonian form the forces and torques exerted by a rocket that fires intermittently based on the whims of a control system, the atmospheric drag on a complex-shaped vehicle as it moves through an atmosphere with seemingly random winds, the behavior of a hurricane as it moves over a mountainous Caribbean island?
 
  • #10
D H said:
How are you going to express in Lagrangian/Hamiltonian form the forces and torques exerted by a rocket that fires intermittently based on the whims of a control system, the atmospheric drag on a complex-shaped vehicle as it moves through an atmosphere with seemingly random winds, the behavior of a hurricane as it moves over a mountainous Caribbean island?

For that matter, how do you plan to use Newton's equations of motion to describe your control system? I think you may be confounding derivation of equations of motion with their solutions. In any case, compressible flows and other continuous systems are easily described in a Lagrangian formulation. See Goldstein's text, for example.
 
  • #11
D H said:
In theory, yes. In practice, no. There are many applications in engineering, meteorology, and other areas of applied classical physics where one has no choice but to use an F=ma type formulation. How are you going to express in Lagrangian/Hamiltonian form the forces and torques exerted by a rocket that fires intermittently based on the whims of a control system, the atmospheric drag on a complex-shaped vehicle as it moves through an atmosphere with seemingly random winds, the behavior of a hurricane as it moves over a mountainous Caribbean island?

Well, just like the choice of coordinate system (rectangular or polar? fixed or rotating?), there are situations where a Newtonian analysis yields the equations of motion more easily, and situations where a Lagrangian or Hamiltonian analysis works better. In practice a Newtonian analysis is limited by the analyst's ability to guess the forces acting on the system elements, whereas the Lagrangianist (is that a word?) "merely" has to enumerate the energies.

Just as an example, consider a cylindrical tank of diameter D with rigid walls and a uniform flexible bottom, filled with water to a height H. Suppose the elastic parameters of the bottom are known, i.e. thickness, Young's modulus, Poisson ratio, boundary conditions, etc. Assuming the amplitude is small and therefore the resulting flow is a potential flow, what is the natural frequency of oscillation under gravity? In my view it is straightforward to write down the Lagrangian and to calculate the mass and spring terms (the coefficients of [itex]\frac{1}{2}\dot{x}^2[/itex] and [itex]\frac{1}{2}x^2[/itex] where x is the tank bottom coordinate). And though the problem can be solved in the Newtonian framework, one has to be fairly painstaking in computing and integrating the pressure distribution on the tank bottom, which varies with time and radial location. And since the water does not move at a uniform velocity, one has to be careful to compute the center-of-mass motion correctly. And in the Newtonian method one has to account for the distribution of inertia and elastic forces in the tank bottom, as well, while in the Lagrangian method one need merely know the elastic and kinetic energies of the bottom as a whole.

On the other hand, I've had to do force accounting for aeropropulsive interactions on supersonic aircraft. It's a bear to do correctly using Newtonian mechanics -- but I can't conceive of how one would do it using Lagrangian methods. Only by estimating the force first and then using the method of virtual work can this be hammered into the Lagrangian method.

BBB
 
  • #12
bbbeard said:
Well, just like the choice of coordinate system (rectangular or polar? fixed or rotating?), there are situations where a Newtonian analysis yields the equations of motion more easily, and situations where a Lagrangian or Hamiltonian analysis works better. In practice a Newtonian analysis is limited by the analyst's ability to guess the forces acting on the system elements, whereas the Lagrangianist (is that a word?) "merely" has to enumerate the energies.
I fully understand the advantages of a Lagrangian or Hamiltonian formulation. They let one look at state as being something other than position and momentum, they naturally capture things such as constraints, and they are absolutely essential in quantum mechanics. However, that "merely" of yours is a big problem in many practical applications of classical physics.
obafgkmrns said:
For that matter, how do you plan to use Newton's equations of motion to describe your control system? I think you may be confounding derivation of equations of motion with their solutions. In any case, compressible flows and other continuous systems are easily described in a Lagrangian formulation. See Goldstein's text, for example.
First of all, this is pretty much mandatory at this point.

physicists.png


My degree is in physics, but I have been working as an engineer for thirty some years. One of the first things I had to do was to overcome that tendency toward oversimplification that physicists are won't to do.

As for the question you asked, "how do you plan to use Newton's equations of motion to describe your control system," the answer is simple: simulate. The equations of motion describe the true behavior of the rocket (or airplane). The control system: You run that as-is as a part of the simulation. You don't describe the control system in terms of any equations of motion. The control system actuates effectors. The behaviors of those effectors is described in terms of the equations of motion, but the control system itself is not. The control system is what it is, nowadays typically a part of the flight software.
 
  • #13
D H said:
I fully understand the advantages of a Lagrangian or Hamiltonian formulation. They let one look at state as being something other than position and momentum, they naturally capture things such as constraints, and they are absolutely essential in quantum mechanics. However, that "merely" of yours is a big problem in many practical applications of classical physics.

... My degree is in physics, but I have been working as an engineer for thirty some years. One of the first things I had to do was to overcome that tendency toward oversimplification that physicists are won't to do.

In my case, my bachelor's and master's degrees are in mechanical engineering, and my doctorate is in theoretical physics. At the moment I'm a "rocket scientist" in Huntsville.

For the last several years I've been helping to develop a system that is essentially a fluid-structure coupling damper for launch vehicles. So, amusing anecdote along these lines: I am the "analytical guy" on the team, which is to say, I write down the equations of motion and solve them. We also have a "CFD guy" and several "FEM guys". Now, the funny thing is, it was the FEM guys who first pointed out to us that there is a "virtual" fluid mass in the system which has to be included in the equations of motion, though they had no idea how to compute it. Once this was pointed out, it didn't take long (though longer than it should have) for me to write down the appropriate volume integral to use to evaluate the virtual mass. The FEM guys and myself both used the Lagrangian formulation to arrive at the equation of motion. However, the CFD guy is apparently uncomfortable with the Lagrangian method. So he insists on deriving the equations of motion using "first principles" Newtonian mechanics. And for the longest time he insisted that the virtual mass was not real, so he didn't need to include it in the equations of motion. Finally I started calling it the "radiative mass" and showing evidence from the test data reduction that the radiative mass was pretty much exactly as estimated. So eventually he started giving it lip service, but he is still clearly very foggy about how it shows up in the Newtonian method (it shows up as a contribution to the pressure distribution on the moving part of the damper). But since the mass that shows up in the Lagrangian is essentially just the volume integral of the dynamic pressure, divided by [itex]\frac{1}{2}\dot{x}^2[/itex], it almost literally falls out in the Lagrangian method.

BTW I think his doctorate is in engineering, and not physics. My experience has been that it is engineers, and not physicists, who are won't to simplify things until they get to a system they understand. My approach has been to write down something I know is correct and then to figure out how to estimate the terms involved. Sometimes that means simplifications. Sometimes it means turning to test data to find empirical correlations. Sometimes it means writing down the correct Bessel function expansion for the fluid motion and then writing a code to compute the expansion coefficients for however many hundreds of terms are needed to achieve a desired level of accuracy. Only rarely does it involve a broom and a rug. ;-)

But it's all good, right?

BBB
 
  • #14
Alexc475 said:
What is the main difference between Langrangian, Hamiltonian, and Netwonian Mechanics in physics, and what are the most important uses of them?

I'm currently a high school senior, with knowledge in calculus based physics, what would the prerequisites be in order for me to begin Langrangian and Hamiltonian Mechanics?

I have general knowledge in Single and Multi-variable Calculus, and I'm starting Ordinary Differential Equations.

I'm not sure we've given you a decent answer. Newtonian mechanics proceeds by identifying forces acting on masses and then applying F=dp/dt=ma and τ=dL/dt=Iα to find the accelerations of those masses. Lagrangian mechanics finds the equations of motions in terms of generalized coordinates and their time derivatives, by finding a functional called the Lagrangian [itex]L(q,\dot{q})=T-U[/itex], which is just the kinetic energy T minus the potential energy U written in terms of [itex]q[/itex] and [itex]\dot{q}[/itex]). The Lagrangian is then dropped into the Euler-Lagrange equation

[itex]\frac{d}{dt}\frac{\partial L}{\partial \dot{q}}-\frac{\partial L}{\partial q}=0[/itex]

to find the equations of motion.

The Hamiltonian method is similar to the Lagrangian method, except that we write the dynamics in terms of a generalized coordinate and a momentum (instead of a velocity), using a functional called the Hamiltonian [itex]H(q,p)=T+U[/itex], and then we apply Hamilton's equations

[itex]\dot{p}=-\frac{\partial H}{\partial q}[/itex]

[itex]\dot{q}=\frac{\partial H}{\partial p}[/itex]

To see how these work, consider the simple case of a mass connected to a spring which provides a restoring force [itex]F = -k x[/itex] that is proportional to the amount of spring stretch, "x".

In Newtonian mechanics we write

[itex]m \ddot{x}= -k x[/itex]

In Lagrangian mechanics we write

[itex]L = \frac{1}{2} m \dot{x}^2 - \frac{1}{2}k x^2[/itex]

and the Euler-Lagrange equation gives

[itex]\frac{d}{dt} m \dot{x} + k x = 0[/itex]

which obviously gives the same result.

For the Hamiltonian, you have to write the kinetic energy in terms of the momentum [itex]p=m\dot{x}[/itex], that is, [itex]T=p^2/2 m[/itex]. So

[itex]H = \frac{p^2}{2 m} + \frac{1}{2}k x^2[/itex]

and Hamilton's first equation gives

[itex]\dot{p} = - k x[/itex]

which again is the same equation of motion.

Once you get the idea of each of these methods, you can start to discover the advantages and disadvantages of each. One of the primary advantages of the Lagrangian and Hamiltonian methods, for example, is that they work for "generalized" coordinates, not just displacements in Cartesian coordinates. The coordinate q can be an angle, for example, and [itex]\dot{q}[/itex] the associated angular velocity. Or q could be a volumetric displacement (by a piston, say) and [itex]\dot{q}[/itex] a volumetric flow rate.

If you understand all the manipulations above, then you probably have enough math to get started. Note, however, that actually understanding where the Euler-Lagrange equations come from requires variational calculus, which is a bit beyond high-school calculus.

BBB
 
  • Like
Likes ComplexVar89, DoobleD, warrenchu000 and 1 other person

1. What is the main difference between Langrangian, Hamiltonian and Newtonian Mechanics?

The main difference between these three types of mechanics lies in the mathematical approach used to describe the motion of a system. Newtonian mechanics is based on the laws of motion and the concept of forces, while Langrangian and Hamiltonian mechanics use a more abstract mathematical framework known as the calculus of variations.

2. Which type of mechanics is best for describing complex systems?

Langrangian and Hamiltonian mechanics are better suited for describing complex systems, as they provide a more concise and elegant mathematical formulation that can handle a wide range of physical phenomena. Newtonian mechanics, on the other hand, is more limited in its scope and is better suited for simpler systems.

3. How do Langrangian and Hamiltonian mechanics relate to each other?

Langrangian mechanics and Hamiltonian mechanics are two different mathematical formulations that describe the same physical system. Langrangian mechanics is derived from a function called the Lagrangian, while Hamiltonian mechanics is derived from a function called the Hamiltonian. These two functions are related to each other through a mathematical transformation known as the Legendre transformation.

4. Can all physical systems be described using Langrangian and Hamiltonian mechanics?

Yes, all physical systems can be described using Langrangian and Hamiltonian mechanics. The two formulations are equivalent and provide a comprehensive framework for understanding the dynamics of any physical system, from simple particles to complex systems such as fluids, gases, and even quantum systems.

5. Which type of mechanics is more commonly used in modern physics?

Langrangian and Hamiltonian mechanics are more commonly used in modern physics, particularly in fields such as classical mechanics, quantum mechanics, and field theory. This is because of their versatility and ability to handle complex systems, as well as their close relationship to other important concepts in physics such as energy and symmetries.

Similar threads

Replies
20
Views
8K
Replies
4
Views
833
  • Atomic and Condensed Matter
Replies
0
Views
348
Replies
4
Views
6K
  • Quantum Physics
Replies
10
Views
2K
  • STEM Academic Advising
Replies
3
Views
1K
  • Science and Math Textbooks
Replies
16
Views
2K
Replies
5
Views
1K
  • Introductory Physics Homework Help
Replies
9
Views
1K
Replies
1
Views
3K
Back
Top