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

dXdt=AX+U.