Math1250 2Test1Sol
Math1250 2Test1Sol
2 0 8
1. Let ~u = 3 , ~v = 5 , and w
~ = −3 .
−2 −6 10
6 0 6
Solution. (a) 3~u + 2~v = 9 + 10 = 19 .
−6 −12 −18
(b) ~u · ~v = 0 + 15 + 12 = 27.
2c 8
~ we have 3c + 5d = −3 .
(c) From c~u + d~v = w,
−2c − 6d 10
1 2 a | 3
3. (3 marks) If the augmented matrix [A| ~b ] = 0 1 4 | b ,
0 0 a+5 | b−7
determine all values of a and b such that the system of linear equations
4. (6 marks) You are given that the reduced row echelon form of the augmented matrix
[A| ~b ] of the system of linear equations A~x = ~b is
1 6 0 0 3 | 1
0 0 1 0 −2 | 4
0 0 0 1 5 | 7
x1 = 1 −6x2 −3x5 x1 1 −6 −3
x2 = x2 x2 0 1 0
x3 = 4 +2x5 So x3 = 4 + x2 0 + x5 2
x = 7 −5x5 x4 7 0 −5
4
x5 = x5 x5 0 0 1
· ¸ 2 4
1 2 1
5. (6 marks) Let A = and B = 0 1 . Compute AT , AT +B and AB.
0 −3 2
1 −2
1 0 1 0 2 4 3 4
Solution. AT = 2 −3 , AT + B = 2 −3 + 0 1 = 2 −2 ,
1 2 1 2 1 −2 2 0
· ¸ 2 4 · ¸
1 2 1 0 1 = 3 4
AB = .
0 −3 2 2 −7
1 −2
· ¸ · ¸
−1 1 4 −3 2 − 32
Solution. A = = .
8−6 −2 2 −1 1
· ¸· ¸ · ¸
−1 2 − 32 1 3 −1 32
X=A C= = .
−1 1 2 3 1 0
4
1 2 4
7. (6 marks) For the matrix A = 2 5 6 , find its inverse A−1 .
1 2 3
£ ¤ 1 2 4 | 1 0 0 1 2 4 | 1 0 0
Solution. A | I3 = 2 5 6 | 0 1 0 R2 −2R1
→ 0 1 −2 | −2 1 0
R3 −R1
1 2 3 | 0 0 1 0 0 −1 | −1 0 1
1 2 0 | −3 0 4 1 0 0 | −3 −2 8
R1 +4R3
→ 0 1 0 | 0 1 −2 R1 −2R2 → 0 1 0 | 0 1 −2
R2 −2R3
0 0 −1 | −1 0 1 0 0 −1 | −1 0 1
1 0 0 | −3 −2 8
(−1)R3
→ 0 1 0 | 0 1 −2
0 0 1 | 1 0 −1
−3 −2 8
−1
So A = 0 1 −2 .
1 0 −1