Differential Equations: Topic 10 of 10

Laplace
Transforms

One integral converts a differential equation into an algebraic equation. Solve the algebra. Invert the transform. You never differentiate once. This is the Laplace method: and it handles problems that defeat every other technique.

Full derivation 12 worked examples Complete transform table
Share this page

§ 01The Big Idea — Turning Calculus into Algebra

Differentiation is hard. Algebra is easy. The Laplace transform is a machine that converts the hard problem into the easy one: then converts the answer back.

Every technique covered so far, separation of variables, integrating factors, the characteristic equation, undetermined coefficients: requires you to guess a solution form, differentiate, substitute, and match coefficients. The Laplace transform sidesteps all of this. Instead of working in the time domain where the unknown is a function y(t), you work in the s-domain where the unknown is an algebraic expression Y(s). Differentiation becomes multiplication by s. The ODE becomes a polynomial equation in s. Solve it. Translate back.

The Laplace Pipeline
Time domain
ODE in y(t)
hard — involves derivatives
Take
ℒ{ }
s-domain
Algebra in Y(s)
easy — no derivatives
Solve
for Y(s)
s-domain
Solution Y(s)
algebraic expression
Invert
−1{ }
Time domain
Solution y(t)
the answer you wanted

This approach has two killer advantages over other methods. First, initial conditions are built into the transform automatically: you do not solve the general solution and then apply conditions afterwards. Second, the Laplace method handles discontinuous or impulsive forcing functions, like a sudden voltage spike or a bang on a mechanical system, that make undetermined coefficients completely helpless. These are modelled by the Heaviside step function and the Dirac delta, which we cover below.

Prerequisites To get the most from this page you should be comfortable with: improper integrals (∫0), integration by parts, partial fractions, and the characteristic equation for second-order ODEs. Links to all of these are in the footer.

§ 02The Definition

The Laplace transform is an improper integral that converts a function of t into a function of a complex parameter s.

Definition of the Laplace Transform
ℒ{f(t)} = F(s) = ∫0 e−st f(t) dt

A few immediate observations:

The variable s. The parameter s must be large enough to make the integral converge. For most functions in this course, s just needs to be a positive real number sufficiently large. In advanced work s is complex, but we will not need that here.

The factor e−st. This exponential damping factor is what makes the integral converge. For a function that grows no faster than eat, the integral converges for all s > a. The smallest such value is called the abscissa of convergence.

Notation. We write ℒ{f(t)} = F(s). Capital letters denote the transform. Lowercase letters denote time-domain functions. This convention is universal and you should use it consistently.

Computing ℒ{1} from the Definition

Let f(t) = 1 for all t ≥ 0. Then:

Derivation — ℒ{1}
F(s) = ∫0 e−st · 1 dt

= limb→∞ [−(1/s)e−st]0b

= limb→∞ [−(1/s)e−sb + (1/s)e0]

= 0 + 1/s   (for s > 0)

ℒ{1} = 1/s

Computing ℒ{eat} from the Definition

Derivation — ℒ{eat}
F(s) = ∫0 e−st · eat dt = ∫0 e−(s−a)t dt

= [−1/(s−a) · e−(s−a)t]0   (for s > a)

= 0 + 1/(s−a)

ℒ{eat} = 1/(s−a)   for s > a

This single result is responsible for roughly half of all the Laplace transforms you will ever compute. Every entry in the transform table that involves eat is a variant of this formula.

Computing ℒ{sin(ωt)} and ℒ{cos(ωt)}

These are found via integration by parts twice (or more elegantly via Euler's formula eiωt = cos ωt + i sin ωt and then taking real and imaginary parts). The results are:

Transforms of Sine and Cosine
ℒ{sin(ωt)} = ω/(s2 + ω2)

ℒ{cos(ωt)} = s/(s2 + ω2)

Notice the symmetry: the transform of sin has ω on top; the transform of cos has s on top. If you ever mix them up, remember that cos(0) = 1 and sin(0) = 0, and check that the inverse at t = 0 gives the right value.

Computing ℒ{tn}

Repeated integration by parts (or an induction argument) gives:

Transform of a Power Function
ℒ{tn} = n! / sn+1   for s > 0, n = 0,1,2,3,…

For n = 0 this recovers ℒ{1} = 1/s. For n = 1: ℒ{t} = 1/s2. For n = 2: ℒ{t2} = 2/s3. Each additional power of t adds one to the power of s in the denominator and one factorial factor on top.

§ 03Linearity and the Derivative Theorem

Two properties make Laplace transforms practical: linearity (which handles sums) and the derivative theorem (which is why the method converts ODEs into algebra).

Linearity

The Laplace transform is a linear operator:

Linearity Property
ℒ{αf(t) + βg(t)} = αℒ{f(t)} + βℒ{g(t)}

= αF(s) + βG(s)

This follows directly from the linearity of integration. It means you can transform sums term by term and pull constants outside the transform: just like integration itself.

The First Derivative Theorem — The Heart of the Method

This is the most important result on the whole page. Integrate by parts with u = e−st and dv = f′(t)dt:

Derivation — Transform of f′(t)
ℒ{f′(t)} = ∫0 e−st f′(t) dt

= [e−stf(t)]0 − ∫0 (−s)e−st f(t) dt

= 0 − f(0) + s∫0 e−stf(t) dt

ℒ{f′(t)} = sF(s) − f(0)

Read this carefully: the transform of the derivative f′(t) equals s times the transform F(s) minus the initial value f(0). Differentiation in the t-domain becomes multiplication by s in the s-domain. That is why ODEs become algebraic equations.

Applying the result a second time (replace f by f′ in the formula above):

Derivative Rules — First and Second Order
ℒ{y′} = sY(s) − y(0)

ℒ{y″} = s2Y(s) − s⋅y(0) − y′(0)

These two formulas, which you must memorise, are all you need to convert any constant-coefficient second-order IVP into an algebraic equation. Notice how the initial conditions y(0) and y′(0) appear automatically, embedded inside the s-domain equation.

The First Shift Theorem (s-Shifting)

If ℒ{f(t)} = F(s), then:

First Shift Theorem
ℒ{eatf(t)} = F(s−a)

Proof: substitute s − a for s in the definition integral. The eat factor in the integrand combines with e−st to give e−(s−a)t, which is exactly the integral for F(s−a). This theorem lets you handle transforms like ℒ{e2tsin(3t)} without computing any new integral from scratch: it equals the sin transform with s replaced by s−2, giving 3/((s−2)2+9).

The Second Shift Theorem (t-Shifting) and the Heaviside Function

The Heaviside step function uc(t) is defined as 0 for t < c and 1 for t ≥ c. It models a switch that turns on at time c. Its transform is:

Heaviside Transform and Second Shift Theorem
ℒ{uc(t)} = e−cs/s

ℒ{uc(t)⋅f(t−c)} = e−csF(s)

In words: a time-delay of c in the t-domain corresponds to multiplication by e−cs in the s-domain. This is what makes Laplace transforms invaluable for piecewise and switched forcing functions in engineering.

§ 04Complete Transform Table

These are the entries you will need for the vast majority of undergraduate ODE problems. The first column is the time-domain function f(t); the second is its Laplace transform F(s) = ℒ{f(t)}.

f(t)   (t ≥ 0) F(s) = ℒ{f(t)} Conditions / notes
▶ Constants and Powers
11/ss > 0
t1/s2s > 0
t22/s3s > 0
tnn!/sn+1s > 0, n = 0,1,2,…
t1/2π1/2/(2s3/2)Uses Γ(3/2) = π1/2/2
▶ Exponentials
eat1/(s−a)s > a
t⋅eat1/(s−a)2s > a
tneatn!/(s−a)n+1s > a, n = 0,1,2,…
▶ Trigonometric
sin(ωt)ω/(s22)s > 0
cos(ωt)s/(s22)s > 0
t⋅sin(ωt)2ωs/(s22)2s > 0
t⋅cos(ωt)(s2−ω2)/(s22)2s > 0
▶ Damped Oscillations (First Shift)
eatsin(ωt)ω/((s−a)22)s > a
eatcos(ωt)(s−a)/((s−a)22)s > a
▶ Hyperbolic
sinh(at)a/(s2−a2)s > |a|
cosh(at)s/(s2−a2)s > |a|
▶ Special Functions
uc(t)  (Heaviside)e−cs/sc ≥ 0
δ(t)  (Dirac delta)1unit impulse at t = 0
δ(t−c)e−csimpulse at t = c
▶ Derivative Rules
f′(t)sF(s) − f(0)
f″(t)s2F(s) − sf(0) − f′(0)
f(n)(t)snF(s) − sn−1f(0) − ⋯ − f(n−1)(0)
▶ Other Operational Rules
t⋅f(t)−F′(s)differentiate the transform
f(t)/ts F(u) duintegrate the transform
(f*g)(t)  (convolution)F(s)⋅G(s)see §06
How to use this table in reverse When you need the inverse Laplace transform ℒ−1{F(s)}, you read the table backwards: identify the pattern in F(s) and write down the corresponding f(t). The most common challenge is manipulating F(s) algebraically — completing the square, partial fractions — until it matches a table entry. Sections §05 and §06 cover those techniques.

§ 05Solving IVPs — The Four-Step Method

Every Laplace transform solution follows the same four steps. Master the pattern and you can solve any constant-coefficient linear IVP.

The Four Steps
1. Apply ℒ{ } to both sides of the ODE
2. Use derivative rules to replace y′, y″ with Y(s) — initial conditions appear automatically
3. Solve the resulting algebra for Y(s)
4. Find y(t) = ℒ−1{Y(s)} using the table (and partial fractions if needed)

Partial Fractions in the s-Domain

After Step 3, Y(s) is almost always a rational function: a ratio of polynomials in s. Step 4 requires writing this as a sum of simpler fractions that match table entries. The rules are exactly those from the partial fractions section of integration, applied to the variable s instead of x.

The three cases that arise most often:

Partial Fraction Patterns in the s-Domain
Linear factor:   A/(s−a)   ⇋   Aeat

Repeated linear:   A/(s−a) + B/(s−a)2   ⇋   Aeat + Bteat

Irreducible quad.:   (As+B)/(s22)   ⇋   A⋅cos(ωt) + (B/ω)⋅sin(ωt)

When the quadratic is shifted (of the form (s−a)2 + ω2) complete the square first, then use the damped oscillation entries in the table.

§ 06Worked Examples

Twelve fully solved problems: forward transforms, inverse transforms, first-order IVPs, second-order IVPs, repeated roots, complex roots, and a Heaviside forcing function.

Example 1 Direct transform using linearity

Find ℒ{3 − 2t + 4e5t − 7sin(2t)}.

Apply linearity — transform term by term
ℒ{3} = 3/s ℒ{−2t} = −2⋅(1/s2) = −2/s2 ℒ{4e5t} = 4/(s−5) ℒ{−7sin(2t)} = −7⋅2/(s2+4) = −14/(s2+4)
Sum the results
F(s) = 3/s − 2/s2 + 4/(s−5) − 14/(s2+4)
F(s) = 3/s − 2/s² + 4/(s−5) − 14/(s²+4)
Example 2 First shift theorem — ℒ{e2tcos(3t)}

Find ℒ{e2tcos(3t)}.

Identify the base transform: ℒ{cos(3t)} = s/(s²+9)
Apply first shift theorem: replace s with (s−2)
ℒ{e2tcos(3t)} = (s−2)/((s−2)2+9)
F(s) = (s−2) / ((s−2)² + 9)
Example 3 Inverse transform — partial fractions (distinct linear factors)

Find ℒ−1{(2s+8)/((s+1)(s+3))}.

Partial fractions: write (2s+8)/((s+1)(s+3)) = A/(s+1) + B/(s+3)
2s+8 = A(s+3) + B(s+1)
Set s = −1:   6 = 2A → A = 3
Set s = −3:   2 = −2B → B = −1
Invert each term
−1{3/(s+1)} = 3e−t −1{−1/(s+3)} = −e−3t
f(t) = 3e−t − e−3t
Example 4 Inverse transform — completing the square

Find ℒ−1{(s+3)/(s2+6s+13)}.

Complete the square in the denominator
s2+6s+13 = (s+3)2 + 4
Rewrite F(s)
F(s) = (s+3) / ((s+3)2+4)
Match to ℒ{eatcos(ωt)} = (s−a)/((s−a)²+ω²) with a = −3, ω = 2
f(t) = e−3tcos(2t)
f(t) = e−3t cos(2t)
Example 5 First-order IVP

Solve: y′ + 3y = 6et,   y(0) = 1

Step 1 — Transform both sides
[sY − y(0)] + 3Y = 6/(s−1) (s+3)Y − 1 = 6/(s−1)
Step 2 — Solve for Y(s)
Y(s) = 6/[(s−1)(s+3)] + 1/(s+3)
Step 3 — Partial fractions on 6/[(s−1)(s+3)]
6/[(s−1)(s+3)] = A/(s−1) + B/(s+3) s=1: 6=4A → A=3/2.   s=−3: 6=−4B → B=−3/2
Step 4 — Combine and invert
Y(s) = (3/2)/(s−1) + (−3/2)/(s+3) + 1/(s+3) = (3/2)/(s−1) − (1/2)/(s+3) y(t) = (3/2)et − (1/2)e−3t
y(t) = (3/2)et − (1/2)e−3t
Example 6 Second-order IVP — distinct real roots

Solve: y″ − 5y′ + 6y = 0,   y(0) = 1,   y′(0) = 2

Transform: ℒ{y″} = s²Y − sy(0) − y′(0)
[s2Y − s⋅1 − 2] − 5[sY − 1] + 6Y = 0 Y(s2−5s+6) = s + 2 − 5 = s − 3
Solve for Y(s)
Y(s) = (s−3)/[(s−2)(s−3)] = 1/(s−2)
Invert
y(t) = e2t The factor (s−3) cancelled, leaving a clean single-term answer.
y(t) = e2t
Example 7 Second-order IVP — complex roots (oscillation)

Solve: y″ + 4y = 0,   y(0) = 3,   y′(0) = −2

Transform
[s2Y − 3s + 2] + 4Y = 0 Y(s2+4) = 3s − 2 Y(s) = (3s−2)/(s2+4)
Split and match to table entries (ω = 2)
Y(s) = 3⋅s/(s2+4) − (2/2)⋅2/(s2+4)
Invert
y(t) = 3cos(2t) − sin(2t)
y(t) = 3cos(2t) − sin(2t)
Example 8 Second-order IVP — non-homogeneous with exponential forcing

Solve: y″ + 2y′ + y = e−t,   y(0) = 0,   y′(0) = 0

Transform (zero initial conditions simplify things)
s2Y + 2sY + Y = 1/(s+1) Y(s+1)2 = 1/(s+1) Y(s) = 1/(s+1)3
Match to ℒ{tneat} = n!/(s−a)n+1 with a = −1, n = 2
1/(s+1)3 = (1/2!) ⋅ 2!/(s+1)3 = (1/2)⋅ℒ{t2e−t}
Invert
y(t) = (1/2)t2e−t
y(t) = (t²/2)e−t
Example 9 Second-order IVP — sinusoidal forcing (resonance check)

Solve: y″ + 9y = 18cos(3t),   y(0) = 0,   y′(0) = 0

Transform
s2Y + 9Y = 18s/(s2+9) Y(s) = 18s / [(s2+9)2]
Match to ℒ{t⋅sin(ωt)} = 2ωs/(s²+ω²)2 with ω = 3
18s/(s2+9)2 = 3⋅[2⋅3⋅s/(s2+9)2] = 3⋅ℒ{t⋅sin(3t)}
Invert
y(t) = 3t⋅sin(3t) This is resonance: the forcing frequency equals the natural frequency, causing amplitude to grow linearly with time.
y(t) = 3t sin(3t)
Example 10 Heaviside step function — switched forcing

Solve: y′ + 2y = uπ(t),   y(0) = 0   where uπ is the Heaviside function that switches on at t = π.

Transform: ℒ{uπ(t)} = e−πs/s
sY − 0 + 2Y = e−πs/s Y(s) = e−πs / [s(s+2)]
Partial fractions on 1/[s(s+2)] = A/s + B/(s+2)
A = 1/2,   B = −1/2 −1{1/[s(s+2)]} = (1/2) − (1/2)e−2t = g(t)
Apply second shift: the e−πs factor means g is delayed by π
y(t) = uπ(t)⋅g(t−π) y(t) = uπ(t)⋅[(1/2) − (1/2)e−2(t−π)] For t < π: y = 0. For t ≥ π: y = (1/2)(1 − e−2(t−π)).
y(t) = uπ(t) ⋅ (1/2)(1 − e−2(t−π))
Example 11 Dirac delta — impulsive forcing

Solve: y″ + 3y′ + 2y = δ(t−1),   y(0) = 0,   y′(0) = 0

Transform: ℒ{δ(t−1)} = e−s
s2Y + 3sY + 2Y = e−s Y(s) = e−s/[(s+1)(s+2)]
Partial fractions on 1/[(s+1)(s+2)] = 1/(s+1) − 1/(s+2)
−1{1/[(s+1)(s+2)]} = e−t − e−2t = g(t)
Apply second shift theorem (delay by 1)
y(t) = u1(t)⋅g(t−1) = u1(t)[e−(t−1) − e−2(t−1)]
y(t) = u1(t)[e−(t−1) − e−2(t−1)]
Example 12 Convolution theorem

Use the convolution theorem to find ℒ−1{1/[s(s2+1)]}.

Write as a product of two transforms
F(s)⋅G(s) = (1/s)⋅(1/(s2+1)) f(t) = 1,   g(t) = sin(t)
Convolution: (f*g)(t) = ∫0t f(τ)g(t−τ) dτ
= ∫0t 1⋅sin(t−τ) dτ = [cos(t−τ)]0t = cos(0) − cos(t) = 1 − cos(t)
−1{1/[s(s²+1)]} = 1 − cos(t)

Cross-check: partial fractions gives 1/s − s/(s²+1), so ℒ−1 = 1 − cos(t). ✓

§ 07The Convolution Theorem

Convolution lets you invert a product of transforms without using partial fractions, and it has deep physical meaning as a weighted running average.

The convolution of two functions f and g is defined as:

Convolution Definition
(f * g)(t) = ∫0t f(τ)⋅g(t−τ) dτ

Note that f * g = g * f (convolution is commutative), so you can choose whichever ordering makes the integral easier to compute.

Convolution Theorem
ℒ{(f*g)(t)} = F(s)⋅G(s)

equivalently:   −1{F(s)⋅G(s)} = (f*g)(t)

The theorem tells you: multiplication in the s-domain corresponds to convolution in the t-domain. This is analogous to how the Fourier transform converts convolution into pointwise multiplication in the frequency domain, in fact it is the same fundamental idea.

When to use convolution. If partial fractions would be messy but you can recognise F(s) and G(s) as individual table entries, the convolution integral is often cleaner. It also appears naturally in the analysis of linear systems: if H(s) is the transfer function of a system and X(s) is the input, then Y(s) = H(s)X(s), so the output y(t) is the convolution of the impulse response h(t) with the input x(t).

Physical interpretation of convolution In a linear system, the output at time t is the weighted sum of all past inputs, where the weighting is given by the impulse response h(t−τ). Older inputs (large t−τ) receive less weight if the impulse response decays. This is exactly how a spring-mass system or an RC circuit processes a time-varying input — the current state depends on the entire history, not just the present moment.

§ 08Common Mistakes

⚠ Forgetting the initial-condition terms in the derivative formula The transform of y′ is sY(s) − y(0), not just sY(s). The transform of y″ is s²Y(s) − sy(0) − y′(0), not s²Y(s). Dropping these initial value terms is the single most common error. Write the full derivative formula at the start of every problem before substituting.
⚠ Confusing ℒ{sin(ωt)} and ℒ{cos(ωt)} ℒ{sin(ωt)} = ω/(s²+ω²) has ω on the numerator. ℒ{cos(ωt)} = s/(s²+ω²) has s on the numerator. If you swap them, your inverse transforms will be wrong. Use the quick check: cos(0) = 1, and the s-numerator form at t = 0 gives the inverse corresponding to value 1 ✓.
⚠ Applying Laplace to equations without constant coefficients The standard Laplace method works cleanly for linear ODEs with constant coefficients. For variable-coefficient equations like ty″ + y = 0, the transform produces more complicated expressions involving derivatives of Y(s), and the method becomes much harder. Stick to constant-coefficient problems unless you have studied the extended theory.
⚠ Incomplete partial fractions before inverting Before taking the inverse transform, Y(s) must be fully decomposed into terms that appear in the table. A common shortcut mistake is to invert a fraction like 1/(s+1)(s+2) directly as a product — this is wrong. Always decompose into A/(s+1) + B/(s+2) first.
⚠ Dropping the Heaviside factor uc(t) in the inverse When you apply the second shift theorem, the answer is uc(t)⋅f(t−c), not just f(t−c). The Heaviside function is essential: it enforces that the delayed term is zero for t < c. Omitting it gives a function that is nonzero before the switch turns on, which is physically nonsensical.

§ 09Practice Quiz — 10 Questions

Test your mastery of forward transforms, inverse transforms, derivative rules, and solving IVPs.

Score: 0 / 0
Question 1 — Definition

The Laplace transform is defined as ℒ{f(t)} = ∫0 f(t) ⋅ _____ dt. What fills the blank?

Question 2 — Basic Transform

ℒ{e7t} = 1/(s − k). What is k?

Use ℒ{eat} = 1/(s−a). What is a here?
Question 3 — Derivative Rule

If Y(s) = ℒ{y(t)}, which expression equals ℒ{y″(t)}?

Question 4 — Power Transform

ℒ{t3} = k/s4. What is k?

Use ℒ{tn} = n!/sn+1 with n = 3.
  1. ℒ{t3} = 3!/s4 = 6/s4
Question 5 — Inverse Transform

What is ℒ−1{4/(s2+16)}?

  1. ℒ{sin(ωt)} = ω/(s²+ω²). Here ω = 4.
  2. 4/(s²+16) = ℒ{sin(4t)}, so ℒ−1{4/(s²+16)} = sin(4t).
Question 6 — First Shift Theorem

ℒ{e−2tsin(5t)} = 5/((s+k)2+25). What is k?

ℒ{eatsin(ωt)} = ω/((s−a)²+ω²). What is a here?
Question 7 — Linearity

What is ℒ{5δ(t) + 3et}?

  1. ℒ{δ(t)} = 1, so ℒ{5δ(t)} = 5
  2. ℒ{et} = 1/(s−1), so ℒ{3et} = 3/(s−1)
  3. Answer: 5 + 3/(s−1)
Question 8 — Solving a First-Order IVP

Apply Laplace to y′ − 4y = 0, y(0) = 3. The solution is y(t) = Ce4t. What is C?

  1. Transform: sY − 3 − 4Y = 0
  2. Y(s−4) = 3 → Y = 3/(s−4)
  3. Invert: y(t) = 3e4t, so C = 3
Question 9 — Convolution Theorem

The convolution theorem states that ℒ{(f*g)(t)} equals:

Question 10 — Full IVP

Solve y″ + y = 0, y(0) = 0, y′(0) = 4. The solution is y(t) = A⋅sin(t). What is A?

Transform: s²Y − sy(0) − y′(0) + Y = 0. Substitute y(0) = 0, y′(0) = 4.
  1. ℒ{y″} + ℒ{y} = 0:   (s²Y − 0⋅s − 4) + Y = 0
  2. Y(s²+1) = 4 → Y = 4/(s²+1)
  3. ℒ{sin(t)} = 1/(s²+1), so Y = 4⋅ℒ{sin(t)}
  4. y(t) = 4sin(t), so A = 4

§ 10What to Study Next

Laplace transforms round off the core first and second-order ODE toolkit. From here, two natural directions open up:

  • Variation of Parameters: a completely general method for non-homogeneous second-order ODEs when undetermined coefficients fails.
  • Power Series, series solutions to ODEs with variable coefficients (Frobenius method), the tool for equations like Bessel's and Legendre's.
  • Partial Fractions: sharpen this technique as it is the bottleneck in almost every Laplace inversion.
  • Partial Derivatives, prerequisite for partial differential equations (PDEs), where Laplace transforms in time are used alongside Fourier series in space.

Cookie Settings