Warning. All questions below are non-trivial.
Section A (48 marks)
Each question in this section is worth 8 marks.
Question 1. Solve the differential equation

(Click for Solution)
Solution. By the method of separable variables,

Question 2. Solve the differential equation

(Click for Solution)
Solution. By algebraic manipulation,

Compute the integrating factor

Thus, the general solution is given by

where we integrated by parts twice on the right-hand side.
Question 3. Use the substitution
to solve the differential equation

(Click for Solution)
Solution. Writing
, use the quotient rule to deduce

Making the substitutions,

Since the auxiliary equation
has real and distinct roots
, the general solution is given by

Question 4. Evaluate
.
(Click for Solution)
Solution. First carry out some simplifications:

Then taking Laplace transforms,

Question 5. Evaluate
.
(Click for Solution)
Solution. We first note that
, so that by the factor theorem,
is a factor of
. Hence, we factorise
. This suggests us to employ the partial fraction decomposition

where we will obtain
later and completed the square in the last term. We recall the following well-known inverse Laplace transforms:

Since taking inverse Laplace transforms is linear,

All that remains is for us to obtain
. To that end, clear denominators by multiplying
on all sides:

Comparing coefficients,

Solving simultaneous linear equations,
. Substituting and simplifying,

Question 6. Evaluate 
(Click for Solution)
Solution. Apply partial fractions again (left as an exercise) to obtain

Therefore,

Section B (52 marks)
Each question in this section is worth 13 marks.
Question 1. Solve the differential equation

(Click for Solution)
Solution. The auxiliary equation
has repeated real roots
. Therefore, the complementary function is given by

For the particular integral,

Therefore, the general solution is given by

Question 2. Given the function
defined by

evaluate
.
(Click for Solution)
Solution. We first observe that

Therefore,

Taking Laplace transforms,

Question 3. Use Laplace transforms to solve the initial value problem

(Click for Solution)
Solution. Taking Laplace transforms on both sides,

To evaluate the left-hand side,

Therefore, the left-hand side simplifies to

To evaluate the right-hand side,

Putting it all together,

By algebraic manipulation,

It remains to (painfully) compute each of the following inverse Laplace transforms, by observing that
.
Define
so that

By the shift theorems,

Similarly, defining
and
so that

we have

Piecing them all together,

Question 4. Evaluate the Fourier series of the function
defined by

and periodic extension
.
(Click for Solution)
Solution. We need to evaluate each of the Fourier coefficients
with
. For
,

For
, we need to integrate by parts:
![\begin{aligned} a_n &= \int_{-1}^1 f(t) \cos(n \pi t) \, \mathrm dt \\ &= \int_{-1}^0 \cos(n \pi t)\, \mathrm dt + \int_0^1 2t \cos(n \pi t)\, \mathrm dt \\ &= \left[ \frac{\sin(n \pi t)}{n \pi} \right]_{-1}^0 + \left[ \frac{2 t \sin(n \pi t)}{n \pi} \right]_0^1 + \left[ \frac{2\cos(n \pi t)}{n^2 \pi^2} \right]_0^1 \\ &= 0 + 0 + \frac 2{n^2 \pi^2} ((-1)^n - 1) \\ &= \frac {2 ((-1)^n - 1) }{n^2 \pi^2} . \end{aligned}](https://s0.wp.com/latex.php?latex=%5Cbegin%7Baligned%7D+a_n+%26%3D+%5Cint_%7B-1%7D%5E1+f%28t%29+%5Ccos%28n+%5Cpi+t%29+%5C%2C+%5Cmathrm+dt+%5C%5C+%26%3D+%5Cint_%7B-1%7D%5E0+%5Ccos%28n+%5Cpi+t%29%5C%2C+%5Cmathrm+dt+%2B+%5Cint_0%5E1+2t+%5Ccos%28n+%5Cpi+t%29%5C%2C+%5Cmathrm+dt+%5C%5C+%26%3D+%5Cleft%5B+%5Cfrac%7B%5Csin%28n+%5Cpi+t%29%7D%7Bn+%5Cpi%7D+%5Cright%5D_%7B-1%7D%5E0+%2B+%5Cleft%5B+%5Cfrac%7B2+t+%5Csin%28n+%5Cpi+t%29%7D%7Bn+%5Cpi%7D+%5Cright%5D_0%5E1+%2B+%5Cleft%5B+%5Cfrac%7B2%5Ccos%28n+%5Cpi+t%29%7D%7Bn%5E2+%5Cpi%5E2%7D++%5Cright%5D_0%5E1+%5C%5C+%26%3D+0+%2B+0+%2B+%5Cfrac+2%7Bn%5E2+%5Cpi%5E2%7D+%28%28-1%29%5En+-+1%29+%5C%5C+%26%3D+%5Cfrac+%7B2+%28%28-1%29%5En+-+1%29+%7D%7Bn%5E2+%5Cpi%5E2%7D+.+%5Cend%7Baligned%7D&bg=ffffff&fg=000&s=0&c=20201002)
Similarly for
, we need to integrate by parts:
![\begin{aligned} b_n &= \int_{-1}^1 f(t) \sin(n \pi t) \, \mathrm dt \\ &= \int_{-1}^0 \sin(n \pi t)\, \mathrm dt + \int_0^1 2t \sin(n \pi t)\, \mathrm dt \\ &= \left[ \frac{-\cos(n \pi t)}{n \pi} \right]_{-1}^0 + \left[ \frac{-2 t \cos(n \pi t)}{n \pi} \right]_0^1 + \left[ \frac{2\sin(n \pi t)}{n^2 \pi^2} \right]_0^1 \\ &= -\frac 1{n\pi} (1 - (-1)^n) - \frac 2{n \pi} (-1)^n \\ &= -\frac 1{n\pi} ( (-1)^n + 1). \end{aligned}](https://s0.wp.com/latex.php?latex=%5Cbegin%7Baligned%7D+b_n+%26%3D+%5Cint_%7B-1%7D%5E1+f%28t%29+%5Csin%28n+%5Cpi+t%29+%5C%2C+%5Cmathrm+dt+%5C%5C+%26%3D+%5Cint_%7B-1%7D%5E0+%5Csin%28n+%5Cpi+t%29%5C%2C+%5Cmathrm+dt+%2B+%5Cint_0%5E1+2t+%5Csin%28n+%5Cpi+t%29%5C%2C+%5Cmathrm+dt+%5C%5C+%26%3D+%5Cleft%5B+%5Cfrac%7B-%5Ccos%28n+%5Cpi+t%29%7D%7Bn+%5Cpi%7D+%5Cright%5D_%7B-1%7D%5E0+%2B+%5Cleft%5B+%5Cfrac%7B-2+t+%5Ccos%28n+%5Cpi+t%29%7D%7Bn+%5Cpi%7D+%5Cright%5D_0%5E1+%2B+%5Cleft%5B+%5Cfrac%7B2%5Csin%28n+%5Cpi+t%29%7D%7Bn%5E2+%5Cpi%5E2%7D+%5Cright%5D_0%5E1+%5C%5C+%26%3D+-%5Cfrac+1%7Bn%5Cpi%7D+%281+-+%28-1%29%5En%29+-+%5Cfrac+2%7Bn+%5Cpi%7D+%28-1%29%5En+%5C%5C+%26%3D+-%5Cfrac+1%7Bn%5Cpi%7D+%28+%28-1%29%5En+%2B+1%29.+%5Cend%7Baligned%7D&bg=ffffff&fg=000&s=0&c=20201002)
Therefore, the Fourier series of
is given by

—Joel Kindiak, 19 Aug 25, 1613H