# Classical Mechanics formulations (Part 2)

Last time I mentioned looking at two functions, and that would ideally carry all the data needed to solve certain types of problems in classical mechanics. In the case of , I conjectured that equations analogous to the Lagrange equations ought to exist and hold, namely,
.
If we got lucky, we could recover and from those partials. While my approach on that front (prior to writing this post) has been… heuristic at best, I have found evidence that indicates with the coordinates transformed. At least in some situations. In my attempt to present this evidence yesterday afternoon without complete notes, I was unable to recapture this evidence on the fly. There is probably a good lesson in that, even if nothing else is gained from this exercise.

In the comments for Part 1, Dr. Baez suggested looking at the one-dimensional Lagrangian , for which the equations of motion are well known. Acting on this suggestion over the weekend, during a bout of insomnia while running a fever, I wove together the evidence I found so elusive yesterday with a skein of half-baked yarn. I probably could mix more metaphors in there if I tried, but the point is, the following paragraph may need to be taken with a liberal grain of salt.

At first I was uncertain how to approach an ‘easy’ , like a gravitational potential, so I took a simple spring potential, . So that’s already a point in favor of feverish-insomnia me over at-the-whiteboard-without-notes me, who couldn’t even write down the potential correctly. The equation of motion is , from which we can find . That can be simplified by choosing units where and a suitable time translation for which , but I did not originally make those simplifications, so I won’t here. , and . Noticing those two outside equalities, , and , along with the equation of motion itself, , right off the bat would have saved me from having to do any of these contortions in . There goes that point I gave to feverish-insomnia me.

In particular, can be rewritten by converting to via the equation of motion, and from there can be written in terms of , so can be written in terms of . Presto:

without any reference to . But what happens when we treat this as and write the Lagrange-analogy equations?
, because . Similarly,
,
and indeed, .

So that worked out for a simple spring. And it wasn’t just tenuous dreamstuff it was made of, after all. Bolstered by that success, I continued to the ‘simpler’ case of constant gravity. Here, , where is the acceleration due to gravity, and is constant. Again, I took the cheap route of writing things in terms of , but this time I was unable to fold all the s back into an expression with only as variables. So that’s the bad news for this one. The good news is that if you take and apply the partials, you do get again. Unfortunately, this requires more data than the original formulations, as the Hamiltonian approach gets by with a proper subset of those coordinate variables. I had thought I had gotten away from requiring , but looking at what I wrote in my delirious state, that really was a phantasm of night.

It would appear this pseudo Lagrangian approach can work for certain situations, most likely ones whose equations of motion are second order homogeneous differential equations such that can be solved for in terms of , which can be converted to . This seems likely at least for the given kinetic energy that was used here. A DHO (damped harmonic oscillator) might be worth looking at in the future, as those provide a generic linear second order homogeneous differential equation of motion.