Laplace Transform
The Laplace transform converts a time-domain function into a function of the complex variable . For linear initial value problems, it turns differentiation into algebra and carries initial conditions into the transformed equation automatically. That is why it is a standard tool for circuits, mechanical vibrations, control systems, discontinuous inputs, and impulses.
The transform is also a way of changing perspective. Time-domain convolution becomes multiplication, exponential decay becomes a shift in the -plane, and stability becomes a question about poles. The method is most effective when the system is linear and causal, meaning the behavior begins at and depends only on present and past input.
Definitions
The one-sided Laplace transform of is
where the integral converges for sufficiently large . The inverse transform recovers from when the transform is known.
Linearity is
Derivative formulas are
The unit step function is
The second shifting theorem is
The convolution of causal functions is
and
Key results
The standard transform method for a linear IVP is direct. Transform every term, insert initial conditions through the derivative formulas, solve for , decompose into recognizable pieces, and invert. The initial conditions are not applied after the inverse transform; they have already entered the algebra.
Some basic transforms are used constantly:
| Condition | ||
|---|---|---|
The first shifting theorem says
It moves the transform in the variable. The second shifting theorem, involving and , delays a signal in time. Confusing these two shifts is one of the most common Laplace errors.
The Dirac delta is an ideal impulse. It is used through the rule
Although is not an ordinary function, it models concentrated input. In mechanics, an impulse changes momentum instantaneously; in circuits, an impulse can idealize a very short voltage or current spike.
Partial fractions connect algebra back to time. Simple real poles produce exponentials. Repeated real poles produce polynomial multiples of exponentials. Irreducible quadratics produce sines and cosines. The pole locations therefore encode growth, decay, and oscillation before inversion is even performed.
The final value theorem, when its hypotheses hold, says
It is useful for stable systems, but it can fail when poles of lie in the right half-plane or on the imaginary axis, except for allowed simple behavior at the origin. Always check stability before using it.
Laplace methods are especially natural for piecewise forcing. A function that changes formula at should be rewritten in terms of with the shifted variable before applying the theorem. This rewriting step is where most mistakes occur. The expression must represent the original function for all relevant time intervals, not merely after the switch.
The transform is one-sided in most engineering ODE courses. The lower limit is , so the transform is matched to initial value problems and causal systems. This differs from the two-sided Fourier transform, which integrates over the entire real line and is better suited to steady signals and frequency spectra. The one-sided convention is why initial values appear naturally in derivative formulas.
Existence of the transform is often guaranteed by exponential order. A function is of exponential order if it grows no faster than a constant times for large . Many engineering inputs satisfy this condition even if they have jump discontinuities. Functions that grow faster than every exponential can fail to have a Laplace transform in the usual sense.
The variable combines decay and oscillation. Writing , the kernel damps the time signal and measures oscillatory content. Large positive improves convergence. Poles of mark the exponential and oscillatory components that appear in the inverse transform.
In system language, the Laplace transform of an impulse response is a transfer function. Multiplying an input transform by a transfer function gives the output transform. This turns a differential equation into an algebraic input-output relation. For a stable linear time-invariant system, the transfer function's poles lie in the left half-plane, so natural modes decay.
Step functions are not only for rectangular pulses. Any piecewise smooth input can be built from a base formula plus corrections that turn on at switching times. For example, if a forcing changes from to at , one can write
To use the second shifting theorem directly, the bracketed correction may then need to be rewritten as a function of .
The inverse transform is sometimes nonunique at isolated discontinuity points because transforms are integrals and do not detect the value of a function at a single point. This is why tables often define the Heaviside value at the jump by convention. For solving ODEs with piecewise continuous inputs, the left and right behavior is what matters.
Laplace transforms can solve systems as well as scalar equations. For ,
so
The matrix exposes the same eigenvalue poles that appear in the matrix exponential.
Visual
Worked example 1: Initial value problem
Problem. Solve
Method.
- Transform the equation:
- Use the derivative formula:
- Insert initial data:
- Factor:
- Solve for :
- Decompose:
- Invert term by term:
Answer.
Check. , , so . Also .
The answer has a clear physical interpretation. The constant forcing creates the static displacement , while the term is the transient needed to satisfy the zero initial displacement. Because the homogeneous equation is undamped, the transient does not decay. In a damped equation, the analogous homogeneous terms would usually disappear as grows.
Worked example 2: Delayed sinusoidal input
Problem. Find
Method.
- Identify the unshifted function:
- Its transform is
- The given function has the exact shifted form
with .
- Apply the second shifting theorem:
Answer.
Check. The factor represents a delay of time units. It is not the same as replacing by , which would represent multiplication by in time.
If the input had been , the theorem would not apply directly because the sine is not written as . One would rewrite and expand with angle formulas. This small algebra step is often the difference between a correct shift and an incorrect transform.
Code
import sympy as sp
t, s = sp.symbols("t s", positive=True)
Y = 1 / (s * (s**2 + 1))
print(sp.apart(Y, s))
print(sp.inverse_laplace_transform(Y, s, t))
delayed = sp.exp(-3 * s) / (s**2 + 1)
print(sp.inverse_laplace_transform(delayed, s, t))
The symbolic inverse of the delayed transform should contain a Heaviside function. Depending on software conventions, the value at the switching time may be represented differently. For ODE applications this single-point value usually does not affect the solution, but it matters in distribution-level identities.
Computer algebra is helpful for checking partial fractions, but it should not replace transform-table recognition. Software may return equivalent expressions using Heaviside, exponentials, or unevaluated inverse transforms. A good manual check is to transform the returned expression again and confirm that the original rational function and delay factors are recovered.
Common pitfalls
- Confusing first shifting with time shifting .
- Forgetting to include initial conditions in transformed derivatives.
- Applying the final value theorem without checking pole conditions.
- Performing partial fractions before simplifying enough to see cancellations.
- Writing a piecewise function with step functions but failing to use the shifted variable .
- Treating the Dirac delta as an ordinary finite-height function instead of an idealized impulse.
- Losing factors of when transforming integrals or derivatives.
- Ignoring the region of convergence when comparing transforms that have similar formulas.
- Treating the one-sided and two-sided transforms as interchangeable. Their derivative and shift formulas use different assumptions.
- Forgetting that a delayed signal is zero before the delay time, even if the unshifted formula is nonzero there.
- Using a table entry for or with the wrong frequency factor in the numerator.
- Cancelling algebraic factors without considering whether the cancellation hides an impulse or initial-condition contribution in a distributional formulation.
- Reporting as the final answer when the problem asked for the time-domain solution.
- Skipping units in transformed circuit equations.