An atlas of periodic solutions to the three-body problem

(threebodyorbits.com)

268 points | by danielmorozoff 2 days ago ago

61 comments

  • pixelpoet 5 hours ago ago

    I have something similar at https://gravitoy.xyz

    With it I have discovered up to 11-dimensional choreographies, see https://lycium.github.io/hyperchoreography/ and code at https://github.com/lycium/hyperchoreography/

    Exposition video: https://youtube.com/watch?v=sIfff10hYZA

    Example rendered output from Gravitoy (not of a choreography though): https://www.youtube.com/watch?v=N3BwCoiwsGk

    Looks like I need to update my catalogue to take into account the many different 2D choreographies from the references on this site!

  • mr_mitm 6 hours ago ago

    It's well organized, the animations are smooth, and it looks beautiful... I'm not sure what to do with the information, but it's mesmerizing and fascinating. Great find!

    • ironSkillet 5 hours ago ago

      Something cool and interesting for its own sake. A rare find.

      • addaon 3 hours ago ago

        Pretty useful if you’re a Puppeteer, though.

        • doormatt 42 minutes ago ago

          Klemperer rosette FTW.

        • Espressosaurus 3 hours ago ago

          Or trying the solve a Three Body Problem.

  • cobbzilla 3 hours ago ago

    It’s my understanding that most 3-body orbits are unstable; minor random perturbations will set them adrift.

    Are there any 3-body orbits with a natural resonance that maintains the shape of the orbits?

    If so, how large of a disturbance can the most-stable 3-body orbit withstand?

    • chris_st 2 hours ago ago

      A few that I looked at are annotated, "It is linearly stable (largest Floquet multiplier 1.000), so a small nudge only makes it wobble." Doesn't define "small nudge", alas...

    • cobbzilla 2 hours ago ago

      further research indicates some do exist:

      - equilateral triangle is the simple case

      - some figure eight configurations

      - some configurations that act like two nested binary systems

      there might be others. fascinating stuff.

  • deskamess 7 hours ago ago

    I guess I misunderstood or mis-scoped the problem. Does the 3-body problem state 'the general case' has no solution, but that does not preclude some configurations from having a solution?

    • layer8 6 hours ago ago

      The three-body problem only states the problem to solve, it doesn’t itself state anything about the existence or non-existence of solutions. It has been proven that there is no general closed-form solution. And there are obvious solutions for trivial special cases, such as three equal masses in an equilateral triangle rotating around each other.

      Further reading: https://en.wikipedia.org/wiki/Three-body_problem#Solutions

    • btilly 3 hours ago ago

      The general case always has a solution. At least until the point where two of the three bodies meet (which is a singularity). We can approximate that solution numerically.

      The problem is that the solutions very strongly tend to be chaotic. Meaning that small differences in initial conditions, tend to grow exponentially with time. Which means that if you measure everything to 3 digits of precision, in finite time it will stop looking like the actual solution. Every additional digit of precision adds a similar finite time to how long the approximation is good for.

      So when finally found, say, the 1953 BC conjunction described in https://en.wikipedia.org/wiki/Conjunction_%28astronomy%29?#N... - that was a very good stress test for our estimated planetary data. Because surprisingly small errors in modern data would have kept that conjunction from happening.

    • Sharlin 6 hours ago ago

      There is no closed-form solution for finding the roots of >4th degree polynomials in general, but that doesn’t preclude many families of >4th degree polynomials from having closed-form solutions. As a trivial example, x^5 - 1. The exact same thing with the three-body problem.

    • PaulHoule 2 hours ago ago

      In the case of a planet going around the sun we know that the planet travels in an ellipse, more generally a conic section including interstellar comets. Orbital periods and everything else can be computed straightforwardly with formulas.

      In the three body problem you can always do a numerical integration (e.g. simulation) and this is valid for a certain amount of time but will not be valid forever because of: (1) chaotic motion which amplifies small errors exponentially over time and (2) celestial mechanics is symplectic which means it conserves certain geometric properties and most integrators are not symplectic and must have different long term dynamics. There are symplectic integrators but they don’t work as well overall as ordinary integrators.

      We do not know, for instance, if the solar system is stable. In the short term the planets seem to be basically doing their own thing in their orbits with just minor perturbations. We know the orbits vary a bit over millions of years. We aren’t sure which side of the sun Pluto will be on in 30 million years. It’s very believable that the planets are doing the same thing in 4 billion years but we can’t rule out that the orbits could change in a big way or one could get ejected.

      • kurthr an hour ago ago

        It's worth noting that the Sun-Earth-Moon "system" is much more complex than a three-body problem just due to momentum transfer from tides/bending. That's ignoring the effect of all of the other planets and asteroids or solar wind.

        The 3BP is just the simplest chaotic system showing the limits of simple models and approximations.

        • PaulHoule 37 minutes ago ago

          Well there are simpler chaotic Hamiltonians like Henon–Heiles.

          There are a lot of things wrong with how we teach classical mechanics and one of them is that the two index problems that are used in the undergraduate course are the harmonic oscilator and celestial dynamics and these are the worst non-generic problems that there are. The harmonic oscillator is generic in quantum theory and is a good place to start doing perturbation theory from but the fact that the frequency doesn't change with amplitude makes it non-starter in classical perturbation theory.

          In the 2-body case the periods to: (1) go around the sun, (2) go in and out towards the sun, and (3) go up and down out of the plane are all the same which again breaks perturbation theory... and of course classical perturbation theory is difficult and doesn't work that well even in cases where it does work. Contrast that to quantum mechanics where you can start doing simple calculation with perturbation theory, like to calculate the lifetime of an excited state, right away with paper and pencil.

          Note that, in general, you can get chaos with as few as two position variables. In the case of the two body problem you have six position variables, but because of conservation of momentum the center of mass doesn't really matter, so you can pick a coordinate frame where the total angular momentum is zero and there are just three variables that matter which is the vector between the two bodies. There are a lot of conserved quantities here, especially angular momentum so the (1) and (2) and (3) motions all do the same thing coincidentally with the same period!

          One you add a third body you are adding three more variables but not any more conserved quantities so it is a problem with a lot of dimensions.

          Mapping out the orbits of the three body problem has gone pretty slowly because, compared to simpler Hamiltonians, we have to search for those orbits in a high dimensional space. You can find a periodic orbit numerically if you know where it is, but it takes a systematic approach to find many of them.

    • mr_mitm 6 hours ago ago

      I'm pretty sure there is always a unique solution to the equations of motions (safe for some pathological edge cases perhaps). Classical mechanics is deterministic, after all. But for more than two bodies, there is in general no solution in closed form, and it's often chaotic, so not even computeable for arbitrary time frames.

      The "about" info states that all of these are computed numerically.

    • dreamcompiler 5 hours ago ago

      Yes. It's kind of like the halting problem: You cannot write a general computer program that will analyze the source code of any random other computer program and tell you if it will halt.

      You can write a program that will analyze the code of a few specific other programs and tell you if they will halt. You just can't do it in general.

      The 3-body problem is like that. Except it's much harder to find stable 3-body problems than computer programs that are predictable.

      • IAmBroom 3 hours ago ago

        > Except it's much harder to find stable 3-body problems than computer programs that are predictable.

        Proving that statement is true might be harder than either of the other two issues.

    • incognito124 7 hours ago ago

      That's exactly the case

      • isolli 7 hours ago ago

        It's also not computable, as in chaotic. Small differences in initial positions will lead to unpredictably large differences in trajectory (with small and large having specific meanings to match the formal definition of a chaotic system).

  • larodi an hour ago ago

    So proud to see the prof. who oversaw my masters thesis has their paper (and solutions) featured here. :D

  • jrflo 5 hours ago ago

    Quick, someone tell the Trisolarans!

    • m4rtink 4 hours ago ago

      Given all the illogical insanity they are doing (like, trying to fight an interstellar war instead of just the simple stuff like moving to habitats, improving their bodies or even so,me stellar lifting) I don't think the will listen. ;-)

  • sajithdilshan an hour ago ago

    Very nicely animated. Also didn’t know there can be so many stable solutions for 3 body problem

  • inatreecrown2 7 hours ago ago

    Very cool visuals and site! Could I make a suggestion: You show the masses (1,1,1), but not the starting positions, which alter the course of events too.

  • MeteorMarc 6 hours ago ago

    I assume some of the solutions are stable against small perturbations, while others are not. That would be interesting to see.

    • summa_tech 6 hours ago ago

      I think that's what "STABLE ONLY" clickable text filters by.

    • QuesnayJr 5 hours ago ago

      If you go to the individual solutions, the text description tells you if it's stable. There's also a slider that allows you to perturb the orbit so you can see for yourself when you perturb it.

  • RALaBarge 7 hours ago ago

    This is an amazing looking website, I like it a lot.

  • hakuseki 4 hours ago ago

    I was surprised that I couldn't find any simple-looking solutions in this atlas. At first I was looking for Lagrange orbits, but maybe it makes sense to exclude them if zero-mass bodies aren't allowed. I think the equilateral triangle ought to be included though.

    • pletnes 4 hours ago ago

      They’re not stable except at L4 and L5, and they all assume oke body to be massless. Arguably they are 2-body orbits for that reason. Not sure but suspect that this atlas contains non-massless bodies.

  • dreamcompiler 5 hours ago ago

    I took graduate orbital mechanics from Roger Broucke. He was one of my best professors. Not only did I learn from him what orbital elements were, but he also taught me the Runge-Kutta numerical integration method.

    I didn't learn until years later that he had discovered several of the periodic solutions to the three-body problems. You'll see his name on this page.

  • moritzwarhier 6 hours ago ago

    Wow. This is really cool. Deterministic chaos is my absolute favorite in all the nerdy things there are to like in the abstract world.

    • edbaskerville 4 hours ago ago

      Deterministic chaos is cool. But this is even more special in a sense: for a problem where random initial conditions are almost always chaotic, this is a catalog of periodic orbits—these are all non-chaotic.

      It would be cool to pair this with a numerical simulator that shows what happens when you perturb any of them.

      EDIT: oh, it already does this, thanks other comments

  • boringg 5 hours ago ago

    This is pretty cool to be able to see all the varieties.

  • glitchbot 5 hours ago ago

    SPIROGRAPH, lowtech!

  • khalic 6 hours ago ago

    I'm going to spend so much time on this website, very good work

  • kmitz 5 hours ago ago

    Fantastic UX, so smooth even on smartphone ! Congrats

  • freakynit 4 hours ago ago

    This is beautiful. And fast!!!

  • ur-whale 5 hours ago ago

    Oh, this is so nice, but man is it hugely frustrating not to be able to rotate the thing in 3D.

    Or did I not find the controls?

  • RugnirViking 7 hours ago ago

    very ai but also pretty cool. wheres the data source? could I find my own periodic solution?

  • IshKebab 6 hours ago ago

    I assume this is at least partially vibe coded, but this is the first good vibe coded website I've seen. Amazing work.

  • nautilus12 7 hours ago ago

    Is this assumed to be 2D? I was going to ask if there are any observed examples of 3 body equilibrium observed in nature.

    • btilly 3 hours ago ago

      https://numericaltank.sjtu.edu.cn/three-body/three-body.htm shows that there are three dimensional solutions.

      We have no observed examples in nature of three body equilibrium. But then again, all places we have looked are either influenced by the chaotic orbits around them of the Solar System, our surrounding galaxy, or nearby galaxies in a cluster.

      There aren't a lot of orbiting three bodies without external gravitational influences disturbing them.

      • IAmBroom 32 minutes ago ago

        > There aren't a lot of orbiting three bodies without external gravitational influences disturbing them.

        This is of course a relative statement. Every object affects every other object, subject to the limitations of lightspeed propagation of gravity waves through expanding space.

        But as you point out, we still haven't noticed any examples that are stable short-term.

    • raverbashing 7 hours ago ago

      Yes. Because 3 points are coplanar, so every "3D problem" with 3 objects can be turned into a 2D problem on the correspondent plane

      (of course in real life your plane would keep changing, and probably some other complicated math I can't think right now)

      • petsfed 2 hours ago ago

        Put another way, while their positions are one set of 3 points, their momenta are another set of 3 points, and there is no requirement that 6 points will always lay on the same plane.

        I wonder what phantom forces would appear when the reference frame changes in some complicated fashion. We get centrifugal "force" when we reconstruct F=dP/dt in a rotating reference frame, what would the 3-body "force" look like?

      • raincole 6 hours ago ago

        Why would the plane keep changing? If there are only these three objects, won't the vectors of their gravitational pull to each other all be on this plane too?

        • mr_mitm 5 hours ago ago

          If you define the initial conditions such that their relative velocity is zero or parallel to the plane, yes. But that's not the case in general.

        • crisf 2 hours ago ago

          Each orbit is a spinning top. You pull on a top from the side, it's spin axis precesses.

        • hammock 6 hours ago ago

          It’s an arbitrary plane, chosen at each moment just so you can flatten it

        • raverbashing 6 hours ago ago

          Not from an external point of view, as you might have a momentum component perpendicular to that plane

          (but yes I think you might be right if we're centered on the CG)

          • twnettytwo 6 hours ago ago

            One of the necessary conditions here is that the three objects return to their exact initial position, and so does the centre of mass. Initial conditions with non-zero momentum must trivially be ruled out. But this doesn't stop them from having velocities perpendicular to the initial plane that cancel out perfectly, so this doesn't refute the assertion that the planes keep changing.

            • btilly 3 hours ago ago

              Sorry, but this is a word salad.

              Most of the solutions always have non-zero momentum, including in the initial conditions. And https://numericaltank.sjtu.edu.cn/three-body/three-body.htm includes periodic solutions that move in all three dimensions.

              • drdeca 36 minutes ago ago

                They presumably meant non-zero total momentum. If the total momentum were non-zero, then the center of mass will be moving in a straight line, and will not return to where it began, and therefore the orbit would not be periodic.

                • PaulHoule 11 minutes ago ago

                  Big picture the center of mass momentum is concerned and it does not matter if the system as a whole is moving up or down or to the right or the left. Like the Earth is basically orbiting the sun in an ellipse [1] so far as the sun is concerned and from the viewpoint of the solar system not care so much that it is moving around the galaxy unless we are interested that orbit being perturbed by other stars that we pass near over millions and milions of years.

                  [1] ignoring the parameters of that ellipse changing slightly and slowly thanks to the other planets

      • nautilus12 3 hours ago ago

        Oh makes perfect sense, do you have thoughts about real life examples? I did some research using AI and it said there were examples of restricted 3 body problems like the trojan asteroids, but no examples in real life similar to what is in this web app

  • hanw040519 4 hours ago ago

    cool!