Position as a function of time through a varying gravitational field

JJfortherear
Messages
14
Reaction score
0
I've been trying to figure this out for a while, since my first semester of physics ended. It's not a homework problem, just something I've been doing for fun. I've spoken with a few people about it and they all say it's just a diff. equation but they can't remember how to solve it, and, unfortunately, I haven't taken diff. equations yet. So the furthest I get is:

x=1/2at^2
a=gmm/(r-x)^2

so plug in a to the first eq. The r-x is the initial radius minus the distance x traveled due to acceleration.

I'm sure this case has been extensively closed, but I just stumbled upon this website and I could find no solution to this problem anywhere else (could just ask one of my soon to be physics professors, but I'd rather know now). Thanks.
 
Last edited:
just wanted to clarify, one object is considered stationary (mass of something like a planet, but considered as a point, so x approaches r and the acceleration becomes infinite). I'm just looking for how to solve the two equations for x (and i realize that should be gm not gmm for acceleration)
 
Your first equation is wrong. It's only valid for constant a, which is not the case. It should read d²x/dt² = a. And your second equation is greatly simplified if you shift your x variable to be relative to origin. That way, the equation you are trying to solve is this.

d²x/dt² = -g/x²

I found a solution, which is x = bt^(2/3), but it is obviously the parabolic escape solution, and you need an elliptical one. I'll keep thinking.
 
K^2 said:
Your first equation is wrong. It's only valid for constant a, which is not the case. It should read d²x/dt² = a. And your second equation is greatly simplified if you shift your x variable to be relative to origin. That way, the equation you are trying to solve is this.

d²x/dt² = -g/x²

I found a solution, which is x = bt^(2/3), but it is obviously the parabolic escape solution, and you need an elliptical one. I'll keep thinking.

There's a clever trick to solving this type of ODE, just make use of the chain rule by noticing

[tex]\frac{d^2 x}{dt^2}=\frac{d}{dt}\left(\frac{dx}{dt}\right)=\frac{dx}{dt}\frac{d}{dx}\left(\frac{dx}{dt}\right)=\frac{1}{2}\frac{d}{dx}\left(\frac{dx}{dt}\right)^2[/tex]

This gives you a very simple separable ODE for [itex]\left(\frac{dx}{dt}\right)^2[/itex] as a function of [itex]x[/itex].

[tex]\frac{d}{dx}\left(\frac{dx}{dt}\right)^2=-\frac{2g}{x^2}[/tex]
 
Huh. That is nifty.

v² = 2g/x+c

Not that much improvement, though... Separable, but the integral for it is NOT pretty.

Edit: I think it might be easier to start with Kepler's laws and take the limit of angular momentum going to zero.
 
Last edited:
The integral is readily computed and can also be looked up in a table of integrals.
 
is it really possible to simplify the distance by moving the origin? I've thought about it and any time I try it seems to change the setup.
 

Similar threads

  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 9 ·
Replies
9
Views
5K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
Replies
8
Views
15K