# A Leap Day 2016 Mathematics A To Z: Lagrangian

It’s another of my handful of free choice days today. I’ll step outside the abstract algebra focus I’ve somehow gotten lately to look instead at mechanics.

## Lagrangian.

So, you likely know Newton’s Laws of Motion. At least you know of them. We build physics out of them. So a lot of applied mathematics relies on them. There’s a law about bodies at rest staying at rest. There’s one about bodies in motion continuing in a straight line. There’s one about the force on a body changing its momentum. Something about F equalling m a. There’s something about equal and opposite forces. That’s all good enough, and that’s all correct. We don’t use them anyway.

I’m overstating for the sake of a good hook. They’re all correct. And if the problem’s simple enough there’s not much reason to go past this F and m a stuff. It’s just that once you start looking at complicated problems this gets to be an awkward tool. Sometimes a system is just hard to describe using forces and accelerations. Sometimes it’s impossible to say even where to start.

For example, imagine you have one of those pricey showpiece globes. The kind that’s a big ball that spins on an axis, and whose axis in on a ring that can tip forward or back. And it’s an expensive showpiece globe. That axis is itself in another ring that rotates clockwise and counterclockwise. Give the globe a good solid spin so it won’t slow down anytime soon. Then nudge the frame, so both the horizontal ring and the ring the axis is on wobble some. The whole shape is going to wobble and move in some way. We ought to be able to model that. How? Force and mass and acceleration barely seem to even exist.

The Lagrangian we get from Joseph-Louis Lagrange, who in the 18th century saw a brilliant new way to understand physics. It doesn’t describe how things move in response to forces, at least not directly. It describes how things move using energy. In particular, it uses on potential energy and kinetic energy.

This is brilliant on many counts. The biggest is in switching from forces to energy. Forces are vectors; they carry information about their size and their direction. Energy is a scalar; it’s just a number. A number is almost always easier to work with than a number alongside a direction.

The second big brilliance is that the Lagrangian gives us freedom in choosing coordinate systems. We have to know where things are and how they’re changing. The first obvious guess for how to describe things is their position in space. And that works fine until we look at stuff such as this spinning, wobbling globe. That never quite moves, although the spinning and the wobbling is some kind of motion. The problem begs us to think of the globe’s rotation around three different axes. Newton doesn’t help us with that. The Lagrangian, though —

The Lagrangian lets us describe physics using “generalized coordinates”. By this we mean coordinates that make sense for the problem even if they don’t directly relate to where something or other is in space. Any pick of coordinates is good, as long as we can describe the potential energy and the kinetic energy of the system using them.

I’ve been writing about this as if the Lagrangian were the cure for all hard work ever. It’s not, alas. For example, we often want to study big bunches of particles that all attract (or repel) each other. That attraction (or repulsion) we represent as potential energy. This is easier to deal with than forces, granted. But that’s easier, which is not the same as easy.

Still, the Lagrangian is great. We can do all the physics we used to. And we have a new freedom to set up problems in convenient ways. And the perspective of looking at energy instead of forces gives us a fruitful view on physics problems.

## Author: Joseph Nebus

I was born 198 years to the day after Johnny Appleseed. The differences between us do not end there.

## 9 thoughts on “A Leap Day 2016 Mathematics A To Z: Lagrangian”

1. I’ve considered the Lagrange Multiplier. It might be good for the next A-to-Z. It would help if I could set it up with explaining gradients first, and G is happily ahead of L in that order.

Like

1. It is mystifying stuff. I did work out an intuitive feeling for Lagrange multipliers in the difficult old days of the 90s. But I’ve seen some animated gifs that I’m confident would have got me to that point much faster.

Like

1. A question: When physicists say Lagrangian they often actually mean Lagrangian density – the ‘curly L’ to be integrated over space and time, and the ‘actual’ Lagrangian is the integral. How is term used in math?

Like

1. My experience, which I admit is limited is that a mathematician speaking of the Lagrangian is probably, by default, speaking of the energy, the kinetic energy minus potential. She’d probably only mean the Lagrangian density if it were clear from context she were working in field theory.

But my experience was mostly as a student, and grad student, just learning different ways to describe mechanics. I never got deeply enough into this kind of physics to do field theory, for example. I was over in statistical mechanics and fluid flow problems instead. And there I was doing much more with the Hamiltonian forms of physical systems.

Liked by 1 person

1. Thinking again about why I brought this up: Seems I had tacitly assumed you were actually using field theory without emphasizing it … especially you had mentioned your experience in fluid dynamics before. I thought about the stress energy tensor (of something simple, like an ideal gas), as it is often one of the first things explained in field theory courses … after Noether’s Theorem had been introduced.

So can I propose Noether’s Theorem for your next A-Z tour? ;-)

Like

1. It isn’t a strange thought to have. I kind of backed into fluid dynamics the wrong way around, by looking for a problem well-handled by some statistical mechanics tools, and Monte Carlo simulations, that I had on hand rather than out of any particular interest in how fluids move. I never even had a proper course on the subject, although I’d picked up some basic stuff from differential equations and numerical methods courses. The result is a real fluid flow specialist would find me a staggering mix of knowledge and ignorance. I have considered relying on my love’s workplace benefits to see if I can take a proper fluid dynamics course without paying full tuition.

I might do Noether’s Theorem. I’m kind of tempted to do a series of nothing but theorems, actually, although how to organize the theme is a challenge.

Liked by 1 person

This site uses Akismet to reduce spam. Learn how your comment data is processed.