Differential Equations for EngineersXYZ Homework Edition

⇩ Download ▾

3.4 Eigenvalue Method

In this section we will learn how to solve linear homogeneous constant coefficient systems of ODEs by the eigenvalue method. Suppose we have such a system

x = P x , \vec{x}' = P \vec{x}, \nonumber

where PP is a constant square matrix. We wish to adapt the method for the single constant coefficient equation by trying the function eλte^{\lambda t}. However, x\vec{x} is a vector. So we try x=veλt\vec{x}=\vec{v}e^{\lambda t}, where v\vec{v} is an arbitrary constant vector. We plug this x\vec{x} into the equation to get

λ v e λ t x = P v e λ t P x . \underbrace{\lambda \vec{v} e^{\lambda t}}_{{\vec{x}}'} = \underbrace{P\vec{v} e^{\lambda t}}_{P\vec{x}}. \nonumber

We divide by eλte^{\lambda t} and notice that we are looking for a scalar λ\lambda and a vector x\vec{x} that satisfy the equation

λ v = P v . \lambda \vec{v}= P \vec{v}. \nonumber

To solve this equation we need a little bit more linear algebra, which we now review.

Eigenvalues and Eigenvectors of a Matrix

Let AA be a constant square matrix. Suppose there is a scalar λ\lambda and a nonzero vector v\vec{v} such that

A v = λ v . A \vec{v}= \lambda \vec{v}. \nonumber

We then call λ\lambda an eigenvalue of AA and x\vec{x} is said to be a corresponding eigenvector.

Note that for an n×nn \times n matrix, the polynomial we get by computing det(AλI)det(A-\lambda I) will be of degree nn, and hence we will in general have nn eigenvalues. Some may be repeated, some may be complex.

611·L+6·L2L36 - 11 \cdot L + 6 \cdot L^{2} - L^{3}
det(A − λI) for the section's running example ✓ Computed · mojocas 0.1.0 ✓ Agrees with the text det(A − λI) for the section's running example, computed exactly by mojocas 0.1.0, and confirmed to agree with the result stated in the text.The characteristic polynomial of the worked example's matrix, expanded by the computer algebra system and checked against the factored form whose roots the example reads off: 1, 2, and 3. (L stands for λ.)
1,2,31,\; 2,\; 3
The eigenvalues, certified ✓ Computed · mojocas 0.1.0 ✓ Agrees with the text The eigenvalues, certified, computed exactly by mojocas 0.1.0, and confirmed to agree with the result stated in the text.And for the worked example above, none are: the computer algebra system extracts the complete eigenvalue set straight from the matrix, certifying each algebraic multiplicity along the way — three eigenvalues, all simple, exactly as computed by hand.

To find an eigenvector corresponding to an eigenvalue λ\lambda, we write

( A λ I ) v = 0 , (A - \lambda I)\vec{v}= \vec{0},\nonumber

and solve for a nontrivial (nonzero) vector v\vec{v}. If λ\lambda is an eigenvalue, there will be at least one free variable, and so for each distinct eigenvalue λ\lambda, we can always find an eigenvector

3.4.2Eigenvalue Method with Distinct Real Eigenvalues

We have the system of equations

x = P x . \vec{x}'=P\vec{x}. \nonumber

We find the eigenvalues λ1,λ2,,λn\lambda_1, \lambda_2, \ldots, \lambda_n of the matrix PP, and corresponding eigenvectors x1,x2,,xn.\vec{x}_1, \vec{x}_2, \ldots, \vec{x}_n. Now we notice that the functions v1eλ1t,v2eλ2t,,vneλnt\vec{v}_1e^{\lambda_1t},\vec{v}_2e^{\lambda_2t}, \ldots, \vec{v}_ne^{\lambda_nt} are solutions of the system of equations and hence x=c1v1eλ1t+c2v2eλ2t++cnvneλnt\vec{x}=c_1 \vec{v}_1e^{\lambda_1t}+ c_2 \vec{v}_2e^{\lambda_2t} + \cdots + c_n \vec{v}_ne^{\lambda_nt} is a solution.

The corresponding fundamental matrix solution is

X(t)=[v1eλ1tv2eλ2tvneλnt].X(t)= [\vec{v}_1e^{\lambda_1t}~~~ \vec{v}_2e^{\lambda_2t} ~~~ \cdots ~~~ \vec{v}_ne^{\lambda_nt}]. \nonumber

That is, X(t)X(t) is the matrix whose jthj^{\rm{th}} column is vjeλjt\vec{v}_je^{\lambda_jt}.

Complex Eigenvalues

A matrix might very well have complex eigenvalues even if all the entries are real. For example, suppose that we have the system

x = [ 1 1 1 1 ] x . \vec{x}'= \left[ \begin{array}{cc} 1 & 1 \\ -1 & 1 \end{array} \right] \vec{x}. \nonumber

Let us compute the eigenvalues of the matrix P=[1111].P=\left[ \begin{array}{cc} 1 & 1 \\ -1 & 1 \end{array} \right].

d e t ( P λ I ) = d e t ( [ 1 λ 1 1 1 λ ] ) = ( 1 λ ) 2 + 1 = λ 2 2 λ + 2 = 0 . det(P - \lambda I) =det \left( \left[ \begin{array}{cc} 1- \lambda & 1 \\ -1 & 1- \lambda \end{array} \right] \right)=(1-\lambda)^2 + 1=\lambda^2-2\lambda+2= 0. \nonumber

Thus λ=1±i.\lambda = 1 \pm i. The corresponding eigenvectors are also complex. First take λ=1i,\lambda = 1 - i,

( P ( 1 i ) I ) v = 0 , [ i 1 1 i ] v = 0 . \begin{align}\begin{aligned} (P-(1-i)I)\vec{v}&=\vec{0}, \\ \left[ \begin{array}{cc} i & 1 \\ -1 & i \end{array} \right] \vec{v}&=\vec{0}.\end{aligned}\end{align} \nonumber

The equations iv1+v2=0iv_1+v_2=0 and v1+iv2=0-v_1+iv_2=0 are multiples of each other. So we only need to consider one of them. After picking v2=1v_2=1, for example, we have an eigenvector v=[i1]\vec{v}=\left[ \begin{array}{c}i\\1 \end{array} \right]. In similar fashion we find that [i1]\left[ \begin{array}{c}-i\\1 \end{array} \right] is an eigenvector corresponding to the eigenvalue 1+i1+i.

We could write the solution as

x = c 1 [ i 1 ] e ( 1 i ) t + c 2 [ i 1 ] e ( 1 + i ) t = [ c 1 i e ( 1 i ) t c 2 i e ( 1 + i ) t c 1 e ( 1 i ) t + c 2 e ( 1 + i ) t ] . \vec{x}=c_1\left[ \begin{array}{c} i \\ 1 \end{array} \right]e^{(1-i)t}+c_2\left[ \begin{array}{c} -i \\ 1 \end{array} \right]e^{(1+i)t}= \left[ \begin{array}{c} c_1ie^{(1-i)t}-c_2ie^{(1+i)t} \\ c_1e^{(1-i)t}+c_2e^{(1+i)t} \end{array} \right]. \nonumber

We would then need to look for complex values c1c_1 and c2c_2 to solve any initial conditions. It is perhaps not completely clear that we get a real solution. We could use Euler’s formula and do the whole song and dance we did before, but we will not. We will do something a bit smarter first.

We claim that we did not have to look for a second eigenvector (nor for the second eigenvalue). All complex eigenvalues come in pairs (because the matrix PP is real).

First a small side note. The real part of a complex number zz can be computed as z+z¯2\frac{z+\bar{z}}{2}, where the bar above zz means a+ib¯=aib\overline{a+ib}=a-ib. This operation is called the complex conjugate. If aa is a real number, then a¯=a\bar{a}=a. Similarly we can bar whole vectors or matrices by taking the complex conjugate of every entry. If a matrix PP is real, then P¯=P\bar{P}=P. We note that Px¯=P¯x¯=Px¯.\overline{P \vec{x}}=\bar{P} \bar{\vec{x}}=P \bar{\vec{x}}.. Also the complex conjugate of 00 is still 00, therefore,

0 = 0 ¯ = ( P λ I ) v ¯ = ( P λ ¯ I ) v ¯ . \vec{0}=\overline{\vec{0}}= \overline{(P- \lambda I) \vec{v }} = (P- \bar{\lambda} I) \bar{\vec{v }}. \nonumber

So if v\vec{v} is an eigenvector corresponding to the eigenvalue λ=a+ib\lambda=a+ib, then v¯\bar{\vec{v}} is an eigenvector corresponding to the eigenvalue λ¯=aib\bar{\lambda}=a-ib.

Suppose that a+iba+ib is a complex eigenvalue of PP, and v\vec{v} is a corresponding eigenvector. Then

x 1 = v e ( a + i b ) t \vec{x}_1=\vec{v}e^{(a+ib)t} \nonumber

is a solution (complex valued) of x=Px\vec{x}'=P\vec{x}. Euler’s formula shows that ea+ib¯=eaib\overline{e^{a+ib}}=e^{a-ib}, and so

x 2 = x 1 ¯ = v ¯ e ( a + i b ) t \vec{x}_2=\overline{\vec{x_1}}=\bar{\vec{v}}e^{(a+ib)t} \nonumber

is also a solution. As x1\vec{x_{1}} and x2\vec{x_{2}} are solutions, the function

x 3 = R e x 1 = R e v e ( a + i b ) t = x 1 + x 1 ¯ 2 = x 1 + x 2 2 = 1 2 x 1 + 1 2 x 2 \vec{x}_3 = {\rm{Re~}} \vec{x}_1= {\rm{Re~}} \vec{v}e^{(a+ib)t}=\frac{\vec{x}_1+\overline{\vec{x_1}}}{2}=\frac{\vec{x}_1+\vec{x_2}}{2}=\frac{1}{2}\vec{x_{1}}+\frac{1}{2}\vec{x_{2}} \nonumber

is also a solution. And x3\vec{x}_3 is real-valued! Similarly as Imz=zz¯2i{\rm{Im~}}z= \frac{z-\bar{z}}{2i} is the imaginary part, we find that

x 4 = I m x 1 = x 1 x 1 ¯ 2 i = x 1 x 2 2 i \vec{x}_4= {\rm{Im~}} \vec{x}_1= \frac{\vec{x}_1-\overline{\vec{x_1}}}{2i}=\frac{\vec{x}_1-\vec{x_2}}{2i} \nonumber

is also a real-valued solution. It turns out that x3\vec{x}_3 and x4\vec{x}_4 are linearly independent. We will use Euler’s formula to separate out the real and imaginary part.

Returning to our problem,

x 1 = [ i 1 ] e ( 1 i ) t = [ i 1 ] ( e t cos t i e t sin t ) = [ i e t cos t + e t sin t e t cos t i e t sin t ] = [ e t sin t e t cos t ] + i [ e t cos t e t sin t ] . \vec{x}_1 = \begin{bmatrix} i \\ 1 \end{bmatrix} e^{(1-i)t} = \begin{bmatrix} i \\ 1 \end{bmatrix} \left( e^t \cos t - i e^t \sin t \right) = \begin{bmatrix} i e^t \cos t + e^t \sin t \\ e^t \cos t - i e^t \sin t \end{bmatrix} = \begin{bmatrix} e^t \sin t \\ e^t \cos t \end{bmatrix} + i \begin{bmatrix} e^t \cos t \\ - e^t \sin t \end{bmatrix}. \nonumber

Then

R e x 1 = [ e t sin t e t cos t ] , and I m x 1 = [ e t cos t e t sin t ] , {\rm{Re~}} \vec{x}_1= \left[ \begin{array}{c} e^t \sin t \\ e^t\cos t \end{array} \right], \quad\text{and}\quad {\rm{Im~}} \vec{x}_1= \left[ \begin{array}{c} e^t \cos t \\ -e^t\sin t \end{array} \right], \nonumber

are the two real-valued linearly independent solutions we seek.

The general solution is

x = c 1 [ e t sin t e t cos t ] + c 2 [ e t cos t e t sin t ] = [ c 1 e t sin t + c 2 e t cos t c 1 e t cos t c 2 e t sin t ] . \vec{x}=c_1 \left[ \begin{array}{c} e^t \sin t \\ e^t\cos t \end{array} \right] + c_2 \left[ \begin{array}{c} e^t \cos t \\ -e^t\sin t \end{array} \right]= \left[ \begin{array}{c} c_1 e^t \sin t +c_2 e^t \cos t \\ c_1 e^t \cos t -c_2 e^t \sin t \end{array} \right].\nonumber

This solution is real-valued for real c1c_1 and c2c_2. At this point, we would solve for any initial conditions we may have to find c1c_{1} and c2c_{2}.

Let us summarize the discussion as a theorem.

For each pair of complex eigenvalues a+iba+ib and aiba-ib, we get two real-valued linearly independent solutions. We then go on to the next eigenvalue, which is either a real eigenvalue or another complex eigenvalue pair. If we have nn distinct eigenvalues (real or complex), then we end up with nn linearly independent solutions. If we had only two equations (n=2)(n=2) as in the example above, then once we found two solutions we are finished, and our general solution is

x = c 1 x 1 + c 2 x 2 = c 1 ( Re  v e ( a + i b ) t ) + c 2 ( Im  v e ( a + i b ) t ) . \vec{x}=c_{1}\vec{x}_{1}+c_{2}\vec{x}_{2}=c_{1}\left(\text{Re }\vec{v}e^{(a+ib)t}\right) +c_{2}\left(\text{Im }\vec{v}e^{(a+ib)t}\right). \nonumber

We can now find a real-valued general solution to any homogeneous system where the matrix has distinct eigenvalues. When we have repeated eigenvalues, matters get a bit more complicated and we will look at that situation in Section 3.7.

Adapted from Differential Equations for Engineers by Jiří Lebl (https://www.jirka.org/diffyqs/), © Jiří Lebl, licensed under CC BY-SA 4.0. Changes were made. License: CC-BY-SA-4.0.

These eBooks are a prerelease and are not yet certified conformant with WCAG 2.1 AA or ADA Title II. Every page is built against an automated accessibility gate, and the published editions will meet ADA Title II requirements when they release in late September 2026. If something is unusable, please tell us.