Introduction: The Eigenvalue Method

We introduce a powerful alternative to the method of elimination to find the general solution of a homogeneous first-order linear system with constant coefficients of the form:

\[ \vec{x}' = \mathbf{A}\vec{x} \]

where \( \mathbf{A} \) is an \( n \times n \) matrix of constant coefficients. A general solution is a linear combination of \( n \) linearly independent solution vectors \( \vec{x}_1(t), \dots, \vec{x}_n(t) \).

Theorem 1: Eigenvalue Solution of \(\vec{x}' = \mathbf{A}\vec{x}\)

Let \(\lambda\) be the eigenvalue of the coefficient matrix \(\mathbf{A}\) of the first-order linear system \(\vec{x}' = \mathbf{A}\vec{x}\). If \(\vec{v}\) is an eigenvector associated with \(\lambda\), then:

\[ \vec{x}(t) = \vec{v}e^{\lambda t} \]

is a nontrivial solution of the system.

Assuming a solution vector of the form \(\vec{x}(t) = \vec{v}e^{\lambda t}\) and substituting into the system yields:

\[ \lambda \vec{v}e^{\lambda t} = \mathbf{A}\vec{v}e^{\lambda t} \implies \mathbf{A}\vec{v} = \lambda \vec{v} \]

Eigenvalues and Eigenvectors

A nontrivial solution \(\vec{x}(t) = \vec{v}e^{\lambda t}\) exists if and only if:

  • Eigenvalue (\(\lambda\)): A scalar satisfying the characteristic equation: \[ \det(\mathbf{A} - \lambda \mathbf{I}) = 0 \]
  • Eigenvector (\(\vec{v}\)): A non-zero column vector satisfying: \[ (\mathbf{A} - \lambda \mathbf{I})\vec{v} = \begin{bmatrix} 0 \\ \vdots \\ 0 \end{bmatrix} \]

Summary: The Eigenvalue Method

  1. Solve the characteristic equation \(\det(\mathbf{A} - \lambda \mathbf{I}) = 0\) for the eigenvalues \(\lambda_1, \dots, \lambda_n\).
  2. Find \(n\) linearly independent eigenvectors \(\vec{v}_1, \dots, \vec{v}_n\) associated with these eigenvalues.
  3. If \(n\) linearly independent eigenvectors exist, the general solution is:
    \[ \vec{x}(t) = C_1\vec{v}_1e^{\lambda_1 t} + C_2\vec{v}_2e^{\lambda_2 t} + \dots + C_n\vec{v}_ne^{\lambda_n t} \]

(I) Distinct Real Eigenvalues

Example 1

Find the general solution and the particular solution satisfying \(\vec{x}(0) = \begin{bmatrix} 5 \\ -1 \end{bmatrix}\):

\( x_1' = 4x_1 + 2x_2 \)
\( x_2' = 3x_1 - x_2 \)

Step 1: Eigenvalues. Solve \(\det(\mathbf{A} - \lambda \mathbf{I}) = 0\):

\[ \begin{vmatrix} 4-\lambda & 2 \\ 3 & -1-\lambda \end{vmatrix} = \lambda^2 - 3\lambda - 10 = (\lambda + 2)(\lambda - 5) = 0 \implies \lambda_1 = -2, \lambda_2 = 5 \]

Step 2: Eigenvectors.

  • For \(\lambda_1 = -2\): \( \mathbf{A} - (-2)\mathbf{I} = \begin{bmatrix} 6 & 2 \\ 3 & 1 \end{bmatrix} \sim \begin{bmatrix} 3 & 1 \\ 0 & 0 \end{bmatrix} \implies 3a + b = 0 \). Let \(a = 1 \implies \vec{v}_1 = \begin{bmatrix} 1 \\ -3 \end{bmatrix}\).
  • For \(\lambda_2 = 5\): \( \mathbf{A} - 5\mathbf{I} = \begin{bmatrix} -1 & 2 \\ 3 & -6 \end{bmatrix} \sim \begin{bmatrix} 1 & -2 \\ 0 & 0 \end{bmatrix} \implies a - 2b = 0 \). Let \(b = 1 \implies \vec{v}_2 = \begin{bmatrix} 2 \\ 1 \end{bmatrix}\).

Step 3: Initial Value Problem. Using initial conditions yields \(C_1 = 1, C_2 = 2\):

\[ \vec{x}(t) = \begin{bmatrix} 1 \\ -3 \end{bmatrix} e^{-2t} + 2 \begin{bmatrix} 2 \\ 1 \end{bmatrix} e^{5t} \implies \begin{cases} x_1(t) = e^{-2t} + 4e^{5t} \\ x_2(t) = -3e^{-2t} + 2e^{5t} \end{cases} \]
Phase portrait for a saddle point showing solution curves following eigenvector directions.
Figure: Phase Portrait for Example 1 (Saddle Point)
Example 2: 3x3 System with Row Operations

Solve the system with matrix \(\mathbf{A} = \begin{bmatrix} 1 & 2 & 2 \\ 2 & 7 & 1 \\ 2 & 1 & 7 \end{bmatrix}\).

Step 1: Determinant calculation. Using row operation \(R_3 = -R_2 + R_3\):

\[ \det(\mathbf{A} - \lambda \mathbf{I}) = \begin{vmatrix} 1-\lambda & 2 & 2 \\ 2 & 7-\lambda & 1 \\ 0 & \lambda-6 & 6-\lambda \end{vmatrix} = (\lambda-6) \begin{vmatrix} 1-\lambda & 2 & 2 \\ 2 & 7-\lambda & 1 \\ 0 & 1 & -1 \end{vmatrix} = \lambda(\lambda - 6)(9 - \lambda) = 0 \]

This gives eigenvalues \(\lambda_1 = 0, \lambda_2 = 6, \lambda_3 = 9\).

Step 2: Eigenvectors using Row Reduction.

  • For \(\lambda_1 = 0\): \( \begin{bmatrix} 1 & 2 & 2 \\ 2 & 7 & 1 \\ 2 & 1 & 7 \end{bmatrix} \xrightarrow{\substack{R_2-2R_1 \\ R_3-2R_1}} \begin{bmatrix} 1 & 2 & 2 \\ 0 & 3 & -3 \\ 0 & -3 & 3 \end{bmatrix} \sim \begin{bmatrix} 1 & 0 & 4 \\ 0 & 1 & -1 \\ 0 & 0 & 0 \end{bmatrix} \implies \begin{cases} a + 4c = 0 \\ b - c = 0 \end{cases} \implies \vec{v}_1 = \begin{bmatrix} -4 \\ 1 \\ 1 \end{bmatrix} \).
  • For \(\lambda_2 = 6\): \( \begin{bmatrix} -5 & 2 & 2 \\ 2 & 1 & 1 \\ 2 & 1 & 1 \end{bmatrix} \sim \begin{bmatrix} 1 & 0 & 0 \\ 0 & 1 & 1 \\ 0 & 0 & 0 \end{bmatrix} \implies \begin{cases} a = 0 \\ b + c = 0 \end{cases} \implies \vec{v}_2 = \begin{bmatrix} 0 \\ 1 \\ -1 \end{bmatrix} \).
  • For \(\lambda_3 = 9\): \( \begin{bmatrix} -8 & 2 & 2 \\ 2 & -2 & 1 \\ 2 & 1 & -2 \end{bmatrix} \sim \begin{bmatrix} 1 & 0 & -1/2 \\ 0 & 1 & -1 \\ 0 & 0 & 0 \end{bmatrix} \implies \begin{cases} a = c/2 \\ b = c \end{cases} \text{Let } c=2 \implies \vec{v}_3 = \begin{bmatrix} 1 \\ 2 \\ 2 \end{bmatrix} \).

General Solution: \( \vec{x}(t) = C_1 \begin{bmatrix} -4 \\ 1 \\ 1 \end{bmatrix} + C_2 \begin{bmatrix} 0 \\ 1 \\ -1 \end{bmatrix} e^{6t} + C_3 \begin{bmatrix} 1 \\ 2 \\ 2 \end{bmatrix} e^{9t} \).


(II) Compartmental Analysis

A diagram showing three tanks (Tank 1, Tank 2, and Tank 3) connected in series. Freshwater or brine enters Tank 1 from the left at rate r. Fluid flows from Tank 1 into Tank 2, then from Tank 2 into Tank 3, and finally exits Tank 3 at the same rate r. Each tank is labeled with its volume (V) and the amount of salt (x) it contains.
Figure: General 3-Stage Compartmental Tank System

Complex systems are broken into compartments. For a cascading system of tanks with volume \(V_i\) and flow rate \(r\), the salt amount \(x_i\) is governed by:

\( \frac{dx_1}{dt} = -k_1x_1, \)
\( \frac{dx_3}{dt} = k_2x_2 - k_3x_3 \)
\(\frac{dx_2}{dt} = k_1x_1 - k_2x_2\), \(\qquad\) where \(k_i = \frac{r}{V_i} \)
Example 3: Salt Tank Problem

A two-tank system contains Tank 1 with volume \( V_1 = 50 \) gallons and Tank 2 with volume \( V_2 = 25 \) gallons. Initially, Tank 1 contains 15 pounds of salt and Tank 2 contains 0 pounds. Fresh water flows into Tank 1 at a rate of \( r = 10 \) gallons per minute, and the mixture cascades into Tank 2 and eventually out of the system at the same rate. Find the amount of salt in each tank at time \( t \) and the maximum amount of salt ever in Tank 2.

Step 1: System Setup.

The transfer coefficients are defined as \( k_i = \frac{r}{V_i} \):

\[ k_1 = \frac{10}{50} = \frac{1}{5}, \quad k_2 = \frac{10}{25} = \frac{2}{5} \]

The system of differential equations is:

\[ \begin{bmatrix} x_1' \\ x_2' \end{bmatrix} = \begin{bmatrix} -\frac{1}{5} & 0 \\ \frac{1}{5} & -\frac{2}{5} \end{bmatrix} \begin{bmatrix} x_1 \\ x_2 \end{bmatrix}, \quad \text{with } \vec{x}(0) = \begin{bmatrix} 15 \\ 0 \end{bmatrix} \]

Step 2: Find Eigenvalues and Eigenvectors.

The characteristic equation is \( \det(\mathbf{A} - \lambda \mathbf{I}) = \left(-\frac{1}{5} - \lambda\right)\left(-\frac{2}{5} - \lambda\right) = 0 \), which gives eigenvalues \( \lambda_1 = -\frac{1}{5} \) and \( \lambda_2 = -\frac{2}{5} \).

  • For \( \lambda_1 = -\frac{1}{5} \): \( \begin{bmatrix} 0 & 0 \\ \frac{1}{5} & -\frac{1}{5} \end{bmatrix} \begin{bmatrix} a \\ b \end{bmatrix} = \begin{bmatrix} 0 \\ 0 \end{bmatrix} \implies a = b \). Let \( a = 1 \implies \vec{v}_1 = \begin{bmatrix} 1 \\ 1 \end{bmatrix} \).
  • For \( \lambda_2 = -\frac{2}{5} \): \( \begin{bmatrix} \frac{1}{5} & 0 \\ \frac{1}{5} & 0 \end{bmatrix} \begin{bmatrix} a \\ b \end{bmatrix} = \begin{bmatrix} 0 \\ 0 \end{bmatrix} \implies a = 0 \). Let \( b = 1 \implies \vec{v}_2 = \begin{bmatrix} 0 \\ 1 \end{bmatrix} \).

Step 3: General Solution.

\[ \vec{x}(t) = C_1 \begin{bmatrix} 1 \\ 1 \end{bmatrix} e^{-t/5} + C_2 \begin{bmatrix} 0 \\ 1 \end{bmatrix} e^{-2t/5} \]

Step 4: Solve for Constants (Particular Solution).

Apply the initial conditions \( x_1(0) = 15 \) and \( x_2(0) = 0 \):

\[ \vec{x}(0) = C_1 \begin{bmatrix} 1 \\ 1 \end{bmatrix} + C_2 \begin{bmatrix} 0 \\ 1 \end{bmatrix} = \begin{bmatrix} 15 \\ 0 \end{bmatrix} \implies \begin{cases} C_1 = 15 \\ C_1 + C_2 = 0 \implies C_2 = -15 \end{cases} \]

The particular solution is:

\[ \vec{x}(t) = 15 \begin{bmatrix} 1 \\ 1 \end{bmatrix} e^{-t/5} - 15 \begin{bmatrix} 0 \\ 1 \end{bmatrix} e^{-2t/5} = \begin{bmatrix} 15e^{-t/5} \\ 15e^{-t/5} - 15e^{-2t/5} \end{bmatrix} \]

Step 5: Find the Maximum Salt in Tank 2.

Set the derivative of \( x_2(t) \) to zero to find the critical point:

\[ x_2'(t) = -3e^{-t/5} + 6e^{-2t/5} = 0 \] \[ -3e^{-t/5}(1 - 2e^{-t/5}) = 0 \implies e^{-t/5} = \frac{1}{2} \] \[ t = 5 \ln 2 \approx 3.47 \text{ minutes} \]

Substituting \( e^{-t/5} = \frac{1}{2} \) and \( e^{-2t/5} = \frac{1}{4} \) into the formula for \( x_2(t) \):

\[ x_2(5 \ln 2) = 15\left(\frac{1}{2}\right) - 15\left(\frac{1}{4}\right) = 7.5 - 3.75 = 3.75 \text{ pounds} \]

Result: The maximum amount of salt ever in Tank 2 is 3.75 pounds.

A graph showing the amount of salt in two connected tanks over 30 minutes. The blue curve for Tank 1 starts at 15 lb and decreases exponentially toward zero. The red curve for Tank 2 starts at 0 lb, rises to a peak of 3.75 lb at approximately 3.47 minutes, and then slowly decreases back toward zero.
Figure: Salt Concentration over Time for Example 3 (2-Tank System)

(III) Distinct Complex Eigenvalues

Suppose a matrix \(\mathbf{A}\) has real entries. If \(\lambda = p + qi\) and \(\overline{\lambda} = p - qi\) are a conjugate pair of eigenvalues, let \(\vec{v}\) be an eigenvector associated with \(\lambda\). Then \(\overline{\vec{v}}\) is an eigenvector associated with \(\overline{\lambda}\). Both \(\vec{v}e^{\lambda t} \) and \(\overline{\vec{v}}e^{\overline{\lambda}t}\) are complex-valued solutions. We would like to derive two linearly independent real-value solutions from them.

Derivation of Real solutions

Let \(\vec{v} = \vec{a} + \vec{b}i\) and \(\lambda = p + qi\). The complex-valued solution \(\vec{v}e^{\lambda t}\) is expanded using Euler's formula:

\( \vec{v}e^{\lambda t} = (\vec{a} + \vec{b}i) e^{(p + qi)t} = e^{pt}(\vec{a} + \vec{b}i)(\cos(qt) + i \sin(qt)) \)

Multiplying these terms yields:

\( \vec{v}e^{\lambda t} = e^{pt} \left[ (\vec{a} \cos(qt) - \vec{b} \sin(qt)) + i (\vec{b} \cos(qt) + \vec{a} \sin(qt)) \right] \)

The two linearly independent real-valued solutions are the real and imaginary parts:

\( \vec{x}_1(t) = \text{Re}(\vec{v}e^{\lambda t}) = e^{pt}(\vec{a} \cos(qt) - \vec{b} \sin(qt)) \) \( \vec{x}_2(t) = \text{Im}(\vec{v}e^{\lambda t}) = e^{pt}(\vec{b} \cos(qt) + \vec{a} \sin(qt)) \)

A real general solution is then written as

\[\vec{x}(t) = C_1 \text{Re}(\vec{v}e^{\lambda t}) + C_2 \text{Im}(\vec{v}e^{\lambda t})\]

Example 4: Handwritten Derivation

Solve: \(x_1' = 4x_1 - 3x_2\) and \(x_2' = 3x_1 + 4x_2\).

Step 1: Eigenvalues. \((\lambda - 4)^2 + 9 = 0 \implies \lambda = 4 \pm 3i\).

Step 2: Eigenvector calculation. For \(\lambda = 4 + 3i\):
\( \begin{bmatrix} -3i & -3 \\ 3 & -3i \end{bmatrix} \begin{bmatrix} a \\ b \end{bmatrix} = \begin{bmatrix} 0 \\ 0 \end{bmatrix} \implies -3ia - 3b = 0 \implies b = -ia \).
Let \(a = 1 \implies \vec{v} = \begin{bmatrix} 1 \\ -i \end{bmatrix} = \begin{bmatrix} 1 \\ 0 \end{bmatrix} + i\begin{bmatrix} 0 \\ -1 \end{bmatrix}\).

Step 3: Solution Derivation. Plugging into \(\vec{v}e^{\lambda t}\):

\(\vec{v}e^{\lambda t} = \begin{bmatrix} 1 \\ -i \end{bmatrix} e^{(4+3i)t} = e^{4t} \begin{bmatrix} 1 \\ -i \end{bmatrix} (\cos 3t + i \sin 3t) \) \(= e^{4t} \begin{bmatrix} \cos 3t + i \sin 3t \\ -i \cos 3t + \sin 3t \end{bmatrix} = e^{4t} \begin{bmatrix} \cos 3t \\ \sin 3t \end{bmatrix} + i e^{4t} \begin{bmatrix} \sin 3t \\ -\cos 3t \end{bmatrix} \)

Final General Solution:

\[ \vec{x}(t) = C_1 e^{4t} \begin{bmatrix} \cos 3t \\ \sin 3t \end{bmatrix} + C_2 e^{4t} \begin{bmatrix} \sin 3t \\ -\cos 3t \end{bmatrix} \]
Phase portrait for the system x1' = 4x1 - 3x2, x2' = 3x1 + 4x2. The plot shows several trajectories spiraling outward from the origin (0,0) in a counter-clockwise direction. The gray streamlines indicate the vector field, while colored lines (red, blue, green, orange) represent specific solution trajectories that grow in magnitude as time increases.
Figure: Phase Portrait for Example 4 (Spiral Source)

The origin is a spiral source because the real part of the eigenvalue (\( 4 \)) is positive. If it were negative, the origin would be a spiral sink.