You've probably asked yourself why the Laplace transform is in the Differential Equations section. The answer is simple: because we can solve initial-value problems with the help of the Laplace transform.
Let's see how it is done.
Example 1. Solve y′′+4y=t, y(0)=0, y′(0)=0.
The first step is always to take the Laplace transform of both sides.
That's all. For linear differential equations, it is always the case that we take the Laplace transform, algebraically find Y(s), and take the inverse transform to obtain the solution.
Also, it is easier to solve IVPs that involve a step function or a Dirac function with Laplace transforms.
Example 2. Solve y′′+y′=u1(t), y(0)=0, y′(0)=0.
Take the Laplace transform
L(y′′)+L(y′)=L(u1(t)),
Or
(s2Y(s)−sy(0)−y′(0))+(sY(s)−y(0))=se−s.
Applying the initial conditions gives:
s2Y(s)+sY(s)=se−s or Y(s)=e−ss2(s+1)1.
The partical fraction decomposition for s2(s+1)1 is s21−s1+s+11.
Of course, we could rewrite the Heaviside function by definition and solve the differential equation on each interval separately, but this would require a greater amount of work.
Now, let's consider one more example.
Example 3. Calculate y′′+y′=t, y(2)=0, y′(2)=0.
Notice that the initial conditions are not at 0. In order to use the Laplace transform, we need the initial conditions to be at 0. For this, use the change of variable: let a=t−2; then:
y′′(a+2)+y′(a+2)=a+2, y(0)=0, y′(0)=0.
To simplify the expression, let y(a+2)=u(a); then, y′(a+2)=u′(a), and y′′(a+2)=u′′(a); so, the equation can be rewritten as:
u′′+u′=a+2, u(0)=0, u′(0)=0.
Now, we can use the Laplace transform:
L(u′′)+L(u′)=L(a)+L(2)
s2U(s)−su(0)−u′(0)+sU(s)−u(0)=s21+s2
Applying the initial conditions gives:
U(s)=s2+ss21+s2=s3(s+1)2s+1
The partial fraction decomposition is (verify!): s31+s21+s+11−s1.
So, u(a)=L−1(s31+s21+s+11−s1)=L−1(21s32+s21+s+11−s1)=21a2+a+e−a−1.
However, we need y(t), not u(a). Recall that y(t)=y(a+2)=u(a)=u(t−2); so,
y(t)=21(t−2)2+t−2+e−(t−2)−1=21t2−t−1+e2−t.
The Laplace transform can be used to solve linear equations with non-constant coefficients. In general, it is very hard to solve them, and the Laplace transform can rarely help, however such cases do exist.