How to find the equation of motion using Lagrange's equation?

In summary: But it's a great place to start if you're interested in the subject.In summary, the two methods are equivalent, and the Lagrangian is more important in beyond-the-Newtonian physics for a number of reasons.
  • #1
Pironman
3
1
Good morning, I'm not a student but I'm curious about physics.
I would like to calculate the equation of motion of a system using the Lagrangian mechanics. Suppose a particle subjected to some external forces.
From Wikipedia, I found two method:

1. using kinetic energy and generalized forces only:
7d680e28c77d3fd077ef7dfbd3d06376aabc823e

in this way I must compute the kinetic energy, and the projection of my external forces into the generalized coordinate.

2. using the lagrangian, and generalized forces:
268e577df654ef95e7a89e43ec4804a0b7ba627d

Here I must compute the kinetic and potential energy, and instead of "0" in the right side of the equation I must put my external forces.

So, I think that using the second method I have more calculation to do, because I must compute the potential energy, that I don't need using the first method. An example of the application of these two method are in the wikipedia page of inverted pendulum, where the equations are computed using three method (these two, and Newton method): https://en.wikipedia.org/wiki/Inverted_pendulum#From_Lagrange's_equations

So, where is the advantages of compute the lagrangian? If I have to choose a method, when one is more convenient than the other?Thank you
 
Physics news on Phys.org
  • #2
Look again at that Wikipedia article. The two methods are equivalent via D'Alembert's principle (forget Newton). Therefore, which method one chooses depends on what physical quantities one readily has; in other words, it is a matter of convenience.

Now, using the Lagrangian in an Euler-Lagrange equation is more important in beyond-the-Newtonian physics for a number of reasons; perhaps the most important is that the Lagrangian can be formulated to observe the symmetries of the system under study.

On the other hand, there are Newtonian-mechanics-related areas where the Euler-Lagrange approach is the only practical method of attacking a problem. That's because the differentiation is done by generalized, not merely space, coordinates. Mechanical engineering is heavily using that method; look for the so-called theoretical mechanics branch.

Since you are interested In physics at that level, it is vital that you construct a reasonable "roadmap", otherwise you may get lost in the math and physics prerequisites. So, stick with the Lagrangian!
 
  • Like
Likes vanhees71 and topsquark
  • #3
Pironman said:
Good morning, I'm not a student but I'm curious about physics.
I would like to calculate the equation of motion of a system using the Lagrangian mechanics. Suppose a particle subjected to some external forces.
From Wikipedia, I found two method:

1. using kinetic energy and generalized forces only:
7d680e28c77d3fd077ef7dfbd3d06376aabc823e

in this way I must compute the kinetic energy, and the projection of my external forces into the generalized coordinate.

2. using the lagrangian, and generalized forces:
268e577df654ef95e7a89e43ec4804a0b7ba627d

Here I must compute the kinetic and potential energy, and instead of "0" in the right side of the equation I must put my external forces.

So, I think that using the second method I have more calculation to do, because I must compute the potential energy, that I don't need using the first method. An example of the application of these two method are in the wikipedia page of inverted pendulum, where the equations are computed using three method (these two, and Newton method): https://en.wikipedia.org/wiki/Inverted_pendulum#From_Lagrange's_equations

So, where is the advantages of compute the lagrangian? If I have to choose a method, when one is more convenient than the other?Thank you
Hi Pironman,
in practice the Lagrangian approach is usually more convenient. In most cases, computing the potential energy is relatively easy, while projecting all the forces on the generalized coordinates can be tricky. I have seen the first approach used only to deal with friction, that cannot be modeled using the Lagrangian approach (except a few simple cases).

As a rule of thumb: the more complex the system, the more convenient the Lagrangian approach is. Which is exactly the point of using the Lagrangian. If you think of it, the first approach stops midway: you get the generalized momenta from the kinetic energy, but do not the generalized forces from the potential. If you are not convinced, have a look at your preferred book on Analytical Mechanics and see how many times the two methods are used for moderately complex problems.

To answer your last question: I use the Lagrangian whenever computing directly the generalized forces is more cumbersome than computing the potential and its derivatives. Which happens almost always.
 
  • Like
Likes vanhees71, apostolosdt and topsquark
  • #4
Perhaps if someone can point the OP to a worked example, it might clarify it for him.
 
  • Like
Likes topsquark
  • #5
Actually, I was going to suggest the OP look at a text like Marion or Symon. This is a big field, and entire books are written about it (and related topics), A book will answer this, provide examples, provide questions to test understanding, and also do the same for followup questions.
 
  • Like
  • Informative
Likes vanhees71, apostolosdt, topsquark and 1 other person
  • #6
I'd recommend the good old Goldstein/Poole/Safko. Chapter 1 has a nice, clear discussion of the D'Alembert principle and Lagrange equations (section 1.4), along with examples (section 1.6) and a good set of exercises at the end of the chapter. The mathematical prerequisites are minimal.
 
  • Like
Likes topsquark
  • #7
Only the 1st and 2nd edition of Goldstein can be recommended! The later editions are spoiled by authors in an attempt to modernize it, but they have introduced serious errors (particularly about non-holonomic constraints).
 
  • Like
Likes PhDeezNutz
  • #8
First of all, thanks to everyone.
Now I understand why use one or another form, so the main topic question is solved.
I will look to the books you advised me.

For a little bit more information, to better understand my problem, I'm mechanical engineer and I'm trying to write a mathematical model of a motorcycle, in my free time, to better understand it's dynamics (it's not my job but I'm really passionate to motorcycle).
I've tried using Newtonian mechanics, but I've failed. So I start with Lagrange, but at university we study only Newtonian mechanics so I must start to study again after 10 years.
 
  • #9
Pironman said:
[...] For a little bit more information, to better understand my problem, I'm mechanical engineer and I'm trying to write a mathematical model of a motorcycle, in my free time, to better understand it's dynamics (it's not my job but I'm really passionate to motorcycle).
I've tried using Newtonian mechanics, but I've failed. So I start with Lagrange, but at university we study only Newtonian mechanics so I must start to study again after 10 years.
I'm sure there are more comprehensive textbooks on theoretical mechanics and more knowledgeable members, but in your case, I would first thumb through Schaum's Series with the same title by Spiegel. (There is also, again in Schaum's series, the Lagrangian Dynamics by Wells.)
 
  • #10
apostolosdt said:
Look again at that Wikipedia article. The two methods are equivalent via D'Alembert's principle (forget Newton). Therefore, which method one chooses depends on what physical quantities one readily has; in other words, it is a matter of convenience.

This is not true. The equivalence only happens when all the forces can be derived from a potential, the obvious counterexample are dissipative forces.
 
Last edited:
  • #11
andresB said:
This is not true. The equivalence only happens when all the forces can be derived from a potential, the obvious counterexample are dissipative forces.
I was trying to keep things simple. The least OP is needed are fully detailed answers. I've seen numerous queries from students that elicited monograph-like discussions and must say I'm not in favour of such attitude. What's coming next? Discussion of non-Hermitian Hamiltonians?

Otherwise, your remark is correct; thanks for pointing it out to me.
 
  • #12
Pironman said:
First of all, thanks to everyone.
Now I understand why use one or another form, so the main topic question is solved.
I will look to the books you advised me.

For a little bit more information, to better understand my problem, I'm mechanical engineer and I'm trying to write a mathematical model of a motorcycle, in my free time, to better understand it's dynamics (it's not my job but I'm really passionate to motorcycle).
I've tried using Newtonian mechanics, but I've failed. So I start with Lagrange, but at university we study only Newtonian mechanics so I must start to study again after 10 years.
I am a Mechanical Engineer, too - though I always worked in IT.
Let me re-state my recommendation: try Goldstein. I agree with vanhees71 that the last editions did not improve over the second one: get it if you can. Solutions to the problems can be easily found online, if you need it. Goldstein will give you a level on insight that Schaum will not.
Otherwise, if you have time, use both - maybe concurrently. Enjoy your trip in Classical Mechanics!
 
  • Like
Likes vanhees71
  • #13
Right now I started with the first volume of the physics series of Lev D Landau, just because I already have it, I bought it some years ago but never readen.
 
  • Like
Likes vanhees71
  • #14
Pironman said:
Right now I started with the first volume of the physics series of Lev D Landau, just because I already have it, I bought it some years ago but never readen.
Great book, but not for self-teaching. Quite terse, few exercises. You may want to augment it with Schaum's exercises.
 
  • Like
Likes Vanadium 50 and apostolosdt

FAQ: How to find the equation of motion using Lagrange's equation?

What is Lagrange's equation and how is it used in finding the equation of motion?

Lagrange's equation is a mathematical tool used in classical mechanics to describe the motion of a system. It is based on the principle of least action, which states that the path a system takes between two points is the one that minimizes the action. In order to find the equation of motion using Lagrange's equation, we first need to define the system's Lagrangian, which is a function that describes the system's kinetic and potential energies.

What are the steps involved in using Lagrange's equation to find the equation of motion?

The first step is to define the system's Lagrangian, which is a function of the system's generalized coordinates and their time derivatives. Next, we use Lagrange's equation to find the system's equations of motion, which are second-order differential equations. Finally, we solve these equations to determine the system's motion over time.

What are the advantages of using Lagrange's equation over other methods for finding the equation of motion?

One advantage of using Lagrange's equation is that it is based on a single principle, the principle of least action, which makes it a more elegant and concise approach compared to other methods. Additionally, Lagrange's equation can be applied to systems with a large number of degrees of freedom, making it a powerful tool in complex systems.

Can Lagrange's equation be used for systems with constraints?

Yes, Lagrange's equation can be used for systems with constraints, as long as the constraints are holonomic (can be expressed as equations involving the generalized coordinates and time). In these cases, the constraints are incorporated into the Lagrangian using Lagrange multipliers, and the resulting equations of motion will take into account the constraints.

Are there any limitations to using Lagrange's equation in finding the equation of motion?

One limitation of Lagrange's equation is that it is only applicable to systems that can be described using generalized coordinates. It also assumes that the system is conservative, meaning that there is no external energy input or output. Additionally, Lagrange's equation may not be the most efficient method for solving certain types of problems, such as systems with friction or non-conservative forces.

Similar threads

Replies
13
Views
2K
Replies
21
Views
2K
Replies
3
Views
935
Replies
5
Views
1K
Replies
1
Views
1K
Replies
8
Views
1K
Replies
18
Views
1K
Replies
5
Views
1K
Back
Top