Linear systems I: matrix descriptions

Systems from higher order equations

A system of ODEs looks like this:

y1=f1(t,y1,,yn)y2=f2(t,y1,,yn)yn=fn(t,y1,,yn).

The derivative of each variable yi is determined by its own function of the other variables, fi(t,y1,,yn).

One reason systems are important is that they offer an alternative to the language of order of a differential equation. Consider a general ODE of order n given by the equation

F(t,y,y,,y(n))=0.

This ODE (and its complete families of solutions as well as IVPs) is equivalent to a first-order system in which higher derivatives are replaced with new variables:

F(t,y0,y1,,yn)=0y1=y0y2=y1y3=y2yn=yn1.

In particular, consider the nth order linear ODE:

y(n)+an1(t)y(n1)++a1(t)y+a0(t)y=f(t).

By defining y0,,yn1 with the formulas y0=y and yi=y(i), we find an equivalent linear system:

y0=y1y1=y2yn1=an1(t)yn1a0(t)y0+f(t).

Notice that this system can be represented using matrix multiplication:

(y0y1yn1)=(0100000100a0(t)a1(t)a2(t)a3(t)an1(t))(y0y1yn1)+(00f(t)).

The last equation suggests vector-matrix formalism for systems of linear equations:

𝐲(t)=𝐀(t)𝐲(t)+𝐟(t),𝐀(t)=(a11(t)a1n(t)an1(t)ann(t)),𝐲(t)=(y1(t)yn(t)),𝐟(t)=(f1(t)fn(t)).

This format is called the normal form for the linear system of ODEs.

The next packets address the problem of extending our previous methods for second-order linear equations to the formalism for linear systems.

The methods we will extend:

  • Homogeneous – complete family of solutions
  • Inhomogeneous – variation of parameters for a particular solution
  • Constant coefficients – real, repeated, and complex: exponential, linear factor, and sinusoidal solutions

Some new methods will be introduced to address the complexities of linear interaction between variables:

  • Independence – to explain ‘complete’ family of solutions
  • Eigenvectors – to describe proportionality between variables having the same overall exponential / sinusoidal behavior
  • Matrix calculus – to write a general solution formula for constant coefficient systems

Homogeneous system

When the normal form of the system has nso 𝐟(t) term, it is called homogeneous:

𝐲(t)=𝐀(t)𝐲(t),

or simply 𝐲=𝐀𝐲.

The important thing about homogeneous systems is that the solutions form a vector space, meaning that solutions can be added and scaled while remaining valid solutions. For example, if 𝐲1(t) and 𝐲2(t) are vector solutions, then

C1𝐲1(t)+C2𝐲2(t)

is also a valid vector solution for any constants C1 and C2. Here’s a proof:

(C1𝐲1(t)+C2𝐲2(t))=C1𝐲1(t)+C2𝐲2(t)=C1𝐀(t)𝐲1(t)+C2𝐀(t)𝐲2(t)(separate solutions)=𝐀(t)(C1𝐲1(t)+C2𝐲2(t))(linearity of 𝐀).

The fact that solutions can be added to form valid solutions is called the superposition principle and it applies to linear homogeneous systems in the same way as it applies to 2nd order linear equations.

Since the complete family of solutions of a system like 𝐲=𝐀𝐲 forms a vector space, we would like to describe this family as the span of a specific set of independent solutions. Just as for any other vectors, a set of solutions 𝐲1,,𝐲n is an independent set when any equation

C1𝐲1++Cn𝐲n=0

can only be valid when C1==Cn=0.

A set of independent solutions is a complete set when every other solution vector can be written as a linear combination of them, i.e. it is in their span:

𝐲(t)=α1𝐲1++αn𝐲n,some α1,,αn.

In linear algebra, a complete set of independent vectors for a space is called a basis for the space. In ODE theory, a complete set of independent solution vectors is called a fundamental set of solutions. To reiterate: a fundamental set of solutions 𝐲1,,𝐲n is both independent and complete.

Solving ODE system

Solving an ODE system (finding the complete family of solutions) means: finding a fundamental set of solutions.

Given a fundamental set of solution vectors 𝐲1,,𝐲n, we can arrange these vectors as the columns of a matrix called the fundamental matrix:

𝐘(t)=(𝐲1𝐲n).

By linear algebra theory, these columns form a basis if and only if this matrix has nonzero determinant. The determinant of any fundamental matrix is called the Wronskian matrix W(t).

Example

Verifying a fundamental matrix

Problem: Consider the ODE system:

𝐲(t)=(011101110)𝐲(t).

Verify that the following is a fundamental matrix for this ODE:

𝐘=(e2tet0e2t0ete2tetet).

Solution: First we must check that each column of 𝐘 is a solution vector for the ODE:

𝐲1=(e2te2te2t)=(2e2t2e2t2e2t)=2(e2te2te2t),𝐀𝐲1=(011101110)(e2te2te2t)=(0+e2t+e2te2t+0+e2te2t+e2t+0)=2(e2te2te2t).

Similarly for the second column vector:

(et0et)=(et0et)(011101110)(et0et)=(0+0+etet+0+etet+0+0)=(et0et).

And similarly for the third column vector.

Secondly, we must verify that these solutions are independent. For that, we compute the determinant of the Wronskian matrix using the formula for 3×3 matrices:

W(t)=det𝐘=|e2tet0e2t0ete2tetet|=e2t|0etetet|et|e2tete2tet|+0|e2t0e2tet|=e2t(e2t)+et(2et)+0=12=3.

Therefore W(t)=3 and is never 0, so the columns of 𝐘 are independent. Combining this fact with the first fact, we know that 𝐘 is a fundamental matrix.

Problems due Wednesday 10 Apr 2024 by 11:59pm

Easier Problems

Problem 12-01

Writing 3rd order linear ODE as 3D system

Consider the ODE: yy+y=cost. Rewrite this ODE as a 3D system of equations, giving the matrix 𝐀 and the inhomogeneous vector term 𝐟(t).

Problem 12-02

Converting system list to system matrix

Find the matrix + forcing vector formulations of the two ODE systems:

  • (a) \begin{align*}x'(t)&= 3x(t)-y(t)+t^2\\y'(t)&= -x(t)+2y(t)+e^t.\end{align*} ParseError: {align*} can be used only in display mode.
  • (b) \begin{align*}x'&= x+y+z\\y'&= 2x-y+3z\\z'&= x+5z.\end{align*} ParseError: {align*} can be used only in display mode.
Problem 12-03

Computing 3×3 Wronskian

Find the Wronskian W(t) for the following matrix:

(etete2tetet2e2tetet4e2t).

Are the column vectors of this matrix independent?

Problem 12-04

Derivative of a matrix function

Find the derivative of the following matrix-valued function:

(sin2tcos2te2tsin2t2cos2t3e2t3sin2tcos2te2t).
Problem 12-05

Verifying vector solution of ODE system

Show that the given vector function satisfies the given ODE system:

𝐲(t)=(e3t2e3t)satisfies𝐲=(1124)𝐲.
Problem 12-06

Verifying fundamental matrix of ODE system

Show that the given matrix-valued function is a fundamental matrix for the given ODE system:

𝐲(t)=(et000ete5t0ete5t)satisfies𝐲=(100032023)𝐲.

Harder Problems

None!