Part of a series on 
Classical mechanics 


In the physical science of dynamics, rigidbody dynamics studies the movement of systems of interconnected bodies under the action of external forces. The assumption that the bodies are rigid (i.e. they do not deform under the action of applied forces) simplifies analysis, by reducing the parameters that describe the configuration of the system to the translation and rotation of reference frames attached to each body.^{[1]}^{[2]} This excludes bodies that display fluid, highly elastic, and plastic behavior.
The dynamics of a rigid body system is described by the laws of kinematics and by the application of Newton's second law (kinetics) or their derivative form, Lagrangian mechanics. The solution of these equations of motion provides a description of the position, the motion and the acceleration of the individual components of the system, and overall the system itself, as a function of time. The formulation and solution of rigid body dynamics is an important tool in the computer simulation of mechanical systems.
If a system of particles moves parallel to a fixed plane, the system is said to be constrained to planar movement. In this case, Newton's laws (kinetics) for a rigid system of N particles, P_{i}, i=1,...,N, simplify because there is no movement in the k direction. Determine the resultant force and torque at a reference point R, to obtain
where r_{i} denotes the planar trajectory of each particle.
The kinematics of a rigid body yields the formula for the acceleration of the particle P_{i} in terms of the position R and acceleration A of the reference particle as well as the angular velocity vector ω and angular acceleration vector α of the rigid system of particles as,
For systems that are constrained to planar movement, the angular velocity and angular acceleration vectors are directed along k perpendicular to the plane of movement, which simplifies this acceleration equation. In this case, the acceleration vectors can be simplified by introducing the unit vectors e_{i} from the reference point R to a point r_{i} and the unit vectors , so
This yields the resultant force on the system as
and torque as
where and is the unit vector perpendicular to the plane for all of the particles P_{i}.
Use the center of mass C as the reference point, so these equations for Newton's laws simplify to become
where M is the total mass and I_{C} is the moment of inertia about an axis perpendicular to the movement of the rigid system and through the center of mass.
Several methods to describe orientations of a rigid body in three dimensions have been developed. They are summarized in the following sections.
The first attempt to represent an orientation is attributed to Leonhard Euler. He imagined three reference frames that could rotate one around the other, and realized that by starting with a fixed reference frame and performing three rotations, he could get any other reference frame in the space (using two rotations to fix the vertical axis and another to fix the other two axes). The values of these three rotations are called Euler angles. Commonly, is used to denote precession, nutation, and intrinsic rotation.
Diagram of the Euler angles
Intrinsic rotation of a ball about a fixed axis.
Motion of a top in the Euler angles.
These are three angles, also known as yaw, pitch and roll, Navigation angles and Cardan angles. Mathematically they constitute a set of six possibilities inside the twelve possible sets of Euler angles, the ordering being the one best used for describing the orientation of a vehicle such as an airplane. In aerospace engineering they are usually referred to as Euler angles.
Euler also realized that the composition of two rotations is equivalent to a single rotation about a different fixed axis (Euler's rotation theorem). Therefore, the composition of the former three angles has to be equal to only one rotation, whose axis was complicated to calculate until matrices were developed.
Based on this fact he introduced a vectorial way to describe any rotation, with a vector on the rotation axis and module equal to the value of the angle. Therefore, any orientation can be represented by a rotation vector (also called Euler vector) that leads to it from the reference frame. When used to represent an orientation, the rotation vector is commonly called orientation vector, or attitude vector.
A similar method, called axisangle representation, describes a rotation or orientation using a unit vector aligned with the rotation axis, and a separate value to indicate the angle (see figure).
With the introduction of matrices the Euler theorems were rewritten. The rotations were described by orthogonal matrices referred to as rotation matrices or direction cosine matrices. When used to represent an orientation, a rotation matrix is commonly called orientation matrix, or attitude matrix.
The abovementioned Euler vector is the eigenvector of a rotation matrix (a rotation matrix has a unique real eigenvalue). The product of two rotation matrices is the composition of rotations. Therefore, as before, the orientation can be given as the rotation from the initial frame to achieve the frame that we want to describe.
The configuration space of a nonsymmetrical object in ndimensional space is SO(n) × R^{n}. Orientation may be visualized by attaching a basis of tangent vectors to an object. The direction in which each vector points determines its orientation.
Another way to describe rotations is using rotation quaternions, also called versors. They are equivalent to rotation matrices and rotation vectors. With respect to rotation vectors, they can be more easily converted to and from matrices. When used to represent orientations, rotation quaternions are typically called orientation quaternions or attitude quaternions.
To consider rigid body dynamics in threedimensional space, Newton's second law must be extended to define the relationship between the movement of a rigid body and the system of forces and torques that act on it.
Newton formulated his second law for a particle as, "The change of motion of an object is proportional to the force impressed and is made in the direction of the straight line in which the force is impressed."^{[3]} Because Newton generally referred to mass times velocity as the "motion" of a particle, the phrase "change of motion" refers to the mass times acceleration of the particle, and so this law is usually written as
where F is understood to be the only external force acting on the particle, m is the mass of the particle, and a is its acceleration vector. The extension of Newton's second law to rigid bodies is achieved by considering a rigid system of particles.
If a system of N particles, P_{i}, i=1,...,N, are assembled into a rigid body, then Newton's second law can be applied to each of the particles in the body. If F_{i} is the external force applied to particle P_{i} with mass m_{i}, then
where F_{ij} is the internal force of particle P_{j} acting on particle P_{i} that maintains the constant distance between these particles.
An important simplification to these force equations is obtained by introducing the resultant force and torque that acts on the rigid system. This resultant force and torque is obtained by choosing one of the particles in the system as a reference point, R, where each of the external forces are applied with the addition of an associated torque. The resultant force F and torque T are given by the formulas,
where R_{i} is the vector that defines the position of particle P_{i}.
Newton's second law for a particle combines with these formulas for the resultant force and torque to yield,
where the internal forces F_{ij} cancel in pairs. The kinematics of a rigid body yields the formula for the acceleration of the particle P_{i} in terms of the position R and acceleration a of the reference particle as well as the angular velocity vector ω and angular acceleration vector α of the rigid system of particles as,
The mass properties of the rigid body are represented by its center of mass and inertia matrix. Choose the reference point R so that it satisfies the condition
then it is known as the center of mass of the system.
The inertia matrix [I_{R}] of the system relative to the reference point R is defined by
where is the column vector R_{i} − R; is its transpose, and is the 3 by 3 identity matrix.
is the scalar product of with itself, while is the tensor product of with itself.
Using the center of mass and inertia matrix, the force and torque equations for a single rigid body take the form
and are known as Newton's second law of motion for a rigid body.
The dynamics of an interconnected system of rigid bodies, B_{i}, j = 1, ..., M, is formulated by isolating each rigid body and introducing the interaction forces. The resultant of the external and interaction forces on each body, yields the forcetorque equations
Newton's formulation yields 6M equations that define the dynamics of a system of M rigid bodies.^{[4]}
A rotating object, whether under the influence of torques or not, may exhibit the behaviours of precession and nutation. The fundamental equation describing the behavior of a rotating solid body is Euler's equation of motion:
where the pseudovectors τ and L are, respectively, the torques on the body and its angular momentum, the scalar I is its moment of inertia, the vector ω is its angular velocity, the vector α is its angular acceleration, D is the differential in an inertial reference frame and d is the differential in a relative reference frame fixed with the body.
The solution to this equation when there is no applied torque is discussed in the articles Euler's equation of motion and Poinsot's ellipsoid.
It follows from Euler's equation that a torque τ applied perpendicular to the axis of rotation, and therefore perpendicular to L, results in a rotation about an axis perpendicular to both τ and L. This motion is called precession. The angular velocity of precession Ω_{P} is given by the cross product:^{[citation needed]}
Precession can be demonstrated by placing a spinning top with its axis horizontal and supported loosely (frictionless toward precession) at one end. Instead of falling, as might be expected, the top appears to defy gravity by remaining with its axis horizontal, when the other end of the axis is left unsupported and the free end of the axis slowly describes a circle in a horizontal plane, the resulting precession turning. This effect is explained by the above equations. The torque on the top is supplied by a couple of forces: gravity acting downward on the device's centre of mass, and an equal force acting upward to support one end of the device. The rotation resulting from this torque is not downward, as might be intuitively expected, causing the device to fall, but perpendicular to both the gravitational torque (horizontal and perpendicular to the axis of rotation) and the axis of rotation (horizontal and outwards from the point of support), i.e., about a vertical axis, causing the device to rotate slowly about the supporting point.
Under a constant torque of magnitude τ, the speed of precession Ω_{P} is inversely proportional to L, the magnitude of its angular momentum:
where θ is the angle between the vectors Ω_{P} and L. Thus, if the top's spin slows down (for example, due to friction), its angular momentum decreases and so the rate of precession increases. This continues until the device is unable to rotate fast enough to support its own weight, when it stops precessing and falls off its support, mostly because friction against precession cause another precession that goes to cause the fall.
By convention, these three vectors  torque, spin, and precession  are all oriented with respect to each other according to the righthand rule.
An alternate formulation of rigid body dynamics that has a number of convenient features is obtained by considering the virtual work of forces acting on a rigid body.
The virtual work of forces acting at various points on a single rigid body can be calculated using the velocities of their point of application and the resultant force and torque. To see this, let the forces F_{1}, F_{2} ... F_{n} act on the points R_{1}, R_{2} ... R_{n} in a rigid body.
The trajectories of R_{i}, i = 1, ..., n are defined by the movement of the rigid body. The velocity of the points R_{i} along their trajectories are
where ω is the angular velocity vector of the body.
Work is computed from the dot product of each force with the displacement of its point of contact
If the trajectory of a rigid body is defined by a set of generalized coordinates q_{j}, j = 1, ..., m, then the virtual displacements δr_{i} are given by
The virtual work of this system of forces acting on the body in terms of the generalized coordinates becomes
or collecting the coefficients of δq_{j}
For simplicity consider a trajectory of a rigid body that is specified by a single generalized coordinate q, such as a rotation angle, then the formula becomes
Introduce the resultant force F and torque T so this equation takes the form
The quantity Q defined by
is known as the generalized force associated with the virtual displacement δq. This formula generalizes to the movement of a rigid body defined by more than one generalized coordinate, that is
where
It is useful to note that conservative forces such as gravity and spring forces are derivable from a potential function V(q_{1}, ..., q_{n}), known as a potential energy. In this case the generalized forces are given by
The equations of motion for a mechanical system of rigid bodies can be determined using D'Alembert's form of the principle of virtual work. The principle of virtual work is used to study the static equilibrium of a system of rigid bodies, however by introducing acceleration terms in Newton's laws this approach is generalized to define dynamic equilibrium.
The static equilibrium of a mechanical system rigid bodies is defined by the condition that the virtual work of the applied forces is zero for any virtual displacement of the system. This is known as the principle of virtual work.^{[5]} This is equivalent to the requirement that the generalized forces for any virtual displacement are zero, that is Q_{i}=0.
Let a mechanical system be constructed from n rigid bodies, B_{i}, i = 1, ..., n, and let the resultant of the applied forces on each body be the forcetorque pairs, F_{i} and T_{i}, i = 1, ..., n. Notice that these applied forces do not include the reaction forces where the bodies are connected. Finally, assume that the velocity V_{i} and angular velocities ω_{i}, i = 1, ..., n, for each rigid body, are defined by a single generalized coordinate q. Such a system of rigid bodies is said to have one degree of freedom.
The virtual work of the forces and torques, F_{i} and T_{i}, applied to this one degree of freedom system is given by
where
is the generalized force acting on this one degree of freedom system.
If the mechanical system is defined by m generalized coordinates, q_{j}, j = 1, ..., m, then the system has m degrees of freedom and the virtual work is given by,
where
is the generalized force associated with the generalized coordinate q_{j}. The principle of virtual work states that static equilibrium occurs when these generalized forces acting on the system are zero, that is
These m equations define the static equilibrium of the system of rigid bodies.
Consider a single rigid body which moves under the action of a resultant force F and torque T, with one degree of freedom defined by the generalized coordinate q. Assume the reference point for the resultant force and torque is the center of mass of the body, then the generalized inertia force Q* associated with the generalized coordinate q is given by
This inertia force can be computed from the kinetic energy of the rigid body,
by using the formula
A system of n rigid bodies with m generalized coordinates has the kinetic energy
which can be used to calculate the m generalized inertia forces^{[6]}
D'Alembert's form of the principle of virtual work states that a system of rigid bodies is in dynamic equilibrium when the virtual work of the sum of the applied forces and the inertial forces is zero for any virtual displacement of the system. Thus, dynamic equilibrium of a system of n rigid bodies with m generalized coordinates requires that
for any set of virtual displacements δq_{j}. This condition yields m equations,
which can also be written as
The result is a set of m equations of motion that define the dynamics of the rigid body system.
If the generalized forces Q_{j} are derivable from a potential energy V(q_{1},...,q_{m}), then these equations of motion take the form
In this case, introduce the Lagrangian, L=TV, so these equations of motion become
These are known as Lagrange's equations of motion.
The linear and angular momentum of a rigid system of particles is formulated by measuring the position and velocity of the particles relative to the center of mass. Let the system of particles P_{i}, i=1,...,n be located at the coordinates r_{i} and velocities v_{i}. Select a reference point R and compute the relative position and velocity vectors,
The total linear and angular momentum vectors relative to the reference point R are
and
If R is chosen as the center of mass these equations simplify to
To specialize these formulas to a rigid body, assume the particles are rigidly connected to each other so P_{i}, i=1,...,n are located by the coordinates r_{i} and velocities v_{i}. Select a reference point R and compute the relative position and velocity vectors,
where ω is the angular velocity of the system.^{[7]}^{[8]}^{[9]}
The linear momentum and angular momentum of this rigid system measured relative to the center of mass R is
These equations simplify to become,
where M is the total mass of the system and [I_{R}] is the moment of inertia matrix defined by
where [r_{i} − R] is the skewsymmetric matrix constructed from the vector r_{i} − R.