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

Click For Summary

Homework Help Overview

The discussion revolves around modeling the trajectory of an asteroid falling towards the sun using differential equations. The original poster outlines a problem involving the derivation of a differential equation for the position of the asteroid as a function of time and the subsequent solution for time as a function of position.

Discussion Character

  • Exploratory, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • Participants discuss the formulation of the differential equation based on Newton's second law and explore the integration of velocity with respect to position. There are questions regarding the correctness of signs and the treatment of limits during integration. Some participants express uncertainty about the mathematical steps taken and whether they are on the right track.

Discussion Status

There is an ongoing exploration of the integration process and its implications for the equations being derived. Some participants have offered guidance on the correct approach to integration and the need for careful consideration of signs. The discussion reflects a mix of attempts to clarify misunderstandings and to refine the mathematical expressions involved.

Contextual Notes

Participants note the complexity of the integral involved and the challenges of ensuring mathematical correctness throughout the derivation process. There are also references to the potential for infinite limits in the context of the problem, indicating a need for careful handling of assumptions and conditions in the model.

Crush1986
Messages
205
Reaction score
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


F=\frac{GmM}{r^2}

The Attempt at a Solution


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

\frac{dr^2}{dt^2}=\frac{GM}{r^2}

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

v\frac{dv}{dr}=\frac{GM}{r^2}

I integrate this to get

\frac{v^2}{2}=\frac{-GM}{r}

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
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


F=\frac{GmM}{r^2}

The Attempt at a Solution


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

\frac{dr^2}{dt^2}=\frac{GM}{r^2}

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

v\frac{dv}{dr}=\frac{GM}{r^2}

I integrate this to get

\frac{v^2}{2}=\frac{-GM}{r}

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   Reactions: Crush1986
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.
 
So after the integration with limits I get

\sqrt{\frac{2GM}{R}}*\sqrt{\frac{(R-r)}{r}} = v(r)

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:
Crush1986 said:
So after the integration with limits I get

\sqrt{\frac{2GM}{R}}*\sqrt{\frac{(R-r)}{r}} = v(r)

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?
 
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

\sqrt{\frac{2GM}{R}}t = \int \sqrt{\frac{R}{R-r}} dr

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

r= R-e^{\frac{-t}{R}\sqrt{\frac{2GM}{R}}}

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 :(
 
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

\sqrt{\frac{2GM}{R}}t = \int \sqrt{\frac{R}{R-r}} dr

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

r= R-e^{\frac{-t}{R}\sqrt{\frac{2GM}{R}}}

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.
 
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.
\sqrt{\frac{2GM}{R}}*\sqrt{\frac{(R-r)}{r}} = v(r)

turn into

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

This might be my problem.
 
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.
\sqrt{\frac{2GM}{R}}*\sqrt{\frac{(R-r)}{r}} = v(r)

turn into

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

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

- \sqrt{\frac{2GM}{R}}dt = \sqrt{\frac{r}{R-r}}dr
 
  • #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

\sqrt{\frac{2GM}{R}} t

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.

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

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.

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

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.
 

Similar threads

Replies
335
Views
17K
  • · Replies 10 ·
Replies
10
Views
1K
Replies
16
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
6
Views
2K
  • · Replies 13 ·
Replies
13
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 6 ·
Replies
6
Views
1K
Replies
4
Views
2K
Replies
16
Views
2K