Determining the Solution for d^2r/dt^2 = G*M/r^2 with Constant G and M

  • Thread starter Thread starter dcppc
  • Start date Start date
  • Tags Tags
    Intergration
dcppc
Messages
13
Reaction score
0
Here is a stupid question
How would you solve for \frac{d^2r}{dt^2}=G\frac{M}{r^2}
I'm new at this stuff, can anyone tell me??
Assume G and M are constants
 
Physics news on Phys.org
Yes, they are constants. G is your universal gravitational constant. M is the mass of the body your object is being attracted to.

The distance away from the center of the body (r) is the only thing that changes.
 
It's not that simple to integrate that ODE.Technically,it's nonlinear second order.Since that equation appears in the Kepler problem in classical mechanics,i would advise you to look for a book on celestial mechanics which would deal nicely with this equation.

Daniel.
 
\frac{d^{2}r}{dt^{2}}=\alpha r^{-2}

Let w=dr/dt.

Then dw/dt=d^{2}r/dt^{2}.

Chain Rule:
dw/dt=\frac{dw}{dr}\frac{dr}{dt}=\frac{dw}{dr}w.

\frac{dw}{dr}w=\alpha r^{-2}.

\int wdw=\int \alpha r^{-2}dr

w^{2}=-2\alpha r^{-1}+C_{1}

At this point, solve for the constant using the initial velocity of the body.

dr/dt=\sqrt{-2\alpha r^{-1}+C_{1}}


\int \frac{dr}{\sqrt{-2\alpha r^{-1}+C_{1}}}=\int dt

If you type in
(-2 a x^(-1) + c)^(-1/2)
to integrals.wolfram.com , you get something. Realize that what you get is t on one side and r (which is x in the website) is in the mess on the left hand side. I doubt that you can solve for r as a function of time. You can still get a graph though.

It's kinda cool to see a graph whose *acceleration* is changing. Or maybe that's just me...
 
Thanks guys, it helps a lot
 
I ran into another problem, I was doing a problem similar to this
\int \frac{dr}{\sqrt{\alpha r^{2}+C}}=\int dt
then

\frac{\log{[2\sqrt{\alpha}r+2\sqrt{C+\alpha r^2]}}}{\sqrt{\alpha}}+C_{1}=t
and my lst constant is 0

\frac{\log{[4\sqrt{\alpha}r]}}{\sqrt{\alpha}}+C_{1}=t
and my r and t are zero
but I can't solve for C_{1} because log 0 is undefined, even if I let r approach to 0, it's value will still be negative infinity.
How would I solve this problem because I need a numerical value for t when r=6.37*10^6
 
I found out another thing
If I plug in 0 for my constant fisrt, then the intergral will be different
\int \frac{dr}{\sqrt{\alpha r^{2}}}=\int dt

the intergral is
\frac{r\log{r}}{\sqrt{\alpha r^2}}+C_{1}=t
why is that
 
It can't be.

\int \frac{dr}{\sqrt{\alpha r^{2}}} =\frac{1}{\sqrt{\alpha}}\int \frac{dr}{|r|} =\frac{1}{\sqrt{\alpha}}\ln |r| +C

,which is something else.

Daniel.
 
but still, ln 0 still is undefined
Is there anyway to solve C?
 
  • #10
Depends on the initial conditions.Give them and u can find all integration constants (there must be 2).Notice that r\neq 0 which can be seen from the ODE.


Daniel.
 
  • #11
What if the only known value is t=0 and r=0, because since something is going to the center of the earth, then when it's 0 second, the distance it traveled must be 0
 
  • #12
r=0 doesn't work. Let's say I have a perfect point particle of arbitrary nonzero mass. What is the gravitational force on another point particle of arbitrary mass (again nonzero) at the exact same location as the first particle?
 
Last edited:
  • #13
Gravitational potential (Coulomb type) is not finite in the origin (= the point where u have the pointlike source) (it "blows up",just like the electrostatic one).Unfortunately it's not renormalizable either...

Daniel.
 
  • #14
you guys are right, I thought r=x but that does't mean that x=r, but still, when r approches to 0, the gravity should also gets smaller. Instead I got negative numbers when my r is less than 1
 
Last edited:
  • #15
Earth is not a pointlike gravity source.Coulomb potential will not apply.

Daniel.
 
  • #16
Well...I don't know, but I think it was proven outside of the earthbulk, the graviation field is equivalent to the whole mass concentrated at the center of mass...(of course with the Newtonian potential only, for the relativistic equivalent one I don't know)

For the differential equation, I think you can use first a guess :

r(t)=B*t^A...giving in particular A=2/3.

Then u can use the variation of the constant to find the second solution...but that's a bit of work.
 
  • #17
kleinwolf said:
Well...I don't know, but I think it was proven outside of the earthbulk, the graviation field is equivalent to the whole mass concentrated at the center of mass...(of course with the Newtonian potential only, for the relativistic equivalent one I don't know)

For the differential equation, I think you can use first a guess :

r(t)=B*t^A...giving in particular A=2/3.

Then u can use the variation of the constant to find the second solution...but that's a bit of work.

---------------------------------------------------------------
Where did your differential equation came from?
and actually, I'm assuming that the mass of the Earth is the same all throughout
 
  • #18
When you're outside of a large body, such as a planet, you can essentially treat it as a point mass located at its center. When you're inside that planet, the force you experience is proportional to your distance from the center. Both facts directly follow from Gauss' law (assuming Newtonian gravity, of course).
 
  • #19
dcppc :

I'm just trying a solution by chance or maybe by experience (you can also call it an Ansatz)...it's just a guess, it turns out it works...but it could also not...(monomial ansatz are quite useful, also for functional equations, aso...)
 

Similar threads

Replies
3
Views
3K
Replies
11
Views
2K
Replies
4
Views
3K
Replies
19
Views
2K
Replies
6
Views
2K
Replies
11
Views
2K
Replies
10
Views
1K
Back
Top