MATH319 Slides

13 Matrix form of the damped harmonic oscillator

We introduce a new state variable v, the velocity, so y′=v. Then we have a pair of equations y′=v and v′=-β⁢v-γ⁢y+u. We put these together in a matrix equation

X=[yv],U=[0u]
A=[01-γ-β]

so the differential equation is

d⁢Xd⁢t=A⁢X+U.