SLIDE 1
Introduction to ODE systems and linear algebra notation
Nathan Albin November 5, 2017
1 The mass-spring equation as a system
Starting from the mass-spring equation mx′′ + cx′ + kx = 0, we can generate an equivalent first-order system using the trick we’ve used a few times in lab and lecture. We introduce a new variable, y = x′ and then use the differential equation to discover that y′ = x′′ = − k mx − c mx′ = − k mx − c my. Putting together the two pieces, we get the system:
- x′
= y y′ = − k
mx − c my
- r, equivalently,
- x′
= 0x + 1y y′ = − k
mx − c my.
We can also move from the system back to the ODE like this. x′′ = y′ = − k mx − c my = − k mx − c mx′. Multiplying through by m and rearranging gets us back to the second-order equation.
2 Linear algebra notation
You can think of matrices and vectors as providing a nice shorthand notation for certain
- perations. For example, when we have several variables, x and y in our case, we can create
a new object (a vector) called x that keeps track of all of them using one symbol:
- x =
x y
- .
There is also a convenient notation for derivatives using vectors. Namely, we’ll just write
- x′ =
x′ y′
- .