Practice: Systems of Linear Differential Equations

Recognition · Error diagnosis

A student is solving x ′ = A x with A = ( 3 1 0 3 ) .

They find the characteristic polynomial ( 3 − λ ) 2 , conclude that λ = 3 has multiplicity 2, and write the general solution as c 1 e 3 t v 1 + c 2 e 3 t v 2 for two eigenvectors v 1 , v 2 .

What is wrong?

2 hints available, least help first.

Hint 1: Retrieval cue

Multiplicity as a root and the number of independent eigenvectors are two different counts. Which one did they compute?

Hint 2: Concept cue

Write down A − 3 I and find the dimension of its kernel.

Direct application

The system x 1 ′ = x 1 + 2 x 2 , x 2 ′ = 2 x 1 + x 2 has matrix A = ( 1 2 2 1 ) .

What is the larger eigenvalue of A ?

Enter the value. It is checked against the answer and the precision this task asks for.

2 hints available, least help first.

Hint 1: Retrieval cue

The eigenvalues solve det ( A − λ I ) = 0 .

Hint 2: Concept cue

For 2 × 2 , that determinant expands to λ 2 − ( tr ⁡ A ) λ + det A .

Classification

For A = ( 1 2 2 1 ) with eigenvalue λ = − 1 , which vector is an eigenvector?

2 hints available, least help first.

Hint 1: Retrieval cue

Form A − λ I with λ = − 1 and solve for its kernel.

Hint 2: Concept cue

The matrix is singular, so one row suffices; and v = 0 is not admitted.

Direct application

The general solution of a system is

x = c 1 e 3 t ( 1 1 ) + c 2 e − t ( 1 − 1 ) .

Apply the initial condition x ( 0 ) = ( 3 1 ) . What is c 1 ?

Enter the value. It is checked against the answer and the precision this task asks for.

2 hints available, least help first.

Hint 1: Retrieval cue

Substitute t = 0 ; every exponential becomes 1.

Hint 2: Concept cue

Each component of the vector equation gives one scalar equation. Solve the two together.

Interpretation

A 2 × 2 real system x ′ = A x has eigenvalues − 1 ± 3 i .

What do the trajectories do as t increases?

2 hints available, least help first.

Hint 1: Retrieval cue

Treat the real and imaginary parts separately: one governs size, the other rotation.

Hint 2: Concept cue

The magnitude of e ( α + β i ) t is e α t , since | e i β t | = 1 .

Classification · Method selection

Solving x ′ = A x , you find that A has a single eigenvalue λ repeated twice.

What determines the next step?

2 hints available, least help first.

Hint 1: Retrieval cue

Two matrices can have the same repeated eigenvalue and different solution forms. What distinguishes them?

Hint 2: Concept cue

Count the independent eigenvectors by computing the dimension of the kernel of A − λ I .

Construction · Direct application · Explanation

(a) Show that substituting x = e λ t v into x ′ = A x produces the eigenvalue equation, and say why v must be nonzero.

(b) Solve x ′ = ( 1 2 2 1 ) x with x ( 0 ) = ( 3 1 ) , verifying the eigenvalues against the trace and determinant.

(c) Solve x ′ = ( 0 − 2 2 0 ) x , giving a real general solution, and describe the trajectories.

(d) For A = ( 3 1 0 3 ) and B = 3 I , both with the single eigenvalue 3 doubled, explain why only one is defective and give each general solution.

(e) Rewrite y ″ − 5 y ′ + 6 y = 0 as a first-order system and show its eigenvalues are the roots of the scalar characteristic equation. Then say what the eigenvalues alone tell you about the long-run behaviour of a system, and why a single eigenvalue with positive real part is enough to make almost every trajectory escape.

Write your answer, then compare it with the worked solution.

3 hints available, least help first.

Hint 1: Retrieval cue

In each part, find the eigenvalues first and check them against the trace and determinant.

Hint 2: Concept cue

In (d), the characteristic polynomials are identical, compute rank ⁡ ( A − 3 I ) for each instead.

Hint 3: Strategy cue

In (e), take x 1 = y and x 2 = y ′ , then write the equation as an expression for x 2 ′ .

Compare with the worked solution

Comparing does not record a result. Judging your own written answer cannot show that you can do this without help.

(a) The eigenvalue equation. With x = e λ t v and v constant, x ′ = λ e λ t v while A x = e λ t A v . The system x ′ = A x becomes

λ e λ t v = e λ t A v ,

and since e λ t ≠ 0 it cancels, leaving A v = λ v . Why v ≠ 0 . The zero vector satisfies A v = λ v for every λ , so admitting it would place no constraint on λ and the equation would be vacuous. It also gives only the zero function, which solves every linear system and carries no information. (b) A = ( 1 2 2 1 ) with x ( 0 ) = ( 3 1 ) . Eigenvalues. tr ⁡ A = 2 , det A = 1 − 4 = − 3 , so λ 2 − 2 λ − 3 = ( λ − 3 ) ( λ + 1 ) = 0 and λ = 3 , − 1 . Check: 3 + ( − 1 ) = 2 = tr ⁡ A ✓ and 3 × ( − 1 ) = − 3 = det A ✓; substituting confirms 9 − 6 − 3 = 0 and 1 + 2 − 3 = 0 ✓. Eigenvectors. For λ = 3 : A − 3 I = ( − 2 2 2 − 2 ) gives v 1 = v 2 , so v 1 = ( 1 1 ) . For λ = − 1 : A + I = ( 2 2 2 2 ) gives v 1 + v 2 = 0 , so v 2 = ( 1 − 1 ) . Verify: A v 1 = ( 3 3 ) = 3 v 1 ✓ and A v 2 = ( − 1 1 ) = − v 2 ✓, both residuals below 8 × 10 − 16 numerically. General solution. x = c 1 e 3 t ( 1 1 ) + c 2 e − t ( 1 − 1 ) . Constants. At t = 0 : c 1 + c 2 = 3 and c 1 − c 2 = 1 , so c 1 = 2 , c 2 = 1 , solved as a pair, since the components couple them.

x = 2 e 3 t ( 1 1 ) + e − t ( 1 − 1 ) , x 1 = 2 e 3 t + e − t , x 2 = 2 e 3 t − e − t .

Verify. x ( 0 ) = ( 3 , 1 ) ✓; residuals of x ′ − A x are 1.9 × 10 − 10 , 9.0 × 10 − 10 , 1.1 × 10 − 8 at t = 0 , 0.5 , 1 ✓. Values x ( 1 ) = ( 40.538953 , 39.803194 ) and x ( 2 ) = ( 806.992922 , 806.722252 ) show the components converging as the e − t term dies and the trajectory aligns with ( 1 1 ) . (c) B = ( 0 − 2 2 0 ) . tr ⁡ B = 0 and det B = 4 , so λ 2 + 4 = 0 and λ = ± 2 i . For λ = 2 i , ( B − 2 i I ) v = 0 gives − 2 i v 1 − 2 v 2 = 0 , so v 2 = − i v 1 and v = ( 1 − i ) . Then

e 2 i t ( 1 − i ) = ( cos ⁡ 2 t + i sin ⁡ 2 t ) ( 1 − i ) = ( cos ⁡ 2 t + i sin ⁡ 2 t sin ⁡ 2 t − i cos ⁡ 2 t ) ,

whose real and imaginary parts give two real solutions:

x = c 1 ( cos ⁡ 2 t sin ⁡ 2 t ) + c 2 ( sin ⁡ 2 t − cos ⁡ 2 t ) .

The conjugate eigenvalue − 2 i yields the same two, which is why one pair contributes two solutions and the 2 × 2 system is now complete. Verify. The first solution's residual against x ′ = B x is below 2.6 × 10 − 11 at t = 0 , 0.5 , 1 ✓. Trajectories. The real part is zero, so there is no e α t envelope: ‖ ( cos ⁡ 2 t , sin ⁡ 2 t ) ‖ = 1 at every t , confirmed as 1.0 at t = 0 , 1 , 2 . The trajectories are closed circular orbits traversed with angular frequency 2, neither growing nor decaying. A negative real part would spiral them inward, a positive one outward. (d) The same eigenvalue, two different matrices. Both have characteristic polynomial ( 3 − λ ) 2 , so λ = 3 with algebraic multiplicity 2 in each. The polynomial cannot distinguish them; the rank of A − 3 I can. B = 3 I . B − 3 I = 0 , rank 0, so the kernel is all of R 2 and every nonzero vector is an eigenvector. Geometric multiplicity 2, not defective:

x = c 1 e 3 t ( 1 0 ) + c 2 e 3 t ( 0 1 ) = e 3 t ( c 1 c 2 ) .

No t factor. A = ( 3 1 0 3 ) . A − 3 I = ( 0 1 0 0 ) , rank 1, so the kernel is one-dimensional and every eigenvector is a multiple of v = ( 1 0 ) . Geometric multiplicity 1 < algebraic 2, defective. Here c 1 e 3 t v + c 2 e 3 t v = ( c 1 + c 2 ) e 3 t v collapses to one constant, confined to the line x 2 = 0 , and cannot meet an initial vector such as ( 1 2 ) . The second solution needs a generalised eigenvector: solving ( A − 3 I ) w = v gives w 2 = 1 with w 1 free, so w = ( 0 1 ) and

x = c 1 e 3 t ( 1 0 ) + c 2 e 3 t [ ( 0 1 ) + t ( 1 0 ) ] .

Why that form works. Substituting x = e λ t ( w + t v ) gives x ′ = e λ t ( λ w + v + λ t v ) and A x = e λ t ( A w + λ t v ) ; the t v terms match and the rest requires ( A − λ I ) w = v . Verify. With c 1 = 1 , c 2 = 2 , that is e 3 t ( 1 + 2 t , 2 ) , whose residual stays below 1.6 × 10 − 8 ✓. (e) The scalar equation as a system, and stability. Set x 1 = y and x 2 = y ′ . Then x 1 ′ = x 2 , and the equation y ″ = 5 y ′ − 6 y gives x 2 ′ = − 6 x 1 + 5 x 2 :

x ′ = ( 0 1 − 6 5 ) x .

Its characteristic polynomial is λ 2 − 5 λ + 6 , identical to the scalar one, with roots computed as exactly 2 and 3 ✓. Substituting the scalar solution y = 3 e 2 t − 2 e 3 t as x = ( y , y ′ ) satisfies the system with residuals below 2.1 × 10 − 8 ✓. The two theories are one: a repeated root there is a defective companion matrix here, and x e r x is the t v term. What the eigenvalues tell you. Every term of the solution carries e λ t , whose magnitude is e ( Re ⁡ λ ) t . The imaginary part only rotates, since | e i β t | = 1 . So: - all real parts negative → every term shrinks → all solutions tend to 0 ;
- some real part positive → that term grows;
- imaginary parts present → rotation, spiralling or orbiting according to the real part. Why one positive real part suffices. Suppose Re ⁡ λ 1 > 0 while the others are negative. A solution is ∑ c i e λ i t v i . Unless c 1 = 0 , the first term grows without bound while the rest fade, so it eventually dominates and the trajectory escapes. The exceptions are exactly the initial vectors with c 1 = 0 , those lying in the span of the other eigenvectors, a lower-dimensional subspace and hence a vanishingly small set of starting points. That is the sense in which almost every trajectory escapes. This also holds for defective matrices: a t factor changes the rate of approach but not its direction, since t e λ t → 0 whenever Re ⁡ λ < 0 . A polynomial cannot defeat a decaying exponential.

A complete answer does each of these:

  • computes eigenvalues
  • computes eigenvectors
  • assembles general solution
  • detects defective matrix
  • determines constants
  • reads stability

Transfer · Interpretation

A drug moves between blood and tissue. With x 1 the amount in blood and x 2 in tissue,

x ′ = ( − 0.6 0.2 0.4 − 0.3 ) x .

The eigenvalues are − 0.770156 and − 0.129844 .

Long after a dose, the total drug decays at the slower of the two rates. What is its half-life, in the same time units? Give your answer to three decimal places.

Enter the value. It is checked against the answer and the precision this task asks for.

2 hints available, least help first.

Hint 1: Retrieval cue

Which of the two exponential terms is still significant long after the others have died away?

Hint 2: Concept cue

Solve e λ t = 1 2 for the eigenvalue nearest zero.

Practice data

Your practice record is stored in this browser only. Clearing it removes every answer and every scheduled review, and cannot be undone.

Results update as you type. Use the up and down arrow keys to move between results, Enter to open one, and Escape to close.

Type to search.

Settings

Appearance

Interface density

Your record

Your progress is stored in this browser and nowhere else: an identifier, the answers you have given, the mastery states and review schedule derived from them, and the lesson you last opened. Clearing it makes you a new learner on this device. It cannot be undone, and it will not affect your appearance or density settings.

Focus timer

Focus--minutes remaining

Phase

Kept in this browser only, and used to label the session in your own history.

Today

Nothing recorded yet. Finish a focus session and it will appear here.

Settings

Focus sessions between long breaks.

Sessions you are aiming for in a day.

Notifications

Your history

Sessions are stored in this browser and nowhere else. They are not evidence and never reach your mastery record.