What is a Three Body Problem?

188 views
0

What is a Three Body Problem?

In: Physics

The three-body problem refers to taking three point masses (arbitrarily large masses represented as zero-size points) that have initial masses and positions and velocities, and solving for their movements.

A three body problem is basically when you have three masses/bodies with initial velocities and you want to calculate how they will move under only the influences of gravity and their initial velocities. Its a commonly talked about problem because there is no simple formula that you can make for it. You basically have to brute force the problem every time.

There are some problems in physics where you can come up with an exact solution or an equation that gives you a whole set of solutions. For example, if you are driving at a constant speed then the distance you have traveled after a given time is distance = speed * time. Similarly, if you drop a ball from a given height and can ignore air resistance then the position of the ball at a given time is height = initial height – 1/2 * g * time^(2) (where g is the acceleration due to gravity)

Other problems have no such solution available. For example, if we weren’t allowed to ignore air resistance on the falling ball then there’s no nice equation that tells us where the ball is at every instant. You can still calculate it, but you have use an iterative approach–if you know where the ball is at time T then you can compute where it’ll be a short while later and be pretty accurate. By using sufficiently short time steps you can get as accurate of an answer as you’d like, but there’s no simple formula.

In orbital mechanics the “two body problem” is where you have just two things in a hypothetical universe, one orbiting the other (or really both orbiting their mutual center of mass, but often we choose one object to be so massive that it barely moves; often this is a planet and moon, a star and planet, a planet and satellite, etc). The two body problem does have a number of nice equations to describe where you’ll find each of the objects at any given time, starting from some given starting conditions. An astronomer by the name of Johannes Kepler worked that out from observations, then later Newton came along and formulated how gravity works well enough to prove Kepler’s work mathematically. Similar to how you can ignore air resistance on a ball and wind up with an accurate enough result most of the time, in orbital mechanics you can ignore all other celestial bodies except the one you’re looking at and the biggest thing it’s orbiting and usually get a pretty good solution. Sometimes, however, you do have to consider all of the forces on an object. For that we turn to the three body problem.

The three body problem is similar to the two body problem, but instead of a hypothetical universe with just 2 objects we now have 3 (and could continue on to 4, 5, etc, all the way up to the real universe with an enormous number of objects). Unlike the 2 body problem there is not a nice equation that will tell you where to find any given object at any given time, but similar to our ball with air resistance we can take an iterative approach, simulating paths with shorter and shorter time steps to get more and more accurate results.

Note that the phrase “three body problem” is sometimes lifted from its physics application to describe social situations where the addition of a third person makes the social situation similarly difficult to solve, whether that’s a couple plus a single friend who gets in the way of couples activities or a trio of people where one has feelings for both of the other two.

So we’ve got this equation for gravity. And we’ve got this other equation for momentum. And we have enough other equations that if we have two things that are affecting each other out in space we know exactly where everything will end up at any given time.

For three things it all goes to hell.

So like if all there was was the sun and the earth we could run a simple equation and plot a perfect set of curves. That is we could plot an equation and depending on what we set time to we would get a place back out.

But because of the moon we can’t do that. We have to actually do a simulation instead. That is we have to advance time in little chunks and then look at the The position and direction of the earth the moon and the sun from scratch. And then we can move a little bit farther in time. But then we have to look at all the positions and start the math from scratch. And so on .

So the three body problem is the fact that we can build an equation for two things interacting in space because of gravity and just pick a date. But we can’t do like the entire solar system because there are too many things.

And it seems obvious that there are too many things.

But then we worked our way backwards and found out that three is too many things. So it’s called the three body problem.

This does not mean we can’t figure out where things are, where things were, or where things will be .

It means that we cannot easily figure out where things are, where things were, and where things will be.

So someone with pen and paper can do a good job of figuring out a theoretical solar system of one planet on a piece of paper.

But a solar system with two planets needs a computer in a simulation you can run forward and backward.

Note that this is also why you need a beefy GPU to play a lot of games. Particularly for ray tracing. But you can play those games in fact. For every frame it has to look at where the light is, where the thing is, and where the point of view is and calculate what color that pixel should be. And then each piece is moved individually according to its individual equations and inputs. And then the whole thing has to be done again for the next frame.

And lots of other things in the world have similar requirements for simulation rather than being expressed in a simple function over time.

If you have only two objects in space, they will move around each other due to gravity in well defined mathematical shapes like circles, ellipses, parabolas or hyperbolas. Relatively simple formulas can describe exactly where they will be at any point in the future and the amount of work required for the calculation doesn’t increase with time.

Adding a third object breaks all the above except for a small number of special cases. The only way the calculate the positions is to simulate the object’s motion in small steps. The amount of work required increases the further you go into the future and the results are only approximations with errors that increase over time.