A832 of 55
0 XP
  1. Hook
  2. Play
  3. Predict
  4. Name it
  5. Check
  6. Explain

A8 · Lesson 32 · Laplace transforms

Turning a differential equation and its starting values into algebra

Phasors turned a driven equation into algebra, but only for the steady state, and only for sinusoids. The Laplace transform does the same for the whole response, transient included, for steps, ramps, exponentials and switched inputs alike. Derivatives become multiplication by s, and the initial conditions enter the algebra by themselves, so there's no separate step of fitting constants. It's how circuit textbooks solve switching problems and how control engineers think about every system.

  • The curve solves y¨+3y˙+2y=0 for the initial position and velocity you set.
  • In the Laplace domain this is Y(s)=(s+3)y0+v0(s+1)(s+2), and partial fractions give the two exponentials.
  • Set v0=−2y0: the slow mode's coefficient 2y0+v0 vanishes and only e−2t is left, so the curve falls faster.

Predict

The transform of y˙ is sY(s)−y(0). What happens to the initial condition when you transform y˙+2y=0 with y(0)=3?

Name it

The transform

ℒ{f}=F(s)=∫0∞f(t)e−stdt

The integral converges for s large enough, which is all the method needs. A short table covers most engineering problems:

f(t)F(s)
1 (a step)1s
tnn!sn+1
eat1s−a
cos⁡ωtss2+ω2
sin⁡ωtωs2+ω2
eatf(t)F(s−a)

Derivatives

Integrating by parts gives the rule that makes the method work:

ℒ{y˙}=sY−y(0),ℒ{y¨}=s2Y−sy(0)−y˙(0)

The method

  1. Transform the equation, initial conditions included.
  2. Solve the algebra for Y(s).
  3. Break Y(s) into partial fractions, each one in the table.
  4. Read off y(t) term by term.

The denominator's roots are the system's characteristic roots: they set the natural response, and the input's own poles set the forced one.

Final value theorem

If y(t) settles, its final value is lims→0⁡sY(s): you can find where a system ends up without inverting anything. It doesn't apply if sY(s) has a pole on or to the right of the imaginary axis, since then y doesn't settle.

Worked example

Solve y˙+2y=4 with y(0)=1.

Show the solution
  1. Transform. sY−1+2Y=4s
  2. Solve for Y and split it. Use partial fractions (multiply by s and set s=0 for the first coefficient; multiply by s+2 and set s=−2 for the second): Y=s+4s(s+2)=2s−1s+2
  3. Invert. y=2−e−2t It starts at 1 and rises to 2.

Answer y=2−e−2t, rising from 1 to 2.

Worked example

Solve y¨+3y˙+2y=0 with y(0)=1, y˙(0)=0.

Show the solution
  1. Transform. s2Y−s+3(sY−1)+2Y=0 so (s2+3s+2)Y=s+3.
  2. Partial fractions. Y=s+3(s+1)(s+2)=2s+1−1s+2
  3. Invert. y=2e−t−e−2t
  4. Check. y(0)=1 and y˙(0)=−2+2=0. The initial conditions were never fitted; they came in with the transform.

Answer y=2e−t−e−2t.

Worked example

Solve y¨+3y˙+2y=4 from rest, and find y(1) and the final value.

Show the solution
  1. Transform. From rest, (s2+3s+2)Y=4s
  2. Partial fractions. Y=4s(s+1)(s+2)=2s−4s+1+2s+2
  3. Invert. y=2−4e−t+2e−2t
  4. Evaluate at t=1. y(1)=2−1.472+0.271=0.799
  5. Final value. The final value theorem gives it directly, matching the constant term: lims→0⁡sY=42=2

Answer y=2−4e−t+2e−2t, with y(1)=0.799 and a final value of 2.

Check

What is ℒ{e−2t} at s = 3?

Check

What is ℒ{sin⁡2t} at s = 1?

Check

y˙+3y=10 with y(0) = 1. What does the final value theorem give?

Check

Write 1(s+1)(s+3)=As+1+Bs+3. What is A?

Check

Transform y¨+3y˙+2y=0 with y(0) = 1 and y˙(0) = 0.

(a)

What is the coefficient of e−t in y?

(b)

And of e−2t?

Check

Solve y˙+ay=1 from y(0)=0 with the Laplace transform.

Step 1

Y=1s(s+a)=As+Bs+a. What is A?

Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.

Check

Invert Y(s)=s+3(s+1)(s+2)(s+4) by residues: find the roots of the denominator with np.roots, compute each residue N(p)D′(p), and set res to the residues (in the order of the roots −1,−2,−4) and y1 to y(1).

Python 3.14 with numpy and matplotlib, running in your browser. Tab indents; press Esc and then Tab to move on.

Explain why

Why does the Laplace transform turn differentiation into multiplication by s?

Practice

Keep practicing

7 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.