Chapter 8: Linear Differential Equations

8.1 Systems of linear differential equations with constant coefficients. In this chapter, we apply some of the results of chapter 7 to systems of linear differential equations. A system of linear differential equations of first order is

 

ì
ï
ï
ï
ï
ï
í
ï
ï
ï
ï
ï
î

 

 

dx1


dt

=

a11x1(t)+a12x2(t)+...+a1nxn(t)+f1(t)

 

dx2


dt

=

a21x1(t)+a22x2(t)+...+a2nxn(t)+f2(t)

¼

¼

 

dxn


dt

=

an1x1(t)+an2x2(t)+...+annxn(t)+f(t)

 

(1)

Here aij, i,j = 1,2,...,n, are known coefficients, independent of t, f1(t),...,fn(t) are some known functions of t, and x1(t),..., xn(t) are unknown functions. A set of functions x1(t), x2(t),...,xn(t) is called a solution of the system (1) if they are differentiable and when substituted into equations in (1) then the equations are satisfied.

Let us denote by A a square matrix whose elements are aij, i.e. A = [aij]n×n. Further, let f be a vector-valued function, i.e a column function defined by

f(t) =

é
ê
ê
ê
ê
ê
ê
ê
ë

 

f1(t)

f2(t)

·

·

fn(t)

 

ù
ú
ú
ú
ú
ú
ú
ú
û

 

and x(t) be the unknown vector valued function defined by

x(t) =

é
ê
ê
ê
ê
ê
ê
ê
ë

 

x1(t)

x2(t)

·

·

xn(t)

 

ù
ú
ú
ú
ú
ú
ú
ú
û

 

Then, as can be seen easily (and similarly to the case of systems of linear algebraic equations), that system (?) can be rewritten in the following compact form

 

dx


dt

= Ax(t)+f(t).

(2)

If f(t) º 0, then system (1) (or, what is the same, equation (2)) is called homogeneous. Otherwise, it is called inhomogeneous. The homogeneous equation

 

dx


dt

= Ax(t).

(3)

always has a solution x(t) º 0. Such a solution of the homogeneous equation is called the trivial solution. The following theorem about the relationship between solutions of homogeneous and inhomogeneous equations is analogous to the corresponding theorem for linear algebraic equations, and the proof remains the same.

Theorem 1 Let x0 be a particular solution of the inhomogeneous equation (2). Then for every solution x(t) of the homogeneous equation (3), the function

y(t) = x0(t)+x(t)

(4)

is a solution of the inhomogeneous equation (2). Conversely, if y(t) is an arbitrary solution of the inhomogeneous equation (2), then there exists a solution x(t) of the homogeneous equation (3), such that formula (4) holds.

From Theorem ? of chapter 7 it follows immediately that, for an arbitrary given x Î Cn, the functions

x(t) = etAx

is a solution of the homogeneous equation (3). In fact

 

dx(t)


dt

=

d etAx


dt

= AetAx = Ax(t).

Thus, the homogeneous equation (3) has infinitely many solutions. Therefore, by Theorem 1, the inhomogeneous equation (2), if has a solution, also has infinitely many of them. Each solution can be represented as a parameterized "generalized" curve in the space Cn (a standard curve if n = 2 or n = 3). The parameter is t, which usually can be interpreted as "time". In order to determine a solution uniquely, one need to specify an initial condition, requiring that the curve passes through a given point at a given time t0, i.e.

x1(t0) = x1(0),  x2(t0) = x2(0),  ..., xn(t0).

(5)

Conditions (5) can be written in the vector form

x(t0) = x0.

(6)

where x0 is the vector with components x(0)i, i = 1,2,...,n. The problem of solving equation (2) subject to the initial condition (6) is called the initial value problem, or the Cauchy problem. Usually it is written in the following form:

 

ì
í
î

 

x¢(t) = Ax(t),

x(t0) = x0.

 

(7)

Assuming that the function f(t) is continuous (i.e. fi(t) are continuous for all i = 1,2,...), one can use results of chapter 7 on the exponential functions etA to solve equation (2) in the following way:

Apply to the both parts of equation (2) the matrix e-tA, we have

e-tAx¢(t) = e-tAAx(t)+e-tAf(t).

(8)

From (8) we have

e-tAx¢(t)-e-tAAx(t) = e-tAf(t).

(9)

By Theorem ? of chapter 7, equation (9) can be written as

 

d (e-tAx(t))


dt

= e-tAf(t).

Therefore,

e-tAx(t) =

ó
õ

t

t0 

e-sAf(s)ds+c,

(10)

where  c  is an arbitrary constant vector. The constant vector  c is determined by the initial condition (6). Indeed, equation (10) with t = t0 implies

e-t0Ax(t0) = et0Ax0 =

ó
õ

t0

t0 

e-sAf(s)ds+c = c,

hence (10) becomes

e-tAx(t) = e-t0Ax0+

ó
õ

t

t0 

e-sAf(s)ds.

(11)

Finally, applying etA to both parts of (11), we obtain

 

x(t) = etAe-t0Ax0+etA

ó
õ

t

t0 

e-sAf(s)ds =

 

e(t-t0)Ax0+

ó
õ

t

t0 

e(t-s)Af(s)ds,

(12)

 

which is a solution to the initial value problem (7). Formula (12) is called the variation of parameters formula. It plays an important role in the theory of differential equations.

Example 1 Solve the initial value problem:

 

 

ì
í
î

 

x¢(t)

= x(t)+y(t)

y¢(t) = 3x(t)-y(t)

 

 

(13)

x(0) = -1,  y(0) = 1.

(14)

 

Solution: The above system can be written in the form

 

ì
í
î

 

x¢(t)

= Ax(t)

x(0)

= x0,

 

(15)

where

A =

é
ê
ë

 

1

1

3

-1

 

ù
ú
û

x(t) =

é
ê
ë

 

x(t)

y(t)

 

ù
ú
û

,  x0 =

é
ê
ë

 

-1

1

 

ù
ú
û

.

We need to find etA. The matrix tA has two eigenvalues l1 = 2t, l2 = -2t. Put f(l) = el, and we find the function r(l) = al+b, such that f(l1) = f(l1), r(l2) = f(l2). Hence, a and b must satisfy the following relations:

 

ì
í
î

 

2a+b

= e2t

-2a+b = e-2t,

 

 

from which it follows that a = [1/ 4t](e2t-e-2t), b = 1/2(e2t+e-2t). Hence

etA =

é
ê
ê
ê
ê
ê
ë

 

 

1


4

(3e2t-e-2t)

 

1


4

(e2t-e-2t)

 

1


4

(3e2t-3e-2t)

 

1


4

(e2t+3e-2t)

 

ù
ú
ú
ú
ú
ú
û

.

Thefore, the solution to the initial value problem (?) is

x(t) = etAx0 =

é
ê
ê
ê
ê
ê
ë

 

 

1


2

(-e-2t-e2t)

 

1


2

(3e-2t-e2t)

 

ù
ú
ú
ú
ú
ú
û

.

(16)

From (?) we obtain the solutions x(t) and y(t) of the system (?).

x(t) =

1


2

(-e-2t-e2t),  y(t) =

1


2

(3e-2t-e2t).

Example 2 Solve the initial value problem:

 

 

ì
í
î

 

x¢(t)

= 3x(t)-y(t)+et

y¢(t) = 4x(t)-2y(t)

 

 

(17)

x(0) = 1,  y(0) = -1.

(18)

 

Solution:

8.2 Reduction of equations of higher orders.

The matrix method can also be used for solving linear differential equations with constant coefficients of arbitrary order n, as well as systems of such equations, by reducing them to systems of first order equations. Let us first examine in details the case of equations of second order.

A linear differential equation of second order with constant coefficients has the form

a2x¢¢(t)+a1x¢(t)+a0x(t) = g(t),

(19)

where a2, a1, a0 are some scalars, g(t) is a known function. By a solution to this equation we meen any twice differentiable function x(t) such that when substituted in to (13), the equation is satisfied.

We may assume that a2 ¹ 0 because otherwise we would have an equation of first order. By dividing by a2, and denoting a = a1/a2, b = a0/a2,f(t) = g(t)/a2, equation (13) will take the following form

x¢¢(t)+ax¢(t)+bx(t) = f(t).

(20)

The method of reduction consists in the following: define two new variables u1 and u2 by:

u1(t) = x(t),  u2(t) = x¢(t).

Then, as easily seen, x(t) is a solution of equation (14) if and only if (u1, u2) is a solution of the following system:

 

ì
í
î

 

u1¢(t)

= u2(t)

u2¢(t)

= -bu1(t)-au2(t)+f(t)

 

(21)

Thus, if we introduce the matrix A and vector functions u(t),  f(t) by

A =

é
ê
ë

 

0

1

-b

-a

 

ù
ú
û

,  u(t) =

é
ê
ë

 

u1(t)

u2(t)

 

ù
ú
û

,  f(t) =

é
ê
ë

 

0

f(t)

 

ù
ú
û

,

then system (15) will take form

u¢(t) = Au(t)+f(t),

(22)

In order for the considered equation to have a unique solution, we must specify two initial conditions

x(t0) = x0, x¢(t0) = x1,

which is equivalent to the condition

u(t0) = u0 =

é
ê
ë

 

x0

x1

 

ù
ú
û

.