Science:Math Exam Resources/Courses/MATH215/December 2013/Question 05 (b)/Solution 1

From UBC Wiki

We need a particular solution. To obtain it, we will use the method of undetermined coefficients.

If then and

Therefore if we get

.

In comparing the coefficients of from row 1, the coefficients of from row 1, the coefficients of from row 2, and the coefficients of from row 2, the following equations must hold:

We can turn this into a matrix equation and row-reduce:

Subtracting row 2 from row 4 and row 1 from row 2 yields:

We next multiply the third row by 3 and then add the second row twice:

Next, divide the third row by -5 and then add the result to the second row, and subtract it from the first row:

In our last step we divide the second row by -3 and then subtract the result from the first row:

We see that d is a free parameter, and since we only need one particular we choose d=0 for simplicity. Then we read off a = 10, b - d = 5, c = 10. Putting this together we find a particular solution

.

The general solution is the homogeneous solution (which we found in part (a)) plus a particular solution:

.