Solving IVPs with Laplace Transforms
Transform the whole initial value problem at once. Every derivative turns into times minus a starting value, so the equation becomes algebra you solve for , and inverting gives the answer with the initial conditions already in it.
What the symbols mean
- Transform of the solution
The unknown, now found with algebra.
Explanation
An initial value problem (IVP) is simply a differential equation plus the starting conditions, like where a spring starts and how fast it's moving. Solving one with Laplace transforms means trading the calculus problem for an algebra problem, which is often much quicker. The rule looks like a mouthful, but it's just two simple parts: (taking two derivatives becomes multiplying by twice) and (the starting position and starting velocity, tagging along). Once every derivative is replaced like this, is just an unknown in an equation you can solve with ordinary algebra. It's fewer moving parts than it looks.
This is the payoff. Back in the first lesson of this unit we promised that the transform turns derivatives into multiplication by . Here's why. Integrate by parts:
The boundary term at infinity vanishes because wins, and the one at leaves behind . Apply the same rule to , treating it as the derivative of , and you get . Notice that the starting values show up on their own. You never have to plug them in at the end.
Steps:
- Transform both sides, using the derivative rules.
- Solve the resulting algebraic equation for .
- Use partial fractions to write as table entries.
- Invert to get .
Compare this with undetermined coefficients. There's no general solution, no separate guess for , and no solving for constants at the end: the initial conditions are used in step 1. The method really shines when the forcing switches on and off or hits all at once, which is where the next two lessons are going.
A common mistake. It's tempting to write , because a derivative is "multiply by ". It isn't: each derivative also drops off a starting value, so . Leaving those terms out is the same as assuming the system starts at rest, and you'd get the wrong answer whenever it doesn't.
See it
Worked examples
Solve , , .
- 1
Transform both sides, with and going into the derivative rules: .
Practice
Type your answer and check it. Solve them all to complete the lesson.
Solve , .
Solve , , .
Solve , .
Solve , , .
Solve , , .
A spring obeying is released from with velocity . Solve it with Laplace transforms.
The hardest one here. Get it, and you've got this lesson.
Solve with and , using Laplace transforms.
Where it's used
Circuit simulators and control-system design tools solve linear ODEs this way, especially with switched or pulsed inputs.