Mat306 Ass1
Mat306 Ass1
DEPARTMENT OF MATHEMATICAL
SCIENCES
MATHEMATICS (MAT306X)
SOLUTIONS TO ASSIGNMENT 01/2008
2
SOLUTIONS TO ASSIGNMENT 01
Dear Student,
The solutions of assignment 01 follow below. Please study the solutions carefully together with your marked
assignment.
1. Use the operator method (method of elimination) to solve the following systems of differential equa-
tions:
Solution:
Therefore
For this the auxiliary equation is m + 3 = 0, i.e. m = −3, which yields the complementary function
We use the method of undetermined coefficients to find the particular integral y P.I. (t) :
Suppose
y P.I. (t) = Cet + D cos t + E sin t,
then
et : 4C = 4 ⇒ C = 1
cos t : 3D + E = 2A − 6B (5)
sin t : −D + 3E = 6A + 2B (6)
Solving D and E in terms of A and B, it follows from (5) and (6) that
E = 2A and D = −2B.
Hence
y P.I. (t) = et − 2B cos t + 2A sin t
so that
Since the system is of order 2, there are too many constants. Substitution into (2) shows that G = 0. The
complete solution of the system is therefore
8 sin t 14 cos t
x P.I. (t) = − 2
D2 + 6D + 5 D + 6D + 5
8 sin t 14 cos t
= −
(−12 ) 2
+ 6D + 5 (−1 ) + 6D + 5
8 sin t 14 cos t
= −
6D + 4 6D + 4
by using B(3) of Tutorial Letter 102. Now from B(5) of Tutorial Letter 102 with λ = 6, µ = 4 and
a = 1, it follows that
8 sin t 4
=− (3 cos t − 2 sin t).
6D + 4 13
Similarly
14 cos t 7
− = − (3 sin t + 2 cos t).
6D + 4 13
Therefore
4
= Ae−5t + Be−t − 13
(3 cos t − 2 sin t)
7
− 13 (3 sin t + 2 cos t)
Put
y P.I. (t) = De−5t + Ee−t + F cos t + G sin t.
5 MAT306X/201
P1 (D)y2 = f 1 (x)
P2 (D)y1 − P3 (D)y2 = f 2 (x).
Solution:
2(1) − (2) : −y1 + (D + 1)[y2 ] = 4 − 8e2x (1 )
(2D − 3)[y1 ] + (3D − 1)[y2 ] = 0 (2)
Now substitute
y1 = (D + 1)[y2 ] − 4 + 8e2x
m 2 + m − 2 = (m + 2)(m − 1) = 0,
6
i.e. m = −2 or m = 1. Hence
−6e0x −4e2x
y2 P.I. (x) = +
D2 + D − 2 D2 + D − 2
−6e0x −4e2x
= +
02 + 0 − 2 22 + 2 − 2
= 3 − e2x
1
having made use of property B(1) of the inverse operator (see Tutorial Letter 102). This gives
f (D)
3. Decide whether the following systems have no solutions or infinitely many solutions. Find the general
form of the solution in each case.
Solution:
D[y1 ] + D[y2 ] = 3
D(D − 1)[y1 ] + D(D − 1)[y2 ] = x
7 MAT306X/201
Hence
= D 2 (D − 1) − D 2 (D − 1) = 0.
But since
3 D
2
= (D 2 − D)[3] − D[x] = −1 = 0,
x D −D
it follows that this system has no solution. (This can also be seen by applying D−1 to the first equation.)
(b) In operator notation the system is
(D − 1)[y1 ] + D[y2 ] = x
(D 2 − D)[y1 ] + D 2 [y2 ] = 1.
In this case
= D 2 (D − 1) − D(D 2 − D) = 0.
Furthermore, since
x D
= D 2 [x] − D[1] = 0
1 D2
and
D−1 x
= (D − 1)[1] − (D 2 − D)[x] = −1 + 1 = 0,
D2 − D 1
the system has infinitely many solutions. These solutions may be obtained from any of the two given
equations. Let for instance, y1 = g(x) where g(x) is an arbitrary function. Then, from the first equation,
whence
x2
y2 (x) = − g(x) + g(x)d x + c
2
where c is an arbitrary constant.
Solution:
The characteristic equation C(λ) = −(1 + λ)(λ + 2)(λ − 3) has roots λ = −2, λ = −1 and λ = 3.
λ = −2 : Solve
1 1 0 v1 0
1 4 1 v2 = 0 ,
0 3 1 v3 0
8
v1 + v2 = 0 (1)
v 1 + 4v 2 + v 3 = 0 (2)
3v 2 + v 3 = 0 (3)
From (1) we have v 1 = −v 2 and from (3), v 3 = −3v 2 . Hence, choosing v 2 = 1, we find v 1 = −1 and
v 3 = −3. An associated eigenvector is then
−1
V1 = 1 .
−3
−c1 + c2 + c3 = 7 (4)
c1 + 4c3 = 2 (5)
−3c1 − c2 + 3c3 = 5 (6)
Then
(7) + (8) gives c3 = 1 so that c2 = 4. Hence from (4) follows that c1 = −2.
The solution is therefore
−1 1 1
−2t −t 3t
X(t) = −2 1 e + 4 0 e + 4 e .
−3 −1 3
9 MAT306X/201
5.(a) Show from first principles, i.e. by using the definition of linear independence, that if λ = a+ib, b = 0 is
an eigenvalue of a real matrix A with associated eigenvector v = u+iw, then the two real solutions
and
Z(t) = eat (u sin by + w cos bt)
Hint: Recall that if the roots of C(λ) = 0 occur in complex conjugate pairs, then any one of the
two eigenvalues yields two linearly independent solutions. The second will yield solutions which are
identical (up to a constant) to the solutions already found. Check Example 2.2 of the Study Guide in
this regard.
Solution:
Recalling the definition of linear independence, we have to show c1 = c2 = 0. Since (1) holds for all t, we
π
can conclude, by taking t = 0 and t = 2b in (1), that
c1 u+c2 w = 0 (2)
aπ
e 2b (−c1 w+c2 u) = 0. (3)
This gives
c1 u = −c2 w and c1 w =c2 u,
so that
c12 u = −c1 c2 w = −c2 c1 w = −c22 u (4)
and
c12 w = c1 c2 u = c2 c1 u = − c22 w. (5)
Since v = u+iw is not the zero vector, either u or w (or both) is not the zero vector. If u = 0, then from (4)
we obtain
c12 = −c22 .
10
The left hand side of this equation is non–negative, while the right hand side is non–positive. Hence c1 =
0 and c2 = 0 are the only values which satisfy the equation. If w = 0, then a similar argument using equation
(5) shows that c1 = 0 and c2 = 0. The solutions Y and Z are therefore linearly independent.
(b) The characteristic equation has roots λ = 4 ± i. To find the eigenvector corresponding to 4 + i, we solve the
system
2−i −1 v1 0
=
5 −2 − i v2 0
which is equivalent to
(2 − i)v 1 − v2 = 0 (1)
5v 1 − (2 + i)v 2 = 0. (2)
(2 − i)
(Note that − × (2) = (1), i.e. the second equation is identical to the first one.) Letting v 1 = 1, we get
5
v 2 = 2 − i, so that an eigenvector corresponding to 4 + i is
1 1 0
V= = +i .
2−i 2 −1
1 0
Y1 (t) = e4t cos t − sin t
2 −1
and
0 1
Y2 (t) = e4t cos t + sin t .
−1 2
I trust that you will find the solutions useful and are looking forward to your next assignment.