mass matrix
{{short description|Matrix relating a system's generalized coordinate vector and kinetic energy}}
In analytical mechanics, the mass matrix is a symmetric matrix {{math|M}} that expresses the connection between the time derivative of the generalized coordinate vector {{math|q}} of a system and the kinetic energy {{mvar|T}} of that system, by the equation
:
where denotes the transpose of the vector . This equation is analogous to the formula for the kinetic energy of a particle with mass {{mvar|m}} and velocity {{math|v}}, namely
:
and can be derived from it, by expressing the position of each particle of the system in terms of {{math|q}}.
In general, the mass matrix {{math|M}} depends on the state {{math|q}}, and therefore varies with time.
Lagrangian mechanics yields an ordinary differential equation (actually, a system of coupled differential equations) that describes the evolution of a system in terms of an arbitrary vector of generalized coordinates that completely defines the position of every particle in the system. The kinetic energy formula above is one term of that equation, that represents the total kinetic energy of all the particles.
Examples
=Two-body unidimensional system =
File:Mass matrix masses in 1d.svg
For example, consider a system consisting of two point-like masses confined to a straight track. The state of that system can be described by a vector {{math|q}} of two generalized coordinates, namely the positions of the two particles along the track.
:
Supposing the particles have masses {{math|m{{sub|1}}, m{{sub|2}}}}, the kinetic energy of the system is
:
This formula can also be written as
:
where
:
=N-body system =
More generally, consider a system of {{mvar|N}} particles labelled by an index {{math|1=i = 1, 2, …, N}}, where the position of particle number {{mvar|i}} is defined by {{mvar|n{{sub|i}}}} free Cartesian coordinates (where {{math|1=n{{sub|i}} = 1, 2, 3}}). Let {{math|q}} be the column vector comprising all those coordinates. The mass matrix {{math|M}} is the diagonal block matrix where in each block the diagonal elements are the mass of the corresponding particle:
:
where {{math|I{{sub|n{{sub|i}}}}}} is the {{math|n{{sub|i}} × n{{sub|i}}}} identity matrix, or more fully:
:
m_1 & \cdots & 0 & 0 & \cdots & 0 & \cdots & 0 & \cdots & 0 \\
\vdots & \ddots & \vdots & \vdots & \ddots & \vdots & \ddots &\vdots & \ddots & \vdots \\
0 & \cdots & m_1 & 0 & \cdots & 0 & \cdots & 0 & \cdots & 0 \\
0 & \cdots & 0 & m_2 & \cdots & 0 & \cdots & 0 & \cdots & 0 \\
\vdots & \ddots & \vdots & \vdots & \ddots & \vdots & \ddots &\vdots & \ddots & \vdots \\
0 & \cdots & 0 & 0 & \cdots & m_2 & \cdots & 0 & \cdots & 0 \\
\vdots & \ddots & \vdots & \vdots & \ddots & \vdots & \ddots & \vdots & \ddots & \vdots \\
0 & \cdots & 0 & 0 & \cdots & 0 & \cdots & m_N & \cdots & 0 \\
\vdots & \ddots & \vdots & \vdots & \ddots & \vdots & \ddots & \vdots & \ddots & \vdots \\
0 & \cdots & 0 & 0 & \cdots & 0 & \cdots & 0 & \cdots & m_N\\
\end{bmatrix}
= Rotating dumbbell =
File:Mass matrix rotating dumbbell.svg
For a less trivial example, consider two point-like objects with masses {{math|m{{sub|1}}, m{{sub|2}}}}, attached to the ends of a rigid massless bar with length {{math|2R}}, the assembly being free to rotate and slide over a fixed plane. The state of the system can be described by the generalized coordinate vector
:
where {{mvar|x, y}} are the Cartesian coordinates of the bar's midpoint and {{mvar|α}} is the angle of the bar from some arbitrary reference direction. The positions and velocities of the two particles are
:
x_1 &= (x, y) + R(\cos\alpha, \sin\alpha) & v_1 &= \left(\dot x, \dot y\right) + R\dot \alpha(-\sin\alpha, \cos\alpha) \\
x_2 &= (x, y) - R(\cos\alpha, \sin\alpha) & v_2 &= \left(\dot x, \dot y\right) - R\dot \alpha(-\sin\alpha, \cos\alpha)
\end{align}
and their total kinetic energy is
:
where and . This formula can be written in matrix form as
:
where
:
m & 0 & -Rd\sin\alpha \\
0 & m & Rd\cos\alpha \\
-Rd\sin\alpha & Rd\cos\alpha & R^2 m
\end{bmatrix}
Note that the matrix depends on the current angle {{mvar|α}} of the bar.
Continuum mechanics
For discrete approximations of continuum mechanics as in the finite element method, there may be more than one way to construct the mass matrix, depending on desired computational accuracy and performance. For example, a lumped-mass method, in which the deformation of each element is ignored, creates a diagonal mass matrix and negates the need to integrate mass across the deformed element.
See also
References
Mathematical methods for physics and engineering, K.F. Riley, M.P. Hobson, S.J. Bence, Cambridge University Press, 2010, {{ISBN|978-0-521-86153-3}}
Analytical Mechanics, L.N. Hand, J.D. Finch, Cambridge University Press, 2008, {{ISBN|978 0 521 57572 0}}