Watch on Instagram

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).

Posted · About a 1 minute watch, 3 minute read · Take the quiz

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 y is the function of time, y(t).
  • Capital Y is its transform, Y(s).
  • Going back from Y(s) to y(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

  1. Transform each term. y′ becomes sY − 5 (because y(0) = 5), 3y becomes 3Y, and 0 stays 0: sY − 5 + 3Y = 0
  2. Pure algebra. Gather the Y terms: Y(s + 3) = 5, so Y = 5/(s + 3).
  3. Use the table. The pair e^(−at) ↔ 1/(s + a) says 1/(s + a) comes from e^(−at). Here a = 3, so 5/(s + 3) comes from 5e^(−3t).
  4. Answer: y = 5e^(−3t).
  5. Check: y′ = −15e^(−3t), so y′ + 3y = −15e^(−3t) + 15e^(−3t) = 0 ✓, and y(0) = 5e⁰ = 5 ✓.

Try it yourself

  1. Transform y′ + 4y = 0 with y(0) = 2. What is Y?
  2. Which function of t has the transform 3/(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 s large enough that the integral converges; the pair e^(−at) ↔ 1/(s + a) holds for s > −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.

1What does the Laplace transform do to a function?
2What does y′ turn into under the Laplace transform?
3Transform y′ + 3y = 0 with y(0) = 5. What is Y?
4From the table, 1/(s + a) comes from which function of t?

Sources

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

All Differential equations lessons