Math Bytes · Differential equations · Episode 5 · Laplace transform
What the Laplace transform does
The Laplace transform swaps a function of time for a function of a new variable s, and turns the derivative y′ into sY − y(0). That makes a differential equation an algebra problem: y′ + 3y = 0 with y(0) = 5 becomes Y = 5/(s + 3), and a table turns that back into y = 5e^(−3t).
Swapping t for s
The Laplace transform takes a function of time, f(t), and gives back a function of a new variable, F(s):
F(s) = ∫₀^∞ e^(−st) f(t) dt
You don't need to work that integral out every time. What matters is what the transform does:
- Lowercase
yis the function of time,y(t). - Capital
Yis its transform,Y(s). - Going back from
Y(s)toy(t)is the inverse transform, and in practice you read it off a table of transform pairs.
The payoff: derivatives become multiplication
The key property is what happens to a derivative:
y′ → sY − y(0)
Taking a derivative (calculus) turns into multiplying by s (algebra), minus the starting value y(0). The starting value is built right in, so you don't solve for a constant at the end.
Worked example: y′ + 3y = 0, y(0) = 5
- Transform each term.
y′becomessY − 5(becausey(0) = 5),3ybecomes3Y, and0stays0:sY − 5 + 3Y = 0 - Pure algebra. Gather the
Yterms:Y(s + 3) = 5, soY = 5/(s + 3). - Use the table. The pair
e^(−at) ↔ 1/(s + a)says1/(s + a)comes frome^(−at). Herea = 3, so5/(s + 3)comes from5e^(−3t). - Answer:
y = 5e^(−3t). - Check:
y′ = −15e^(−3t), soy′ + 3y = −15e^(−3t) + 15e^(−3t) = 0✓, andy(0) = 5e⁰ = 5✓.
Try it yourself
- Transform
y′ + 4y = 0withy(0) = 2. What isY? - Which function of
thas the transform3/(s + 1)?
(Answers: 1. sY − 2 + 4Y = 0, so Y(s + 4) = 2 and Y = 2/(s + 4) (which comes from y = 2e^(−4t)). 2. With a = 1, 1/(s + 1) comes from e^(−t), so 3/(s + 1) comes from 3e^(−t).)
Good to know
- The transform is defined for
slarge enough that the integral converges; the paire^(−at) ↔ 1/(s + a)holds fors > −a. - This first-order example could also be solved by separating variables (lesson 1 of this course). The Laplace method really pays off on second-order equations like the spring and damping lessons, especially when a force switches on or off suddenly.
- The method works for linear differential equations with constant coefficients: transform, solve the algebra, then transform back with the table.
- This is the last lesson of the Differential equations course.
Answer to the comment question
y′ + 2y = 0, y(0) = 6. What's y(t)? y = 6e^(−2t). Transform it: sY − 6 + 2Y = 0, so Y(s + 2) = 6 and Y = 6/(s + 2). From the table with a = 2, that comes from y = 6e^(−2t).
Test your knowledge
Quick quiz: What the Laplace transform does
4 multiple-choice questions. Pick one answer for each, then check how you did.
Sources
- Paul's Online Math Notes (Lamar University), "Laplace Transforms": definition, table of transforms, transform of a derivative, solving initial value problems
- Wolfram MathWorld, "Laplace Transform": definition and the derivative property
- MIT OpenCourseWare, "18.03 Differential Equations (Spring 2010)": Laplace transform lecture notes
Video transcript
How can you turn a calculus problem into an algebra problem?
The Laplace transform swaps a function of time for a function of a new variable, s.
The payoff: y′ turns into s times capital Y, minus y(0).
Take y′ + 3y = 0, y(0) = 5. Transform it: sY − 5 + 3Y = 0.
Pure algebra: Y = 5/(s + 3).
From the table, 1/(s + a) comes from e^(−at). So y = 5e^(−3t).
Your turn. y′ + 2y = 0, y(0) = 6. What's y(t)? Comment your answer below!
That's your byte.
More from Differential equations
- Differential equations EP1Separable equations
- Differential equations EP2Newton's law of cooling
- Differential equations EP3Springs and oscillation