The Lagrangian - How it’s used…

Well I’m stuck in uni for a little while before my tutorial starts at 1, so I thought I’d quickly explain how the Lagrangian is used.

After deciding on your coordinate system, which can really be quite arbitary, you need to write down 2 things in this coordinate system.

Firstly the kinetic energy, which for our pendulum example (length l) in my first post about this would be something like:

T = \frac {1}{2} I \dot \theta^2

Where I is the moment of inertia for the system.

Secondly we require an equation for the potential energy, this is more difficult in this case as we need to work out how the height change for a given theta.

Now it should have been noted by anyone who’s studied much physics that I’ve failed to draw a diagram up to this point. And the diagram that will appear attached to this post was/will be done when I got/get home. But I do have one I just drew infront of me. And from this using a bit of simple trig I can show that:

h = -l\cos\theta

Which gives:

U = -mgl\cos\theta

The next step is finding the Lagrangian, but that is trivially:

L = T - U

=> L =  \frac {1}{2} I   \dot \theta^2 +  mgl\cos\theta

So all that is left is to put this through the equation of motion.

\frac {d}{dt} \frac {\delta L} {\delta \dot q} =  \frac {\delta L} {\delta q}

The easiest way to do this is to work out the two partial derrivatives first, and then put them into the equation.

I’ll leave this as an exercise, feel free to message me your answers or post queiers in the comments… Answers in comments will be deleted ;) Simple Pendulem!

4 Responses to “The Lagrangian - How it’s used…”

  1. yourdadonapogos Says:

    What are q and the time rate of change of q?

  2. Klaynos Says:

    It’s a generalised coordinate, I explain it a bit in:

    http://blogs.scienceforums.net/anewworld/2008/02/07/no-forces/

    But when I get around to posting the derivation I’ll explain it fully, in this case q is \theta

  3. Aeternus Says:

    This is still missing a diagram :(

    (Also one of your latex tags is missing)

    Nice post btw :)

  4. Klaynos Says:

    It is, you’re right, depending how bored I get of my dissertation this afternoon I might do one…

    Also it’s not missing it just doesn’t work!

Leave a Reply

You must be logged in to post a comment.

This blog proudly hosted by ScienceForums.Net Blogs. Subscribe to our RSS Logo global RSS feed.