Modeling an Asteroid's Trajectory Towards the Sun Using Differential Equations

In summary, the conversation discussed finding the differential equation for the position of an asteroid falling towards the sun, starting from rest with initial potential and kinetic energy of 0. The equation was derived using Newton's second law and was used to find the function for time as a function of position. The conversation also addressed using limits and integrating with respect to distance and time. However, there were some errors in the derived equation and the integral, leading to an incorrect solution. Further clarification and corrections were needed to solve the problem accurately.
  • #1
Crush1986
207
10

Homework Statement


An asteroid is knocked out of the Kuiper belt and starts to fall toward the sun. (Assume it's initial potential energy and kinetic energy is 0.)

a. Write down the differential equation for r(t) giving the position of the asteroid as a function of time.
b. Solve the differential equation for t(r), the time as a function of position

Homework Equations


[tex] F=\frac{GmM}{r^2} [/tex]

The Attempt at a Solution


I wrote out what I think the differential equation is from the Newtons second law diagram.

[tex] \frac{dr^2}{dt^2}=\frac{GM}{r^2} [/tex]

I think I can rewrite to second derivative of r with respect to time as velocity multiplied by the derivative of velocity with respect to r. Making my equation

[tex] v\frac{dv}{dr}=\frac{GM}{r^2} [/tex]

I integrate this to get

[tex] \frac{v^2}{2}=\frac{-GM}{r} [/tex]

I stopped here because I'm not sure if maybe I should do this integration with some limits? Like from R (my starting point) to r (current position). What should I make the limits for velocity? 0 to v?

More importantly, I'm very very new to differential equations. Is all this even remotely correct? I imagine that if I'm correct up to this point I can just solve for v and take one more derivative and I think I'll be very close to finished.

Any help is greatly appreciated!
 
Physics news on Phys.org
  • #2
Crush1986 said:

Homework Statement


An asteroid is knocked out of the Kuiper belt and starts to fall toward the sun. (Assume it's initial potential energy and kinetic energy is 0.)

a. Write down the differential equation for r(t) giving the position of the asteroid as a function of time.
b. Solve the differential equation for t(r), the time as a function of position

Homework Equations


[tex] F=\frac{GmM}{r^2} [/tex]

The Attempt at a Solution


I wrote out what I think the differential equation is from the Newtons second law diagram.

[tex] \frac{dr^2}{dt^2}=\frac{GM}{r^2} [/tex]

I think I can rewrite to second derivative of r with respect to time as velocity multiplied by the derivative of velocity with respect to r. Making my equation

[tex] v\frac{dv}{dr}=\frac{GM}{r^2} [/tex]

I integrate this to get

[tex] \frac{v^2}{2}=\frac{-GM}{r} [/tex]

I stopped here because I'm not sure if maybe I should do this integration with some limits? Like from R (my starting point) to r (current position). What should I make the limits for velocity? 0 to v?

More importantly, I'm very very new to differential equations. Is all this even remotely correct? I imagine that if I'm correct up to this point I can just solve for v and take one more derivative and I think I'll be very close to finished.

Any help is greatly appreciated!

Check your signs. What is the direction of the gravitation force? Positive acceleration would increase the distance of the asteroid. Is your highlighted equation true?
The limits are all right, and you need to use them. If you get the function v(r) you need one more integral instead of one more derivative.
 
  • Like
Likes Crush1986
  • #3
ehild said:
Check your signs. What is the direction of the gravitation force? Positive acceleration would increase the distance of the asteroid. Is your highlighted equation true?
The limits are all right. If you get the function v(r) you need one more integral instead of one more derivative.
Oh darn. I had it negative to start then thought, "Nooo, I'm not using the vector form." I should have thought that out better. Yes, of course, another integral, oops.
 
  • #4
So after the integration with limits I get

[tex] \sqrt{\frac{2GM}{R}}*\sqrt{\frac{(R-r)}{r}} = v(r) [/tex]

now I'm a bit confused as to what to do to the right side. will it be dv/dr? Then it can be written 1/dt? That just doesn't make sense. I'm missing something. Just not sure what.
 
Last edited:
  • #5
Crush1986 said:
So after the integration with limits I get

[tex] \sqrt{\frac{2GM}{R}}*\sqrt{\frac{(R-r)}{r}} = v(r) [/tex]

now I'm a bit confused as to what to do to the right side. will it be dv/dr? Then it can be written 1/dt? That just doesn't make sense. I'm missing something. Just not sure what.
The right side is a function v(r). v is the speed, the magnitude of the velocity. How is it related to the time derivative of r, the distance from the Sun?
 
  • #6
ehild said:
The right side is a function v(r). v is the speed, the magnitude of the velocity. How is it related to the time derivative of r, the distance from the Sun?
so can I just treat v(r) as v and just made it dr/dt? I just wasn't sure if that was mathematically correct.

I suppose that would yield

[tex] \sqrt{\frac{2GM}{R}}t = \int \sqrt{\frac{R}{R-r}} dr [/tex]

I did the integral and solved for r just to see if it made sense. At this point I had

[tex] r= R-e^{\frac{-t}{R}\sqrt{\frac{2GM}{R}}} [/tex]

this result doesn't work though. At time = 0 it doesn't work and as time goes to infinity it's even more ridiculous. Again.. I've done something wrong :(
 
  • #7
Crush1986 said:
so can I just treat v(r) as v and just made it dr/dt? /QUOTE]
V(r) is positive, as it is speed but r decreases as the asteroid goes towards he Sun. You need a minus sign.

Crush1986 said:
I just wasn't sure if that was mathematically correct.

I suppose that would yield

[tex] \sqrt{\frac{2GM}{R}}t = \int \sqrt{\frac{R}{R-r}} dr [/tex]

You should multiply with dt instead of t. And use the minus sign.
Crush1986 said:
I did the integral and solved for r just to see if it made sense. At this point I had

[tex] r= R-e^{\frac{-t}{R}\sqrt{\frac{2GM}{R}}} [/tex]

this result doesn't work though. At time = 0 it doesn't work and as time goes to infinity it's even more ridiculous. Again.. I've done something wrong :(
It is totally wrong. Write out the integral correctly. The one with respect r is quite tricky. You can solve it with substitution, but you can cheat a bit, and try wolframalpha, for example.
 
  • #8
Oh god I see what I did, it is late I suppose... I completely just.. I don't even know. Ugh. Yah this integral is tough though.
[tex] \sqrt{\frac{2GM}{R}}*\sqrt{\frac{(R-r)}{r}} = v(r) [/tex]

turn into

[tex] \sqrt{\frac{2GM}{R}}*\sqrt{\frac{(R-r)}{r}} dr = dv [/tex] ?

This might be my problem.
 
  • #9
Crush1986 said:
Oh god I see what I did, it is late I suppose... I completely just.. I don't even know. Ugh. Yah this integral is tough though.
[tex] \sqrt{\frac{2GM}{R}}*\sqrt{\frac{(R-r)}{r}} = v(r) [/tex]

turn into

[tex] \sqrt{\frac{2GM}{R}}*\sqrt{\frac{(R-r)}{r}} dr = dv [/tex] ?

This might be my problem.
NO. v=-dr/dt. There should be no dv. Try again.
 
  • #10
ehild said:
NO. v=-dr/dt. There should be no dv. Try again.
omg... I'm so sorry, I am just exhausted I guess. These ridiculous mistakes aren't me usually. Can't go to sleep yet though.

v does equal - dr/dt though? I suppose that is because the asteroid is moving toward the sun?

so it should be it looks like

[tex] - \sqrt{\frac{2GM}{R}}dt = \sqrt{\frac{r}{R-r}}dr [/tex]
 
  • #11
It is correct now. I suggest to have some rest :) The integral is not simple.
 
  • #12
ehild said:
It is correct now. I suggest to have some rest :) The integral is not simple.
Yeah it doesn't look simple. I should take a break for now... I have to stay up late to flip my schedule for my work days anyway, haha. Just, yeah, working on my physics homework just doesn't work that well at this time I guess.
 
  • #13
Crush1986 said:
Yeah it doesn't look simple. I should take a break for now... I have to stay up late to flip my schedule for my work days anyway, haha. Just, yeah, working on my physics homework just doesn't work that well at this time I guess.
If you give up the integral, this may help :) http://www.wolframalpha.com/input/?i=int(-sqrt(x/(R-x))dx)
 
  • #14
ehild said:
If you give up the integral, this may help :) http://www.wolframalpha.com/input/?i=int(-sqrt(x/(R-x))dx)
Yeah, I had a peep already after having a few ideas that just weren't going to work.

That is the stuff nightmares are made of. Now I definitely can't go to sleep. HAHA. Wow... Amazing someone so innocent turns into that.
 
  • #15
  • #16
Well, even functions which have infinite limit, can have finite integral. You can simplify the result with ##\sqrt{R-x}##
 
  • #17
ehild said:
Well, even functions which have infinite limit, can have finite integral. You can simplify the result with ##\sqrt{R-x}##
Ok I took the limit and it actually does check out and behaves as it should as x goes to R. That is really cool. Thanks! Hopefully the last parts of this problem won't be a problem tomorrow.

Otherwise I learned a TON from you! Thanks!
 
  • #18
You are welcome :)
 
  • #19
Crush1986 said:

Homework Statement


An asteroid is knocked out of the Kuiper belt and starts to fall toward the sun. (Assume it's initial potential energy and kinetic energy is 0.)

The original problem suggested the approximation that both the initial kinetic energy and potential energy is zero. The speed can be obtained from conservation of energy and with zero energy, the solution becomes quite simple.
It would be interesting to see how close are the times needed to reach the Sun obtained with both methods.
 
  • #20
Right now I'm trying to use the answer to that last integral. Along with the other side of the equation which is

[tex] \sqrt{\frac{2GM}{R}} t [/tex]

to solve for the time it takes for the asteroid to cross Earth's orbit. I'm getting total rubbish though, (negative time). :(

I'm pretty sure I have the right answer for the speed it has when it passes Earth orbit, as I did check that against conservation of energy. My equation for velocity from the first integration matches it's answer to within about 1 percent.
 
  • #21
Did you take the definite integral? Wolframalpha gave the primitive function.
 
  • #22
ehild said:
Did you take the definite integral? Wolframalpha gave the primitive function.
Ohhhh, wait so the time integral should go from 0 to t and I think the ugly integral should go from R to 0. Or should it go from R to r?

I'm thinking R to r...
 
  • #24
  • #25
Crush1986 said:
Ohhhh I like your idea. A lot. I'm going to try that. R to r was nasty. R to R/30 might be nicer. Going to try it.
That was the original text, was it not?
An asteroid from the Kuiper belt (approximately 30 AU from the Sun)
Do not forget that the result will be in AU.
 
  • #26
ehild said:
That was the original text, was it not?

Do not forget that the result will be in AU.
ehild said:
That was the original text, was it not?

Do not forget that the result will be in AU.
Yah it wants to know time to Earth but I was trying to get a general solution then plug in numbers later.

I've been converting the R to 30*1.5*10^8km.

I'm getting a fall time of about 29 days. Doesn't that seem a tad short?
 
  • #27
Crush1986 said:
Yah it wants to know time to Earth but I was trying to get a general solution then plug in numbers later.

I've been converting the R to 30*1.5*10^8km.

I'm getting a fall time of about 29 days. Doesn't that seem a tad short?
Convert R to meters.
 
  • #28
ehild said:
Convert R to meters.
Oh yah I did. In the end I was using 4.5*10^12 meters for R. My final equation came to look like this.

[tex] t = \sqrt{\frac{R}{2GM}}*\frac{R}{30}*(\sqrt{29}+15*pi-30*ArcCot(\sqrt{29})) [/tex]

that was basically the equation mathematica gave me when I integrated from R to R/30.

oh jeez... no I'm getting 29 years** I mean.

Doesn't that seem long? I know it's a long distance. But it just seems long. I guess it is starting from rest... with very weak gravitational attraction.
 
  • #29
Crush1986 said:
Oh yah I did. In the end I was using 4.5*10^12 meters for R. My final equation came to look like this.

[tex] t = \sqrt{\frac{R}{2GM}}*\frac{R}{30}*(\sqrt{29}+15*pi-30*ArcCot(\sqrt{29})) [/tex]

that was basically the equation mathematica gave me when I integrated from R to R/30.

oh jeez... no I'm getting 29 years** I mean.

Doesn't that seem long? I know it's a long distance. But it just seems long. I guess it is starting from rest... with very weak gravitational attraction.
yah 29 years* forgot I also divided by 365.25.
 
  • #30
I think it is realistic. Did not check yet.
 
  • #31
OK thanks! Well if all else fails I'm pretty sure I have the other 4 parts of the question right.

The more I think about it the more reasonable I guess it could be since it is starting from a stop from such a long ways away. It's initial acceleration is soooo tiny. I guess it would hang around the Kuiper belt for a very long time before it gained any appreciable speed.
 
  • #32
I got even more, but now I am sleepy. Try the approximation of E=0, and getting v from conservation of energy. It is much easier.
By the way, did you set your calculator to RAD when calculating the arctan(1/29)?
 
Last edited:
  • #33
I got using both methods that the speed of the asteroid as it passes Earth is about 1300 km/s. One way I got 1311 and another 1333 km/s.

I don't know how you get time from there though. Since the acceleration isn't constant I obviously can't use a kinematic equation or anything.
 
  • #34
You get v(t) = -dr/dt from conservation of energy. Need integral, but it is easy.
 
  • #35
Hrm, doing it with energy (if I did it right) I get 12.3 years.

I used

[tex] 1/2 mv^2 = \frac{GMm}{r} [/tex]

turned that into

[tex] -dr/dt = \sqrt{\frac{2GM}{r}} [/tex]

I integrate from R to r and 0 to t

I get

[tex] t = 2/3 * \frac{R^{1.5}-r^{1.5}}{\sqrt{2GM}} [/tex]
 

Similar threads

  • Introductory Physics Homework Help
10
Replies
335
Views
8K
  • Introductory Physics Homework Help
Replies
3
Views
912
  • Introductory Physics Homework Help
Replies
4
Views
620
  • Introductory Physics Homework Help
Replies
6
Views
988
  • Introductory Physics Homework Help
Replies
3
Views
1K
  • Introductory Physics Homework Help
Replies
13
Views
1K
Replies
8
Views
291
  • Introductory Physics Homework Help
Replies
16
Views
1K
  • Introductory Physics Homework Help
Replies
8
Views
1K
  • Introductory Physics Homework Help
Replies
8
Views
195
Back
Top