Constant Coefficient Systems

Substituting the trial solution 𝐲 = e λ t 𝐯 into \mathbf{y}' = \mathbf{A}\mathbf{y} turns the differential equation into the eigenvalue equation 𝐀 𝐯 = λ 𝐯 . When 𝐀 has n independent eigenvectors, the n resulting solutions form a fundamental set and the problem is finished.

Quick Reference

Item Statement
Matrix form d 𝐲 d t = 𝐀 𝐲
Trial solution 𝐲 ( t ) = e λ t 𝐯
Resulting condition 𝐀 𝐯 = λ 𝐯 , so λ is an eigenvalue and 𝐯 an eigenvector
Characteristic equation p ( λ ) = det ( 𝐀 λ 𝐈 ) = 0
Non-defective matrix 𝐀 has n linearly independent eigenvectors
General solution 𝐲 = c 1 e λ 1 t 𝐯 ( 1 ) + + c n e λ n t 𝐯 ( n )
Guaranteed non-defective if 𝐀 is symmetric, skew-symmetric, or has n distinct eigenvalues
Complex eigenvalue α + i β Real solutions are Re ( e λ t 𝐯 ) and Im ( e λ t 𝐯 )
Conjugate pairs If λ is an eigenvalue of a real 𝐀 , so is λ , with eigenvector 𝐯

Matrix Form

Consider the system of differential equations

\left\{ \begin{aligned} \frac{dy_1}{dt} &= a_{11}y_1 + a_{12}y_2 + \cdots + a_{1n}y_n \\ \frac{dy_2}{dt} &= a_{21}y_1 + a_{22}y_2 + \cdots + a_{2n}y_n \\ &\ \ \vdots \\ \frac{dy_n}{dt} &= a_{n1}y_1 + a_{n2}y_2 + \cdots + a_{nn}y_n \end{aligned} \right.

where the a i j are constants. We want to find y 1 ( t ) , y 2 ( t ) , , y n ( t ) satisfying these equations simultaneously.

The system can be written as

d 𝐲 d t = 𝐀 𝐲

where

𝐀 = [ a 11 a 1 n a 21 a 2 n a n 1 a n n ] , 𝐲 = [ y 1 y 2 y n ] , d 𝐲 d t = [ d y 1 d t d y 2 d t d y n d t ] .

Differentiating a vector means differentiating each component, so d 𝐲 d t is defined entrywise.

Why Eigenvectors Appear

We try a solution in which every component is the same exponential times a constant:

y 1 ( t ) = v 1 e λ t , , y n ( t ) = v n e λ t

where λ and v 1 , , v n are constants to be determined. In vector form,

[ y 1 ( t ) y n ( t ) ] 𝐲 ( t ) = e λ t [ v 1 v n ] 𝐯

Differentiating both sides,

\underbrace{\begin{bmatrix} y_1'(t) \\ \vdots \\ y_n'(t) \end{bmatrix}}_{d\mathbf{y}/dt} = \lambda e^{\lambda t}\mathbf{v}

and substituting into \mathbf{y}' = \mathbf{A}\mathbf{y},

\begin{aligned} \lambda e^{\lambda t}\mathbf{v} &= \mathbf{A}\left(e^{\lambda t}\mathbf{v}\right) \\ &= e^{\lambda t}\mathbf{A}\mathbf{v} \end{aligned}

where the scalar e λ t was moved past the matrix, which is legitimate since scalars commute with matrices. Because e λ t 0 , we may cancel it from both sides:

𝐀 𝐯 = λ 𝐯 .

This means 𝐯 is an eigenvector and λ an eigenvalue of 𝐀 . So e λ t 𝐯 is a nontrivial solution of the system if and only if λ is an eigenvalue and 𝐯 is a corresponding eigenvector.

For a system of n linear differential equations, two cases must be distinguished:

  1. 𝐀 has n linearly independent eigenvectors. Such a matrix is called non-defective.
  2. 𝐀 does not have n linearly independent eigenvectors. Such a matrix is called defective, and is treated in Section 5.2.

Non-defective Coefficient Matrix

Assume 𝐀 has n linearly independent eigenvectors 𝐯 ( 1 ) , , 𝐯 ( n ) corresponding to eigenvalues λ 1 , , λ n .

This assumption holds in most applications, and in particular whenever 𝐀

  • is symmetric, that is, a i j = a j i ;
  • is skew-symmetric, that is, a i j = a j i , in which case all diagonal entries must be zero;
  • has n distinct eigenvalues.

In this case, n corresponding solutions are

𝐲 ( 1 ) = e λ 1 t 𝐯 ( 1 ) , , 𝐲 ( n ) = e λ n t 𝐯 ( n ) .

Computing the Wronskian of these solutions shows that they are linearly independent, so the general solution of \mathbf{y}' = \mathbf{A}\mathbf{y} is

𝐲 = c 1 e λ 1 t 𝐯 ( 1 ) + c 2 e λ 2 t 𝐯 ( 2 ) + + c n e λ n t 𝐯 ( n )

Find the general solution of

\left\{ \begin{aligned} \frac{dy_1}{dt} &= 3y_1 - 2y_2 \\[1ex] \frac{dy_2}{dt} &= -y_1 + 2y_2 \end{aligned} \right.
Solution

Rewrite the system as

d 𝐲 d t = 𝐀 𝐲 , 𝐀 = [ 3 2 1 2 ] .

Step 1: eigenvalues.

\begin{aligned} p(\lambda) &= \det\left(\mathbf{A} - \lambda\mathbf{I}\right) \\ &= \begin{vmatrix} 3-\lambda & -2 \\ -1 & 2-\lambda \end{vmatrix} \\ &= (3-\lambda)(2-\lambda) - 2 \\ &= \lambda^{2} - 5\lambda + 4 = (\lambda-1)(\lambda-4) = 0 \end{aligned}

Therefore the eigenvalues are λ 1 = 1 and λ 2 = 4 .

Step 2: eigenvectors. Because 𝐀 has two distinct eigenvalues, we know it has two linearly independent eigenvectors. For λ 1 = 1 , solve ( 𝐀 λ 1 𝐈 ) 𝐯 ( 1 ) = 0 :

\begin{bmatrix} 2 & -2 \\ -1 & 1 \end{bmatrix} \begin{bmatrix} v_1^{(1)} \\ v_2^{(1)} \end{bmatrix} = \begin{bmatrix} 0 \\ 0 \end{bmatrix} \quad \Longrightarrow \quad \left\{ \begin{aligned} 2v_1^{(1)} - 2v_2^{(1)} &= 0 \\ -v_1^{(1)} + v_2^{(1)} &= 0 \end{aligned} \right.

The two equations reduce to the single equation v 1 ( 1 ) v 2 ( 1 ) = 0 . The rows becoming dependent is exactly what must happen, since λ was chosen to make the determinant vanish. Thus v 1 ( 1 ) = v 2 ( 1 ) and we may take

𝐯 ( 1 ) = [ 1 1 ] .

Similarly, for λ 2 = 4 ,

[ 1 2 1 2 ] [ v 1 ( 2 ) v 2 ( 2 ) ] = [ 0 0 ] v 1 ( 2 ) + 2 v 2 ( 2 ) = 0

so we may take

𝐯 ( 2 ) = [ 2 1 ] .

Step 3: assemble. Two linearly independent solutions are

𝐲 ( 1 ) = e t [ 1 1 ] and 𝐲 ( 2 ) = e 4 t [ 2 1 ] ,

and the general solution is

[ y 1 y 2 ] = c 1 e t [ 1 1 ] + c 2 e 4 t [ 2 1 ]

or, componentwise,

y 1 ( t ) = c 1 e t + 2 c 2 e 4 t and y 2 ( t ) = c 1 e t c 2 e 4 t .

Complex-Valued Eigenvalues

Consider a system of n linear homogeneous equations with constant coefficients

\mathbf{y}' = \mathbf{A}\mathbf{y} . \tag{i}

When the elements of 𝐀 are real, if α + i β is an eigenvalue of 𝐀 , then its complex conjugate α i β is also an eigenvalue. Two linearly independent real solutions of (i) corresponding to these two eigenvalues are

𝐲 ( 1 ) = Re ( e ( α + i β ) t 𝐯 ( 1 ) ) , 𝐲 ( 2 ) = Im ( e ( α + i β ) t 𝐯 ( 1 ) )

where 𝐯 ( 1 ) is an eigenvector corresponding to α + i β , and Re and Im denote the real and imaginary parts of the vector.

Why the conjugate is automatic, and why the real and imaginary parts work

If the components of 𝐀 are real, its characteristic equation p ( λ ) = det ( 𝐀 λ 𝐈 ) = 0 is a polynomial with real coefficients. Therefore any complex roots occur in conjugate pairs: if λ 1 = α + i β is an eigenvalue, so is λ 1 = α i β .

Suppose 𝐯 ( 1 ) is an eigenvector corresponding to λ 1 , so

( 𝐀 λ 1 𝐈 ) 𝐯 ( 1 ) = 0 .

Taking the complex conjugate of both sides,

\begin{aligned} \overline{\left(\mathbf{A} - \lambda_1\mathbf{I}\right)\mathbf{v}^{(1)}} &= \overline{\mathbf{0}} \\ \left(\mathbf{A} - \overline{\lambda_1}\mathbf{I}\right)\overline{\mathbf{v}^{(1)}} &= \mathbf{0} \end{aligned}

using 𝐀 = 𝐀 since 𝐀 is real, along with 𝐈 = 𝐈 and 0 = 0 . This shows 𝐯 ( 1 ) is an eigenvector corresponding to λ 1 , so the second eigenvector requires no computation.

Two solutions of \mathbf{y}' = \mathbf{A}\mathbf{y} corresponding to these eigenvalues are

𝐲 ~ ( 1 ) = e λ 1 t 𝐯 ( 1 ) , 𝐲 ~ ( 2 ) = e λ 1 t 𝐯 ( 1 ) ,

which are complex conjugates of each other. Since the system is linear with real coefficients, any combination of solutions is a solution, so we obtain two real-valued ones by taking

𝐲 ( 1 ) = 1 2 ( 𝐲 ~ ( 1 ) + 𝐲 ~ ( 2 ) ) = Re ( 𝐲 ~ ( 1 ) )

and

𝐲 ( 2 ) = 1 2 i ( 𝐲 ~ ( 1 ) 𝐲 ~ ( 2 ) ) = Im ( 𝐲 ~ ( 1 ) ) .

These are the familiar identities Re ( z ) = 1 2 ( z + z ) and Im ( z ) = 1 2 i ( z z ) , applied componentwise.

Practical consequence. Compute the eigenvector for only one member of a conjugate pair, expand e ( α + i β ) t 𝐯 using Euler's formula, and read off the real and imaginary parts. The conjugate eigenvalue contributes nothing new.

Solve the initial-value problem

\mathbf{y}' = \begin{bmatrix} 1 & -1 \\ 1 & 1 \end{bmatrix}\mathbf{y}, \qquad \mathbf{y}(0) = \begin{bmatrix} 1 \\ 2 \end{bmatrix} .
Solution

Step 1: eigenvalues.

\begin{aligned} \det\left(\mathbf{A} - \lambda\mathbf{I}\right) &= \begin{vmatrix} 1-\lambda & -1 \\ 1 & 1-\lambda \end{vmatrix} \\ &= (1-\lambda)^{2} + 1 \\ &= \lambda^{2} - 2\lambda + 2 = 0 . \end{aligned}

The eigenvalues are λ 1 = 1 + i and λ 2 = 1 i .

Step 2: one eigenvector. From ( 𝐀 λ 1 𝐈 ) 𝐯 ( 1 ) = 0 ,

[ i 1 1 i ] [ v 1 ( 1 ) v 2 ( 1 ) ] = [ 0 0 ] .

The first row gives i v 1 ( 1 ) v 2 ( 1 ) = 0 , so v 2 ( 1 ) = i v 1 ( 1 ) . Choosing v 1 ( 1 ) = 1 ,

𝐯 ( 1 ) = [ 1 i ] .

Without further calculation, the eigenvector corresponding to λ 2 = 1 i is the conjugate,

[ 1 i ] = [ 1 i ] .

Step 3: expand and take real and imaginary parts. Two complex solutions are

𝐲 ~ ( 1 ) = e ( 1 + i ) t [ 1 i ] , 𝐲 ~ ( 2 ) = e ( 1 i ) t [ 1 i ] .

Expanding the first with e ( 1 + i ) t = e t ( cos t + i sin t ) , and noting that i ( cos t + i sin t ) = sin t i cos t ,

𝐲 ~ ( 1 ) = e t [ cos t + i sin t sin t i cos t ] .

Therefore a set of real-valued solutions is

𝐲 ( 1 ) = Re ( 𝐲 ~ ( 1 ) ) = [ e t cos t e t sin t ] , 𝐲 ( 2 ) = Im ( 𝐲 ~ ( 1 ) ) = [ e t sin t e t cos t ] .

Step 4: general solution.

𝐲 = [ y 1 ( t ) y 2 ( t ) ] = c 1 [ e t cos t e t sin t ] + c 2 [ e t sin t e t cos t ] .

Step 5: apply the initial condition. At t = 0 , cos 0 = 1 and sin 0 = 0 , so

[ 1 2 ] = c 1 [ 1 0 ] + c 2 [ 0 1 ] c 1 = 1 ,   c 2 = 2 .

Therefore the solution of the initial-value problem is

[ y 1 ( t ) y 2 ( t ) ] = [ e t cos t e t sin t ] 2 [ e t sin t e t cos t ]

or

y 1 ( t ) = e t ( cos t 2 sin t ) and y 2 ( t ) = e t ( sin t + 2 cos t ) .

The trajectory is a spiral: the factor e t grows while the trigonometric factors rotate, so the solution spirals outward from the origin.

Exercises

Solve \mathbf{y}' = \begin{bmatrix} 1 & 2 \\ 2 & 1 \end{bmatrix}\mathbf{y}.

Solution det [ 1 λ 2 2 1 λ ] = ( 1 λ ) 2 4 = λ 2 2 λ 3 = ( λ 3 ) ( λ + 1 ) .

For λ = 3 : [ 2 2 2 2 ] 𝐯 = 0 gives 𝐯 = ( 1 , 1 ) T .
For λ = 1 : [ 2 2 2 2 ] 𝐯 = 0 gives 𝐯 = ( 1 , 1 ) T .

𝐲 = c 1 e 3 t [ 1 1 ] + c 2 e t [ 1 1 ] .

Note that 𝐀 is symmetric here, which guaranteed in advance that it would be non-defective.

Solve \mathbf{y}' = \begin{bmatrix} 0 & -4 \\ 1 & 0 \end{bmatrix}\mathbf{y} and describe the trajectories.

Solution det [ λ 4 1 λ ] = λ 2 + 4 = 0 λ = ± 2 i .

For λ = 2 i : [ 2 i 4 1 2 i ] 𝐯 = 0 . The second row gives v 1 = 2 i v 2 , so with v 2 = 1 , 𝐯 = ( 2 i , 1 ) T .

Then

e 2 i t [ 2 i 1 ] = ( cos 2 t + i sin 2 t ) [ 2 i 1 ] = [ 2 sin 2 t + 2 i cos 2 t cos 2 t + i sin 2 t ] .

Therefore

𝐲 = c 1 [ 2 sin 2 t cos 2 t ] + c 2 [ 2 cos 2 t sin 2 t ] .

Since α = 0 , there is no growth or decay: the trajectories are closed ellipses traversed with period π . This is the phase portrait of an undamped oscillator.

Solve the initial value problem \mathbf{y}' = \begin{bmatrix} 2 & 3 \\ 0 & -1 \end{bmatrix}\mathbf{y}, 𝐲 ( 0 ) = [ 4 1 ] .

Solution

The matrix is triangular, so the eigenvalues are the diagonal entries λ = 2 and λ = 1 .

For λ = 2 : [ 0 3 0 3 ] 𝐯 = 0 gives v 2 = 0 , so 𝐯 = ( 1 , 0 ) T .
For λ = 1 : [ 3 3 0 0 ] 𝐯 = 0 gives v 1 = v 2 , so 𝐯 = ( 1 , 1 ) T .

𝐲 = c 1 e 2 t [ 1 0 ] + c 2 e t [ 1 1 ] .

At t = 0 : c 1 + c 2 = 4 and c 2 = 1 , so c 2 = 1 and c 1 = 5 . Therefore

y 1 = 5 e 2 t e t , y 2 = e t .

Frequently Asked Questions

Why does the trial solution e λ t 𝐯 force 𝐯 to be an eigenvector?

Substituting gives λ e λ t 𝐯 = e λ t 𝐀 𝐯 . Cancelling the nonzero scalar leaves 𝐀 𝐯 = λ 𝐯 , which is the definition of an eigenpair. Geometrically, the trial solution asks for a direction 𝐯 that the flow leaves unchanged apart from stretching, and that is exactly what an eigenvector is.


How do I know if a matrix is non-defective?

Three sufficient conditions cover most cases: n distinct eigenvalues, symmetry, or skew-symmetry. Beyond those, you have to compute. Defectiveness can only occur when an eigenvalue repeats, so if the characteristic polynomial has no repeated roots, you are safe.


Does the choice of eigenvector matter?

Only up to a nonzero scalar multiple, which is absorbed into the arbitrary constant c k . Taking 𝐯 = ( 1 , 1 ) T or ( 5 , 5 ) T gives the same family of solutions. Choose whichever avoids fractions.


Why do the eigenvector equations always turn out to be redundant?

Because λ was chosen precisely so that det ( 𝐀 λ 𝐈 ) = 0 , which means the rows of 𝐀 λ 𝐈 are linearly dependent. If both equations of a 2 × 2 system give genuinely different information, you have made an arithmetic error in the eigenvalue.


Must I compute both eigenvectors of a complex pair?

No. If 𝐯 is an eigenvector for λ , then 𝐯 is one for λ , and the two complex solutions are conjugates. Taking real and imaginary parts of just one of them produces both real solutions. Computing the second eigenvector is wasted effort.


How do the eigenvalues describe the picture in the plane?

The sign of the real part governs growth: negative means solutions decay toward the origin, positive means they grow away from it. The imaginary part governs rotation: nonzero β makes trajectories spiral or, when α = 0 , trace closed ellipses. Two real eigenvalues of opposite sign make the origin a saddle point, with solutions approaching along one eigendirection and leaving along the other.