Inverse Laplace and Applications
Solving initial value problems with transforms
In the previous chapter, we learned how to transform differential equations into algebraic equations using the Laplace transform. The original problem becomes easier to solve in the s-domain. But the answer we obtain is a function Y(s), and we need to get back to the time domain to find y(t).
This is where the inverse Laplace transform enters. We write:
The challenge is that directly computing this inverse requires contour integration in the complex plane. Instead, we rely on a more practical approach: decompose Y(s) into simpler pieces whose inverse transforms we already know.
Partial Fraction Decomposition
The key technique for inverting Laplace transforms is partial fraction decomposition. When Y(s) is a rational function (a ratio of polynomials), we can break it into a sum of simpler fractions, each of which corresponds to a known inverse transform.
Consider a typical result from solving an ODE:
where P(s) and Q(s) are polynomials. If the degree of P is less than the degree of Q, and Q factors into distinct linear factors, we can write:
Each simple fraction has a known inverse:
Interactive: Partial Fraction Decomposition
Given:
Step through the examples to see how we systematically decompose a rational function and then invert each piece. The final solution is the sum of exponentials, one for each pole of Y(s).
Finding the Coefficients
There are several methods for finding the coefficients in a partial fraction expansion.
Cover-up Method: For distinct linear factors, multiply both sides by one factor and then set s equal to the root. This "covers up" that factor and gives the coefficient directly.
For example, to find A in:
Multiply both sides by :
Set :
Repeated Roots: When Q(s) has a repeated factor like , the decomposition includes terms:
The inverse transforms are:
Complex Roots: Complex conjugate pairs like require completing the square and using the shift property. The inverse involves exponential decay (or growth) modulated by sines and cosines.
The Complete Laplace Method
Here is the full procedure for solving an initial value problem using Laplace transforms:
- Take the Laplace transform of both sides of the ODE
- Use the derivative properties to substitute initial conditions
- Solve algebraically for Y(s)
- Apply partial fractions to decompose Y(s)
- Invert each term using known transform pairs
- Combine to get y(t)
This method is particularly powerful for equations with discontinuous or impulsive forcing, where traditional methods struggle.
Interactive: Complete IVP Solution
Initial point: y(0) = 1, y'(0) = 0
Start with the IVP
Watch each step of the Laplace method unfold. Adjust the initial conditions to see how they appear in the algebraic manipulation and ultimately affect the solution.
Essential Transform Pairs
Here are the transform pairs you will use most often:
| f(t) | F(s) |
|---|---|
The last two pairs use the first shifting theorem: if , then:
Multiplying by an exponential in the time domain shifts the transform in the s-domain.
The Heaviside Step Function
Real systems do not always experience smooth forcing. A switch flips. A valve opens. A voltage suddenly turns on. To model these discontinuities, we introduce the Heaviside step function:
This function is zero until time , then jumps to one and stays there. It represents an instantaneous switch.
The Laplace transform of the delayed step function is:
More generally, the second shifting theorem states: if , then:
This means a delay in the time domain produces an exponential factor in the s-domain. When inverting, an exponential in F(s) indicates that the solution is delayed by units of time.
Interactive: Step Function Response
Input: H(t - a)
Output: System Response
The system starts at rest. When the step input turns on at , the output rises exponentially toward the new steady state of 1.
Watch how a first-order system responds when a step input suddenly turns on. The output cannot change instantaneously; it rises smoothly toward its new equilibrium. The delay in the step function translates to a delay in the response.
The Dirac Delta Function
If the Heaviside function models a sudden switch, the Dirac delta function models an instantaneous impulse. Think of striking a bell: an enormous force applied for an infinitesimally short time.
The delta function is not a function in the ordinary sense. It is defined by its action on other functions:
It "picks out" the value of f at . We think of it as an infinitely tall, infinitely narrow spike at with unit area.
The Laplace transform is beautifully simple:
For an impulse at the origin:
This is remarkable: the Laplace transform of an impulse is just 1. This makes delta functions extremely useful for understanding system behavior.
The Transfer Function
Consider a linear system described by an ODE with zero initial conditions. If we apply a unit impulse as input, the output is called the impulse response, denoted .
Taking the Laplace transform of both sides with zero initial conditions:
where is the transfer function. Since the Laplace transform of a unit impulse is 1:
The transfer function is simply the Laplace transform of the impulse response. It encodes everything about how the system responds to inputs:
- The poles of determine stability and oscillation behavior
- The zeros of affect the shape of the response
- Engineers use transfer functions to design controllers, filters, and feedback systems
Interactive: Impulse Response and Transfer Function
Input: Impulse
Impulse Response h(t)
Response type: Underdamped
Transfer function:
The impulse response h(t) is the system's output when given a unit impulse input. The transfer function H(s) is simply the Laplace transform of h(t). Once you know h(t), you can find the response to any input via convolution.
Adjust the damping ratio to see how the impulse response changes from oscillatory to smooth decay. The transfer function remains the same algebraic form, but the pole locations change, fundamentally altering the time-domain behavior.
Convolution
Once we know the impulse response , we can find the response to any input using convolution:
The idea is elegant: any input can be thought of as a sum of weighted, delayed impulses. The response to each is a weighted, delayed copy of the impulse response. Integration sums them all up.
In the s-domain, convolution becomes multiplication:
This is why transfer functions are so powerful. To find the output Y(s), simply multiply the input F(s) by the transfer function H(s).
Interactive: Convolution
Convolution Integral
Output y(t) = (f * h)(t)
The shaded area equals the output value at time tau. As tau increases, the flipped impulse response slides across the input, and the accumulated area traces out the output curve.
Watch the convolution integral in action. As time advances, the flipped impulse response slides across the input, and the accumulated product area traces out the output. This mechanical interpretation makes convolution intuitive.
Solving ODEs with Discontinuous Forcing
The real power of Laplace transforms appears when the forcing function is discontinuous. Consider:
with and .
This represents a force that turns on at and off at . Taking the Laplace transform:
Apply partial fractions to :
The inverse transform, accounting for the exponential delays:
The solution is piecewise: zero until the force turns on, then oscillating, and eventually returning to a different pattern after the force turns off.
Systems of Differential Equations
The Laplace method extends naturally to systems. For a system:
Taking the Laplace transform:
The matrix is called the resolvent of . Inverting it and taking inverse Laplace transforms gives the solution.
Why Engineers Love This Method
The Laplace transform is ubiquitous in engineering because:
-
Initial conditions are built in: No need to solve the homogeneous equation separately and then match conditions.
-
Discontinuous forcing is natural: Step functions, pulses, and impulses are handled seamlessly.
-
Transfer functions enable modular design: Complex systems can be analyzed by combining simpler blocks.
-
Stability analysis: Poles in the right half-plane mean instability; this is visible directly from H(s).
-
Frequency response: Evaluating gives the system's response to sinusoidal inputs at frequency .
Control theory, signal processing, and circuit analysis all rely heavily on Laplace transform techniques.
Key Takeaways
- The inverse Laplace transform converts Y(s) back to y(t), completing the solution process
- Partial fraction decomposition breaks rational functions into simple terms with known inverses
- The Heaviside step function models sudden switches; its transform is
- The Dirac delta function models impulses; its transform is
- The transfer function is the Laplace transform of the impulse response and completely characterizes a linear system
- Convolution gives the response to any input once the impulse response is known; in the s-domain, convolution becomes multiplication
- The shifting theorems handle exponential factors and time delays: in time shifts F(s) to F(s-a), while delay by multiplies by
- This method excels at discontinuous and impulsive forcing, where classical methods struggle