Exercises — Second-order linear ODEs — superposition principle, general theory
Before we start, four words we will lean on constantly, each pinned to a picture:

Read the four-anchor figure above like a control panel, left to right. The leftmost cyan box is the operator : a function enters on its left wire and the transformed function leaves on its right — this is the "machine" of anchor 1. The upper branch shows the homogeneous case, where the output wire reads (nothing pushes the system). The lower branch shows the forcing term arriving as an amber input arrow and appearing on the output as — the external push of anchor 3. The right panel draws the Wronskian as the little determinant of stacked over their derivatives : the amber "area" it measures is nonzero exactly when the two solution-arrows are genuinely different directions (anchor 4). Keep this panel in mind — every exercise below pokes at one of these four boxes.
Level 1 — Recognition
Can you name the type and read off the pieces?
L1.1
Classify each equation as (a) linear or nonlinear, (b) homogeneous or non-homogeneous. Give the coefficient functions and forcing where linear.
Recall Solution
WHAT we do: compare each to the standard form . WHY this answers everything at once: the standard form is a template with named slots — the moment an equation matches it, "linear?" is answered (does enter only through those slots, first power, no products/nonlinear functions?), and "homogeneous?" is answered by reading the right-hand slot (zero or not). One comparison settles all three cousin questions.
(i) Linear (each of appears once, first power). Homogeneous (). Read off , , .
(ii) Linear — the multiplies , and is the input variable, not ; linearity only cares how enters. Non-homogeneous, . Here , , .
(iii) Nonlinear — the term is a product of the unknown with its derivative, which no slot of the template allows. No apply.
L1.2
Which of the following pairs could form a fundamental set for some second-order homogeneous linear ODE (i.e. are they linearly independent)? Just answer yes/no with a one-line reason.
Recall Solution
WHAT we do: ask "is one a constant multiple of the other?" WHY this is the right test: a fundamental set must span a two-dimensional solution space; if one function is just a scaled copy of the other, together they point in a single direction and can only produce a one-parameter family — too few to meet two initial conditions. So "constant multiple?" directly decides fundamental-set eligibility.
(a) Yes, independent — is not constant.
(b) No — is a constant multiple of . They span only one direction, one parameter.
(c) Yes, independent — is not constant, so is not a fixed multiple of .
Level 2 — Application
Run the standard machinery.
L2.1
Verify that and each solve , then write the general solution.
Recall Solution
WHAT & WHY — substitute each candidate. We plug in because "is a solution" means the equation holds after substitution.
For : , . Then For : , . Then They are independent (ratio not constant), so
L2.2
Compute the Wronskian for and confirm it is never zero.
Recall Solution
WHAT we do: . WHY: this determinant is the exact condition for "no nonzero kills both and simultaneously" — i.e. independence. Since for every , everywhere. Independent — confirms L2.1.
L2.3
Solve the IVP , , .
Recall Solution
Step 1. General solution (from L2.1): .
Step 2 — apply conditions. WHY: a second-order ODE integrates in "twice," producing two constants; two initial conditions pin them down uniquely (guaranteed by existence–uniqueness). , so .
Step 3 — solve the pair. Add to : , hence . Check: ✓; ✓.
Level 3 — Analysis
Reason about structure, not just crank the handle.
L3.1
Using Abel's theorem, find the Wronskian of any two solutions of up to a constant, without knowing the solutions. Then explain why cannot vanish at a single isolated point.
Recall Solution
WHAT & WHY. Abel's theorem says , so . This lets us know 's shape from alone, no solving required.
Here . So For : if then ; if then for every . There is no way for to be zero at one isolated point and nonzero elsewhere — the exponential is never zero, so is all-or-nothing. That is why checking one convenient point suffices.
L3.2
Two functions and are given on . Show everywhere, yet are linearly independent. Why does this NOT contradict the Wronskian test?
Recall Solution
Set up piecewise. For , ; for , .
Region : , so there and .
Region : , so . Then .
So on all of .
Independence. Suppose for all . "For all " means the equation must hold at every point we care to plug in — so we are free to pick convenient points, and each choice gives one true equation about . We only need enough equations to force ; here two well-chosen points suffice because they yield two independent linear equations in two unknowns.
- At (where ): .
- At (where ): .
Adding gives , then . The only constants that work are both zero, so are linearly independent. (We did not need to verify the identity everywhere else; showing the only possible constants are zero already settles independence.)
Why no contradiction: the clean " dependent" converse holds only for solutions of the same linear ODE with continuous coefficients. Here are not both solutions of one such ODE — fails to be twice-differentiable in a way consistent with a nice at . So the Wronskian test remains one-directional in general: at a point independent, always; the reverse needs the ODE context (via Abel's theorem).
L3.3
Suppose is one solution of and is another. Prove solves the homogeneous equation, and use this to argue that the general solution has the form .
Recall Solution
WHAT we do — apply to the difference. Because is linear (superposition): So any two particular solutions differ by a homogeneous solution.
General form. Let be any solution of and fix one particular . Then , so is some homogeneous solution . Rearranged, Because was arbitrary, every solution has this shape — nothing is missed.
Level 4 — Synthesis
Combine several tools into one full solution.
L4.1
Solve completely: , , . (Homogeneous part known: .)
Recall Solution
Step 1 — particular solution. The forcing is a constant. WHY guess a constant? Feeding a constant through : , so ; matching gives . Try : indeed ✓. (This is the simplest case of Method of undetermined coefficients.)
Step 2 — assemble. By the structure theorem,
Step 3 — apply conditions. , so . Adding: , then . Check: , ✓; ✓; ✓.
L4.2
Solve (general solution only). Use the homogeneous set from Level 2.
Recall Solution
Step 1 — particular solution. Forcing is a degree-1 polynomial, so try (a general degree-1 polynomial). WHY this form: derivatives of a linear polynomial stay polynomial of degree , so the equation can balance term-by-term. Match to : coefficient of gives ; constant gives . So .
Step 2 — assemble. Check the particular part: , ✓.
Level 5 — Mastery
Prove, generalise, or handle a degenerate case.
L5.1
Prove the superposition principle fails to allow free scaling for non-homogeneous equations, and state exactly the one linear combination of two particular solutions that IS a solution.
Recall Solution
Let and . By linearity, This equals iff . So free scaling is not allowed: only combinations whose coefficients sum to (affine combinations) stay solutions. In particular gives — the difference is homogeneous, which is the seed of the structure theorem. Free scaling is exclusively a homogeneous property, where makes for any .
L5.2
Consider on all of . You are told and are solutions. Show they form a fundamental set, and re-express the general solution in the exponential basis to confirm it is the same solution space.
Recall Solution
Solutions? ✓; ✓.
Independence via Wronskian. : Nonzero everywhere ⇒ fundamental set ⇒ general solution .
Same space as . Using , with . Any maps to some and vice versa — the two "bases" span the identical two-dimensional solution space. This is exactly a change of basis: same plane, different arrows.
L5.3 (degenerate / limiting case)
Solve directly (no characteristic-equation shortcut). What is the fundamental set, what is , and why is this the "boundary case" where the two roots of the characteristic equation collide?
Recall Solution
Direct integration. The equation says the second derivative is zero everywhere. Integrate once: (a constant, since its derivative is ). Integrate again: . So a fundamental set is (Note the two arbitrary constants — exactly what a second-order equation must produce.)
Wronskian. With we have , so Nonzero everywhere ⇒ is genuinely independent ⇒ a valid fundamental set.
Why the boundary case. Writing turns into the characteristic equation , a repeated root . When the two roots coincide, the exponential family delivers only one independent solution, ; the second must carry the extra factor of from the repeated-root rule, namely . That is precisely the we found by hand — no coincidence. So is the cleanest picture of two distinct exponential roots merging into one, and it is exactly why the repeated-root formula in Characteristic equation — constant coefficient ODEs carries that factor of .