4. Laplace transforms¶
There is a shorthand method for deriving the solutions of linear, constant-coefficient equations that have forcing functions such as steps, impulses, and elementary functions. Essentially, it is a trick for turning calculus into algebra.
Given (almost) any function \(f(t)\), there is a doppelgänger function \(F(s)\) defined by an integral.
The Laplace transform of a function \(f(t)\) is defined as
For the rest of this part of the text, time starts at \(t=0\), and any reference to \(f(t)\) for negative \(t\) is defined to be zero.
Attention
A common convention is that a lowercase function of \(t\) transforms to its uppercase namesake as a function of \(s\). You should assume this unless told otherwise.
Example
Use the definition of the Laplace transform to find \(\lx[t]\). (Assume that \(s\) is constrained in any way needed to make the integral converge.)
Solution
Using integration by parts,
The following important fact is easily proved using familiar properties of integrals.
The Laplace transform is a linear operator. That is,
where \(c\) is any constant.
4.1. Derivatives¶
Applying integration by parts to the definition of \(\lx[x'(t)]\) reveals the main reason Laplace transforms are useful in ODEs:
Example
Find the Laplace transform of the second derivative of a function: \(\lx[x''(t)]\).
Solution
It’s possible to do this by applying the integral definition of the Laplace transform. However, it’s a lot easier to do by twice applying the known transform formula of the first derivative. Suppose we let \(u(t)=x'(t)\). Then
Also
Thus,
Here is the plan of attack. Given an ODE \(x'-ax=f(t)\), we transform everything in sight to get
Now solve for the transform of the solution:
The last step is to compute the inverse transform, that is, find \(x(t)\) given a known \(X(s)\). This is a lot less straightforward than computing the forward transform, unfortunately. But we can make it manageable in much the same way you learned indefinite integration, by learning some canonical cases and then matching patterns.
4.2. Basic transforms¶
4.2.1. Exponential¶
We can find the transform of an exponential function from the transform definition. For any real number \(c\),
(To make this valid requires that \(c< s\), but we are going to ignore all such technicalities.)
An important special case is \(c=0\),
Example
Find the Laplace transform of the function \(\sinh(t)\).
Solution
This is easy if we use the linearity of \(\lx\) on the identity
We calculate
4.2.2. Step¶
Finding the transform of a step is also pretty easy:
A generalization of the same calculation results in a very important rule.
Example
Find the inverse transform of
Solution
Notice that \(X(s) = e^{-sT} Y(s)\), where \(Y(s)=1/(s-a)\). We see that \(y(t)=e^{at}\). By the shift theorem,
4.2.3. Impulse¶
To get the transform of an impulse, we can play the same game as before. The transform of our narrow window \(\delta_\epsilon\) is
Taking the limit as \(\epsilon\to 0\) gives the following.