Rigid body dynamics
Part of a series of articles about 
Classical mechanics 

Formulations

Core topics

Rigidbody dynamics studies the movement of systems of interconnected bodies under the action of external forces. The assumption that the bodies are rigid, which means that they do not deform under the action of applied forces, simplifies the 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.
Planar rigid body dynamics
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.
Rigid body in three dimensions
Orientation or attitude descriptions
Several methods to describe orientations of a rigid body in three dimensions have been developed. They are summarized in the following sections.
Euler angles
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 other to fix the other two axes). The values of these three rotations are called Euler angles.
Tait–Bryan 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.
Orientation vector
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).
Orientation matrix
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.
Orientation quaternion
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.
Newton's second law in three dimensions
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.
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,
Mass properties
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; and is its transpose.
is the scalar product of with itself, while is the tensor product of with itself.
is the 3 by 3 identity matrix.
Forcetorque equations
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]}
Rotation in three dimensions
When a rotating object is under the influence of torques, it exhibits the behaviours of precession and nutation. The fundamental equation describing the behavior of a rotating solid body is:
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.
It follows from this 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:
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.
Virtual work of forces acting on a rigid body
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.
Virtual work
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}
Generalized forces
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
D'Alembert's form of the principle of virtual work
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.
Static 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.
Generalized inertia forces
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]}
Dynamic equilibrium
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.
Lagrange's equations
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.
Linear and angular momentum
System of particles
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
Rigid system of particles
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.
Applications
 For the analysis of robotic systems
 For the biomechanical analysis of animals, humans or humanoid systems
 For the analysis of space objects
 For the understanding of strange motions of rigid bodies.^{[10]}
 For the design and development of dynamicsbased sensors like gyroscopic sensors etc.
 For the design and development of various stability enhancement applications in automobiles etc.
 For improving the graphics of video games which involves rigid bodies
See also
 Analytical mechanics
 Analytical dynamics
 Calculus of variations
 Classical mechanics
 Dynamics (physics)
 History of classical mechanics
 Lagrangian mechanics
 Lagrangian
 Hamiltonian mechanics
 Rigid body
 Rigid rotor
 Soft body dynamics
 Multibody dynamics
 Polhode
 Herpolhode
 Precession
 Poinsot's construction
 Gyroscope
 Physics engine
 Physics processing unit
 Physics Abstraction Layer  Unified multibody simulator
 Dynamechs  Rigidbody simulator
 RigidChips  Japanese rigidbody simulator
 Euler's Equation
References
 ↑ B. Paul, Kinematics and Dynamics of Planar Machinery, PrenticeHall, NJ, 1979
 ↑ L. W. Tsai, Robot Analysis: The mechanics of serial and parallel manipulators, JohnWiley, NY, 1999.
 ↑ Encyclopædia Britannica, Newtons laws of motion.
 ↑ K. J. Waldron and G. L. Kinzel, Kinematics and Dynamics, and Design of Machinery, 2nd Ed., John Wiley and Sons, 2004.
 ↑ Torby, Bruce (1984). "Energy Methods". Advanced Dynamics for Engineers. HRW Series in Mechanical Engineering. United States of America: CBS College Publishing. ISBN 0030633664.
 ↑ T. R. Kane and D. A. Levinson, Dynamics, Theory and Applications, McGrawHill, NY, 2005.
 ↑ Marion, JB; Thornton, ST (1995). Classical Dynamics of Systems and Particles (4th ed.). Thomson. ISBN 0030973023. .
 ↑ Symon, KR (1971). Mechanics (3rd ed.). AddisonWesley. ISBN 0201073927. .
 ↑ Tenenbaum, RA (2004). Fundamentals of Applied Dynamics. Springer. ISBN 038700887X. .
 ↑ Gomez, R W; HernandezGomez, J J; Marquina, V (25 July 2012). "A jumping cylinder on an inclined plane". Eur. J. Phys. IOP. 33 (5): 1359–1365. arXiv:1204.0600. Bibcode:2012EJPh...33.1359G. doi:10.1088/01430807/33/5/1359. Retrieved 25 April 2016.
Further reading
 E. Leimanis (1965). The General Problem of the Motion of Coupled Rigid Bodies about a Fixed Point. (Springer, New York).
 W. B. Heard (2006). Rigid Body Mechanics: Mathematics, Physics and Applications. (WileyVCH).
External links
 Chris Hecker's Rigid Body Dynamics Information
 Physically Based Modeling: Principles and Practice
 Lectures, Computational Rigid Body Dynamics at University of WisconsinMadison
 DigitalRune Knowledge Base contains a master thesis and a collection of resources about rigid body dynamics.
 F. Klein, "Note on the connection between line geometry and the mechanics of rigid bodies" (English translation)
 F. Klein, "On Sir Robert Ball's theory of screws" (English translation)
 E. Cotton, "Application of Cayley geometry to the geometric study of the displacement of a solid around a fixed point" (English translation)