Given that in part (a) of this problem we were asked to compute the Laplace transform of f(t), it stands to reason that using Laplace transforms will be a good way to solve this problem. We begin by taking the Laplace transform of the entire differential equation. We can do this because the Laplace Transform is a linear operator, i.e.
Taking the Laplace transform, we get
Define the following
From part (a), we have that
If we look at the table at the back of the exam we can retrieve the Laplace transforms for derivatives (of course we could also compute these if we needed to). We see that the general rule for the Laplace transform of the nth derivative of a function, g(t) is
and therefore we can write
where we have used that and as given in the question. Substituting these expressions into the original differential equation we get,
Simplifying this expression we get
which we can solve for Y(s)to get
where we have factored the quadratic. While it may look like we have solved the problem, we need to present the solution in terms of y(t), the original function. To do this we need to compute the inverse Laplace transform of Y(s). While we could attempt to do this manually using the formula for inverse Laplace transforms, we should attempt to put it in a form where we can use the chart at the end of the exam. Once again, the inverse Laplace transform is a linear operator so we have
and we can compute these two quantities separately. We will start with the second inverse Laplace transform. Looking at our chart at the end of the exam we see an inverse Laplace transform for functions of the form
However, our problem has a product of linear terms in the denominator and this suggests that we split our problem up using partial fraction decomposition. Doing this we get
We now have this in a form where we can apply the inverse Laplace transform but we will do that at the end. We now focus on the first term,
Now there are several ways we can proceed. One way is to consider
and then our term looks like F(s)G(s). We could then invert this using the convolution identity
While this is valid, it could lead to confusion since f(t) is piecewise defined and so we would have to be careful about the different cases that come out of the integration. Another way we can do the inversion is to include the 1/s terms in F(s) along with the other linear terms in the denominator of G(s). In this way we write
where we now define
The advantage of this form is that the table at the end of the exam lists
where u_c is the Heaviside function defined as
We can use this identity if we once again write G(s) using partial fraction decomposition. Doing this we get
We can now return to the full problem and actually compute the various inverse Laplace transforms using these identities.
where
Notes:
Had we decided to use the convolution identity we would get the same results, we would just have to either explicitly write down the different cases or we would need to independently identify the different Heaviside functions that are appearing.
There are two handy things we can confirm to at least give us some confidence in our solution. Firstly, if we substitute in t=0 then we can easily see that both of the initial conditions are satisfied. Secondly, if t<1 then the source term f(t) contributes nothing and so we have
which we can verify, by direct substitution or otherwise, solves the homogeneous problem.
Finally, if reading the Heaviside notation is awkward, we present the final solution in terms of cases: