We shall consider second-order differential equations of the form , where a, b and c are constant coefficients.
The first step is to state the auxiliary equation which is of the form .
The second step is to determine the roots to the auxiliary equation. Three cases need to be considered:
1. Real and different roots (i.e. or
),
2. Real and equal roots (i.e. repeated),
3. Complex roots (i.e. ).
The final step is to write down the general solution, corresponding to the three cases above:
1. ,
2. ,
3. .
Worked example 1: Solve .
By step 1, the auxiliary equation is .
Factorising, we obtain , so that we have real and different roots
or
.
In the final step, we arrive at the general solution .
Next, we shall consider second-order differential equations of the forms:
1. ,
2. .
Their general solutions are correspondingly given by:
1. ,
2. .
Now, we are ready to face differential equations of the form -- (*).
The general solution is given by complementary function (CF) + particular integral (PI).
The first step is to find CF, by solving . Essentially, we follow the details described in Section 1.
The second step is to find PI, by assuming the general form of . For a start, the following list is useful:
1. , assume
;
2. , assume
;
3. , assume
;
4. or
, assume
;
5. or
, assume
;
6. , assume
.
We will have to take a special measure when PI is already included in CF, by multiplying PI by x.
The third step upon assuming an appropriate PI, is to:
(i) find and
,
(ii) substitute ,
and
into LHS of (*),
(iii) compare LHS expression with RHS expression of (*) to find the constant(s) in PI.
Worked example 2: Solve , given that at
,
and
.
By step 1, CF is (refer to Worked example 1).
By step 2, we take the special measure and assume that PI is .
By step 3(i), and
.
By steps 3(ii) and 3(iii), we obtain .
The general solution is .
We are not done until we have found the particular solution. We need to determine the values of A and B from the given conditions.
At ,
, so
----- (1)
At ,
, so
----- (2)
Solving the simultaneous linear equations (1) and (2), we obtain and
.
Finally, our particular solution is .