Skip to content
Tutorials Center
My learning

Topics

Lesson 15 of 39 ยท Laplace Transforms

The Laplace Transform

Learn the Laplace transform definition, compute transforms from the integral, use linearity, shifting and derivative rules, and build a transform table, checked with SymPy.

The methods of chapter 3 work well for constant coefficients and simple forcing, but become awkward when the forcing switches on and off, includes sudden kicks, or when initial conditions must be tracked through several steps. The Laplace transform is a different strategy: convert the differential equation into an algebraic one, solve the algebra, and convert back. Differentiation in time becomes multiplication by s, and initial conditions enter automatically.

Engineers call this the foundation of control theory and circuit analysis. This lesson defines the transform and builds the toolkit of rules; the next ones invert it and solve equations.

Definition

For a function f(t) defined for t >= 0, its Laplace transform is

F(s) = L{f}(s) = integral from 0 to infinity of e**(-s*t)*f(t) dt.

The integral turns a function of time into a function of the complex (here usually real) variable s. It converges when f does not grow faster than an exponential: if |f(t)| <= M*e**(a*t), the transform exists for s > a. All the functions in this course (polynomials, exponentials, sines, cosines and products of them) qualify.

Basic transforms from the definition

  • L{1} = integral of e**(-s*t) dt = 1/s, for s > 0.
  • L{e**(a*t)} = integral of e**(-(s - a)*t) dt = 1/(s - a), for s > a.
  • L{t} = 1/s**2; more generally L{t**n} = n!/s**(n + 1) (integrate by parts).
  • L{sin(w*t)} = w/(s**2 + w**2) and L{cos(w*t)} = s/(s**2 + w**2).
Python Transforms from the integral definition

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Linearity

The transform is linear: L{a*f + b*g} = a*F + b*G. So L{3*t**2 - 5*e**(-t)} = 6/s**3 - 5/(s + 1). This is the first reason it is useful: it respects the same linear structure as the equations.

The key property: transforming derivatives

Integrating by parts, L{f'} = integral of e**(-s*t)*f' dt = [e**(-s*t)*f]_0^infinity + s*integral of e**(-s*t)*f dt, so

L{f'} = s*F(s) - f(0).

Apply it again for the second derivative:

L{f''} = s**2*F(s) - s*f(0) - f'(0).

Calculus becomes algebra, and the initial values f(0), f'(0) appear automatically in the transformed equation, with no constants C1, C2 to fit afterward.

Why Laplace works

ODE in t hard calculus
Transform t becomes s
Algebra in s solve for Y(s)
Invert back to y(t)

Derivatives turn into multiplication by s

1 / 2

Shifting theorems

First shift (multiplying by an exponential shifts s): L{e**(a*t)*f(t)} = F(s - a). For example L{e**(-2*t)*sin(3*t)} = 3/((s + 2)**2 + 9).

Second shift (delaying in time) involves the unit step and is covered in step functions and impulses: L{u(t - c)*f(t - c)} = e**(-c*s)*F(s).

Multiplication by t: L{t*f(t)} = -F'(s). So L{t*sin(w*t)} = -d/ds [w/(s**2 + w**2)] = 2*w*s/(s**2 + w**2)**2.

Python Verify the rules

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

A transform table you will use constantly

f(t) F(s)
1 1/s
t**n n!/s**(n+1)
e**(a*t) 1/(s - a)
sin(w*t) w/(s**2 + w**2)
cos(w*t) s/(s**2 + w**2)
e**(a*t)*sin(w*t) w/((s - a)**2 + w**2)
e**(a*t)*cos(w*t) (s - a)/((s - a)**2 + w**2)
t*e**(a*t) 1/(s - a)**2
sinh(w*t), cosh(w*t) w/(s**2 - w**2), s/(s**2 - w**2)

You can derive any entry from the definition and the shifting rules; with practice you remember about ten.

Existence and uniqueness

If the transform exists, F(s) -> 0 as s -> infinity. So F(s) = s or F(s) = 1 can never be a Laplace transform of an ordinary function (the unit impulse, a generalized function, has transform 1). Two continuous functions with the same transform are equal, so the inverse is well-defined, which is what makes the method rigorous.

Python Numerical check of the definition

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Check your understanding

Quick check ยท 4 questions

of 4 answered You scored / 4 ยท perfect!

  1. 1. L{e**(3t)} equals

    The integral of e**(-(s-3)t) from 0 to infinity is 1/(s - 3) for s > 3.
  2. 2. L{f''} equals

    Apply the derivative rule twice: L{f''} = s L{f'} - f'(0) = s(sF - f(0)) - f'(0).
  3. 3. L{e**(-t) cos(2t)} equals

    By the first shift theorem, replace s by s + 1 in s/(s**2 + 4).
  4. 4. Why can F(s) = s not be a Laplace transform of an ordinary function?

    For ordinary (exponential-order) functions F(s) tends to 0 as s tends to infinity.

Summary

  • L{f}(s) = integral from 0 to infinity of e**(-s t) f(t) dt converts time functions to functions of s.
  • The transform is linear; first shift: e**(a t) f(t) -> F(s - a).
  • L{f'} = sF - f(0) and L{f''} = s**2 F - s f(0) - f'(0): differentiation becomes algebra with initial values built in.
  • A short table (powers, exponentials, sin, cos, shifted versions) covers most problems.
  • Valid transforms decay as s -> infinity.

Next: Inverse Transforms and Partial Fractions