
Jul 9, 2025
Entering the Three-Body Problem
Inspired by sci-fi's The Three-Body Problem, this post explores chaos, system dynamics, and how AI research automation can master complexity.

Marius Constantin-Dinu
Share this article
From Sci-Fi to Celestial Mechanics: Why a 300-Year-Old Puzzle is the Key to Future Innovation
It’s not every day that a science fiction novel becomes the catalyst for a deep dive into one of the oldest unsolved problems in physics. Yet, that’s precisely what happened to me recently. Like many, I was captivated by the universe created in Liu Cixin’s novel, The Three-Body Problem, and its recent, stunning television adaptation. The story’s central plot device—an alien civilization from a planet orbiting three suns in a chaotic, unpredictable dance—is not just clever fiction. This fictional crisis is a perfect allegory for the class of problems ExtensityAI was built to solve: systems governed by complex, chaotic interactions where traditional research methods falter.
The Trisolarans’ home world is plagued by an existential crisis. Its three suns create "Stable Eras" of predictable climate, which are inevitably shattered by "Chaotic Eras" that either scorch the planet with intense heat or freeze it in the darkness of deep space. Their civilization is repeatedly destroyed and reborn, driving them to seek a new home: Earth. This narrative is a direct reference to a very real and profound scientific challenge known as the three-body problem. It serves as a powerful reminder that understanding the behavior of complex systems is one of the most fundamental challenges we face, with implications that stretch from the cosmos to our daily lives.
The Unsolvable Dance: A 300-Year-Old Challenge
To understand the depth of this challenge, we must travel back to the 17th century. Isaac Newton, with his law of universal gravitation, gave us the tools to solve the two-body problem. He laid down the law, but could only solve for two. The motion of the Earth around the Sun, for example, could be described with elegant, clockwork precision. But when he tried to account for the Moon's orbit, adding a third body to the Earth-Sun system, the beautiful simplicity vanished.
For over a century, the greatest minds in mathematics and physics wrestled with this puzzle. The three-body problem seeks to predict the motion of three bodies based on their initial positions, masses, and velocities. The governing equations are simple to write down, yet impossible to solve in a general sense.
The core set of differential equations governing the three-body problem are:
Body 1: d²r₁/dt² = -G·m₂·(r₁-r₂)/|r₁-r₂|³ - G·m₃·(r₁-r₃)/|r₁-r₃|³
Body 2: d²r₂/dt² = -G·m₃·(r₂-r₃)/|r₂-r₃|³ - G·m₁·(r₂-r₁)/|r₂-r₁|³
Body 3: d²r₃/dt² = -G·m₁·(r₃-r₁)/|r₃-r₁|³ - G·m₂·(r₃-r₂)/|r₃-r₂|³
In these equations, r represents the position vector of each body, t is time, G is the universal gravitational constant, and m is the mass of each respective body. The expression d²r/dt² denotes acceleration (the rate of change of velocity), and the equations describe how the combined gravitational pull from the other two bodies determines the acceleration of each body in the system.
The breakthrough—or perhaps, the anti-breakthrough—came in the late 19th century. The brilliant mathematician Henri Poincaré proved that the elegant clockwork of the universe had a chaotic heart. He demonstrated that for most initial conditions, the three-body system is fundamentally unpredictable over the long term. There is no general, closed-form solution. This discovery laid the foundation for what we now call chaos theory and left a profound puzzle for future generations to solve.
However, within this chaos, pioneers like Joseph-Louis Lagrange discovered "islands of stability"—special configurations where order prevails. He found that three bodies could orbit each other stably if they were placed at the vertices of an equilateral triangle. These exceptions are not just curiosities; they are clues, hinting that with the right tools, we can map the boundaries of chaos and find pockets of predictability.

Figure 1: A diagram of the five Lagrange Points in the Sun-Earth system. L4 and L5 form equilateral triangles and represent stable "islands" where an object can maintain its position relative to the two larger bodies.
Why This Puzzle Matters to You
You might be looking at this from a corporate perspective and thinking, "This is a fascinating astronomical puzzle, but why should I care? My business doesn't launch satellites." That's a fair question. The reason it matters is that the three-body problem isn't just about stars and planets; it's the classic blueprint for any system where the future is determined by complex, dynamic interactions. The challenge of understanding these systems is at the core of modern science and industry, and it's a challenge your business faces every day, whether you realize it or not.
Financial Markets and Economic Modeling: The price of a stock is a chaotic dance of countless interacting agents. It's why models that assume rational actors in a simple system can fail spectacularly during a crisis, like the 2008 financial collapse, which was inherently a chaotic, multi-body event driven by the interconnectedness of countless financial instruments and institutions.
Climate Science and Environmental Modeling: The global climate is a system of interacting components—atmosphere, oceans, ice sheets—with complex feedback loops, like the ice-albedo effect where melting ice reduces Earth's reflectivity, causing further warming. The chaotic nature of this system is why long-term climate models deal in probabilities, not certainties.
Molecular Dynamics: In chemistry and materials science, the interactions between atoms in a molecule are a quantum n-body problem. Understanding the stability of a molecule or the pathway of a chemical reaction depends on solving these complex interactions. Predicting how a protein will fold, for example, is a problem of such staggering complexity that it has been a grand challenge for decades.
In an interconnected world, simplistic, linear models are no longer sufficient. The dynamics of your market, your supply chain, and your organization are more akin to the three-body problem than a simple, predictable orbit. The future of innovation lies in embracing this complexity.
A New Way of Seeing: System Dynamics
So, if our world is filled with these complex n-body problems, where countless elements interact simultaneously, how do we begin to understand them? The answer lies in the discipline of System Dynamics.
A core component of System Dynamics is Systems Thinking. It’s a framework for moving beyond linear, event-based thinking ("A caused B") and seeing the world as a web of interconnected elements and feedback loops. The core idea is that a system's structure determines its behavior over time.
The three-body problem is a perfect physical example. The "structure" is the three masses and the law of gravity. The "behavior" is their chaotic dance. The system is driven by feedback loops: the position of each body affects the gravitational force on the others, which in turn changes their positions. There are two fundamental types of loops:
Reinforcing (or Positive) Feedback Loops: These amplify change, leading to exponential growth or collapse. Think of a viral marketing campaign: more shares lead to more visibility, which leads to more shares.
Balancing (or Negative) Feedback Loops: These seek equilibrium and resist change. A thermostat is a classic example: when the room gets too hot, the cooling turns on, bringing the temperature back down.
Complex systems, from financial markets to corporate culture, are composed of numerous interacting reinforcing and balancing loops. Systems Mapping is the practice of visualizing these loops to understand the underlying structure of a problem.
Let's take a concrete example: the boom-and-bust cycle of a hot new technology market.

Figure 2: A simplified Causal Loop Diagram showing the feedback loops that drive a market bubble and subsequent correction.
This system has two key loops:
R1: The Hype Loop (Reinforcing): As media attention and early success stories increase, public perception of the technology becomes more positive. This attracts more investment, which fuels more growth and success stories, creating a powerful cycle of exponential growth—a market bubble.
B1: The Market Saturation Loop (Balancing): As more companies enter the market, competition intensifies and the pool of potential customers begins to shrink. This slows growth, tempers expectations, and eventually brings the explosive expansion to a halt.
The behavior of the market over time—the classic "S-shaped" adoption curve followed by a potential crash—is an emergent property of these interacting loops. By mapping them, we can move from simply reacting to events (like a stock price drop) to understanding the structural forces that made the drop inevitable.
From Maps to Matrices: The Language of Systems
A causal loop diagram is a powerful tool for qualitative understanding, but how do we move to a quantitative, predictive model? The key lies in translating the visual language of graphs into the rigorous language of mathematics. This is where the deep connection between graphs and linear algebra becomes essential.
Any systems map, at its core, is a graph—a collection of nodes (the variables) and edges (the causal links between them). Graph theory provides a universal way to represent these relationships, but to make them computable, we translate them into a matrix. The most common representation is an adjacency matrix.
An adjacency matrix is a simple grid where each row and column corresponds to a node in our system. The value at the intersection of a row and column, A(i, j)
, represents the strength of the connection from node j
to node i
.

Figure 3: A simple graph with four nodes and its corresponding adjacency matrix. A larger / lower than '0' value indicates a connection exists between two nodes.
Let's apply this to our technology market example. The nodes are "Media Attention," "Public Perception," "Investment," and "Market Saturation." The adjacency matrix would quantify the strength of the feedback loops. For instance, the value representing the link from "Media Attention" to "Public Perception" might be a high positive number, indicating a strong influence. The link from "Market Saturation" back to "Investment" would be a negative number, representing its dampening effect.
This translation from a qualitative map to a quantitative matrix is the crucial step from Systems Thinking to a full System Dynamics model. It allows us to simulate the system's behavior over time, test different policy interventions (e.g., "What if we double our marketing budget?"), and see how the system reacts. It transforms a conceptual diagram into a dynamic, virtual laboratory.
The Heart of the Matter: Chaos Theory and the Edge of Predictability
The three-body problem introduced science to deterministic chaos: systems that are governed by fixed laws but are, for all practical purposes, unpredictable. This is the famous "butterfly effect," where a tiny change in initial conditions leads to vastly different outcomes. This discovery shattered the dream of a "clockwork universe" and revealed a cosmos that is far more creative and surprising. This wasn't just a mathematical footnote; it was a fundamental shift in our understanding of the universe. It introduced a limit to predictability, a horizon beyond which certainty dissolves into a fog of possibilities.
For a business leader, this means accepting that you cannot predict every market fluctuation or competitor's move. The goal is not to have a perfect crystal ball, but to build an organization that is resilient and adaptable—one that can thrive at the edge of chaos by understanding its underlying systemic structure.
This is more than a metaphor. At ExtensityAI, we are developing graph creation technology to map the complex systems that define modern business. The image below is a teaser of this work: a knowledge graph representing a deep investment analysis of Apple Inc. It visualizes the causal links between dozens of entities—from macroeconomic indicators and valuation metrics to market competition and internal processes. This is what it looks like to map the n-body problem of a real-world enterprise, an essential step toward navigating its inherent chaos.

Figure 4: A glimpse into our graph creation research currently in development. This knowledge graph visualizes the n-body problem of a real-world enterprise, mapping the causal links in a deep investment analysis of Apple Inc. to navigate its inherent chaos.
From System Dynamics to a Unified Theory of Discovery
This brings us to the fundamental questions that drive our work at ExtensityAI. We are not just pondering these issues; we are building the technology to answer them. Our goal is to move beyond a qualitative systems map to a rigorous, quantitative, and predictive model of a system's dynamics.
This is precisely what we accomplished in our recent AI-generated research paper and GitHub repository, "A Unified Framework for the Three-Body Problem: Connecting Differential Galois Theory, Painlevé Analysis, and Quaternionic Regularization." It's important to state that this paper, being AI-generated, could of course have flaws. But that isn't the point. The paper itself is a proof-of-concept for the true innovation: an end-to-end, closed-loop pipeline that can automate these complex research processes. It's a system designed to improve over time, tying loose ends together with more validations, guardrails, and simulations. That is the core idea of AI research automation.
In the paper, we prove a "three-way isomorphism" between three highly specialized and previously disconnected mathematical fields used to analyze the three-body problem. We showed that:
Differential Galois Theory, an algebraic approach, reveals the fundamental symmetries and reasons for a system's non-integrability.
Painlevé Analysis, an analytic approach, examines the behavior of solutions as they approach singularities (like collisions).
Quaternionic Regularization, a geometric approach, provides a way to navigate these singularities without breaking the laws of physics.
Our AI-powered platform established that these are not just three different views of the problem; presumably they are mathematically equivalent, different languages describing the same reality. This unified framework is, in essence, a definitve systems map. It connects the abstract feedback loops of System Dynamics to the precise, quantitative laws that govern the system's behavior. This allows us to automatically pinpoint "exceptional mass ratios"—specific, fine-tuned configurations where the system exhibits hidden symmetries and enhanced stability. These are the modern-day Lagrange points, discovered not by a lone genius over years of calculation, but through an AI-driven exploration of a vast mathematical space.
The Future: Automating the Search for Order in Chaos
If a general solution is impossible, what hope do we have? This is where the next revolution in research, powered by Artificial Intelligence, comes into play. By combining the pattern-recognition strengths of neural networks with the rigorous logic of symbolic AI, we can explore these complex landscapes at a speed and scale previously unimaginable.
Our framework provides a rigorous foundation for new computational techniques. By extending the problem into the geometric space of quaternions, we can "regularize" the equations. This allows us to accurately model and predict the outcomes of near-collisions—events that would break traditional simulators. This is crucial for applications from modeling mass transfer in binary star systems to planning safe trajectories for spacecraft. But the same principle applies to business systems. "Regularization" is how we can model and understand extreme, system-breaking events—like a market crash or a supply chain collapse—that traditional linear models fail to predict. It allows us to analyze the "what-ifs" of these singularities and build strategies that are robust not just in stable times, but in chaotic ones as well.
Conclusion: Mastering Chaos
The Trisolarans, for all their advanced technology, were ultimately victims of their system's chaos. They looked to the stars for an escape. We, on the other hand, are now developing the tools to look into the heart of chaos itself and find order.
Solving the three-body problem—in all its forms, from celestial mechanics to market dynamics—is not about escaping our world, but about mastering it. The challenge that has stumped humanity for three centuries is now yielding to a new era of automated discovery. By embracing complexity and building the tools to navigate it, we are not just solving an old puzzle; we are unlocking the next wave of human innovation.
Marius-Constantin Dinu is the CEO and co-founder of ExtensityAI, leading the development of the SymbolicAI framework, Symbia Engine, and Extensity Research Services Platform for research automation and neurosymbolic AI applications.