Mass matrix Contents Examples Continuum mechanics See also References Navigation menu

Computational science


analytical mechanicssymmetricmatrixgeneralized coordinate vectorkinetic energytransposeLagrangian mechanicsordinary differential equationdiagonalblock matrixidentity matrixcontinuum mechanicsfinite element method




In analytical mechanics, the mass matrix is a symmetric matrix M that expresses the connection between the time derivative q˙displaystyle dot q of the generalized coordinate vector q of a system and the kinetic energy T of that system, by the equation


T=12q˙TMq˙displaystyle T=frac 12mathbf dot q ^mathrm T mathbf M mathbf dot q

where q˙Tdisplaystyle mathbf dot q ^mathrm T denotes the transpose of the vector q˙displaystyle mathbf dot q .[1] This equation is analogous to the formula for the kinetic energy of a particle with mass mdisplaystyle m and velocity v, namely


T=12m|v|2=12v⋅mv^2;=;frac 12mathbf v cdot mmathbf v

and can be derived from it, by expressing the position of each particle of the system in terms of q.


In general, the mass matrix M depends on the state 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.




Contents





  • 1 Examples

    • 1.1 Two-body unidimensional system


    • 1.2 N-body system


    • 1.3 Rotating dumbbell



  • 2 Continuum mechanics


  • 3 See also


  • 4 References




Examples



Two-body unidimensional system




System of masses in one spatial dimension.


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 q of two generalized coordinates, namely the positions of the two particles along the track.



q=[x1x2]Tdisplaystyle q=[x_1,x_2]^mathrm T .

Supposing the particles have masses m1, m2, the kinetic energy of the system is


T=∑i=1212mix˙i2displaystyle T=sum _i=1^2frac 12m_idot x_i^2

This formula can also be written as


T=12q˙TMq˙displaystyle T=frac 12dot q^mathrm T Mdot q

where


M=[m100m2]displaystyle M=beginbmatrixm_1&0\0&m_2endbmatrix


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 q be the column vector comprising all those coordinates. The mass matrix M is the diagonal block matrix where in each block the diagonal elements are the mass of the corresponding particle:[2]


M=diag[m1In1,m2In2,⋯,mNInN]displaystyle M=mathrm diag [m_1I_n_1,m_2I_n_2,cdots ,m_NI_n_N]

where In i is the ni × ni identity matrix, or more fully:


M=[m1⋯00⋯0⋯0⋯0⋮⋱⋮⋮⋱⋮⋱⋮⋱⋮0⋯m10⋯0⋯0⋯00⋯0m2⋯0⋯0⋯0⋮⋱⋮⋮⋱⋮⋱⋮⋱⋮0⋯00⋯m2⋯0⋯0⋮⋱⋮⋮⋱⋮⋱⋮⋱⋮0⋯00⋯0⋯mN⋯0⋮⋱⋮⋮⋱⋮⋱⋮⋱⋮0⋯00⋯0⋯0⋯mN]displaystyle M=beginbmatrixm_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\endbmatrix



Rotating dumbbell




Rotating dumbbell.


For a less trivial example, consider two point-like objects with masses m1, m2, attached to the ends of a rigid massless bar with length 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


q=[x,y,α]displaystyle q=[x,y,alpha ]

where x, y 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


x1=(x,y)+R(cos⁡α,sin⁡α)v1=(x˙,y˙)+Rα˙(−sin⁡α,cos⁡α)x2=(x,y)−R(cos⁡α,sin⁡α)v2=(x˙,y˙)−Rα˙(−sin⁡α,cos⁡α)displaystyle beginarrayllx_1=(x,y)+R(cos alpha ,sin alpha )&v_1=(dot x,dot y)+Rdot alpha (-sin alpha ,cos alpha )\x_2=(x,y)-R(cos alpha ,sin alpha )&v_2=(dot x,dot y)-Rdot alpha (-sin alpha ,cos alpha )endarray

and their total kinetic energy is


2T=mx˙2+my˙2+mR2α˙2+2Rdcos⁡αx˙α˙+2Rdsin⁡αy˙α˙displaystyle 2T=mdot x^2+mdot y^2+mR^2dot alpha ^2+2Rdcos alpha dot xdot alpha +2Rdsin alpha dot ydot alpha

where m=m1+m2displaystyle m=m_1+m_2 and d=m1−m2displaystyle d=m_1-m_2. This formula can be written in matrix form as


T=12q˙TMq˙displaystyle T=frac 12dot q^mathrm T Mdot q

where


M=[m0Rdcos⁡α0mRdsin⁡αRdcos⁡αRdsin⁡αR2m]displaystyle M=beginbmatrixm&0&Rdcos alpha \0&m&Rdsin alpha \Rdcos alpha &Rdsin alpha &R^2mendbmatrix

Note that the matrix depends on the current angle α 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 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–energy tensor

  • Stiffness matrix

  • Scleronomous


References



  1. ^
    Mathematical methods for physics and engineering, K.F. Riley, M.P. Hobson, S.J. Bence, Cambridge University Press, 2010, .mw-parser-output cite.citationfont-style:inherit.mw-parser-output .citation qquotes:"""""""'""'".mw-parser-output .citation .cs1-lock-free abackground:url("//upload.wikimedia.org/wikipedia/commons/thumb/6/65/Lock-green.svg/9px-Lock-green.svg.png")no-repeat;background-position:right .1em center.mw-parser-output .citation .cs1-lock-limited a,.mw-parser-output .citation .cs1-lock-registration abackground:url("//upload.wikimedia.org/wikipedia/commons/thumb/d/d6/Lock-gray-alt-2.svg/9px-Lock-gray-alt-2.svg.png")no-repeat;background-position:right .1em center.mw-parser-output .citation .cs1-lock-subscription abackground:url("//upload.wikimedia.org/wikipedia/commons/thumb/a/aa/Lock-red-alt-2.svg/9px-Lock-red-alt-2.svg.png")no-repeat;background-position:right .1em center.mw-parser-output .cs1-subscription,.mw-parser-output .cs1-registrationcolor:#555.mw-parser-output .cs1-subscription span,.mw-parser-output .cs1-registration spanborder-bottom:1px dotted;cursor:help.mw-parser-output .cs1-ws-icon abackground:url("//upload.wikimedia.org/wikipedia/commons/thumb/4/4c/Wikisource-logo.svg/12px-Wikisource-logo.svg.png")no-repeat;background-position:right .1em center.mw-parser-output code.cs1-codecolor:inherit;background:inherit;border:inherit;padding:inherit.mw-parser-output .cs1-hidden-errordisplay:none;font-size:100%.mw-parser-output .cs1-visible-errorfont-size:100%.mw-parser-output .cs1-maintdisplay:none;color:#33aa33;margin-left:0.3em.mw-parser-output .cs1-subscription,.mw-parser-output .cs1-registration,.mw-parser-output .cs1-formatfont-size:95%.mw-parser-output .cs1-kern-left,.mw-parser-output .cs1-kern-wl-leftpadding-left:0.2em.mw-parser-output .cs1-kern-right,.mw-parser-output .cs1-kern-wl-rightpadding-right:0.2em
    ISBN 978-0-521-86153-3



  2. ^
    Analytical Mechanics, L.N. Hand, J.D. Finch, Cambridge University Press, 2008,
    ISBN 978 0 521 57572 0








Popular posts from this blog

Thal And Out Agency railway station See also References External links Navigation menuOfficial Web Site of Pakistan RailwaysArchivedOfficial Web Site of Pakistan Railwayseeexpanding ite

Understanding generators in Python2019 Community Moderator ElectionGenerator function not working pythonFor loop not executing two timesGenerators - Printing generated valuesWhy can a python generator only be used once?What exactly do generators do?What does the “yield” keyword do?What does “list comprehension” mean? How does it work and how can I use it?sklearn Kfold acces single fold instead of for loopIs a generator the callable? Which is the generator?Apply Border To Range Of Cells Using OpenpyxlCalling an external command in PythonWhat are metaclasses in Python?What is the difference between @staticmethod and @classmethod?Finding the index of an item given a list containing it in PythonDifference between append vs. extend list methods in PythonHow can I safely create a nested directory in Python?Does Python have a ternary conditional operator?Understanding slice notationUnderstanding Python super() with __init__() methodsDoes Python have a string 'contains' substring method?

How can I change the color of pagination dots of UIPageControl?How to change UIPageControl dotsIs there a way to change page indicator dots colorCustomize dot with image of UIPageControl at index 0 of UIPageControlNo visible @interface for 'NSObject<PageControlDelegate>' declares the selector 'pageControlPageDidChange:'How to change the color of pagination dots in UIPageControl with a different color per pagepagecontrol indicator custom image instead of DefaultChanging the colour of UIPageControl dots in MonoTouchpagecontrol selectable page visibility color?Alternative way to load ViewControllers on a UIPageControlHow to set only layer.border-color for UIpage control dots in swiftHow can I develop for iPhone using a Windows development machine?How to change the name of an iOS app?UITableView - change section header coloruipagecontrol indicator(dot)issueCustom UIPageControl dots color not changingchange the interspace between UIPageControl dotsHow to change Status Bar text color in iOSHow can I change image tintColor in iOS and WatchKitUIPageControl dots with larger space in between each dotsHow to change the color of pagination dots in UIPageControl with a different color per page