The Newton-Euler formulation describes the dynamics of a single rigid body by directly applying Newton's second law for translational motion and Euler's equation for rotational motion. Unlike the Euler-Lagrange approach which works in generalized (joint-space) coordinates, Newton-Euler operates in Cartesian space, computing forces and torques on individual bodies.
In the body-fixed reference frame, the equations are:
Where:
-
$F \in \mathbb{R}^3$ — applied force in the body frame -
$\tau \in \mathbb{R}^3$ — applied torque in the body frame -
$m$ — body mass (scalar) -
$I \in \mathbb{R}^{3 \times 3}$ — inertia tensor in the body frame -
$v, \dot{v} \in \mathbb{R}^3$ — linear velocity and acceleration in the body frame -
$\omega, \dot{\omega} \in \mathbb{R}^3$ — angular velocity and acceleration in the body frame -
$\omega \times v$ — Coriolis term due to body-frame formulation -
$\omega \times (I\omega)$ — gyroscopic coupling term
This supports two computations:
- Forward dynamics: given forces/torques, compute linear and angular accelerations
- Inverse dynamics: given desired accelerations, compute required forces/torques
In an inertial frame, Newton's second law is simply
The
Forward:
Inverse:
Euler's equation governs rotational dynamics:
The
Forward:
This requires solving the
Inverse:
This is a direct matrix-vector multiply plus cross product — no linear solve needed.
The inertia tensor
-
Symmetric:
$I = I^T$ (6 independent components, not 9) -
Positive definite:
$\omega^T I \omega > 0$ for$\omega \neq 0$ -
Constant in body frame: For a rigid body,
$I$ does not change with the body's orientation when expressed in the body frame
When
| Operation | Time | Space | Notes |
|---|---|---|---|
| Forward dynamics | Fixed 3×3 system; Gaussian elimination on 3×3 matrix | ||
| Inverse dynamics | Matrix-vector multiply + cross products | ||
| Cross product | 6 multiplications and 3 subtractions |
All operations are constant-time since the spatial dimension is fixed at 3. The
Parameters: mass
Inertia tensor:
Forward dynamics with
Asymmetric body with
Spinning at
The body accelerates about the z-axis despite no external torque — this is the gyroscopic coupling effect due to asymmetric inertia.
- Singular inertia: An inertia tensor must be positive definite. Zero or negative eigenvalues indicate a non-physical body definition.
- Body-frame vs. inertial frame: The equations assume all quantities (forces, torques, velocities) are expressed in the body-fixed frame. Users must transform between frames externally.
-
Spherical inertia: When
$I = c \cdot \mathbf{I}_3$ , the gyroscopic term$\omega \times (I\omega) = c(\omega \times \omega) = 0$ , simplifying Euler's equation to$\tau = I\dot{\omega}$ . -
Fixed-point arithmetic: Like Euler-Lagrange, Newton-Euler involves physical quantities (forces in Newtons, torques in N·m) that typically exceed Q15/Q31 range. Use
float. -
Energy conservation: For torque-free motion, kinetic energy
$T = \frac{1}{2}\omega^T I \omega$ and angular momentum$L = I\omega$ magnitude should be conserved. Numerical integration may violate this.
| Variant | Key Difference | Use Case |
|---|---|---|
| Newton-Euler (this) | Single rigid body, Cartesian space | Spacecraft attitude, single-body simulation |
| Recursive Newton-Euler (RNEA) | Multi-body recursive algorithm, |
Robot inverse dynamics, real-time control |
| Euler-Lagrange | Generalized coordinates, joint space | Control design, analytical derivations |
| Spatial vector algebra | 6D twist/wrench representation | Compact multi-body formulations |
- Spacecraft attitude control: Reaction wheel and thruster control using Euler's equations
- Drone / UAV dynamics: Quadrotor translational and rotational dynamics
- Projectile dynamics: Spinning projectile with aerodynamic forces
- Gyroscope modeling: Precession and nutation analysis
- Foundation for RNEA: Body-level Newton-Euler equations form the building block for recursive multi-body algorithms
-
Gaussian Elimination (GaussianElimination.md): Used to solve the
$3 \times 3$ inertia system$I\dot{\omega} = \tau_{net}$ in forward dynamics - Euler-Lagrange (EulerLagrange.md): Joint-space counterpart; Euler-Lagrange derives the same dynamics from energy principles in generalized coordinates
- Recursive Newton-Euler (RNEA): Extends single-body Newton-Euler to kinematic chains by propagating velocities/accelerations forward and forces/torques backward through the chain
- Siciliano, B., Sciavicco, L., Villani, L., & Oriolo, G. (2009). Robotics: Modelling, Planning and Control. Springer. Chapter 7.
- Goldstein, H., Poole, C., & Safko, J. (2002). Classical Mechanics (3rd ed.). Chapters 4–5.
- Hughes, P. C. (1986). Spacecraft Attitude Dynamics. Dover Publications.
- Featherstone, R. (2008). Rigid Body Dynamics Algorithms. Springer. Chapter 2.