Inferensys

Glossary

Newton-Euler Equations

The Newton-Euler equations are the fundamental equations of motion for a rigid body, combining Newton's second law for linear motion and Euler's equation for rotational motion.
Stylish WeWork-like workspace with hot desks and document wall, professional searching through enterprise knowledge base on a mounted ultrawide display, warm industrial pendants overhead.
PHYSICS ENGINEERING

What is Newton-Euler Equations?

The Newton-Euler equations are the fundamental equations of motion for a rigid body, combining Newton's second law for linear motion and Euler's equation for rotational motion.

The Newton-Euler equations are the foundational differential equations governing the six-degree-of-freedom motion of a rigid body. They combine Newton's second law for translational motion (net force equals mass times linear acceleration of the center of mass) with Euler's rotational equations (net torque equals the inertia tensor times angular acceleration plus a gyroscopic term). This formulation provides a complete description of dynamics in physics simulation engines for robotics and digital twins.

In practice, these equations are solved numerically within constraint solvers to simulate complex interactions. The rotational component, which operates in the body-fixed frame, accounts for the coupling between axes due to the inertia tensor. This is critical for forward dynamics calculations, where applied forces and torques are used to compute future accelerations and velocities, forming the core of realistic motion prediction in sim-to-real transfer learning pipelines.

MECHANICAL FOUNDATIONS

Key Components of the Newton-Euler Formulation

The Newton-Euler equations provide a complete description of rigid body motion by combining translational and rotational dynamics. This formulation is the cornerstone for simulating articulated systems like robotic arms and legged robots.

01

Newton's Second Law (Linear Motion)

This component governs the translational motion of a rigid body's center of mass. It states that the net external force applied to a body equals the product of its mass and the linear acceleration of its center of mass. The equation is: F = m * a_cm. Here, F is the net force vector, m is the scalar mass, and a_cm is the linear acceleration vector of the center of mass. This law is applied in the world frame or an inertial frame.

02

Euler's Rotational Equation

This component governs the rotational motion about the center of mass. It states that the net external torque about the center of mass equals the rate of change of the angular momentum. In the body-fixed frame, it is expressed as: τ = I * α + ω × (I * ω). Key terms are:

  • τ: Net torque vector about the center of mass.
  • I: The 3x3 inertia tensor in the body frame.
  • α: Angular acceleration vector.
  • ω: Angular velocity vector. The term ω × (I * ω) is the gyroscopic term or centrifugal torque, a consequence of expressing the equation in a rotating frame.
03

The Inertia Tensor

The inertia tensor (I) is a 3x3 symmetric matrix that encodes the mass distribution of a rigid body relative to its center of mass. It determines how the body resists angular acceleration in different directions. Its components are:

  • Diagonal elements (I_xx, I_yy, I_zz): Moments of inertia about the principal axes.
  • Off-diagonal elements: Products of inertia, which are zero if the axes align with the body's principal axes. For simulation, it is constant when expressed in a body-fixed frame aligned with the principal axes, simplifying Euler's equation.
04

Coordinate Frames and Transformations

Correct application requires careful tracking of coordinate frames. Key frames are:

  • Inertial Frame (World Frame): A fixed, non-accelerating reference. Newton's law is valid here.
  • Body-Fixed Frame: A frame attached to and moving with the body. Euler's equation is most naturally expressed here. Forces and torques from actuators or contacts are often computed in world coordinates and must be transformed into the appropriate frame. The rotation matrix or quaternion representing the body's orientation is a critical state variable.
05

Forward vs. Inverse Dynamics

The Newton-Euler formulation is used to solve two fundamental problems:

  • Forward Dynamics: Given the applied forces and torques (F, τ), compute the resulting linear acceleration (a) and angular acceleration (α). This is used for simulation.
  • Inverse Dynamics: Given a desired motion (trajectory of a and α), compute the required forces and torques (F, τ). This is essential for model-based control, such as computing joint torques for a robotic manipulator to follow a path.
06

Articulated Systems and Recursive Form

For multi-link systems like robot arms, the basic Newton-Euler equations are applied recursively. The Recursive Newton-Euler Algorithm (RNEA) is an O(n) method that performs two passes:

  1. Forward Pass: Propagates kinematics (velocities, accelerations) from the base to the end-effector.
  2. Backward Pass: Computes forces and torques by propagating from the end-effector back to the base, using the Newton-Euler equations for each link. This is the workhorse algorithm for efficient inverse dynamics in robotics.
COMPARISON

Newton-Euler vs. Other Dynamics Formulations

A feature comparison of the Newton-Euler formulation against other major computational methods for rigid body and articulated system dynamics, highlighting trade-offs in complexity, speed, and application suitability.

Feature / MetricNewton-Euler FormulationLagrangian FormulationImpulse-Based DynamicsPosition-Based Dynamics (PBD)

Mathematical Foundation

Vectorial mechanics (Newton's 2nd Law, Euler's equation)

Analytical mechanics (scalar energy functions, Lagrange's equations)

Momentum principle (instantaneous velocity changes)

Geometric constraints (direct position manipulation)

Primary Output

Joint/body accelerations (Forward Dynamics)

System equations of motion (EOM)

Post-collision velocities

Corrected vertex/particle positions

Computational Complexity (n bodies)

O(n) for serial chains (with recursive algorithms)

O(n³) for naive EOM derivation, O(n) with specialized methods

O(m) per iteration, where m is number of contacts

O(k) per iteration, where k is number of constraints

Native Handling of Constraints

Requires separate constraint solver (e.g., for contacts)

Constraints integrated via Lagrange multipliers

Impulses applied to satisfy collision constraints

Constraints are core primitive, solved via projection

Gyroscopic / Coriolis Terms

Explicitly calculated in Euler's equation

Automatically derived from the Lagrangian

Typically ignored or approximated

Not applicable

Ideal Application Domain

Robotic manipulators, articulated mechanisms

Theoretical analysis, complex non-holonomic systems

Real-time interactive graphics, video games

Cloth, soft bodies, visual effects

Numerical Stability

High with proper integration and constraint stabilization

High for closed-form EOM, depends on integrator

Conditionally stable; can explode with many simultaneous contacts

Very high; inherently stable due to position projection

Implementation for Tree/Articulated Structures

Efficient recursive algorithms (e.g., Featherstone ABA)

Can become algebraically complex for branching structures

Not typically used for complex articulated systems

Used for soft articulated characters via distance constraints

FOUNDATIONAL DYNAMICS

Applications in AI and Robotics

The Newton-Euler equations provide the fundamental physics for simulating rigid body motion, a cornerstone for training robots in virtual environments before real-world deployment.

01

Core of Physics Simulation Engines

Every modern physics engine (e.g., NVIDIA PhysX, Bullet, MuJoCo) implements the Newton-Euler equations at its core to compute realistic motion. They are solved numerically each time step to:

  • Update the linear velocity and position of a body's center of mass.
  • Update the angular velocity and orientation.
  • This deterministic calculation forms the forward dynamics backbone for Sim-to-Real Transfer Learning, creating a high-fidelity training environment.
02

Enabling Model-Based Robot Control

For precise robotic manipulation and locomotion, controllers use the equations in their inverse dynamics form. Given a desired acceleration for a robot's end-effector (from a high-level planner), the controller calculates the required joint torques. This is critical for:

  • Operational Space Control frameworks.
  • Computing gravity compensation torques.
  • The Featherstone Algorithm, an O(n) recursive method for computing dynamics of complex articulated chains, is derived from the Newton-Euler recursive formulation.
03

Critical for Contact-Rich Simulation

Simulating robots walking or grasping requires modeling contact forces. The Newton-Euler equations are integrated with constraint solvers that compute these forces. The solver's job is to find contact impulses that, when applied, satisfy two conditions derived from the equations:

  1. Non-penetration: Bodies do not intersect.
  2. Coulomb friction: Tangential forces lie within the friction cone. This is often formulated as a Linear Complementarity Problem (LCP).
04

Foundation for System Identification

To bridge the reality gap, simulation parameters (like mass, inertia, friction) must be calibrated to real hardware. This system identification process uses the Newton-Euler equations as the forward model. By comparing simulated motion from the equations to real sensor data (e.g., from IMUs), engineers can iteratively tune parameters, increasing simulation fidelity for more robust policy transfer.

05

Essential for Safety & Constraint Enforcement

In both simulation and real-time control, the equations are used to predict motion and enforce safety. Velocity and torque limits at robot joints are constraints applied during the dynamics calculation. This predictive capability allows for:

  • Pre-collision detection and avoidance.
  • Simulating failure modes safely in a digital twin.
  • Ensuring dynamic consistency in warm-started constraint solvers for stable, real-time performance.
06

Integration with Modern Learning Methods

While deep Reinforcement Learning can learn dynamics implicitly, the Newton-Euler equations provide a strong inductive bias. They are used in:

  • Physics-informed neural networks (PINNs), where the equations act as a regularization loss.
  • Differentiable physics simulators, where gradients flow through the dynamics equations to optimize control policies or design parameters directly.
  • Providing interpretable feature spaces (e.g., forces, inertias) for model-based RL algorithms.
NEWTON-EULER EQUATIONS

Frequently Asked Questions

The Newton-Euler equations are the fundamental laws governing the motion of rigid bodies. This FAQ addresses their formulation, application in robotics and simulation, and their relationship to other key dynamics concepts.

The Newton-Euler equations are the fundamental equations of motion for a rigid body, combining Newton's second law for linear motion and Euler's rotational equation for angular motion. They are expressed as:

Linear Motion: (\sum \mathbf{F} = m \mathbf{a}{cm}) Where (\sum \mathbf{F}) is the vector sum of all external forces, (m) is the mass, and (\mathbf{a}{cm}) is the linear acceleration of the center of mass.

Rotational Motion: (\sum \boldsymbol{\tau}{cm} = \mathbf{I}{cm} \boldsymbol{\alpha} + \boldsymbol{\omega} \times (\mathbf{I}{cm} \boldsymbol{\omega})) Where (\sum \boldsymbol{\tau}{cm}) is the sum of torques about the center of mass, (\mathbf{I}{cm}) is the inertia tensor, (\boldsymbol{\alpha}) is the angular acceleration, and (\boldsymbol{\omega}) is the angular velocity. The term (\boldsymbol{\omega} \times (\mathbf{I}{cm} \boldsymbol{\omega})) represents the gyroscopic torque.

Prasad Kumkar

About the author

Prasad Kumkar

CEO & MD, Inference Systems

Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.

His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.