Login
📚 Differential Equations for Engineers
Chapters ▾
⇩ 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 ,

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

λ v e λ t x = P v e λ t P x .

We divide by eλt and notice that we are looking for a scalar λ and a vector x that satisfy the equation

λ v = P v .

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

Eigenvalues and Eigenvectors of a Matrix

Let A be a constant square matrix. Suppose there is a scalar λ and a nonzero vector v such that

A v = λ v .

We then call λ an eigenvalue of A and x is said to be a corresponding eigenvector.

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

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

( A λ I ) v = 0 ,

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

3.4.2Eigenvalue Method with Distinct Real Eigenvalues

We have the system of equations

x = P x .

We find the eigenvalues λ1,λ2,,λn of the matrix P, and corresponding eigenvectors x1,x2,,xn. Now we notice that the functions v1eλ1t,v2eλ2t,,vneλnt are solutions of the system of equations and hence x=c1v1eλ1t+c2v2eλ2t++cnvneλnt is a solution.

The corresponding fundamental matrix solution is

X(t)=[v1eλ1t   v2eλ2t      vneλnt].

That is, X(t) is the matrix whose jth column is vjeλ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

1 1 1 1

Let us compute the eigenvalues of the matrix 1111

1 λ 1 1 1 λ

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

( P ( 1 i ) I ) v = 0 , [ i 1 1 i ] v = 0 .

The equations iv1+v2=0 and v1+iv2=0 are multiples of each other. So we only need to consider one of them. After picking v2=1, for example, we have an eigenvector i1. In similar fashion we find that i1 is an eigenvector corresponding to the eigenvalue 1+i.

We could write the solution as

i 1

We would then need to look for complex values c1 and c2 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 P is real).

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

0 = 0 = ( P λ I ) v = ( P λ ¯ I ) v ¯ .

So if v is an eigenvector corresponding to the eigenvalue λ=a+ib, then v¯ is an eigenvector corresponding to the eigenvalue λ¯=aib.

Suppose that a+ib is a complex eigenvalue of P, and v is a corresponding eigenvector. Then

x 1 = v e ( a + i b ) t

is a solution (complex valued) of x=Px. Euler’s formula shows that ea+ib=eaib, and so

x 2 = x 1 = v ¯ e ( a + i b ) t

is also a solution. As x1 and x2 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

is also a solution. And x3 is real-valued! Similarly as Im z=zz¯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

is also a real-valued solution. It turns out that x3 and x4 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 ] .

Then

e t sin t e t cos t

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

The general solution is

e t sin t e t cos t

This solution is real-valued for real c1 and c2. At this point, we would solve for any initial conditions we may have to find c1 and c2.

Let us summarize the discussion as a theorem.

For each pair of complex eigenvalues a+ib and aib, 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 n distinct eigenvalues (real or complex), then we end up with n linearly independent solutions. If we had only two equations (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 ) .

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 (Oklahoma State University), hosted on LibreTexts (math.libretexts.org) and licensed under CC BY-SA 4.0. Changes were made. License: CC-BY-SA-4.0.