Q: What is the three body problem?

Physicist: The three body problem is to exactly solve for the motions of three (or more) bodies interacting through an inverse square force (which includes gravitational and electrical attraction).

The problem with the 3-body problem is that it can’t be done, except in a very small set of frankly goofy scenarios (like identical planets following identical orbits).

The unsolvableness of the 3-body problem, rather than being an embarrassing hole in physics, an obvious but unsolved problem, is actually the norm.  In physics, the number of not-baby-simple, exactly solvable problems can be counted on the fingers of one hand (that’s missing some fingers), and that includes the 2-body problem.

The dynamics of one body is pretty straight forward, in as much as it travels straight forward.

The dynamics of two bodies, while not trivial, can be reduced by pretending that one body is sitting still, and then restricting all of your attention to the other body.  Using that technique, you find (or, at least, Newton found) that the motion of a body under gravity is an ellipse.  The same idea can be applied to the quantum mechanics of electrons and protons to find the exact structure of the electron shells in hydrogen (1 proton + 1 electron = 2 bodies).  In that case you’re not talking about actual orbits, but the idea is similar.

But, for three bodies, there doesn’t seem to be a fancy trick for finding solutions.  As a result, the exact behavior of 3 or more bodies can’t be written down.  The exact energy levels and orbital shell shapes in anything other than hydrogen is impossible to find.  Even deuterium (hydrogen with one extra neutron)!  Can’t be done.

Despite that, we do alright, and happily, reality doesn’t concern itself with doing math, it just kinda “does”.  For example, quantum field theory, despite being the most accurate theory that ever there was, never involves exactly solving anything.  Once a physicist gets a hold of all the appropriate equations and a big computer, they can start approximating things.  With enough computing power and time, these approximations can be made amazingly good.  Computer simulation and approximation is a whole science unto itself.

But even with just mechanical pencil and paper there are cheats.  For example, although there are more than three bodies in the solar system (the Sun, eight planets, dozens of moons, and millions of asteroids and comets), almost everything behaves, roughly, as though it were in a two body system.  Basically, this is due to the pronounced size differences between things.  As far as each planet is concerned, the only important body in the rest of the universe is the Sun.  To get some idea of why; the Sun pulls on the Earth about 200 times harder than the Moon, and about 20,000 times harder than Jupiter.  Nothing else even deserves a mention.  So, if you want to calculate the orbits of all the planets, a “2-body approximation” will get you more than 99% of the way to the right answer.

But that last 1% has a lot of weirdness in it, most of which falls out of chaos theory.  The more interesting part of chaos theory is the “islands of stability”, or what we in the biz call “chaotic attractors”.  While you find that no real life N-body system orbits are stable (exactly repeat themselves), you do find that they settle into patterns.  For example, while the system of Jupiter’s innermost moons: Io, Europa, and Ganymede, never quite repeats the same path, they do manage to “resonate” with each other and settle into a rhythm.  Hence the name; “orbital resonance“.

Basically, when you have several bodies orbiting a much larger body, the length of the orbits of the smaller bodies will tend to settle into simple-fraction (1/2, 2/3, 1/3, etc.) multiples of each other.  1 to 2 to 4 for Io, Europa, and Ganymede.  The slight ellipses of any real-life orbits cause the gravitational force of the moons, to “pulse” (becoming slightly stronger or weaker) along another moon’s orbit.  As a result (this is not at all obvious right off the bat) if the other moon slows down it gets pushed a little faster at regular intervals, and if it gets too fast it gets slowed down at regular intervals.

The moons still have very elliptical orbits (a symptom of being in a 2-body system with Jupiter), but the presence of the other moons does affect how big that ellipse is, and in what direction it “points”.

When you have even more bodies you can almost abandon the idea that there are any bodies at all, and move over to fluid dynamics.  Although, again, that’s just an approximation.

(upper left) The 2-body Earth/Moon system as seen from one of those bodies.  (upper right) The 5-body Jupiter/Galilean-moons system as seen with binoculars.  (bottom) The more-than-a-few-body Andromeda system as seen with some kind of big-ass telescope.

Point is, this effect only shows up in systems with three or more bodies, it’s chaotic (in the chaos theory sense), and there is no way to predict it exactly.  That being said, we can still get computers to come pretty close (up to a point, because chaos is a punk), and there are even some mathematical tricks to get reasonable solutions that, while not perfect, are still pretty good (and can even get us well into that last “1% of weirdness”).


Answer gravy: First, this is how to solve the gravitational two body problem.

Take two masses, M_1 and M_2, with positions given by \vec{P}_1 and \vec{P}_2.  Then the force on M_1 (keep in mind that F=MA) is given by Newton’s law of gravitation:

M_1 \ddot{\vec{P}}_1 = -\frac{GM_1M_2}{|\vec{P}_1-\vec{P}_2|^3}\left( \vec{P}_1-\vec{P}_2\right)

Where “\vec{P}_1-\vec{P}_2” is the vector that points from \vec{P}_2 to \vec{P}_1, and the double-dots on the left hand side indicates the second time derivative (which is math speak for acceleration).

If it bothers you that the bottom of the right side is cubed (not squared), it’s because this is a vector equation that includes both the magnitude of the force and the its direction.  If you look at just the magnitude of both sides you get M_1 \left| \ddot{\vec{P}}_1 \right| = \frac{GM_1M_2}{|\vec{P}_1-\vec{P}_2|^3}\left| \vec{P}_1-\vec{P}_2\right|= \frac{GM_1M_2}{|\vec{P}_1-\vec{P}_2|^2}.

Now, since for every action there’s an equal, but opposite reaction (every force is balanced by another force):

M_2 \ddot{\vec{P}}_2 = -M_1 \ddot{\vec{P}}_1

Now check this out!

\begin{array}{ll}\ddot{\vec{P}}_1-\ddot{\vec{P}}_2\\=\ddot{\vec{P}}_1-\frac{M_2}{M_2}\ddot{\vec{P}}_2\\=\ddot{\vec{P}}_1 +\frac{M_1}{M_2} \ddot{\vec{P}}_1 & \left(because\quad M_2 \ddot{\vec{P}}_2 = -M_1 \ddot{\vec{P}}_1\right)\\=\left(1 +\frac{M_1}{M_2}\right) \ddot{\vec{P}}_1 \\=\left(1 +\frac{M_1}{M_2}\right) \frac{M_1}{M_1} \ddot{\vec{P}}_1 \\= -\left(1 +\frac{M_1}{M_2}\right) \frac{1}{M_1} \frac{GM_1M_2}{|\vec{P}_1-\vec{P}_2|^3}\left( \vec{P}_1-\vec{P}_2\right) & \left(because\quad M_1 \ddot{\vec{P}}_1 = -\frac{GM_1M_2}{|\vec{P}_1-\vec{P}_2|^3}\left( \vec{P}_1-\vec{P}_2\right) \right)\\= -\left(1 +\frac{M_1}{M_2}\right) \frac{GM_2}{|\vec{P}_1-\vec{P}_2|^3}\left( \vec{P}_1-\vec{P}_2\right)\\= -\left(M_2 +M_1\right) \frac{G}{|\vec{P}_1-\vec{P}_2|^3}\left( \vec{P}_1-\vec{P}_2\right)\\= -\frac{G(M_1 +M_2)}{|\vec{P}_1-\vec{P}_2|^3}\left( \vec{P}_1-\vec{P}_2\right)\\\end{array}

At this point just replace “\vec{P}_1-\vec{P}_2” with “\vec{x}“, and “M_1 +M_2” with “M“.

\ddot{\vec{x}} = -\frac{GM\vec{x}}{|\vec{x}|^3}

Then jump over the the elliptic orbit post to find the ellipticalness of this.  The subtle, unspoken assumption of that post is that the Sun doesn’t move (i.e., it was already stated in the “reduced form”).  Which is exactly what this math has been setting up.  “\vec{P}_1-\vec{P}_2” is called “the relative position vector”, and all it does is point from the second body to the first body.  So describing its dynamics is the same as describing the dynamics of a world where the second body is stationary.

So here’s the tough part.

In the 2-body problem all you have to worry about is the attraction between body 1 and body 2.  In the 3-body problem there are 3 attraction terms to worry about.  In the 4-body there are 6, in the 5-body there are 10, etc. (in general there are \frac{N(N-1)}{2} terms for N bodies, which gets bad fast)

The ease of the one attraction term in the 2-body problem vs. the horror of the 10 attraction terms in the 5-body problem.  Readers are invited to note that 5 isn’t even that big a number.

In the 3-body problem, in order to find the total force on body 1, body 2, and body 3 you have to add the attraction from each of the other bodies:

\begin{array}{ll}M_1 \ddot{\vec{P_1}} = -\frac{GM_1M_2}{|\vec{P}_1-\vec{P}_2|^3}\left( \vec{P}_1-\vec{P}_2\right) -\frac{GM_1M_3}{|\vec{P}_1-\vec{P}_3|^3}\left( \vec{P}_1-\vec{P}_3\right)\\M_2 \ddot{\vec{P_2}} = -\frac{GM_2M_1}{|\vec{P}_2-\vec{P}_1|^3}\left( \vec{P}_2-\vec{P}_1\right) -\frac{GM_2M_3}{|\vec{P}_2-\vec{P}_3|^3}\left( \vec{P}_2-\vec{P}_3\right)\\M_3 \ddot{\vec{P_3}} = -\frac{GM_3M_1}{|\vec{P}_3-\vec{P}_1|^3}\left( \vec{P}_3-\vec{P}_1\right) -\frac{GM_3M_2}{|\vec{P}_3-\vec{P}_2|^3}\left( \vec{P}_3-\vec{P}_2\right)\end{array}

It could be worse; it could be that somehow the other bodies interact with each other in such a way that the total force is different than just the sum of their independent forces.  In fact, almost any other set up is worse.  Even things like declaring “only the closest body attracts”.  That would be much worse.

So, even if you set up one of the bodies to be stationary (like in the solution to the 2-body problem), you still end up with N-1 bodies flying about, and you still have \frac{N(N-1)}{2} force terms to worry about (N-1 for N equations, but by Newton’s third law the force of A on B is equal to the force of B on A, so divide by 2).

Exact solutions just don’t seem to exist.

This entry was posted in -- By the Physicist, Astronomy, Equations, Philosophical, Physics. Bookmark the permalink.

29 Responses to Q: What is the three body problem?

  1. Mike says:

    I think this seemingly trivial problem is one of the most mind blowing i’ve read on here!

  2. Trips says:

    “Exact solutions just don’t seem to exist.”

    Could maths one day find solutions or has it proved that solutions don’t exist?

  3. Will says:

    I suppose it’s only ‘trivial’ in the sense that it seems simple if you don’t really think about it all that hard.

  4. Monic says:

    Although the 3-body problem is frequently declared unsolvable, it has in fact been solved – in 1913 by Karl Sundman, and the general n-body problem in 1991 by Qiudong Wong.

    Here’s a relevant article on this matter:
    http://www.math.uvic.ca/faculty/diacu/diacuNbody.pdf

  5. Bear says:

    @Monic

    You neglected to actually read the article which you posted. The “solutions” provide us with no further insight into the 3-body problem; they just tell us what we already knew.

    “The round-off errors make these series unusable in numerical work. From the theoretical point of view, these solutions add nothing to what was previously known about the n-body problem.”

    The article you posted supports the statement “Exact solutions just don’t seem to exist”.

  6. coco says:

    i honestly don’t get the “\vec{P}_1-\vec{P}_2” part. could here PLEASE explain?

  7. Error: Unable to create directory uploads/2024/03. Is its parent directory writable by the server? The Physicist says:

    When you’re trying to solve the two-body problem you still have to deal with the fact that (as the name implies) there are two bodies. For example, in the Earth/Moon system isn’t as simple as the Moon simply orbiting the Earth, the Earth itself wobbles a lot.
    The “\vec{P}_1-\vec{P}_2” trick basically nails down one of the bodies, and then looks at the other. In this case you can describe the Earth as stationary, and the Moon as being the only moving body. This turns the two body problem into the “one moving body and one stationary body” problem, which is solvable.

  8. coco says:

    oh, i get it. thank you!

  9. jasciu says:

    Why wouldn’t the number of interaction equations between n bodies be 2 factorial n?

  10. jasciu says:

    I think I have figured it out. In the most general way of looking at the world describing a system of 2 bodies requires two “isolated” equations in which the other body is disregarded, one interaction equation, and one “field” equation (how the system behaves in absence of the bodies. This means that for n bodies would we have 2 factorial n relationships. But, in this simple mechanical case, we ignore the isolated behavior and the field equation leaving us with (n-1) relationships and divide by 2 since the interaction is equally bidirectional.

  11. jasciu says:

    Oops, meant to say 2 to the n relationships for n bodies not factorial!

  12. Abhijith says:

    Hey I didn’t quite get are. Are you inferring that principle of superposition is just an assumption ..?

  13. Wallace says:

    So perhaps this is entirely dumb but perhaps the reason the sun pulls the earth is pulled 200 times more than the moon is because the earths own pull is conflict king with the sun and causing the pull to be different. And so on for the other planets

  14. Joe says:

    Is the three body problem a problem with the universe, like the uncertainty principle, or just a problem with technology and the limits of knowledge we people currently have?

  15. Pingback: The One-body Problem » Gydle

  16. jchomyn says:

    “The 3 Body Problem” motion picture is presently being filmed in northern China. That should clear things up.

  17. Pingback: Springtime Skill & Power | Books for Dudes

  18. Pingback: What Does Science Explain? Part 5 – The Ghostly Forms of Physics | Mythos/Logos

  19. Pingback: Here's how an unsolvable physics problem could lead to an alien invasion – Rhetoric News

  20. Fran says:

    Wanted to write about this in my extended essay. I was too young and too simple 🙁

  21. Pingback: There’s a First Time for Everything – Site Title

  22. Ryan says:

    The chaos theory link goes nowhere.

  23. Error: Unable to create directory uploads/2024/03. Is its parent directory writable by the server? The Physicist says:

    @Ryan
    Thanks! Fixed.

  24. Pingback: The Three Body Problem | Yudhanjaya Wijeratne

  25. Pingback: THE THREE BODY PROBLEM: For Educators – All Sci Fi

  26. Pingback: How’s Your Bracket? | Above the Market

  27. Frank Restly says:

    I believe that I have found an analytical solution to the three body problem. It is about 60 pages long and involves solving for r(t) using the Lambert Omega function.

  28. kc says:

    @Bear or @Monic

    Could the future quantum computer cut the calculation steps of Sundman’s solution (10 to the power of 8 million steps) to form a practical solution?

Leave a Reply

Your email address will not be published.