2023 - Test 2 - Solutions
2023 - Test 2 - Solutions
Surname:
First Name(s):
• Answer all questions in the spaces provided on this question paper. Use the backs of pages when
you run out of space.
• Use your UCT Examination Answer Book for rough work. We won’t take this work in! Only the
answers that you write on this question paper will be marked.
• Be careful to provide answers that we can read and make sense of at all times. We will pay atten-
tion to your presentation as well as the content. Work that is poorly presented will be penalized.
If we can’t read your handwriting, we will mark your solution incorrect.
Q1 Q2 Q3 Q4 Q5 Q6 Q7 Q8 Q9 TOTAL
8 5 6 2 5 8 8 5 5 52
1
Student Number:
1 2 3 0 1 2 3 0
3
0 −1 0 6 10 0
0
Question 1. [8 points] Let A =
0 6 10 0
and U = 0
0 0 1.
10 2 0 1 0 0 0 0
4 2 2 1 0 0 0 0
U is a row-echelon form of A. (You need not check this.)
Nullity(A) = 1, Rank(A) = 3
Nullity(AT ) = 5 − 3 = 2
(e) Can every vector w ∈ R5 be expressed in the form w = Ax for this matrix A and some vector x?
Justify your answer.
No.
2
Student Number:
(f) Does Ax = Ay (for this matrix A) imply that x = y? Justify your answer.
No.
A possible justification:
Question 2. [5 points] Let M2×2 (R) be the vector space of all 2 × 2 real matrices, with the usual
addition and scalar multiplication for matrices, and let
�� � � � � � � ��
1 0 0 1 0 1 2 0
S= , , , .
0 1 1 2 1 0 0 0
�� � � � � ��
For instance
0 1 0 1 2 0
, ,
1 2 1 0 0 0
3
Student Number:
(c) An incomplete description of span(S) is given below; there should be an equation in the place of
the dots. �� � �
a b
span(S) = ∈ M2×2 (R) : . . .
c d
Write down this equation.
b=c
� �
�1 0 ��
det(A) = (−2) �� = (−2) · (−2) = 4
3 −2�
det(A − λI3 ) = 0
� �
�1 − λ 0 −3 ��
�
� 3 −2 − λ −3 �� = 0
�
� 0 0 −2 − λ�
We expand along the last row and obtain
� �
�1 − λ 0 ��
(−2 − λ) �� =0
3 −2 − λ�
(−2 − λ)(1 − λ)(−2 − λ) = 0. Hence the eigenvalues are -2 and 1. (-2 is a repeated eigen-
value.)
4
Student Number:
We have
1−λ 0 −3 0 0 −3
A = λI3 = 3 −2 − λ −3
= 3 −3 −3
0 0 −2 − λ 0 0 −3
(A − λI3 )x = 0
0 0 −3 x1 0
3 −3 −3 x2 = 0
0 0 −3 x3 0
It follows that
1
x = s 1 , s �= 0.
0
5
Student Number:
(c) A ∪ {pi (x)} is linearly dependent and B \ {pi (x)} is a basis for span(B). p5 (the only solution)
Write only one of p1 (x), p2 (x), p3 (x), p4 (x), p5 (x), p6 (x) or “Impossible” in the appropriate block. You
may use a polynomial more than once, or not at all.
Question 6. [8 points] Read the following proof and then answer the questions following it:
Proof: Let V be an n-dimensional vector space and S = {v1 , v2 , . . . , vn } a subset of V such that
span(S) = V . Suppose S is linearly dependent. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .(1)
Then there is an i such that vi can be written as a linear combination of the vectors in S \ {vi }. . (2)
It follows that V = span(S \ {vi }). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . (3)
But this gives a contradiction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . (4)
If V is an n-dimensional vector space and S a set in V with exactly n vectors such that
span(S) = V, then S is linearly independent (and hence is a basis for V).
6
Student Number:
If V = span(S \ {vi }) then V equials the span of n-1 vectors, which is a contradiction
to the fact that V is n-dimensional.
(d) Suppose R is a subset of V such that span(R) = V , but that R is not a basis of V . For each of
the following statements, either prove it, or disprove it by giving a counter example:
This is true.
1.) Suppose that R has exactly n elements. Then by the result proved above,
R is a basis, contradiction.
2.) Suppose that R has less than n elements. Then span(R) �= V , contradiction.
Take
1 0 0 2
R= 0 , 1 , 0 , 0 .
0 0 1 0
We have span(R) = V and R is not a basis for V.
We can see that the following 3-element subset of R is not a basis for V:
1 0 2
0 , 1 , 0
0 0 0
7
Student Number:
Question 7. [8 points] Let the function T : P2 → P3 be defined by T (p(x)) = xp(x) − x2 p � (x), where
as usual p� denotes the derivative of p.
It follows that
T (p(x)) = x(ax2 + bx + c) − x2 (2ax + b)
= −ax3 + cx.
T preserves scalar multiplication: Let ax2 + bx + c be any vector in P2 and λ any scalar.
Then we have
T (λ(ax2 + bx + c)) = T (λax2 + λbx + λc) = −(λa)x3 + (λc)x
and equal
λ · T (λ(ax2 + bx + c)) = λ(−ax3 + cx)
T (ax2 + bx + c) = −ax3 + cx = 0
Hence
a = c = 0.
Therefore,
ker(T ) = {bx | b ∈ R} .
8
Student Number:
� �
0 1
Question 8. [5 points] Let A = and V be the vector space of all 2 × 2 matrices.
2 3
Define
S = {B ∈ V : BA = AB}.
Answer the following questions, giving reasons for all your answers.
(a) Is S closed under scalar multiplication?
9
Student Number:
(c) Is S a subspace of V ?
Question 9. [5 points]
1 1
(a) Find a matrix A such that CS(A) = span 0 , 2 and RS(A) = span{(1, 0, 1), (1, 2, 0)}.
1 0
1 1 � � 2 2 1
1 0 1
A = 0 2 = 2 4 0 .
1 2 0
1 0 1 0 1
10
Student Number:
1 1
(b) Why is it not possible to find a matrix A such that N S(A) = span 0 , 2 and RS(A) =
1 0
span{(1, 0, 1), (1, 2, 0)}?
Rank(A) + Nullity(A) = 2 + 2 = 4.
This is a contradiction.
11