Astronomy and astrophysics Definition
N-body simulation
Builds on n-body problemNewton's law of universal gravitationOrdinary differential equation
Definition
Let and let be the gravitational constant. Consider point particles with masses , positions and a softening length . The gravitational N-body equations are the system of ordinary differential equations An N-body simulation is a numerical computation that starts from given positions and velocities at time . By a time-stepping scheme applied to this system, it produces approximations of and at times .
Remarks
For the equations are those of the n-body problem with Newton's law of gravitation. A positive removes the divergence of the force at close encounters; it is used when each particle stands for a cloud of matter rather than a star.
Example: the leapfrog (kick-drift-kick) scheme with step , which updates , then , then recomputes and sets , defines an N-body simulation. Each step only uses the right-hand side of the equations, so it is a time-stepping scheme for them.
Non-example: the closed-form Kepler orbit of two bodies is an exact solution, not a step-by-step numerical computation, so it is not an N-body simulation.
Direct summation of all pairs costs of order operations per step. Tree codes and the fast multipole method lower this cost by approximating the forces of distant groups of particles.
Reading path
To understand this page from the ground up, read these 47 pages in order. The foundations come first.
- Derivative concept
- Differential equation concept
- Euclidean space object
- Euclidean vector concept
- First integral concept
- Function concept
- Hamiltonian system concept
- Interval concept
- Ordinary differential equation concept
- Velocity concept
- Fréchet derivative definition
- Cross product definition
- Ordinary differential equation definition
- Function of several variables concept
- Vector-valued function concept
- Classical mechanics concept
- Lipschitz condition definition
- n-body problem problem
- Limit of a function of several variables concept
- Momentum concept
- Partial derivative concept
- Solution of an ordinary differential equation definition
- Inertial frame of reference concept
- Continuity in R^n definition
- Differentiable function of several variables definition
- Partial derivative definition
- Initial value problem definition
- Newton's laws of motion statement
- Differentiable on an open set definition
- Gradient definition
- Higher partial derivatives definition
- Picard–Lindelöf hypotheses definition
- Iterated derivative definition
- Picard operator definition
- C^k function characterised by continuous derivatives statement
- Integral equation form of an initial value problem statement
- An iterate of the Picard operator is a contraction statement
- Vector field definition
- Picard–Lindelöf theorem statement
- Conservative vector field definition
- Classical mechanics definition
- Momentum definition
- Potential energy definition
- Angular momentum definition
- Central force definition
- Newton's law of universal gravitation statement
- N-body simulation definition
Further reading
About this page
| Tag | R6VKPHSWM9 |
|---|---|
| URI | m2://R6VKPHSWM9 |
| Kind | definition |
| Writing | W0 stub |
| MSC | 85-10, 70F10, 65Z05 |
| Defines | N-body simulation |
| Uses | n-body problem, Newton's law of universal gravitation, Ordinary differential equation |
| Changed | 3 November 2026 |
Markdown · JSON · Edit on GitHub
What this page needs for W1
- an inventory row: the row of the inventory that the node accounts for (0 of 1)
- a source with a locator (0 of 1)
The writing levels say how complete the text of a page is. They do not measure its truth.
What links here
No page links to this page yet.