1.3 Ordinary Differential Equations and Laplace Transforms
Key Takeaways
- A first-order linear ODE dy/dx + p(x)y = q(x) is solved with the integrating factor exp(integral of p dx).
- The characteristic equation of ay'' + by' + cy = 0 determines whether the response is overdamped (two real roots), critically damped (one repeated root), or underdamped (complex roots).
- For a second-order system the natural frequency is sqrt(k/m) and the damping behavior follows from the discriminant b^2 - 4ac.
- Laplace transforms convert a linear ODE with constant coefficients into an algebraic equation in s, where L{y'} = sY(s) - y(0).
- Exponential decay problems (radioactive half-life, first-order reactions, RC discharge, Newton cooling) all reduce to the same separable ODE.
1.3 Ordinary Differential Equations and Laplace Transforms
Differential equations are named explicitly in the NCEES Mathematics specification (area 1, sub-topic B). On the FE Other Disciplines exam they rarely ask you to derive a solution from scratch — they ask you to classify the equation, pick the right solution form, and evaluate a constant from an initial condition. Every dynamic model elsewhere in this guide reduces to one of the forms below: a mixing tank, an RC or RL circuit transient, a cooling body, a decaying isotope, and a damped mass-spring system.
Classification: What Kind of Equation Is This?
| Feature | Question to ask | Consequence |
|---|---|---|
| Order | Highest derivative present? | Number of arbitrary constants in the general solution |
| Linear vs. nonlinear | Do $y$ and its derivatives appear only to the first power, with no products of $y$ terms? | Linear equations superpose; nonlinear ones do not |
| Homogeneous vs. non-homogeneous | Is the forcing term on the right side zero? | Non-homogeneous needs a particular solution added |
| Constant vs. variable coefficients | Are the coefficients numbers or functions of $x$? | Constant coefficients allow the characteristic-equation shortcut |
Separable First-Order Equations
If the equation can be written $\dfrac{dy}{dx} = g(x)h(y)$, separate and integrate:
The single most valuable case on the FE exam is exponential growth and decay:
With $k < 0$ this is decay, and the half-life relationship follows directly from setting $y = y_0/2$:
Cross-topic payoff: this identical formula appears in the Safety, Health, and Environment area for radiation half-life, in Chemistry for first-order reaction kinetics, and in Basic Electrical Engineering for RC discharge with $|k| = 1/(RC)$. Learn it once, score it three times.
First-Order Linear Equations: Integrating Factor
Put the equation in standard form, then multiply through by the integrating factor $\mu(x)$:
For the very common constant-coefficient case $y' + a y = b$ (a tank filling, a capacitor charging, a body cooling toward ambient), the solution is the sum of a steady-state value and a decaying transient:
Read that structure. The first term is where the system ends up; the second is how it gets there, decaying with time constant $\tau = 1/a$. After $t = \tau$ the transient has fallen to 36.8% of its initial size; after $3\tau$, to about 5%.
Worked Example: Newton's Law of Cooling
A steel casting at $500^\circ\text{C}$ is placed in a $25^\circ\text{C}$ room. After 10 minutes it has cooled to $350^\circ\text{C}$. What is its temperature after 30 minutes?
Newton's law of cooling gives $\dfrac{dT}{dt} = -k,(T - T_\infty)$, so with $\theta = T - T_\infty$:
Find $k$ from the 10-minute data point, where $\theta(10) = 350 - 25 = 325^\circ\text{C}$:
At $t = 30$ min:
Trap: the exponential decays toward zero in $\theta$, not in $T$. Candidates who write $T = 500e^{-kt}$ and forget to subtract the ambient temperature get $160^\circ\text{C}$ — which is offered as a distractor.
Second-Order Linear Equations with Constant Coefficients
For $a y'' + b y' + c y = 0$, substitute $y = e^{rx}$ to get the characteristic equation:
The discriminant decides everything:
| Discriminant | Roots | General solution | Physical behavior |
|---|---|---|---|
| $b^2 - 4ac > 0$ | Real, distinct $r_1 \ne r_2$ | $y = C_1 e^{r_1 x} + C_2 e^{r_2 x}$ | Overdamped — returns slowly, no oscillation |
| $b^2 - 4ac = 0$ | Real, repeated $r$ | $y = (C_1 + C_2 x)e^{rx}$ | Critically damped — fastest non-oscillating return |
| $b^2 - 4ac < 0$ | Complex $\alpha \pm j\beta$ | $y = e^{\alpha x}(C_1\cos\beta x + C_2\sin\beta x)$ | Underdamped — decaying oscillation |
The Mass-Spring-Damper Standard Form
Writing $m\ddot{x} + c\dot{x} + kx = 0$ in normalized form exposes the two parameters the exam asks about:
- $\zeta = 0$: undamped, oscillates forever at $\omega_n$
- $0 < \zeta < 1$: underdamped, oscillates at the damped frequency $\omega_d = \omega_n\sqrt{1-\zeta^2}$
- $\zeta = 1$: critically damped
- $\zeta > 1$: overdamped
Non-Homogeneous Equations
The complete solution is $y = y_h + y_p$: the homogeneous solution above plus a particular solution matched to the forcing function.
| Forcing term $f(x)$ | Trial particular solution $y_p$ |
|---|---|
| Constant $A$ | $y_p = K$ |
| Polynomial of degree $n$ | Polynomial of degree $n$ |
| $Ae^{kx}$ | $y_p = Ke^{kx}$ |
| $A\sin\omega x$ or $A\cos\omega x$ | $y_p = K_1\sin\omega x + K_2\cos\omega x$ |
Trap: if the trial form already appears in $y_h$ (resonance), multiply the trial by $x$ before solving for the coefficients.
Laplace Transforms
The Reference Handbook supplies a transform table, so the method is mechanical: transform, solve algebraically for $Y(s)$, invert.
The two derivative properties are what make it useful — initial conditions enter automatically:
| $f(t)$ | $F(s)$ |
|---|---|
| $\delta(t)$ (unit impulse) | $1$ |
| $u(t)$ (unit step) | $1/s$ |
| $t$ | $1/s^2$ |
| $e^{-at}$ | $1/(s+a)$ |
| $\sin\omega t$ | $\omega/(s^2+\omega^2)$ |
| $\cos\omega t$ | $s/(s^2+\omega^2)$ |
| $t e^{-at}$ | $1/(s+a)^2$ |
Two shortcuts worth memorizing: the final value theorem $\displaystyle\lim_{t\to\infty} f(t) = \lim_{s\to 0} sF(s)$, and the initial value theorem $\displaystyle\lim_{t\to 0^+} f(t) = \lim_{s\to\infty} sF(s)$. Both let you answer "what is the steady-state response?" without inverting anything.
Worked Example: Step Response by Laplace Transform
Solve $y' + 3y = 6$ with $y(0) = 0$.
Transform both sides:
Partial fractions: $\dfrac{6}{s(s+3)} = \dfrac{2}{s} - \dfrac{2}{s+3}$. Inverting term by term:
Check against the standard form $y = b/a + (y_0 - b/a)e^{-at}$ with $a = 3$, $b = 6$, $y_0 = 0$: $y = 2 + (0-2)e^{-3t}$. Same answer. Confirm the steady state with the final value theorem: $\lim_{s\to0} s\cdot\frac{6}{s(s+3)} = \frac{6}{3} = 2$. ✓
Additional First-Order ODE Practice
Separable First-Order ODEs
An ODE is separable if it can be written as $\frac{dy}{dx} = g(x)h(y)$, solved by separating variables:
First-Order Linear ODEs (Integrating Factor Method)
Standard form:
- Compute integrating factor $I(x) = e^{\int P(x)dx}$.
- Multiply standard ODE by $I(x)$ to obtain $\frac{d}{dx}[I(x)y] = I(x)Q(x)$.
- Integrate both sides:
Additional Second-Order ODE Practice
Standard homogeneous form:
Substitute trial solution $y = e^{rt}$ to form the characteristic (auxiliary) equation:
| Discriminant $\Delta = b^2 - 4ac$ | Roots $r_1, r_2$ | Physical System State (Damping) | General Solution $y(t)$ |
|---|---|---|---|
| $\Delta > 0$ | Real and distinct | Overdamped | $y(t) = C_1 e^{r_1 t} + C_2 e^{r_2 t}$ |
| $\Delta = 0$ | Real and repeated ($r_1 = r_2 = r$) | Critically Damped | $y(t) = (C_1 + C_2 t) e^{r t}$ |
| $\Delta < 0$ | Complex conjugates ($r = \alpha \pm i\beta$) | Underdamped (Oscillatory) | $y(t) = e^{\alpha t} (C_1 \cos\beta t + C_2 \sin\beta t)$<br>(where $\alpha = -\frac{b}{2a}$, $\beta = \frac{\sqrt{4ac - b^2}}{2a}$) |
Non-Homogeneous Second-Order ODEs
For $a y'' + b y' + c y = f(t)$, the total solution is $y(t) = y_h(t) + y_p(t)$, where $y_h(t)$ is the general solution to the homogeneous equation and $y_p(t)$ is a particular solution found using the Method of Undetermined Coefficients.
Worked Engineering Problems
Worked Example 1: Transient Fluid Tank Mixing (First-Order ODE)
Problem: A 100-liter storage tank initially contains pure water ($y(0) = 0\text{ kg}$ of salt). Salt brine containing $0.5\text{ kg/L}$ concentration flows into the tank at $4\text{ L/min}$. The well-mixed solution flows out at $4\text{ L/min}$. Set up and solve the differential equation for salt mass $y(t)$ in the tank at any time $t$.
Solution:
Step 1: Set up mass balance rate equation $\frac{dy}{dt} = \text{Rate In} - \text{Rate Out}$.
Step 2: Identify integrating factor $I(t)$.
Step 3: Multiply and integrate.
Step 4: Apply initial condition $y(0) = 0$.
Worked Example 2: Damped Mass-Spring Mechanical System (Second-Order ODE)
Problem: A $1\text{ kg}$ mass on a shock absorber system satisfies $y'' + 6y' + 13y = 0$, where $y(t)$ is displacement in meters. Given initial displacement $y(0) = 2\text{ m}$ and initial velocity $y'(0) = 0\text{ m/s}$, find $y(t)$.
Solution:
Step 1: Solve characteristic equation $r^2 + 6r + 13 = 0$. Here $\alpha = -3$ and $\beta = 2$ (Underdamped response).
Step 2: Form general underdamped solution.
Step 3: Apply initial condition $y(0) = 2$.
Step 4: Differentiate $y(t)$ and apply $y'(0) = 0$.
Final Solution:
Find the particular solution to the first-order linear differential equation dy/dx + 2y = 6 with initial condition y(0) = 5.
Classify the system behavior and characteristic roots of the homogeneous ordinary differential equation y'' + 6y' + 9y = 0.
A radioactive tracer decays with a half-life of 8.0 days. What fraction of the original activity remains after 20 days?
For the equation 2y'' + 8y' + 8y = 0, what is the character of the solution?
A mass-spring system has m = 4 kg and k = 400 N/m with negligible damping. What is its natural frequency?
Applying the Laplace transform to y'' with initial conditions y(0) and y'(0) produces which expression?