Vector Spaces Endsem Solutions
Vector Spaces Endsem Solutions
Instructions:
1. Commence each answer to a question on a fresh page. If some part of a question is done later,
it should also be commenced on a fresh page, and this should be clearly mentioned in the
main question.
2. You may use without proof any result covered in the course (either in lecture or tutorial).
However, it should be clearly identified. Results taken from other sources must be proved.
Question 1.
(a) (6 marks) Find col(A), null(A) and row(A) for the matrix
5 2 −4
A = −5 2 16
0 7 21
Answer 1.
First Solution:
(a) The cross product of the row vectors (5, 2, −4) and (−5, 2, 16) is (40, −60, 20). As this is
orthogonal to the row vector (0, 7, 21), it follows that the nullspace of A is non-trivial, therefore
As the first two rows of A are not linear multiples of each other, a basis of row(A) is
Rubric: 1 mark for finding the cross product, 2 marks for showing that it is orthogonal to
the third row. 1 mark each for bases of fundamental subspaces. 4 marks for solving the system of
equations mentioned in part (b).
Second Solution:
We compute the RREF of [A b]:
1 0 −2 0
0 1 3 0
0 0 0 1
(a) Since the pivot columns of A are the first two columns, a basis of col(A) is
The rows of the RREF of A which contain pivots are a basis of row(A), namely
x1 − 2x2 = 0
x2 + 3x3 = 0
(b) The equation Ax = b has no solution because the augmented column of [A b] is a pivot
column.
Rubric: 2 marks for the RREF. 1 mark each for writing the correct bases of fundamental
subspaces. 2 marks for solving the system of equations obtained from the RREF to calculate the
basis vector for the nullspace. 3 marks for using the RREF of the augemented matrix to correctly
determine whether the system Ax = b has a solution.
Question 2 (10 marks). Let V = C[0, π], the vector space of all continuous functions defined on
the interval [0, π]. Equip V with the inner product
Z π
hf, gi := f (x)g(x) dx .
0
Answer 2. Let
v1 = 1
v2 = sin x
v3 = sin2 x
v4 = sin3 x.
Let {w1 , . . . , w4 } denote the vectors obtained by using the Gram Schmidt algorithm and let
wj
ŵj = for j = 1, . . . , 4
kwj k
Rubric: 1 mark for formula and w1 . 5 marks for w2 . 2 marks for w3 . 1 mark for w4 . 1 mark
for normalization.
The rest will be typed up later.