Part 10 of 11 of the research log of my 2024 summer project on the three-body problem, at the University of Edinburgh, supervised by Prof. Jenni Smillie.
Previous: Proving the Figure-Eight Orbit Exists: Action Minimisation on the Shape Sphere
Next: Problem of Two Fixed Centres (Part III)
This post describes a first systematic search for interesting orbits: a scan over a family of initial conditions, recording which ones keep the three bodies together.
Set-up
Take three unit masses, \(m_1 = m_2 = m_3 = 1\), and \(G=1\). Start them on a line with zero total momentum and zero angular momentum:
| Body | Initial position | Initial velocity |
|---|---|---|
| 1 | \((-1, 0)\) | \((a, b)\) |
| 2 | \((1, 0)\) | \((a, b)\) |
| 3 | \((0, 0)\) | \((-2a, -2b)\) |
This is the standard family that contains the figure-eight orbit, at about \((a,b) = (0.347, 0.533)\).
I varied \(a\) and \(b\) independently from \(0\) to \(1\) in steps of \(0.01\), which gives \(10\,201\) runs. Each run takes \(50\,000\) steps of \(\Delta t = 0.001\), or 50 time units. A run fails as soon as the bodies are too far apart. Otherwise it passes, and the point \((a, b)\) is plotted.
Results


Around the figure-eight orbit, the outcome is more sensitive to changes in the vertical velocity \(b\) than to changes in \(a\). This agrees with the findings of an earlier Edinburgh vacation-project report by F. Ramos.
A finer scan of that region (about 15 hours), with the figure-eight marked in red:

What the scan measured
In November 2026 I ran the scan again, this time recording the energy of every run. The first figure is reproduced, with 97% of the plotted area in common, when a run is stopped once two bodies are more than 100 apart. In 2024 I quoted the limit as 20 from the origin; with that limit the outer band would be missing, so the figure was made with the larger one.
The total energy of this family is
\[E = 3\left(a^2+b^2\right) - \tfrac{5}{2},\]because the kinetic energy is \(3(a^2+b^2)\) and the three pairs start at distances 2, 1 and 1. It is positive outside the circle \(a^2+b^2 = \tfrac56\), of radius 0.913. With positive energy the bodies cannot stay together: the moment of inertia \(I = \sum_i \lvert\mathbf r_i\rvert^2\) obeys the Lagrange–Jacobi identity \(\ddot I = 4E - 2V\), and \(V < 0\), so \(I\) grows without limit. Yet the dense band in the figure reaches \(\sqrt{a^2+b^2} = 1.1\). Those runs pass only because 50 time units is too short for the bodies to move 100 apart. Of the \(4\,539\) points that pass, 43% have positive energy.
Inside the circle, \(4\,056\) runs fail, and in all but three of them the energy changed by more than its own magnitude. A close encounter that a step of \(0.001\) cannot resolve gave one body a kick, and that body then left. Whether those systems would really have broken up, the run cannot say. The passes thin out towards small \(a\) and \(b\) because bodies that start slowly fall almost straight towards each other.
So outside the circle the scan measured how quickly unbound systems separate, and inside it whether a fixed step survived the close encounters. The band around the figure-eight is the part that holds up. At the nearest grid point, \((0.35, 0.53)\), no two bodies are ever more than 2.01 apart and the energy varies by \(2.5 \times 10^{-12}\) of its value.
Why a distance limit is not enough
Even with exact integration, a distance limit cannot separate bound motion from escape. In the two-body problem, negative energy forces a bounded orbit. With three bodies, two of them can form a tight binary whose potential energy is arbitrarily negative, which leaves the third body enough energy to travel arbitrarily far, and possibly return, while the total energy stays negative. With unit masses and \(G = 1\), the potential energy is
\[V = -\left(\frac{1}{r_{12}} + \frac{1}{r_{23}} + \frac{1}{r_{13}}\right),\]and making one separation small makes \(V\) as negative as we like, whatever the other two separations are.
The return proximity function
A more targeted test, introduced by Šuvakov and Dmitrašinović, looks for orbits that come back close to where they started in phase space. The return proximity function \(P(t)\) is the distance between the state at time \(t\) and the initial state,
\[P(t)^2=\sum_{i=1}^3\left\lvert\mathbf{r}_i(t)-\mathbf{r}_i(0)\right\rvert^2+\sum_{i=1}^3\left\lvert\mathbf{p}_i(t) - \mathbf{p}_i(0)\right\rvert^2 .\]For a periodic orbit \(P\) returns to zero after each period, so a small minimum of \(P\) over \(t > 0\) marks a candidate. My plan at this point was to keep the orbits with \(P<15\) throughout the run and \(\min_{t > 0} P(t) < 0.7\). The search the project ended with used a separation limit of 5 and a test on the energy instead. The write-up analyses that search and maps the closest return over the whole family.
Cost
The scan is \(10\,201\) runs of \(50\,000\) steps, \(5 \times 10^8\) steps in all, and took 32 hours: about \(4\,400\) steps per second. The rerun advances all the runs together as NumPy arrays and takes two minutes on a laptop.
Credits
This search is inspired by the paper New Families of Periodic Orbits for the Planar Three-Body Problem Computed with High Precision. The return proximity function is from M. Šuvakov and V. Dmitrašinović, Three classes of Newtonian three-body planar periodic orbits, Phys. Rev. Lett. 110, 114301 (2013).
Revised on 25 October and 11 November 2026. The original had these errors:
- The initial conditions put the body with velocity \(-2(a, b)\) at \((1, 0)\). The figure-eight values quoted, \((a, b) \approx (0.35, 0.53)\), belong to the standard arrangement with that body at the origin, which the table now gives.
- The potential energy was written \(1/a + 1/b + 1/c\). Gravitational potential energy is negative: \(V = -(1/r_{12} + 1/r_{23} + 1/r_{13})\).
- The argument for why no cut-off radius works did not hold up. The real reason is that two bodies can form a tight binary with arbitrarily negative potential energy, which leaves the third body enough energy to travel arbitrarily far.
- The return proximity function compared the momenta with zero instead of with their initial values.
- The limit on the distance was given as 20 from the origin. The figure corresponds to a limit of 100 between two bodies.
The section on what the scan measured and the note on its cost come from the rerun and were added in the second revision. The first revision still called the points that passed bounded. The title originally ended in “(Part I)”.
Filed under Numerical Methods, Research, Three-Body Problem.