You are on page 1of 4

MAT 3201

Assignment 1
Question 1
(a)

Solve the following system of equations by using Cramers rule.


2x + y + 2z = 5
x y + z =1 .
3 x 2 y 2 z = 1

(b)

(4 marks)
Solve the following system of equations by using Gauss elimination method.
2 x + y + z = 2
x
+z=2 .
3 x + y 2z = 0
(3 marks)

(c)

Find the values of a if the following system has no solution.


x + 2 y 3z = 2
2 x 4 y + 3z = 3
3 x + ay z = 4

(3 marks)

Question 2

(a)

2 2 3
1 2 3
f

1 6 , X = 2
1 0 and D = 0
Let A = 2
1 2 0
1 0 1
0
(i)

If X 1 AX = D . Find X 1 .

(ii)

Find the value of the constant f .

(iii)

Find A 3 by using A 3 = XD 3 X 1 .

0
0
3 0
0 3
(4 marks)
(3 marks)

Solution:

(3 marks)

Question 1(a)
2 x 5
2 1
1 1 1 y = 1


3 2 2 z 1
A =2

1 1
1 1
1 1
1
+2
= 2( 4 ) 1( 5) + 2( 1) = 15
2 2
3 2
3 2

1
2
5
Ax = 1 1 1
1 2 2
Ax = 5

1 1
1
1
1 1
1
+2
= 5( 4 ) 1( 1) + 2( 3) = 15
2 2
1 2
1 2

2
2 5

A y = 1 1
1
3 1 2
Ay = 2

1
1
1 1
1 1
5
+2
= 2( 1) 5( 5) + 2( 4 ) = 15
1 2
3 2
3 1

5
2 1

Az = 1 1 1
3 2 1
Az = 2

x=

Ax
A

1 1
1 1
1 1
1
+5
= 2( 3) 1( 4) + 5(1) = 15
2 1 3 1
3 2
=

15
=1
15

Question 1(b)

y=

Ay
A

15
=1
15

z=

Az
A

15
=1
15

1
1

1
0
1

12 z = 8
y + 3 z = 2,
x + z = 2,

1 2 2 R 2+R1 2 1
2 R 3+R1
1 2

0 1
0 3
2 0

2
1 2
R 33 R 2
3 2
0
0
3 2

1
1
0

1 2

3 2
12 8

2
3
y=22=0
2 4
x=2 =
3 3
z=

Question 1(c)

1 2 3 2 R 22 R1 1

R 33 R1
0
2 4 3 3
3 a
0
1 4
9( a 6 ) + 64 = 0
10
a=
9

1
3 2
9 R 38 R 2
9 1
0
0
8 2

2
8
a 6

Question 2(a)(i)
1 2 3
X = 2
1 0
1 0 1
X =1

XT

1 0
2 0
2 1
( 2)
+3
= 1(1) + 2( 2 ) + 3(1) = 8
0 1
1 1
1 0

1
+
0
2
=
0
2
+ 1

0
1
3
1
3
0

1
1
+
1
1

0
1
3
1
3
0

2 1
+

1 0
1 2

1 0
1 2
+
2 1

2
8
9( a 6 ) + 64

3 2

9 1
0 34

XT

1 2 3
1 2 1

= 2
4 2 = 2 4 6
1 2 5
3 6 5
1 2 3
1

= 2 4 6
8
1 2 5

Question 2(a)(ii)

( I ) X
f
0

= AX
0
0 1 2 3 2 2 3 1 2 3
3 0 2
1 0 = 2
1 6 2
1 0
0 3 1 0 1 1 2 0 1 0 1

f (1) + 0( 2) + 0( 1) = 2(1) + 2( 2) 3( 1)
f =5
Question 2(a)(iii)
A 3 = XD 3 X 1
3

1 2 3 5 0
1 2 3
0
1

2 4 6
3
A =2
1 0 0 3 0

8
1 0 1 0 0 3
1 2 5
0
0
1 2 3 125
1

A = 2
1 0 0 27
0
8
1 0 1 0
0
27
3

54 81
125
1
A 3 = 250 27
0
8
125
0
27
57
8 38

A = 38
49 114
19 38 30
3

1 2 3
2 4 6

1 2 5

1 2 3
2 4 6

1 2 5

You might also like