Login
📚 Differential Equations for Engineers
Chapters ▾
⇩ Download ▾

3.3 Linear systems of ODEs

First let us talk about matrix or vector valued functions. Such a function is just a matrix whose entries depend on some variable. If t is the independent variable, we write a vector valued function x(t) as

x ( t ) = [ x 1 ( t ) x 2 ( t ) x n ( t ) ]

Similarly a matrix valued function A(t) is

A ( t ) = [ a 11 ( t ) a 12 ( t ) a 1 n ( t ) a 21 ( t ) a 22 ( t ) a 2 n ( t ) a n 1 ( t ) a n 2 ( t ) a n n ( t ) ]

We can talk about the derivative A(t) or dAdt. This is just the matrix valued function whose ijth entry is aij(t).

Rules of differentiation of matrix valued functions are similar to rules for normal functions. Let A(t) and B(t) be matrix valued functions. Let c be a scalar and let C be a constant matrix. Then

( A ( t ) + B ( t ) ) = A ( t ) + B ( t ) ( A ( t ) B ( t ) ) = A ( t ) B ( t ) + A ( t ) B ( t ) ( c A ( t ) ) = c A ( t ) ( C A ( t ) ) = C A ( t ) ( A ( t ) C ) = A ( t ) C

Note the order of the multiplication in the last two expressions.

A first order linear system of ODEs is a system that can be written as the vector equation

x ( t ) = P ( t ) x ( t ) + f ( t )

where P(t) is a matrix valued function, and x(t) and f(t) are vector valued functions. We will often suppress the dependence on t and only write x=Px+f. A solution of the system is a vector valued function x satisfying the vector equation.

For example, the equations

x 1 = 2 t x 1 + e t x 2 + t 2 x 2 = x 1 t x 2 + e t

can be written as

x = [ 2 t e t 1 t 1 ] x + [ t 2 e t ]

We will mostly concentrate on equations that are not just linear, but are in fact constant coefficient equations. That is, the matrix P will be constant; it will not depend on t.

When f=0 (the zero vector), then we say the system is homogeneous. For homogeneous linear systems we have the principle of superposition, just like for single homogeneous equations.

Linear independence for vector valued functions is the same idea as for normal functions. The vector valued functions x1,x2,,xn are linearly independent when

c 1 x 1 + c 2 x 2 + + c n x n = 0

(3.3.1)

has only the solution c1=c2==cn=0, where the equation must hold for all t.

The linear combination c1x1+c2x2++cnxn could always be written as

X ( t ) c

where X(t) is the matrix with columns x1,,xn, and c is the column vector with entries c1,,cn. The matrix valued function X(t) is called the fundamental matrix, or the fundamental matrix solution.

To solve nonhomogeneous first order linear systems, we use the same technique as we applied to solve single linear nonhomogeneous equations.

So the procedure will be the same as for single equations. We find a particular solution to the nonhomogeneous equation, then we find the general solution to the associated homogeneous equation, and finally we add the two together.

Alright, suppose you have found the general solution x=Px+f. Now you are given an initial condition of the form

xt0=b

for some constant vector b. Suppose that X(t) is the fundamental matrix solution of the associated homogeneous equation (i.e. columns of X(t) are solutions). The general solution can be written as

x ( t ) = X ( t ) c + x p ( t )

We are seeking a vector c such that

b = x ( t 0 ) = X ( t 0 ) c + x p ( t 0 )

In other words, we are solving for c the nonhomogeneous system of linear equations

X ( t 0 ) c = b x p ( t 0 )

Adapted from Differential Equations for Engineers by Jiří Lebl (Oklahoma State University), hosted on LibreTexts (math.libretexts.org) and licensed under CC BY-SA 4.0. Changes were made. License: CC-BY-SA-4.0.