Solving Differential Equations with Laplace Transforms
Solving a differential equation by Laplace transform involves three steps: transform both sides to convert derivatives into algebraic terms using L{y′} = sY(s) − y(0), solve the resulting algebraic equation for Y(s), then apply the inverse Laplace transform to recover y(t). This method handles initial conditions automatically.
How to Solve a Differential Equation Using Laplace Transform
To solve a differential equation using Laplace transform, begin by applying L{} to every term on both sides. The derivative property converts y′ to sY(s) − y(0) and y″ to s²Y(s) − sy(0) − y′(0), automatically incorporating initial conditions. The forcing function f(t) transforms to F(s). After substitution, you have an algebraic equation in Y(s) that can be solved by standard algebra. The final step is computing y(t) = L⁻¹{Y(s)} using partial fraction decomposition and the inverse Laplace transform table. This systematic approach works for any linear ODE with constant coefficients.
Key Formulas
Try it: partial fractions
Change the example and press Calculate. Use * for multiplication and ^ for powers.
Laplace Differential Equation Method: Complete Worked Example
Consider the Laplace differential equation y″ + 4y′ + 3y = e^(−t) with y(0) = 1, y′(0) = 0. Transforming: s²Y − s + 4(sY − 1) + 3Y = 1/(s+1). Collecting terms: (s² + 4s + 3)Y = s + 4 + 1/(s+1). Since s² + 4s + 3 = (s+1)(s+3), we get Y = (s+4)/((s+1)(s+3)) + 1/((s+1)²(s+3)). Partial fractions yield terms like A/(s+1) + B/(s+3) + C/(s+1)². Inverting each term gives exponentials and the te^(−t) term from the repeated root. The complete solution emerges with all initial conditions satisfied.
The Laplace Formula for Transforming ODEs
The Laplace formula for an nth-order linear ODE with constant coefficients aₙy⁽ⁿ⁾ + ... + a₁y′ + a₀y = f(t) transforms to P(s)Y(s) = Q(s) + F(s), where P(s) = aₙsⁿ + ... + a₁s + a₀ is the characteristic polynomial and Q(s) contains all initial condition terms. This gives Y(s) = Q(s)/P(s) + F(s)/P(s), clearly separating the homogeneous response (from initial conditions) and the particular response (from the forcing function). The poles of 1/P(s) determine the natural response modes, while F(s)/P(s) determines the forced response.
Solving ODEs with Discontinuous Forcing Functions
The Laplace transform excels at solving differential equations with discontinuous or piecewise forcing functions that would be extremely difficult with classical methods. For example, y″ + y = u(t−π) − u(t−2π) (a pulse input) transforms cleanly using e^(−πs)/s − e^(−2πs)/s for the right side. The solution combines the homogeneous response with shifted particular solutions, each activated at the appropriate time by step functions. This capability makes the Laplace transform of ODE problems the preferred method in engineering, where inputs are often switched, pulsed, or otherwise discontinuous.
Laplace Transform vs Classical Methods for Differential Equations
Solving differential equations using Laplace transforms offers several advantages over classical methods (undetermined coefficients, variation of parameters). The Laplace method handles initial conditions from the start rather than applying them after finding the general solution. It treats discontinuous forcing functions naturally through step functions. It provides the complete solution (homogeneous plus particular) in one unified process. The characteristic equation emerges automatically as the denominator polynomial P(s). The main trade-off is that partial fraction decomposition can become algebraically intensive for higher-order systems, but computational tools eliminate this burden.
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