In [[analytical mechanics]], the '''mass matrix''' is a [[symmetric matrix|symmetric]] [[matrix (mathematics)|matrix]] that expresses the connection between the time derivative of the [[generalized coordinates|generalized coordinate vector]] of a system and the [[kinetic energy]] of that system, by the equation
:
where " " denotes the [[matrix transpose|transpose]] of the vector .[ This equation is analogous to the formula for the kinetic energy of a particle with mass and velocity , namely
:
and can be derived from it, by expressing the position of each particle of the system in terms of . In general, the mass matrix depends on the state , 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 ===
For example, consider a system consisting of two point-like masses confined to a straight track. The state of that systems can be described by a vector of two generalized coordinates, namely the positions of the two particles along the track.
:.
Supposing the particles have masses , the kinetic energy of the system is
:
This formula can also be written as
:
where
:
===N-body system ===
More generally, consider a system of ''N'' particles labelled by an index ''i'' = 1, 2,...,''N'', where the position of particle number ''i'' is defined by ''ni'' free Cartesian coordinates (where ''ni'' is 1, 2, or 3). Let be the column vector comprising all those coordinates. The mass matrix is the [[diagonal matrix|diagonal]] [[block matrix]] where each in each block the diagonal elements are the mass of the corresponding particle:][
:
where '''I'''''n i'' is the ''ni'' × ''ni'' [[identity matrix]], or more fully:
=== Rotating dumbbell ===
For a less trivial example, consider two point-like objects with masses , attached to the ends of a rigid massless bar with length , 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 are the Cartesian coordinates of the bar's midpoint and is the angle of the bar from some arbitrary reference direction. The positions and velocities of the two particles are
:
and their total kinetic energy is
:
where math>m = m_1 + m_2 and . This formula can be written in matrix form as
:
where
:
Note that the matrix depends on the current angle of the bar.
==Applications==
===Rigid-body dynamics===
For applications in which mass is distributed such as [[rigid-body dynamics]], there may be off-diagonal terms. For example, in one dimension if two particles with mass are connected by an ideal spring with a uniformly distributed mass, the effective acceleration of all points along the spring would correspond to differential mass elements, the acceleration of which would interpolate between the velocities of the two particles.{{Citation needed|date=July 2009}}
===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 and accuracy 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 ==
* [[Moment of inertia]]
* [[Stress tensor]]
* [[Stress-energy tensor]]
* [[Stiffness matrix]]
==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
]
[[Category:Computational science]]
[[zh:质量矩阵]]