The Laplace transform - from differential equations to algebra, step by step
· 14 min read
In short
The Laplace transform turns a function of time f(t) into a function F(s) of a new variable s. For each s, multiply f(t) by the fading weight e⁻ˢᵗ and take the area under the product from 0 to infinity. The transform of a derivative is sF(s) − f(0), so a linear differential equation becomes an algebraic one. Solve it for F(s), then read the answer back from a table.
Words to know
- Laplace transform
- A new function F(s) made from f(t). For each s, it is the area under f(t) · e⁻ˢᵗ from t = 0 to infinity.
- Weight e⁻ˢᵗ
- The factor that multiplies f(t). It fades as t grows, and the bigger s is, the faster it fades.
- Transform of a derivative
- ℒ{f′} = sF(s) − f(0). Differentiating in t becomes multiplying by s, minus the initial value.
- Inverse Laplace transform
- The way back from F(s) to f(t), usually by reading a table of transforms from right to left.
- Partial fractions
- Splitting a fraction such as 1/(s(s + 1)) into simpler ones, here 1/s − 1/(s + 1), that are in the table.
What do you think?
The equation with contains a derivative. What do you get if you apply the Laplace transform to both sides?
The transform turns into and the derivative into . So the equation becomes : no derivatives left, just algebra. It gives , and a table of transforms says that this is the transform of .
The idea: trade a function of t for a function of s
Take a function of time . Pick a number , multiply by the weight , which fades as time goes on, and take the area under the product from to infinity. That area is one number, . Another gives another number. Together, these numbers make a new function : the Laplace transform of .
Why bother? Because of one property. The transform of a derivative is : differentiating in becomes multiplying by . So a linear differential equation with constant coefficients becomes an algebraic equation for . You solve it with ordinary algebra, then use a table of transforms to go back to a function of time.
Area by area, step by step
Go through the animation with the buttons or the arrow keys. The upper picture is time: in teal, the weight dashed, and their product in amber, with the area under it. The lower picture is the new variable : each area becomes the height of one point of .
Time t: the function, the weight e⁻ˢᵗ and their product
The variable s: the transform F(s)
f(t) = 1 · s = 1 · F(1) = 1
f(t) and F(s)weight e⁻ˢᵗproduct e⁻ˢᵗ f(t) and its area
Take f(t) = 1 and s = 1. The weight e⁻ᵗ fades, and so does the product 1 · e⁻ᵗ. The area under it, from 0 to infinity, is 1. That is one value of the transform: F(1) = 1.
The animation shows the two habits of the transform. A bigger means a smaller area, and a function that grows like has a transform only for , where the weight fades faster than the function grows.
Try it yourself: from f(t) to F(s)
Pick a function, then slide . The upper picture shows up to , but the area goes on to infinity: its full value is in the readout and is the height of the point in the lower picture.
Time t: f(t), the weight e⁻ˢᵗ and the area under their product
f(t) and F(s)weight e⁻ˢᵗthe product and its area
The variable s: the transform F(s)
- Transform F(s)
- 1/s
- It exists for
- s > 0
- Area at s = 1, that is F(1)
- 1
What to notice:
- : slide to the right, and the area shrinks like . At the weight no longer fades, and the area is infinite,
- : the product first rises, then fades. Its area is , so at and only at ,
- : the dashed line in the lower picture stands at . With even works, because the function fades on its own,
- : part of the area lies below the axis and counts as negative. The transform exists for . At the swings never die down, and the area has no value.
Definition and rules
Definition. For a function given for , its Laplace transform is
for every at which this integral converges. We also write , with the capital letter for the transform. The transform is named after the French mathematician Pierre-Simon Laplace (1749-1827).
A short table. These transforms come straight from the definition, as in Example 1 below.
| for | ||
|---|---|---|
Linearity. Constants come out, and a sum is transformed term by term: . So .
Derivatives. The transform of a derivative brings in the initial values:
The first rule comes from integration by parts: the boundary term gives , and what is left is times the integral of . Using it twice gives the second rule.
Going back. Two continuous functions with the same transform are equal (this is Lerch’s theorem). So a table can be read from right to left: this is the inverse Laplace transform, . A fraction that is not in the table is first split into partial fractions.
Example 1: a transform from the definition
Find the Laplace transform of .
Step 1. Write the definition
We put into the integral.
Step 2. Combine the exponentials
When powers of are multiplied, their exponents add.
Step 3. Integrate up to a finite time T
An integral to infinity is the limit of integrals up to . An antiderivative of is , here with .
Step 4. Let T grow without limit
If , the exponent is negative and grows in size, so tends to .
Answer
for : the transform exists where the weight fades faster than grows.
Example 2: a differential equation
Solve with .
Step 1. Transform each term
The derivative brings in , and the constant becomes .
Step 2. Write the new equation
We put the three transforms into the equation. It has no derivatives any more.
Step 3. Solve for Y
We collect the terms with , move to the right, add the fractions and divide by .
Step 4. Split into partial fractions
We look for and with . Multiplying by gives an equation that holds for every .
Step 5. Find A
We put in , so the term disappears.
Step 6. Find B
We put in , so the term disappears.
Step 7. Read the table backwards
is the transform of , and the transform of (the rule for with ).
Answer
: the solution starts at and rises towards .
Your turn
Solve with and , using the Laplace transform.
Hintshow
Use the rule for the second derivative, and look for in the table.
Solutiontry it on your own first
Step 1. Transform the second derivative
We use the rule for with and .
Step 2. Write the new equation
We put it into the equation, with and .
Step 3. Solve for Y
We collect the terms with and divide by .
Step 4. Find it in the table
It is with , the transform of .
Answer
: the solution swings between and for ever.
Common mistakes
- Forgetting the initial value. is , not . Without , the equation with would give , and the solution would be lost.
- Ignoring where the transform exists. is the transform of only for . At the formula gives , but the area is infinite.
- Transforming a product factor by factor. , not . Sums are transformed term by term, products are not: a product of two transforms belongs to the convolution of the functions, a different operation.
- Mixing up sine and cosine. , with on top, belongs to , and , with on top, to .
- Stopping at Y(s). is not yet the answer: the solution is a function of . Go back with the table.
In exams and at university
In England, A-level Mathematics and Further Mathematics do not include the Laplace transform. Further Mathematics solves second-order linear equations with constant coefficients another way, through the auxiliary equation. In the United States, the differential equations of AP Calculus are separable equations and slope fields, and in BC also Euler’s method and logistic growth.
At university, the Laplace transform is part of a course on differential equations, especially for engineers. In the open textbook Notes on Diffy Qs by Jiří Lebl it is chapter 6, after first-order and higher-order linear equations, systems, Fourier series and eigenvalue problems. In Jeffrey Chasnov’s open lecture notes Differential Equations it comes right after second-order linear equations. Engineers then use it for electric circuits, signals and control, where a circuit or a filter is described by a transfer function of .
Check yourself
Test yourself
What is ?
What is ?
If , what is ?
For which does exist?
Which function has the transform ?
Flashcards for review
Flip a card and say whether you knew the answer. The ones you did not know come back at the end of the deck. Why it pays to come back to them in a few days is explained in the guide Spaced repetition.
Flashcards
Question
Answer
What is the Laplace transform of ?
, for every at which the integral converges.What is for one value of ?
One number: the area under the product from to infinity.What are and ?
and , both for .What is ?
, only for , where the weight fades faster than grows.What are the transforms of and ?
and , for .What is the transform of a derivative ?
.What is the transform of a second derivative ?
.Why does the Laplace transform help with differential equations?
Derivatives become multiplication by , with the initial values included. A linear equation with constant coefficients becomes an algebraic equation for .How do you get from back to ?
Split into partial fractions and read the table of transforms from right to left: the inverse transform.Is the transform of a product the product of the transforms?
No. For example, , while .
Sources
We checked the facts on this page against these sources. All of them may be reused freely: they carry an open licence or are not covered by copyright.
- Jiří Lebl - Notes on Diffy Qs, 6.1 The Laplace transform (definition, table, linearity, existence for s large enough, uniqueness, a product is not transformed factor by factor) · CC BY-SA 4.0
- Jiří Lebl - Notes on Diffy Qs, 6.2 Transforms of derivatives and ODEs (sF(s) − f(0), solving an initial value problem with partial fractions) · CC BY-SA 4.0
- Jiří Lebl - Notes on Diffy Qs, 6.3 Convolution (the transform of a convolution is the product of the transforms) · CC BY-SA 4.0
- Jeffrey R. Chasnov - Differential Equations, chapter 4 The Laplace transform (definition, table, derivatives by parts, initial value problems) (PDF) · CC BY 3.0 HK
- Wikibooks - Circuit Theory/Laplace Transform (the derivative rule, circuits in the s-domain) · CC BY-SA 4.0
- Wikibooks - Signals and Systems/LaPlace Transform (the transform in signal processing, transfer functions of filters) · CC BY-SA 4.0
- Wikipedia - Laplace transform (definition, properties, Lerch’s theorem, named after Pierre-Simon Laplace) · CC BY-SA 4.0