Linear Algebra (Full)
Level: 2 (Recall — definitions, standard problems, short derivations) Time: 30 minutes Total Marks: 40
Answer all questions. Show working. Use for math.
Q1. Let and . (a) Compute . (1) (b) Compute and . (2) (c) Find the cosine of the angle between them. (2) (5 marks)
Q2. For and : (a) Compute the cross product . (2) (b) State the geometric meaning of and compute the area of the parallelogram spanned by and . (2) (4 marks)
Q3. Find the scalar projection and the vector projection of onto . (3 marks)
Q4. Solve the following system by Gaussian elimination: State the solution. (6 marks)
Q5. Let , . (a) Compute and . (3) (b) State whether matrix multiplication is commutative, justifying from (a). (1) (4 marks)
Q6. For the matrix find the rank by reducing to row echelon form. (4 marks)
Q7. Determine whether the vectors , , are linearly independent. Justify. (4 marks)
Q8. Compute the determinant of by cofactor expansion along the first column. (4 marks)
Q9. Find the eigenvalues of by solving the characteristic polynomial. (3 marks)
Q10. State the Rank–Nullity theorem for an matrix , and use it to find the dimension of the null space of a matrix of rank . (3 marks)
END OF PAPER
Answer keyMark scheme & solutions
Q1. (a) . (1) (b) ; . (2, 1 each) (c) . (2: formula 1, value 1)
Q2. (a) . (2) (b) is the area of the parallelogram spanned by (1). Area (1). (2)
Q3. Scalar projection (1.5). Vector projection (1.5).
Q4. Augmented matrix; eliminate: ; . . (3 for elimination) Back-sub: ; . (3) Solution: .
Q5. (a) (1.5). (1.5). (3) (b) Not commutative: . (1)
Q6. ; . Rows: → 2 nonzero pivot rows. Rank . (4: elimination 3, answer 1)
Q7. Form matrix with these as rows; row-reduce: . , then . A zero row appears → rank . Linearly dependent. Indeed . (4)
Q8. Expand along column 1: (4: cofactors 2, minors 1, total 1)
Q9. . Eigenvalues . (3: char poly 2, roots 1)
Q10. Rank–Nullity: (number of columns). (2) For , , rank : nullity . (1)
[
{"claim":"u·v = -4 and cos = -4/9", "code":"u=Matrix([1,2,-2]); v=Matrix([2,-1,2]); d=(u.T*v)[0]; c=d/(u.norm()*v.norm()); result = (d==-4) and (c==Rational(-4,9))"},
{"claim":"cross product (1,0,1)x(0,1,1)=(-1,-1,1), area sqrt3", "code":"a=Matrix([1,0,1]); b=Matrix([0,1,1]); cr=a.cross(b); result = (cr==Matrix([-1,-1,1])) and (cr.norm()==sqrt(3))"},
{"claim":"system solution (1,2,3)", "code":"x,y,z=symbols('x y z'); sol=solve([x+y+z-6,2*x-y+z-3,x+2*y-z-2],[x,y,z]); result = sol=={x:1,y:2,z:3}"},
{"claim":"det = 3", "code":"A=Matrix([[2,0,1],[1,3,2],[0,1,1]]); result = A.det()==3"},
{"claim":"eigenvalues 1 and 3", "code":"A=Matrix([[2,1],[1,2]]); result = set(A.eigenvals().keys())=={1,3}"}
]