4.6.30 · D4Ordinary Differential Equations

Exercises — Solving ODEs with Laplace (including discontinuous forcing)

1,876 words9 min readBack to topic

Before we start, one shared toolbox — every symbol you will see, in plain words:

The three rules we reuse constantly:


Level 1 — Recognition

L1.1 Write in terms of with general initial conditions , .

Recall Solution L1.1

Transform term by term. What we do: replace each derivative by its rule. Why: the transform is linear, so it passes through and constants. Add:

L1.2 State and .

Recall Solution L1.2

Special case of the shift rule: . The impulse: . Why the difference? The step is "on forever after " (a lasting ), the impulse is "one instant only" (no ).

L1.3 Invert and .

Recall Solution L1.3

Match with : . Match : we need on top, but we have . Write .


Level 2 — Application

L2.1 Solve , .

Recall Solution L2.1

Transform: . Solve: . Invert: with , so . Check: ✔, and ✔.

L2.2 Solve , , .

Recall Solution L2.2

Transform: . Solve: . Invert: with , so . Check: ✔, ✔.

L2.3 Solve , , .

Recall Solution L2.3

Transform: . Partial fractions: . Invert: . Check: ✔, ✔.

L2.4 Solve , .

Recall Solution L2.4

Transform: . Solve: . Partial fractions: cover-up at gives ; at gives . So . Invert: . Check: ✔.


Level 3 — Analysis (switches and shifts)

L3.1 Solve , .

Recall Solution L3.1

Transform: , so . Invert the un-delayed core first. Let . Cover-up: at residue , at residue . So and . Apply the delay tag : delay by AND gate it: Meaning: nothing until , then rises toward . See the figure.

Figure — Solving ODEs with Laplace (including discontinuous forcing)

L3.2 Find .

Recall Solution L3.2

The trick: the shift rule needs the forcing written as , a function of . But we have plain . Rewrite: . So , i.e. . . Multiply by the delay tag:

L3.3 A rectangular pulse: solve , . (Input is ON only between and .)

Recall Solution L3.3

Transform: , so . Core inverse: . Two delay tags → two gated copies (subtract the second): Meaning: flat until ; charges up toward ; at the input switches off and the second term makes it relax back toward . See the figure.

Figure — Solving ODEs with Laplace (including discontinuous forcing)

Level 4 — Synthesis (combine tools)

L4.1 Solve , , , then evaluate .

Recall Solution L4.1

Transform: , so . Core inverse: . Cover-up: at : ; at : ; at : . Delay + gate: . Evaluate at (so ): .

L4.2 Solve , , (resonance — the forcing matches the natural frequency).

Recall Solution L4.2

Transform: , so . Why is this special? The forcing has the same frequency as the natural oscillation, so its transform shares the same denominator — squaring it. A repeated quadratic factor signals resonance, growth in . Invert using the known pair , with : The term grows without bound — the amplitude climbs linearly, the fingerprint of resonance. Check: ; (after simplification) so ✔.

L4.3 Solve , , ; find .

Recall Solution L4.3

Transform: , so . Core inverse: . Multiply out: . At : . Coeff of : . Coeff of : . Delay + gate: . At : , . So .


Level 5 — Mastery (impulses, reasoning, edge cases)

L5.1 Solve , , . (A single hammer blow on a critically-damped system.)

Recall Solution L5.1

Transform: . Note . So . Core inverse: (from with ). So . Delay + gate: . Meaning: nothing until the kick at , then a bump that rises and decays back to — the system's impulse response, delayed. Sanity: at , .

L5.2 Degenerate check: solve , . What does the answer say physically, and why is the tiny subtlety worth noticing?

Recall Solution L5.2

Transform: , so and for . Physical meaning: a unit impulse at instantly deposits one unit; afterward is stuck at (no restoring term). The impulse acts as an instantaneous "step-in" of the initial condition. The subtlety: the impulse sits exactly at the lower limit . With the standard one-sided transform the kick is fully captured, giving for all ; right at the value is undefined (it is jumping). This is the boundary/degenerate case where "just after " and "just before " differ — always ask which side you mean.

L5.3 Reasoning (no full inversion needed): for with zero initial conditions, the transform factors as . Predict the long-time behaviour when (a constant switch-on), using only the roots.

Recall Solution L5.3

Read the poles. The system's own decay modes come from the roots and , both negative → both give terms that die out. With , adds a pole at , whose residue gives a constant term. Compute the steady state directly by the value the constant term takes: as the decaying modes vanish, leaving the residue of , which is . Conclusion: . You never had to fully invert — the poles told the story. (Cross-check with the ODE: at steady state , so ✔.)


Recap flashcards

Recall Quick self-test

How do you invert ? ::: Delay AND gate: . Why rewrite before transforming ? ::: The shift rule needs the forcing as a function of ; then and you tag with . What denominator signals resonance? ::: A repeated quadratic like ; it yields a growing term. vs ? ::: vs — impulse has no . Steady state of as ? ::: The residue (decaying modes vanish).