Path Calculation of point mass in gravitational field

AI Thread Summary
The discussion revolves around deriving the trajectory of a body in a gravitational field using classical mechanics, specifically through conservation of energy and angular momentum. The user successfully transitioned to polar coordinates, simplifying the equations of motion, but encountered difficulties in eliminating angular variables and solving the resulting differential equations. They received guidance on substituting variables and using conservation laws to derive an equation for the trajectory, ultimately leading to Kepler's laws. After multiple iterations and refinements, the user reported success in deriving a formula for the trajectory but faced challenges when applying numerical values, resulting in unexpected graphs. The conversation highlights the iterative nature of solving complex physics problems and the importance of community support in the learning process.
VVS
Messages
85
Reaction score
0
Hi,

I am trying to derive a formula for the path taken of a body in a Gravitational Field using Classical Mechanics.

I have attached a pdf file with my derivation so far. Basically I used conservation of energy and conservation of angular momentum to derive a diferential equation describing the motion.


Right now I am stuck. I don't know how to proceed.
 

Attachments

Physics news on Phys.org
Your derivations are all correct, as far as I can see, and it's in fact a very clever trick to use the conservation laws at hand to get the equations of motion.

You'll find your way by just another trick! Use just the right coordinates for the symmetry of the problem at hand and you'll succeed. As you've already used, due to the spherical symmetry of the force, angular momentum is conserved and thus the motion goes entirely in a plane, you've choosen to be the xy plane.

Now it's more convenient to introduce polar coordinates
\vec{x}=\begin{pmatrix} x \\ y \end{pmatrix} = r \begin{pmatrix} \cos \varphi \\ \sin \varphi \end{pmatrix}.
Plug this into the expressions for the energy and modulus of the angular momentum. With the latter expression you can eliminate \varphi and \dot{\varphi} completely from the energy expression. Then you get an equation of motion for r(t) alone by taking the time derivative of the energy expression again.

One final trick is to consider this equation in terms of u(\varphi)=\frac{1}{r(\varphi)}. This leads to an equation for u(\varphi), you can easily solve. The result are Kepler's Laws for the motion of planet around the sun (in the approximation to neglect the center-mass motion of the sun and treat it as fixed central potential).

If you encounter further problems, let us know!
 
Thank you for the quick reply.

I am going to redo the derivation in polar coordinates again and then I will get back to you.
 
Hey vanhees71 I redid the derivation as you suggested with polar coordinates. It really does make life easier. I attached it in the pdf file.

Do I have to differentiate the energy equation again wrt to t? Wouldn't that give me terms in r'''?

Moreover I couldn't eliminate theta' and therefore I didn't get an equation only in r, r' an r'' as you suggeste I would.

How can one solve a differential equation like that?

Could you please give me a hint?
 

Attachments

Wait! The trick is to calculate E and L (which you did right!). So you have
L=m r^2 \dot{\theta}=\text{const}
Now you use
\dot{\theta}=\frac{L}{m r}
to elimininate \dot{\theta} from E. Then you get
E=\frac{m}{2} \dot{r}^2 + \frac{L^2}{m r^2}-\frac{G M m}{r}.
In this you substitute
r=\frac{1}{u(\theta)}
for the trajectory, expressed in polar coordinates, thinking for the angle as a function of time, \theta(t). Then you take the time derivative, which leads to a differential equation for u(\phi).

It is not so easy to get the trajectory as function of time. This leads to Kepler's equation, which is only solvable in implicit form!
 
I have done the derivation again as you suggested.

I did the substitution, but I think I did something wrong the differential equation looks very complicated.
 

Attachments

Ok, I guess it's time to solve the problem, but I think you already did a good job!

We start from your equation (3)
\frac{\dot{r}^2}{2}+\frac{h^2}{2 r^2} - \frac{G M}{r}=\text{const}.
Here h=L/m.

First we substitute r=1/u[\theta(t)]. Using the chain rule this gives
\dot{r}=-\frac{u'}{u^2} \dot{\theta},
where the prime refers to differentiation wrt. \theta and the dot to differentiation wrt. time.

Now use the angular-momentum conservation (it's also on your paper):
h=\frac{L}{m}=r^2 \dot{\theta}.
Subsitute this into the equation above, you get
\dot{r}=-\frac{u'}{u^2} \frac{h}{r^2}=-h u'.
Put this into the energy-conservation equation above
\frac{h^2 u'^2}{2} + \frac{h^2}{2} u^2-G M u=\text{const}.
The time derivative of this gives
h^2 u' u'' \dot{\theta}+h^2 u u' \dot{\theta}-G M u' \dot{\theta}=0.
Using again the angular-momentum conservation equation gives after some algebra
u''=\frac{G M}{h^2}-u.
This is the equation of an harmonic oscillator subject to an external constant force. The general solution obviously is
u(\theta)=\frac{G M}{h^2}+A \cos \theta + B \sin \theta.
Now it is the usual convention to choose the polar coordinate system such that \vartheta=0 denotes the perihel, i.e., the point, where the planet comes next to the sun. At this point u=1/r should be maximal, i.e., u'(0)=0 \; \Rightarrow \; B=0 and (assuming A>0) yields
u(\theta)=\frac{G M}{h^2} + A \cos \theta.
This gives
r(\theta)= \frac{1}{G M/h^2 + A \cos \theta}.
Put this a bit in a more familiar shape:
r(\theta)=\frac{p}{1+\epsilon \cos \theta},
where
p=\frac{h^2}{G M}, \quad \epsilon=\frac{h^2 A}{G M}.
One can show that, if the total energy is negative (bound motion), then \epsilon<1. This means that the planet moves along an ellipse with the sun in one of its foci. That's Kepler's first law.
 
1.Switch to polar coordinates
2.Eliminate the angular coordinate by the conservation of angular momentum
3.Use above mentioned trick u=1/r to get a r(θ) solution.

If you try to solve for r(t) you'll get a non elementary integral, feed it into mathematica if you're still interested.
 
Hi,

I realized what I needed to do this morning. I have attached the derivation again for completeness till we get the final differential equation. Now I would like to solve this differential equation with initial conditions: position and speed. I will try to figure it out myself and if I can't do it I will ask for help.

I have also derived a differential equation at the end using the time derivative expressions for energy and angular momentum. This DE is in d2/dt2(r) and r. I wonder whether this DE is useful for anything.

Thanks a lot for the support so far, this forum rocks!
 

Attachments

  • #10
Hi,

I've done it! Please see the attached pdf. I have a formula for the trajectory as a function of theta and the initial conditions. I rechecked it with my father, there shouldn't be any errors inside.

Thanks for everyone's help!
 

Attachments

  • #11
Hello,

I started plugging in numbers and I started to get weird graphs as you can see at the end of my attached file.

What is wrong in my derivation of the Coefficients for the solution of the differential equation?
 

Attachments

Back
Top