Solving a System of Differential Equations

3×3 Non-Homogeneous System with a Double Eigenvalue

The Problem

Find the general solution of the system:
dx/dt = 4x − y − z + e3t
dy/dt = x + 5y + 2z + e3t
dz/dt = y + 5z
A =  4   −1   −1   1    5     2   0    1     5  b = e3t 1 1 0

Solution Method

Non-homogeneous system x' = Ax + b. We find the homogeneous solution (3 linearly independent solutions) and the particular solution. λ=4 is a double eigenvalue and requires a generalized eigenvector.

1
2
3
4
5
Step 1: Finding Eigenvalues
Find the eigenvalues of matrix A by solving |λI − A| = 0

Guiding Question

Compute the characteristic polynomial |λI − A| and find its roots

|λI − A| = (λ−4)²(λ−6)

Hint: There are two distinct eigenvalues, one of which is double

Simple eigenvalue: λ₁ =
Double eigenvalue: λ₂ =
🧐 Digital Friend - Step 1

Step 1 Solution

Characteristic polynomial:
|λI − A| = (λ−4)²(λ−6)

The Eigenvalues

λ₁ = 6 (simple), λ₂ = 4 (double)
Step 2: Eigenvector for λ=6
Find an eigenvector v₁ for the simple eigenvalue λ = 6

Guiding Question

Solve the system (6I − A)v = 0

(6I − A) = [2, 1, 1; −1, 1, −2; 0, −1, 1]

Hint: Row reduce the matrix and find an eigenvector

v₁ = [ , , ]T

Enter integers (any scalar multiple is accepted)

🧐 Digital Friend - Step 2

Step 2 Solution

The matrix (6I − A):
[2, 1, 1; −1, 1, −2; 0, −1, 1]
Row reduction and solution:
v₁ = [−1, 1, 1]T

The Eigenvector

v₁ = [−1, 1, 1]T
Step 3: Eigenvector for λ=4
Find an eigenvector v₂ for the double eigenvalue λ = 4

Guiding Question

Solve the system (4I − A)v = 0

(4I − A) = [0, 1, 1; −1, −1, −2; 0, −1, −1]

Hint: The double eigenvalue has only one eigenvector (geometric multiplicity 1)

v₂ = [ , , ]T

Enter integers (any scalar multiple is accepted)

🧐 Digital Friend - Step 3

Step 3 Solution

The matrix (4I − A):
[0, 1, 1; −1, −1, −2; 0, −1, −1]
Row reduction and solution:
v₂ = [1, 1, −1]T

The Eigenvector

v₂ = [1, 1, −1]T
Step 4: Generalized Eigenvector (Third Solution)
Since λ=4 is a double eigenvalue with only one eigenvector, we need a generalized eigenvector w.
The third solution: x₃(t) = te4tv₂ + e4tw

Guiding Question

Solve the system (A − 4I)w = v₂ to find w

(A − 4I)w = v₂ = [1, 1, −1]T

Hint: w₁ is a free parameter (choose w₁ = 0). Find w₂ and w₃

w₂ = w₃ =
🧐 Digital Friend - Step 4

Step 4 Solution

The equation (A − 4I)w = v₂:
[0, −1, −1; 1, 1, 2; 0, 1, 1] · w = [1, 1, −1]T
Solving the system:
w₁ = t (free), w₂ = −3, w₃ = 2
Choosing w₁ = 0: w = [0, −3, 2]T
The third solution:
x₃(t) = te4t[1,1,−1]T + e4t[0,−3,2]T = e4t[t, t−3, 2−t]T

The Generalized Eigenvector and Third Solution

w = [0, −3, 2]T
x₃(t) = e4t[t, t−3, 2−t]T
Step 5: Particular Solution
Since 3 is not an eigenvalue, we try a particular solution of the form xp = e3t[a₁, a₂, a₃]T

Guiding Question

Substitute xp = e3t[a₁, a₂, a₃]T into the system and solve for a₁, a₂, a₃

(3I − A)[a₁, a₂, a₃]T = [1, 1, 0]T

Hint: Solve a system of 3 equations in 3 unknowns

a₁ = a₂ = a₃ =
🧐 Digital Friend - Step 5

Step 5 Solution

Substituting xp into the system:
3e3t[a₁,a₂,a₃]T = Ae3t[a₁,a₂,a₃]T + e3t[1,1,0]T
Simplification:
(3I − A)[a₁,a₂,a₃]T = [1,1,0]T
Solution:
a₁ = −1, a₂ = 0, a₃ = 0

The Particular Solution

xp(t) = e3t[−1, 0, 0]T