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 , 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 for the initial position and velocity you set.
- In the Laplace domain this is , and partial fractions give the two exponentials.
- Set : the slow mode's coefficient vanishes and only is left, so the curve falls faster.
Predict
The transform of is . What happens to the initial condition when you transform with ?
It appears on the right: , so and . The initial condition behaves like an input, a charge already on the capacitor acting like a source, which is how the Laplace method handles it automatically.
Name it
The transform
The integral converges for large enough, which is all the method needs. A short table covers most engineering problems:
| 1 (a step) | |
Derivatives
Integrating by parts gives the rule that makes the method work:
The method
- Transform the equation, initial conditions included.
- Solve the algebra for .
- Break into partial fractions, each one in the table.
- Read off 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 settles, its final value is : you can find where a system ends up without inverting anything. It doesn't apply if has a pole on or to the right of the imaginary axis, since then doesn't settle.
Worked example
Solve with .
Show the solution
- Transform.
- Solve for and split it. Use partial fractions (multiply by and set for the first coefficient; multiply by and set for the second):
- Invert. It starts at 1 and rises to 2.
Answer , rising from 1 to 2.
Worked example
Solve with , .
Show the solution
- Transform. so .
- Partial fractions.
- Invert.
- Check. and . The initial conditions were never fitted; they came in with the transform.
Answer .
Worked example
Solve from rest, and find and the final value.
Show the solution
- Transform. From rest,
- Partial fractions.
- Invert.
- Evaluate at .
- Final value. The final value theorem gives it directly, matching the constant term:
Answer , with and a final value of 2.
Check
What is at = 3?
Check
What is at = 1?
Check
with = 1. What does the final value theorem give?
Check
Write . What is ?
Check
Transform with = 1 and = 0.
(a)
What is the coefficient of in ?
(b)
And of ?
Check
Solve from with the Laplace transform.
Step 1
. What is ?
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°.
Step 2
What is ?
Check
Invert by residues: find the roots of the denominator with np.roots, compute each residue , and set res to the residues (in the order of the roots ) and y1 to .
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 ?
The transform weights by , and is itself an eigenfunction of differentiation: . Integrating by parts moves the derivative onto the exponential, which brings out a factor , leaving times the transform of , plus a boundary term at , which is . So differentiating in time becomes multiplying by in the transform, and the initial value comes along as that boundary term. A linear equation with constant coefficients becomes a polynomial in multiplying , and solving it is algebra.
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.