dylankarr.com said:
I'm working on a gravity simulator and I can't help but feel that I've done something wrong. Extremely large bodies take a longer time to fall into each other than smaller ones. Is this right? Like for example, if you had to bodies of solar mass at 1 AU apart, would it take a longer, shorter or the same amount of time for two other bodies of half solar mass at half an AU to fall into each other?
In both cases the force is the same, F = \frac{G M_1M_2}{r^2} = \frac{G (M_1/2) (M_2/2)}{(r/2)^2}
The acceleration is different. In the first case:
a = \frac{GM_1}{r^2}
In the second case:
a = \frac{G(M_1/2)}{(r/2)^2} = \frac{2GM_1}{r^2}
so the acceleration is twice that of the first case.
The distance (x) to travel is also half that of the first case, so:
In the first case t= \sqrt{\frac{2x}{a}}
for the time to fall a short distance x relative a large r.
In the second case t = \sqrt{\frac{2(x/2)}{2a}} = \sqrt{\frac{x}{2a}}
which is less time to fall in the second case.
You would of course have to integrate the equations over the total distance for them to come together and the analysis above is just for a short segment of the fall, but overall the smaller closer bodies fall together faster.
If the initial distance apart (r) was the same for the smaller and larger bodies,
then the falling time would for the lighter bodies would be longer because:
For the larger bodies t = r\sqrt{\frac{8x}{GM_2}}
and for the smaller bodies t = r\sqrt{\frac{16x}{GM_2}}