Rocket Science

This week the science blogosphere has been spending a lot of time on space exploration and the science of understanding the universe outside our own planet. At risk of being the buzzkill distracting from all the cool space travel history and heated debates about NASA's future, I think it will be interesting to do a little bit of the math behind basic rocketry. As a bonus, we'll do it in the Lagrangian formulation of classical mechanics. (And maybe to draw in a few Google hits from lost students, I'll note that this is pretty much Goldstein 1.13) Non-mathy readers don't have to worry about the math, it's certainly possible to get the general idea without worrying about the details of how it works.

The advantage of the Lagrangian formulation is that it avoids having to deal with vectors and forces directly. We really won't benefit from this here because we'll launch our mathematical rocket straight up, in 1-d motion. Still, good practice. The quantity that's actually called the Lagrangian is the difference between the kinetic and potential energy, so we'd better write those down first. First the kinetic energy:

i-d4bb9fe09d6b78eb832985821d8a307f-1.png

Then the potential:

i-88516ca505d84f969b7ab15a965c3fb3-2.png

The Lagrangian L = T - U. A few quick things to note: first, the mass m is not constant. It's a rocket, and mass is constantly being blasted out the back end. Second, I'm calling the vertical position x because why not? Now that we have the Lagrangian, we need Lagrange's equation to plug it into. His equation looks like this for our case:

i-d18063683dcc0d42b9be45451a84d1e3-3.png

Normally there would be a 0 in the place of that Q. That's in the case where all the forces can be expressed in terms of the potential. But that's rather difficult here because the thrust of the exhaust is not really something where a potential can easily be written down. Instead we're using the generalized force Q, which in this case happens to be just the thrust itself. Via Newton's second law, the thrust is just the rate of change of the momentum of the rocket. And that's just the velocity of the rocket exhaust times the burn rate. Call that velocity v, and remember that v is not the velocity of the rocket. We're representing that with x-dot.

Do the partial derivatives and the above equation becomes this:

i-8d7070ce28f0af28047c7a5fb8246d53-4.png

Do the total derivative and simplify:

i-bb5c2c6b0452df43a61e3974bd9b473f-5.png

This is pretty bad for one main reason: v is an annoyingly involved quantity. It's the velocity of the rocket exhaust, with respect to the ground. What we want is the nice constant speed of the exhaust with respect to the rocket. Call that v'. The relationship between them is simple. Exhaust velocity w/r/t the ground is the negative of the exhaust speed w/r/t the rocket (negative because it's pointing down) plus the rocket w/r/t the ground. Substitute into the above and switch dm/dt into dot notation:

i-80f9713f6d11461837a9f9b540684e36-6.png

And simplify, canceling the m-dot x-dot products:

i-9ef27a331268eac0961c3fd4d1a55446-7.png

Ok, time for a brief break to let everyone catch their breaths. Do you think I'll get in trouble for posting cheesecake? Probably, but I don't care!

i-d27f71e228b9bc2ca4dffc682b75ab75-hedy.png
Hedy Lamarr: Actress, co-inventor of frequency hopping, and generally awesome lady.

All right. The last equation we just derived is a differential equation. It's easy to solve if you've enough math experience to follow all the previous stuff, so I won't bore you. Also this is bad form but COMMAND DECISION: we're declaring the previous definition of v to be dead and buried; henceforth v will be the velocity of the rocket. The solution for the velocity is:

i-2a911bc4888cdd6dfd35cad351fab7d5-8.png

The final velocity will clearly occur at the time the rocket runs out of fuel and reaches its final mass. With that in mind,

i-44ec8cae73c5984c6c575d0dba7bf900-9.png

So finally we need to write the time the rocket motor burns, assuming a constant burn rate. We can then stuff that back into the previous equation. The time is just the mass burned over the burn rate:

i-c824f1ecbc6c0640a24a0c6253be158a-10.png

Which after all that gives us the final rocket velocity:

i-1d3223abadf16fa3303c041bf9fa4404-11.png

Escape velocity is about 11.7 km/s. For a rocket with exhaust speed of 4 km/s and a burn time of 1000 s, you need more than 200 kilograms of fuel for each kilogram of payload. Which is why it takes one of these:

i-cbb19629aa2d0cba72553357edfaeb6f-saturn.png

To get one of these to the moon:

i-51e28f7d65461f792347ea16aeb9d96e-cm.png

Whew! I think that's enough. It's not called rocket science for no reason.

More like this

One question, why is it in Langrange's equation that you wrote the differentials with a loopy delta while at other places, you just wrote a plain "d"?

Actually, you need all of that to get the CM to orbit. You need all of that and the CM to get the puny little LM to the moon.

One thing I forgot to mention in my blog about the moon mission and the landing is that many people forget that the LM is, to date, the only manned SPACE craft. It is the only vehicle we ever designed to travel somewhere in the vacuum of space. The space stations share some similar features, but they were never meant to go anywhere except in almost circles.

actually, this is not correct. you just came up with a generalized force to get the right equation. Lagrangian mechanics is not derived for variable mass.

By ElPikacupacabra (not verified) on 19 Jun 2011 #permalink

One more thing: dm/dt is negative, so if you don't want your flight time to be negative, you need a minus for the formula for t_f. informative post though. I was checking my answers for Goldstein.

By ElPikacupacabra (not verified) on 19 Jun 2011 #permalink