4.6.21 · D4Ordinary Differential Equations

Exercises — Systems of first-order linear ODEs — matrix method

1,896 words9 min readBack to topic

Level 1 — Recognition

Exercise 1.1

Which of these vector functions is a solution of for some matrix , by form alone (i.e. is it built from the eigenvector template)? (a) (b) (c)

Recall Solution

WHAT the template is. The parent note derived that solves the system exactly when is an eigenpair. So a "clean" single-mode solution must be one fixed vector multiplied by one scalar exponential.

  • (a) : fixed direction , scaled by . ✅ Matches the template with , .
  • (c) : same shape, , . ✅
  • (b) has a inside a component that is not multiplying a fixed eigenvector uniformly — the two components grow at genuinely different rates, so it is not a single exponential mode. It could be a piece of a defective solution , but as written it is not the plain eigenvector template. ❌ for "single-mode".

Answer: (a) and (c).

Exercise 1.2

For , write the eigenvalues and eigenvectors by inspection, and the general solution.

Recall Solution

WHY by inspection. is diagonal: it does not mix and at all. The two equations are already decoupled: , . See Diagonalization.

The standard basis arrows and are unmoved in direction — only stretched: So eigenpairs are and .


Level 2 — Application

Exercise 2.1

Solve , , with .

Recall Solution

Step 1 — characteristic equation. Why: a nonzero eigenvector exists only when is singular, i.e. .

Step 2 — eigenvectors. Why: solve the null direction of the now-singular matrix.

  • :
  • :

Step 3 — general solution.

Step 4 — apply IC : . ,

Exercise 2.2

Solve , (general solution only).

Recall Solution

Step 1. is upper-triangular, so its eigenvalues are the diagonal entries: read

Step 2.

  • :
  • :

Step 3. Both exponents are negative → every trajectory decays to the origin (a stable node), see Phase Portraits and Stability.


Level 3 — Analysis

Exercise 3.1

. Find real solutions and describe the trajectory geometry.

Recall Solution

Step 1. So (real part), (imaginary part). Why care about ? By Euler's Formula, : sets growth/decay, sets rotation speed.

Step 2 — eigenvector for . . Top row: Take : . Split into real and imaginary parts: , so , .

Step 3 — assemble two real solutions using the parent formula with :

Geometry. means the radius grows: an outward spiral (unstable spiral / focus). Rotation period is . See the figure below.

Figure — Systems of first-order linear ODEs — matrix method

Exercise 3.2

For , decide the type of the equilibrium at the origin without writing the full solution, then confirm by finding .

Recall Solution

Reasoning first. The trace of (sum of diagonal) is ; the determinant is . For a system, eigenvalues satisfy , i.e. . Zero trace + positive determinant ⇒ purely imaginary eigenvalues ⇒ a center (closed orbits, neither growing nor decaying).

Confirm. . Here : no growth, so trajectories are closed ellipses around the origin. ✅


Level 4 — Synthesis

Exercise 4.1

Solve the defective system , , with .

Recall Solution

Step 1. Expand: (double).

Step 2 — eigenvector. . Row: . Only one independent eigenvector → defective (see parent note).

Step 3 — generalized eigenvector with : Pick : . Why the freedom? Any differing by a multiple of works; it only re-labels .

Step 4 — two independent solutions.

Step 5 — apply IC . At the -term vanishes: Bottom component: . Top:

Exercise 4.2

Build a real matrix whose system has the general solution

Recall Solution

WHAT we reverse-engineer. We are told the eigenpairs: and . Any acting as works, so we use Diagonalization: where has the eigenvectors as columns and is diagonal of eigenvalues. , so

Compute : Check: ✅ and ✅.


Level 5 — Mastery

Exercise 5.1

A system has . Classify the equilibrium fully (type + stability), solve it, and connect the answer to the second-order ODE .

Recall Solution

Step 1 — the connection. Let , . Then and , giving exactly with this . This is the standard trick that turns any second-order ODE into a first-order system.

Step 2 — eigenvalues. , . Characteristic: (double). Note this is the same characteristic polynomial as .

Step 3 — defective? , rank 1, so only one eigenvector : . Defective.

Step 4 — generalized eigenvector. : . Take .

Step 5 — classification. Both modes carry (with a polynomial factor): , repeated, one eigenvector ⇒ improper (degenerate) stable node. Everything decays to the origin. This matches , the critically-damped solution of the second-order ODE — same physics, two languages.

Exercise 5.2

Using the matrix exponential, show that solves , , and evaluate for .

Recall Solution

Step 1 — what means. By analogy with the scalar series , we define the Matrix Exponential This converges for every square .

Step 2 — why it solves the system. Differentiate term by term (allowed since the series converges nicely): So gives . ✅ And at , , so . ✅

Step 3 — evaluate for diagonal . For a diagonal matrix, powers act entrywise: . Summing each entry as its own scalar exponential series: Then — exactly what the decoupled equations predict.


Recall One-line summary of the ladder

Recognize the template ::: needs Apply it ::: real distinct → superpose exponentials Analyze ::: complex → spiral, stability from sign of Synthesize ::: defective → generalized eigenvector ; reverse-engineer with Master ::: 2nd-order ODEs are systems; packages all solutions at once