The Simulator. The programs and equations are straightforward. They start with N bodies in 3-dimensional space, each with coordinates of its location, each with a given mass, and each with a given velocity vector -- direction and speed. Use Newton's laws to determine the forces on each body due to all other bodies. Then over a small time increment, each body gets a change to its location and velocity determined by the sum of those forces. The increment is chosen quite small. If chosen small enough, this approach should provide answers arbitrarily close to reality, assuming "reality" means the motion of point masses under Newtonian physics. It's interesting that there is such a simple approximation algorithm, but no actual general solution for more than 2 bodies, and only a few specialized solutions, with the next two sections describing one such solution. The program here is just a "toy" version, but more elaborate approaches allow very accurate calculations of complicated systems (even of our solar system). All algorithms (with a few exceptions) are good for only a limited time into the future. The code for this simulation was written as Java apps. It was modeled after a similar program in a hobby magazine. These still run, but browsers mostly don't support Java apps anymore. My Linux system (with a complete Java system loaded in), would let the applet be explicitly called with "appletviewer". This software models three dimensions. On reflection, I realized that displaying a 3-D interaction would be difficult for me. Also, the interaction I was initially interested in was strictly 2-D. So I made everything zero in the third dimension. That shouldn't have affected the next section, but it might have affected the later 3-star interactions.A Science Fiction Story Using a Stable Lagrange Point. When I was young (a long time ago), I read a science fiction story by Isaac Asimov titled "Sucker Bait", first published in 1954. See also "Wikipedia article". The story mainly takes place at a binary star system with a single planet at the stable Lagrange L5 point, which is at the third vertex of a equilateral triangle, where the stars are at the other two vertices. One star was two-thirds the mass of the other. It's an entertaining story, with interesting ideas. When I wrote the program here, I tested it out with two stars, and they rotated nicely in ellipses about their common center of gravity. I tried the stable configurations of two stars with a planet close to one of them (worked fine), and with a planet at quite a distance from them both (also worked fine). I also tried 3 stars, 2 in a binary system and a third coming in from the outside. I had seen an article describing this motion: usually there is too much energy for the third to be captured, but instead, sometimes after an incredible amount of chaotic motion, one of the stars is ejected to infinity, with a binary system remaining. Any one of the three might be ejected. (See three examples below under "Triple Star Systems".) Finally, I tried out a system similar to and simpler than Asimov's story. I used two stars with equal mass, and a planet with zero mass. The stars rotated about each other in a perfectly circular orbit. (This is the red-green circle below.) I carefully started out the planet at the third vertex of an equilateral triangle, with the proper vector for its motion. (This is the blue orbit below. The initial position has the two stars at opposite ends of a horizontal diameter, with the blue planet directly below them at the third vertex of an equilateral triangle.) It would stay at the vertex of the triangle for much of one rotation, and then drift into chaos. I thought that something was wrong with my approach or with my equations. See Figure 1 below for snapshots of this situation:
Note that I didn't check the "to infinity" part above. It went off a long way. My simulation is only approximate, of course. In the chaotic orbit above, the planet several times gets very close to one of the stars -- once extremely close. I may have needed to make my stepsize smaller to get the orbit closer to reality. I emphasize that I never did any careful checks about how close my simulation was to Newtonian physics. VIDEO OF LAGRANGE SYSTEM (going on from the second picture above)The Answer. Well, an internet search under "Lagrange Point" finds the answer almost immediately. Assuming the third body has negligible mass, the L5 point is only stable in case the ratio of the masses of the large bodies is at least
or approximately 24.96, or even very close to 25
earth mass/moon mass = 5.98 x 1024 kg / 7.35 x 1022 kg = 81.36 sun mass/jupiter mass = 1.989 x 1030 kg / 1.90 x 1027 kg = 1046 The number 24.96 is an interesting dimensionless constant, a product of basic (but very complex) Newtonian physics. Going back to my simulation, I couldn't get a stable orbit with the ratio close to 25 , but I was able to get it easily at ratios above 50 . In our actual solar system, the earth-moon L4 and L5 points are fairly stable, but perturbations from the sun's large mass have the most effect. With the sun-jupiter system, there are two sets of asteroids in the asteroid belt (called the trojans) that move along in the L4 and L5 stable locations, ahead of and behind Jupiter and moving along with it. Figure 2 shows a run with two stars having a mass ratio of 100 and a planet with negligible mass at the stable Lagrange Point: ![]() Figure 2.
Figure 3 shows a run with a similar configuration, except that here there are 2 planets (each blue), one in each of the two stable Lagrange points. Again the 4 arrows show the positions of the two stars and the two planets after about 12 revolutions.
![]() Figure 3. Many double stars would not have as big a ratio, so their Lagrange points would not be stable. All these facts are explained in detail in the following articles: References about Lagrange points (extremely thorough and sophisticated):
Back to Asimov's story. In Asimov's story, the mass ratio of the two stars was assumed to be 2/3 . In this case, there are L4 and L5 equilibrium points, but they are unstable. Thus with occasional small orbital corrections, you could keep a space station at that point indefinitely, but a planet would not stay there. Asimov's story doesn't work as it is. It's interesting that as of 2023-09-10, the Wikipedia article about Asimov's Sucker Bait story does not say that the configuration in the story is impossible. Lagrange published his astonishing discovery in 1772. Ever since it's been known by most astronomers and physicists. Asimov was an actual scientist, with a 1948 PhD in Chemistry from Columbia University, so there's not much excuse for his mistake. Suppose one tries to rescue the story. One could imagine a binary system with one red star having 0.1 solar masses, and another bright star with 3 solar masses. The mass ratio is 30 , so this works. You still have to wonder how the planet got into position, but in Asimov's story, this was the only such planet known, so it was presented as very rare. Another problem is that the planet had evolved life. Many people feel that even small red suns might have planets around them with life, and certainly the red sun would last long enough for this to happen (such a small red star lasts much longer than our sun). However the large star in the system would have a lifespan of well under half a billion years -- perhaps not enough time for life to develop. Oh well, one should ignore that and just make the important correction to the story.
Triple Star Systems. The three examples below each show a third star entering a binary star system. Because of the large amount of energy in the system, capture is difficult, and the usual outcome is for one star to be ejected to infinity, leaving a new binary system. The first two examples show three stars of equal mass, while in the third example, the "interloper" star has one-tenth the mass of the other two. First System.![]() Figure 4.
![]() Figure 5. Very similar to Figure 4.
Third System. ![]() Figure 6.
Java Code for the Applets. I haven't looked at that code for 25 years or so. I don't plan to look at it now. I disclaim any possible harm from the use of this code. Here is the code for the most complex applet, namely the one with two equal mass stars and a planet starting at the Lagrange point: Here is all the code, given as four listings: All the code (Revision date: 2025-01-18. Please use ISO 8601, the International Standard.) |