## Problem involving fundamental principle

Hello,

I was unsure if I should post this or on the General Physics thread but since it's about Einstein's gravity, I'll post it here.

All right, so the problem is as follows (from Surely You're Joking, Mr. Feynman!):

 You blast off in a rocket which has a clock on board, and there's a clock on the ground. The idea is that you have to be back when the clock on the ground says one hour has passed. Now you want it so that when you come back, your clock is as far ahead as possible. According to Einstein, if you go very high, your clock will go faster, because the higher something is in a gravitational field, the faster its clock goes. But if you try to go too high, since you've only got an hour, you have to go so fast to get there that the speed slows your clock down. So you can't go too high. The question is, exactly what program of speed and height should you make so that you get the maximum time on your clock?
I understand the question being asked. My question is, how you would go about to calculate it?
 PhysOrg.com science news on PhysOrg.com >> City-life changes blackbird personalities, study shows>> Origins of 'The Hoff' crab revealed (w/ Video)>> Older males make better fathers: Mature male beetles work harder, care less about female infidelity
 Blog Entries: 9 Recognitions: Gold Member Science Advisor Your question is very broad in scope; it would probably help if you would try to narrow it down a little. What do you already know that would be relevant to this problem, and how have you tried to approach it yourself?
 This has to do with proper time, I believe.

Blog Entries: 9
Recognitions:
Gold Member

## Problem involving fundamental principle

 Quote by Alcubierre This has to do with proper time, I believe.
Yes, it does. That's what you want to maximize; it's what Feynman is calling "the time on your clock". The full equation for proper time in a gravitational field is rather complicated, but the following approximate formula, which is derived from the exact equation (which comes from General Relativity), should work fine for this problem:

$$\tau = \int d \tau = \int_{0}^{T} \left[ g h - \frac{1}{2} \left( \frac{dh}{dt} \right)^{2} \right] dt$$

where h is your height above the ground (as a function of the time t elapsed on the ground clock), g is the acceleration due to gravity, and T is the time elapsed on the ground clock when you are supposed to return (1 hour)--you're assumed to start at time 0.

The terms in the integrand should look somewhat familiar, btw, if you've had any Newtonian physics; but even if you haven't, you should be able to draw parallels with the two effects Feynman talks about: the first term, gh, gets bigger (more proper time elapsed) as you go higher, but the second gets bigger (less proper time elapsed, because it's being subtracted) as you go faster (dh/dt is your speed). (Btw, I made a key assumption here, that you are only moving vertically, not horizontally; this is because the clock on the ground is assumed to be stationary, so you just go straight up and come straight back down again to it.)

The goal now is to figure out what function h(t) maximizes the value of the above integral, which gets into the calculus of variations:

http://en.wikipedia.org/wiki/Calculus_of_variations

I'll stop here to let you digest what I've said; please feel free to ask further questions once you have.
 About the units, is it safe to assume they are in MKS? Okay, so this is what I got from your post. Tau is the proper time; I am integrating Tau in respect to time from 0 to 3600 seconds, since that's the hour on Earth. You mentioned I wanted to maximize the proper time and it is so I can obtain how far the clock on the rocket can go. All right. So for h and dh/dt, namely, v(t), I will play around with values, meters and m/s, respectively? Or must I first figure out what function h(t) maximizes the height so that I can plug that in? I'm a bit confused with the methodology.

Blog Entries: 9
Recognitions:
Gold Member
 Quote by Alcubierre About the units, is it safe to assume they are in MKS?
Any consistent system of units will work; if you're most comfortable with MKS, then that's fine.

 Quote by Alcubierre Okay, so this is what I got from your post. Tau is the proper time; I am integrating Tau in respect to time from 0 to 3600 seconds, since that's the hour on Earth.
Yes.

 Quote by Alcubierre You mentioned I wanted to maximize the proper time and it is so I can obtain how far the clock on the rocket can go. All right. So for h and dh/dt, namely, v(t), I will play around with values, meters and m/s, respectively?
Remember it's not just values; h(t) and dh/dt are functions of time, so you need general expressions for them, such as $h(t) = k t^{2}$, where k is some constant.

 Quote by Alcubierre Or must I first figure out what function h(t) maximizes the height so that I can plug that in?
Yes, your goal is to find the function h(t) that maximizes the integral (not the height itself but the integral). You can try experimenting by just picking a function h(t), calculating its derivative, and plugging in to the integral to see what you get and how it varies as you change the function; but there's a quicker way.

Did you read the web page I linked to on the calculus of variations? That gives you a general method for finding the function that maximizes an integral like this. In particular, the section on the Euler-Lagrange equation is applicable to this problem; it talks about how to maximize an integral that has this general form:

$$\int L[x, f(x), f'(x)] dx$$

where the integrand L is called the "Lagrangian". The integral we have for your particular problem uses t instead of x, h(t) instead of f(x), and dh/dt instead of f'(x), but that's just notation. The web page shows how maximizing the above integral leads to the Euler-Lagrange equation:

$$\frac{\partial L}{\partial f} - \frac{d}{dx} \frac{\partial L}{\partial f'} = 0$$

where the partial derivatives of L are taken by treating f(x) and f'(x) as independent variables, even though they are really connected. This will give you a differential equation for f(x), or in your particular problem, h(t); actually, it will give an equation for $d^{2} h / dt^{2}$, the second derivative of h, which you can integrate twice to find h itself.
 Okay, I was thinking about doing it this way: Using Lorentz transformation, $t' = \gamma (t - \frac{vx}{c^2})$ where $t'$ is the time of the rocket, $t$ is the time on Earth, and $\gamma$ is $\frac{1}{\sqrt{1 - (\frac{v}{c}})^{2}}$. Then I'd maximize this in relation to $v$ and $x$, where $v$ is the speed of the rocket and $x$ is the height, or distance from earth. I'd rewrite the Lorentz for velocity as a derivative of distance, $\frac{dx}{dt}$. The first derivative would give me the critical points when I set the x value equal to zero. Then, I'd take the second derivative and if it's positive, I'll have a minimum, and if it's a negative, a maximum. Wouldn't this method directly maximize the Lorentz transformation for a time $t$? I guess doing the Lagrange would give me the same result, except I'd have to have the mass of the rocket $m$, and I wrote the Lagrange as, $L$ = $\frac{1}{2}$$m$$v^{2}$ + $mgh$, and I'd substitute the Lagrangian into the Euler-Lagrange. The only issue I'm having is finding a way to derive the Lorentz transformation. You see, I'm an incoming senior in high school and I only have AP Calculus AB under my belt. I'm teaching myself these things as I read articles and books, but I'm managing. Edit: I think I got how to derive this, but I will wait for you to check up on this to see if I am on the right path.

Blog Entries: 9
Recognitions:
Gold Member
 Quote by Alcubierre Using Lorentz transformation
The Lorentz transformation equation you wrote down won't help you for this problem, because it only applies to a particular event on the rocket's worldline, i.e., a particular point (t', x'). It won't give you a *function* that tells you the time elapsed over the rocket's entire trajectory.

You could try to use the Lorentz transformation as a starting point to derive an equation that tells you the effect of the rocket's motion, relative to the clock on the ground, on the time elapsed on the rocket's clock. However, that would only cover one of the two effects Feynman was talking about, the rocket's clock running slower as it goes faster. It won't tell you anything about the rocket's clock running *faster* when it is higher up in the gravitational field. To get the right answer you need to take both of these effects into account. That's what the integral I wrote down in post #4 does.

 Quote by Alcubierre I guess doing the Lagrange would give me the same result, except I'd have to have the mass of the rocket $m$, and I wrote the Lagrange as, $L$ = $\frac{1}{2}$$m$$v^{2}$ + $mgh$, and I'd substitute the Lagrangian into the Euler-Lagrange.
What you have here is not the Lagrangian, it's the Hamiltonian--the total energy of the rocket, including its kinetic energy (first term) and potential energy (second term). To get the Lagrangian, you have to *subtract* the potential energy from the kinetic energy.

Also, if you are working with the Lagrangian, you want to *minimize* it; this is the principle of "least action". Feynman's problem asked you to find the trajectory that *maximizes* the time elapsed on the rocket's clock. So you need to flip signs and subtract the kinetic energy from the potential energy, not vice versa.

Finally, it turns out that you don't even need to know the mass of the rocket; you can divide it out and just work with the rocket's speed and height. This is because of the equivalence principle: one way of stating it is that all objects fall with the same acceleration in a gravitational field. So really all you need is the kinetic and potential energy "per unit mass".

If you put together the three things I said just above, you will find that you come up with the integral I wrote down in post #4. And in post #6, I mentioned that the integrand in that integral is called the "Lagrangian"; strictly speaking, it's minus the "Lagrangian per unit mass". That integrand is what you want to plug into the Euler-Lagrange equation. In other words, you have

$$L = g h - \frac{1}{2} v^{2}$$

where v = dh/dt. And this L is what you want to plug into the Euler-Lagrange equation.
 Peter, The Langrangian is $L[x, y, y'] = L[t, h(t), h'(t)] = gh - \frac{1}{2}(\frac{dh}{dt})^{2}$ where h(t) = h, h'(t) = $\frac{dh}{dt}$. Do I have a $t$ value? Also, you confused me with the minimize and maximize bit in post #8. You said I want to minimize the Lagrangian but maximize the function h(t) and h'(t). I do not understand. Moreover, I tried to plug in the Lagrangian into the Euler-Lagrange equation, but I do not know what I am doing, to be quite frank. What will that give me? This is what I did: $\frac{\partial L[t, h(t), h'(t)]}{\partial h'(t)}$ = $\frac{h'(t)}{gh - \frac{1}{2}(\frac{dh}{dt})^{2}}$ and $\frac{\partial L[t, h(t), h'(t)]}{\partial h(t)} = 0$ $\frac{d}{dx}$$\frac{h'(t)}{gh - \frac{1}{2}(\frac{dh}{dt})^{2}} = 0$ $\frac{h'(t)}{gh - \frac{1}{2}(\frac{dh}{dt})^{2}} = C = constant$ $\Rightarrow$ h'(t) = $\frac{C}{gh - \frac{1}{2}(C)^{2}} := A$ $\Rightarrow$ $h(t) = Ax + B$ I have a feeling I am completely wrong and this is utter nonsense.

Blog Entries: 9
Recognitions:
Gold Member
 Quote by Alcubierre The Langrangian is $L[x, y, y'] = L[t, h(t), h'(t)] = gh - \frac{1}{2}(\frac{dh}{dt})^{2}$ where h(t) = h, h'(t) = $\frac{dh}{dt}$.
Yes, that's right. Bear in mind, though, that actually this is minus the Lagrangian divided by the mass of the particle (since the mass appears in both the kinetic and the potential energy, we can divide it out and it won't matter to the answer). That's why we'll be maximizing instead of minimizing. See further comments below.

 Quote by Alcubierre Do I have a $t$ value?
You're not trying to do this for a single t value. You're trying to maximize an integral that runs over a range of t values, from 0 to T = 3600 seconds. So you don't want to look at things at just one t value; you want to look at things as a function of t, over the full range of the integral.

 Quote by Alcubierre Also, you confused me with the minimize and maximize bit in post #8. You said I want to minimize the Lagrangian but maximize the function h(t) and h'(t).
You're not maximizing h'(t); you're just maximizing h(t) [edit: actually you're finding the function h(t) that maximizes the integral]. Once you have h(t), h'(t) is given, since it's just dh/dt; you can't choose it independently. The only reason you have to deal with h'(t) is that it appears in the integral you're trying to maximize. If it makes it easier, you can forget I said anything about minimizing and just focus on maximizing, since that's all that's needed for this problem. If so, just ignore the next few paragraphs.

If you do want to have more about minimizing vs. maximizing, first recall the question Feynman asked: he wanted you to find the trajectory that maximizes the reading on the rocket's clock when it returns back to the clock on the ground. We came up with an integral that tells you what the time elapsed on the rocket's clock is, so finding the function h(t) that maximizes the value of that integral will give you the answer to Feynman's question.

However, the integral we wrote down can also be interpreted in another way. Suppose we multiply the integral by -m; in other words, we flip the signs of both terms in the integrand and put the m back in that we factored out before. The integrand will look like this:

$$\frac{1}{2} m v^{2} - m g h$$

which is just the object's kinetic energy minus its potential energy. This quantity is what is normally called the "Lagrangian" of the particle [edit: the term "Lagrangian" can have different meanings depending on context--it can mean just anything whose integral you want to maximize/minimize, or it can mean specifically the expression above; sorry about the confusing terminology]; and the integral of the Lagrangian [edit: meaning specifically the expression above this time] over a given trajectory for the object is called the "action" for that trajectory. It turns out that the question Feynman asked, what trajectory, what function h(t), maximizes the time on the rocket's clock, is equivalent to this question: what trajectory, what function h(t), minimizes the action? And one way of expressing the laws of physics as applied to the trajectory of the object is that the object will move on that trajectory which minimizes the action. This is called the "principle of least action", and it is an important principle in physics. We don't really need to go into it further here, but that's why you often see people talking about minimizing the action instead of maximizing the proper time (the time on the rocket's clock in this problem). As I said above, for this case, we can just focus on maximizing the proper time and forget about the minimizing altogether.

 Quote by Alcubierre Moreover, I tried to plug in the Lagrangian into the Euler-Lagrange equation ... I have a feeling I am completely wrong
The Euler-Lagrange equation is something different from what you may be used to; it takes a bit of a shift in perspective to see what it's trying to tell you.

Let me rewrite the Euler-Lagrange equation as it applies to this problem:

$$\frac{\partial L}{\partial h} - \frac{d}{dt} \frac{\partial L}{\partial h'} = 0$$

$$L = gh - \frac{1}{2} v^{2}$$

The key thing now is that when taking the partial derivatives of L with respect to h and h', we pretend that h and h' are two separate variables, and when we take the partial derivative of L with respect to each one, we treat the other as being held constant. You said you have had Calculus AB, which I don't think covers functions of multiple variables; but it's actually pretty simple in this case. I'll write down the results; they should make sense when you've thought about them for a bit.

$$\frac{\partial L}{\partial h} = g$$

$$\frac{d}{dt} \frac{\partial L}{\partial h'} = \frac{d}{dt} \frac{\partial L}{\partial v} = \frac{d}{dt} \left( - v \right) = - \frac{dv}{dt} = - \frac{d^{2} h}{dt^{2}}$$

So the Euler-Lagrange equation works out to

$$\frac{d^{2} h}{dt^{2}} = - g$$

Do you see what this is telling you? And can you see how to integrate this twice to get the function h(t) that answers Feynman's question?

 Quote by PeterDonis So the Euler-Lagrange equation works out to $$\frac{d^{2} h}{dt^{2}} = - g$$ Do you see what this is telling you? And can you see how to integrate this twice to get the function h(t) that answers Feynman's question?
It looks like you are assuming g (acceleration of gravity) is constant. For this problem, with the specified 1-hour trajectory, and with constant g, the path would reach a radial position more than three times the radius of the earth, where the acceleration of gravity is only about 1/9 the value at the earth's surface, so we can't assume constant g. Constant g would say the trajectory h(t) is a parabola, but of course the actual trajectory is a cycloid. (Strictly speaking, h(tau) is a cycloid; there's no simple characterization of h(t).)

Also, if you're willing to take the acceleration of gravity for granted, then there's really no need for any calculation, because obviously the trajectory in question is just an object on a free ballistic trajectory subject to the acceleration of gravity at every point. In other words, your last equation is the definition of g for a free object. The point of Feynman's story was that the guy he was talking to didn't realize this, because he didn't immediately recognize that freefall trajectories in general relativity are precisely those that maximize proper time. So we know the answer without any calculation at all (assuming we know the shape of free fall trajectories).
 Oh I do understand partial derivatives. To clarify, is this what you did? The Lagrangian for this system is $L = gh - \frac{1}{2} ( \frac{dh}{dt})^{2}$ and we plugged that in the Euler-Lagrange which is, $\frac{\partial L}{\partial h} - \frac{d}{dt} \frac{\partial L}{\partial h'} = 0$. The first part yields, $\frac{\partial L}{\partial h} = gh = g$. The second yields $\frac{d}{dt} \frac{\partial L}{\partial h'} = \frac{d}{dt} \frac{\partial L}{\partial v} = - \frac{1}{2}v^{2} = \frac{d}{dt}(-v) = - \frac{d^{2}h}{dt^{2}}$. Then we put the results together, $g - (- \frac{d^{2}h}{dt^{2}}) = 0$ $\frac{d^{2}h}{dt^{2}} = -g$. I do see what it's telling me. The second derivative of h is the gravitational pull to the Earth, or $-g$. If I integrate it twice, I obtain $\int^{T}_{0}-g dt$ $= -gt = \frac{dh}{dt}$ and $= \int^{T}_{0}-gtdt$ $= -g \frac{t^{2}}{2} = h$. Then I plug this in the integrand, $\tau = \int d \tau = \int^{T}_{0} [g(-gt) - \frac{1}{2}(-g \frac{t^{2}}{2})^{2}]dt$ I can integrate these separately and pull out the constants, $=-2g \int^{T}_{0} t dt + \frac{1}{2}g \int^{T}_{0} \frac{t^{4}}{4} dt$ and I get, $= -2g \frac{t^{2}}{2} + \frac{1}{2}g \frac{t^{5}}{20}|^{3600}_{0}$ Is the last part correct, with the integration I mean? I plugged in the 3600 and I got a very large number. Moreover, another conceptual question, and perhaps you mentioned it but I missed it. The second derivative of h, that is the acceleration but more explicitly, the velocity and the height that it yields, those are simply the functions, right? So to maximize those functions, I plug the functions in the proper time integral (above, which gave me a large number) or do I have to find a constraint equation so I can maximize the h(t) and v(t) with a Lagrange multiplier?

 Quote by Samshorn It looks like you are assuming g (acceleration of gravity) is constant. For this problem, with the specified 1-hour trajectory, and with constant g, the path would reach a radial position more than three times the radius of the earth, where the acceleration of gravity is only about 1/9 the value at the earth's surface, so we can't assume constant g. Constant g would say the trajectory h(t) is a parabola, but of course the actual trajectory is a cycloid. (Strictly speaking, h(tau) is a cycloid; there's no simple characterization of h(t).)
You're right, the gravity is not a constant.

 The point of Feynman's story was that the guy he was talking to didn't realize this, because he didn't immediately recognize that freefall trajectories in general relativity are precisely those that maximize proper time. So we know the answer without any calculation at all (assuming we know the shape of free fall trajectories).
I do know this, he explains why he asked afterwards. The point he was trying to make is that people don't apply what they learn to real things. He said, I quote, "I don't know what's the matter with people: they don't learn by understanding, they learn by some other way — by rote or something. Their knowledge is so fragile!" The point of this thread was to take the question further and actually calculate the program of height and speed so that the proper time is maximized, just out of curiosity.

 Quote by Alcubierre You're right, the gravity is not a constant.
Yes, and you understand that this invalidates all your calculations, right?

 Quote by Alcubierre The point of this thread was to actually calculate the program of height and speed so that the proper time is maximized, just out of curiosity.
Maximizing the proper time for the Schwarzschild metric, for a one-hour round trip, the object needs to be moving at about 4.7 miles/sec (i.e., about 67% of escape velocity) on its upward starting point at the earth's surface, and it must follow a cycloidal path of radius versus (proper) time, reaching a maximum radial distance (from the earth's center) of about 7365 miles (i.e., about 3400 miles above the earth's surface, remembering the earth's radius is about 3964 miles). The parametric angles of the starting and ending points are +-1.494 radians.
 The assumption with my calculations was that gravity was a constant thus making the rocket follow a parabolic trajectory. However, I forgot that the rocket will go into space and gravity is weaker there, so gravity was only "constant" until a certain height for a certain amount of time. My question is, how would I treat gravity in this problem? Are the programs of height and speed that you gave me in the second paragraph of your post the answer I have been looking for? If so, how did you do it?

 Quote by Alcubierre Are the programs of height and speed that you gave me in the second paragraph of your post the answer I have been looking for?
Yes.

 Quote by Alcubierre If so, how did you do it?
From the equivalence principle find the field equations as the simplest covariant equations involving derivatives of no greater than second order. From the field equations derive the metric for a spherically symmetrical field (to represent the earth's gravity). By definition, the timelike geodesics of this manifold maximize (or extremize) proper time. Apply the calculus of variations to the metric to determine the equations of geodesic paths in this manifold. Then consider a purely radial geodesic path, and integrate the geodesic equations to show that the radial position versus proper time is a cycloid (coincidentally, just as it is in Newtonian theory). Then plug in the conditions of the stated problem (one hour round trip from the earth's surface) to determine the parameters of the trajectory.

Before you tackle this, I'd suggest you work out the ballistic radial trajectory for Newtonian mechanics. Since the question concerns very slow motion in very weak gravity, the trajectory is virtually the same as in general relativity.
 That is quite a bit. I honestly have no idea where to begin.

 Similar discussions for: Problem involving fundamental principle Thread Forum Replies Introductory Physics Homework 7 Precalculus Mathematics Homework 1 Precalculus Mathematics Homework 2 Introductory Physics Homework 1 Introductory Physics Homework 3