# Difference between revisions of "Lagrangian Dynamics"

DavidB4-bot (Talk | contribs) (→Example: clean up & uniformity) |
(Maths formatting and some more explanation) |
||

Line 1: | Line 1: | ||

− | '''Lagrangian dynamics''' are an alternative to [[Newtonian mechanics]]. Lagrangian dynamics are particularly useful in solving for the equations of a motion of a system operating under constraints. Often it is possible, using Lagrangian dynamics, to solve for the equations of motion for a system without needing to solve for the constraint forces, which is why they are often preferred over Newtonian mechanics for these types of problems. It is important to note that both methods will yield the same end result, the only thing that changes is the method of arriving at the end result. | + | '''Lagrangian dynamics''' are an alternative to [[Newtonian mechanics]]. Lagrangian dynamics are particularly useful in solving for the equations of a motion of a system operating under constraints. Often it is possible, using Lagrangian dynamics, to solve for the equations of motion for a system without needing to solve for the constraint forces, which is why they are often preferred over [[Newtonian mechanics]] for these types of problems. It is important to note that both methods will yield the same end result, the only thing that changes is the method of arriving at the end result. |

− | + | An important concept in Lagrangian mechanics is that of a generalised coordinate, <math>q_k</math>. The position coordinate <math>q_k</math> and corresponding velocity coordinate <math>\dot q_k</math> are taken to be independent of each other so that: | |

− | <math>\frac{\partial}{\partial t}({\partial L } | + | <math>\frac{\partial}{\partial q_k}(\dot q_k) = \frac{\partial}{\partial \dot q_k}(q_k) = 0</math> |

+ | |||

+ | The Euler-Lagrange equation produces a [[differential equation]] for each generalised coordinate and is as follows: | ||

+ | |||

+ | <math> | ||

+ | \frac{\partial}{\partial t} \bigg(\frac{\partial L }{\partial \dot q_k} \bigg) - \frac{\partial L}{\partial q_k} = Q | ||

+ | </math> | ||

Where: | Where: | ||

− | L | + | :<math>L</math> is the [[Lagrangian]], is defined as <math>L = T - V</math> (<math>T</math> is the total [[kinetic energy]] of the system and <math>V</math> is the total [[potential energy]] of the system) |

+ | :<math>q_k</math> is the k<sup>th</sup> generalised coordinate | ||

+ | :<math>Q</math> is the generalised force | ||

+ | |||

+ | These can then be solved to get the equations of motion for each object in the system. | ||

+ | If the Lagrangian has no dependence on a particular coordinate, then that coordinate is said to be ignorable and there is a [[conservation law|conserved quantity]] associated with it. | ||

+ | <math>{\partial L }/ {\partial \dot q}</math> is known as the generalised momentum. | ||

==Example== | ==Example== | ||

− | Consider a mass m attached a spring with spring constant k. The system has | + | Consider a mass <math>m</math> attached a spring with spring constant <math>k</math>. The system has two degrees of freedom: <math>x</math>, the displacement of the mass from its equilibrium position and its velocity <math>\dot x</math>. Then, |

<math>T=\frac{1}{2}m\dot x^2</math> | <math>T=\frac{1}{2}m\dot x^2</math> | ||

Line 18: | Line 30: | ||

<math> | <math> | ||

− | {\partial L } | + | \frac{\partial L }{\partial \dot x} = m\dot x |

</math> | </math> | ||

<math> | <math> | ||

− | {\partial L} | + | \frac{\partial L}{\partial x} = -kx |

</math> | </math> | ||

− | (Note that the | + | (Note that the generalised momentum is the same as the "normal" Newtonian momentum of mass times velocity in this problem.) <math>Q=0</math> for this simple problem, and so the equation of motion is |

<math> m\ddot x = -kx </math> | <math> m\ddot x = -kx </math> | ||

− | which is the same as the result one arrives at by just considering the forces acting on the mass in Newtonian mechanics. | + | which is the same as the result one arrives at by just considering the forces acting on the mass in Newtonian mechanics. This can then be solved to get the mass's equation of motion. |

− | + | ||

[[Category:Physics]] | [[Category:Physics]] |

## Revision as of 16:26, 23 November 2016

**Lagrangian dynamics** are an alternative to Newtonian mechanics. Lagrangian dynamics are particularly useful in solving for the equations of a motion of a system operating under constraints. Often it is possible, using Lagrangian dynamics, to solve for the equations of motion for a system without needing to solve for the constraint forces, which is why they are often preferred over Newtonian mechanics for these types of problems. It is important to note that both methods will yield the same end result, the only thing that changes is the method of arriving at the end result.

An important concept in Lagrangian mechanics is that of a generalised coordinate, . The position coordinate and corresponding velocity coordinate are taken to be independent of each other so that:

The Euler-Lagrange equation produces a differential equation for each generalised coordinate and is as follows:

Where:

- is the Lagrangian, is defined as ( is the total kinetic energy of the system and is the total potential energy of the system)
- is the k
^{th}generalised coordinate - is the generalised force

These can then be solved to get the equations of motion for each object in the system. If the Lagrangian has no dependence on a particular coordinate, then that coordinate is said to be ignorable and there is a conserved quantity associated with it. is known as the generalised momentum.

## Example

Consider a mass attached a spring with spring constant . The system has two degrees of freedom: , the displacement of the mass from its equilibrium position and its velocity . Then,

Thus,

(Note that the generalised momentum is the same as the "normal" Newtonian momentum of mass times velocity in this problem.) for this simple problem, and so the equation of motion is

which is the same as the result one arrives at by just considering the forces acting on the mass in Newtonian mechanics. This can then be solved to get the mass's equation of motion.