Second-Order ODEs with the Laplace Transform
To solve y″ + by′ + cy = g(t) with the Laplace transform, use L{y″} = s²Y − sy(0) − y′(0) and L{y′} = sY − y(0), solve for Y(s), then invert with partial fractions. For y″ + 3y′ + 2y = 0 with y(0) = 1 and y′(0) = 0, Y(s) = (s + 3)/((s + 1)(s + 2)), so y(t) = 2e^(−t) − e^(−2t).
The Transform of the Second Derivative
The key rule is L{y″(t)} = s²Y(s) − s·y(0) − y′(0). Both initial conditions appear automatically, which is why the Laplace transform is the standard tool for second-order initial value problems. For y″ + by′ + cy = g(t), transforming every term gives (s² + bs + c)Y(s) = G(s) + (s + b)y(0) + y′(0). The polynomial s² + bs + c is the characteristic polynomial, and its roots (the poles of Y) decide the shape of the solution.
Key Formulas
How the Poles Determine the Solution
Two distinct real roots r₁ and r₂ give a sum of exponentials, A·e^(r₁t) + B·e^(r₂t). A repeated real root r gives (A + Bt)e^(rt). A complex pair −α ± jβ gives a damped oscillation e^(−αt)(A·cos βt + B·sin βt). For an input g(t), the poles of G(s) add the forced (steady-state) part. In terms of the characteristic roots, these are the same three cases as the classical method, but Laplace finds the constants from the initial conditions in the same step.
Example: Distinct Real Roots
Solve y″ + 3y′ + 2y = 0 with y(0) = 1, y′(0) = 0. Transforming: s²Y − s + 3(sY − 1) + 2Y = 0, so (s² + 3s + 2)Y = s + 3 and Y(s) = (s + 3)/((s + 1)(s + 2)). Partial fractions: at s = −1 the residue is (−1 + 3)/(−1 + 2) = 2; at s = −2 it is (−2 + 3)/(−2 + 1) = −1. So Y(s) = 2/(s + 1) − 1/(s + 2) and y(t) = 2e^(−t) − e^(−2t). Check: y(0) = 2 − 1 = 1 and y′(0) = −2 + 2 = 0.
Examples: Complex Roots, Repeated Roots and a Constant Input
Complex roots: y″ + 2y′ + 5y = 0 with y(0) = 1, y′(0) = 0 gives Y(s) = (s + 2)/(s² + 2s + 5). Completing the square, s² + 2s + 5 = (s + 1)² + 4, so Y(s) = (s + 1)/((s + 1)² + 4) + (1/2)·2/((s + 1)² + 4) and y(t) = e^(−t)(cos 2t + (1/2)sin 2t). Repeated root: y″ + 2y′ + y = 0 with y(0) = 0, y′(0) = 1 gives Y(s) = 1/(s + 1)², so y(t) = t·e^(−t). Constant input: y″ + 4y = 8 with y(0) = y′(0) = 0 gives Y(s) = 8/(s(s² + 4)) = 2/s − 2s/(s² + 4), so y(t) = 2 − 2cos 2t, an undamped oscillation around the steady value 8/4 = 2.
Where Second-Order ODEs Appear
A series RLC circuit (L·q″ + R·q′ + q/C = v(t)), a mass-spring-damper (m·x″ + c·x′ + k·x = F(t)) and many control systems are second order. Writing the equation as y″ + 2ζωn·y′ + ωn²·y = ωn²·u(t) shows the damping ratio ζ and natural frequency ωn directly: ζ > 1 is overdamped (two real poles), ζ = 1 is critically damped (repeated pole) and 0 < ζ < 1 is underdamped (complex poles).
Frequently Asked Questions
Try the LapCalc calculator
Exact Laplace transforms with every step, free, plus free calculators for partial fractions, ODEs, circuits, control and Fourier series. Premium adds the inverse Laplace calculator and AI explanations.
Open LapCalc