Linear Algebra Essentials
Subject: AI-ML | Chapter: Linear Algebra Essentials Level: 1 — Recognition (MCQ + Matching + True/False with justification) Time Limit: 20 minutes Total Marks: 30
Section A — Multiple Choice (1 mark each, 10 marks)
Choose the single best answer.
Q1. A quantity with magnitude but no direction, represented by a single number, is a: (a) vector (b) scalar (c) matrix (d) tensor
Q2. For matrices of size and of size , the product has size: (a) (b) (c) (d) undefined
Q3. The norm of the vector is: (a) (b) (c) (d)
Q4. The dot product of two nonzero vectors is zero if and only if they are: (a) parallel (b) equal (c) orthogonal (d) unit vectors
Q5. A square matrix is invertible if and only if: (a) (b) (c) is symmetric (d)
Q6. For an orthogonal matrix : (a) (b) (c) (d)
Q7. The determinant of is: (a) (b) (c) (d)
Q8. The trace of a square matrix is the sum of its: (a) row sums (b) eigenvalues' squares (c) diagonal entries (d) singular values
Q9. For an eigenvector of with eigenvalue , we have: (a) (b) (c) (d)
Q10. A symmetric matrix is positive definite if for all nonzero : (a) (b) (c) (d)
Section B — Matching (1 mark each, 8 marks)
Q11. Match each term (Column X) to its correct description (Column Y).
| Column X | Column Y |
|---|---|
| (i) Identity matrix | (P) |
| (ii) Diagonal matrix | (Q) |
| (iii) Symmetric matrix | (R) Ones on the main diagonal, zeros elsewhere |
| (iv) Skew-symmetric matrix | (S) Nonzero entries only on the main diagonal |
Q12. Match each concept (Column X) to its definition (Column Y).
| Column X | Column Y |
|---|---|
| (i) Rank | (P) Set of all with |
| (ii) Null space | (Q) Number of linearly independent columns |
| (iii) Column space | (S) Factorization |
| (iv) SVD | (R) Span of the columns of |
Section C — True/False with Justification (2 marks each, 12 marks)
State True or False (1 mark) and give a one-line justification (1 mark).
Q13. Matrix multiplication is commutative, i.e. for all conformable square matrices.
Q14. The eigenvalues of a diagonal matrix are its diagonal entries.
Q15. For any matrix , .
Q16. A set of 3 vectors in can be linearly independent.
Q17. The norm of equals .
Q18. Every positive definite matrix is invertible.
Answer keyMark scheme & solutions
Section A (1 mark each)
Q1. (b) scalar. A single magnitude-only number is a scalar. (1)
Q2. (a) . Inner dims match; result takes outer dims . (1)
Q3. (a) . . (1)
Q4. (c) orthogonal. . (1)
Q5. (b) . Nonzero determinant ⇔ full rank ⇔ invertible. (1)
Q6. (b) . Definition of orthogonal: . (1)
Q7. (a) . . (1)
Q8. (c) diagonal entries. . (1)
Q9. (b) . Eigenvalue equation. (1)
Q10. (a) . Definition of positive definiteness. (1)
Section B (1 mark each match)
Q11. (i)→R, (ii)→S, (iii)→P, (iv)→Q. Identity = ones on diagonal; diagonal = nonzero only on diagonal; symmetric ; skew-symmetric . (4)
Q12. (i)→Q, (ii)→P, (iii)→R, (iv)→S. Rank = # independent columns; null space = solutions of ; column space = span of columns; SVD = . (4)
Section C (2 marks each: 1 verdict + 1 justification)
Q13. False. Matrix multiplication is generally non-commutative; in general (e.g. rotation vs shear). (2)
Q14. True. For diagonal , gives . (2)
Q15. True. Transposing twice returns original: by definition of transpose. (2)
Q16. False. has dimension 2; at most 2 vectors can be independent, so 3 must be dependent. (2)
Q17. True. . (2)
Q18. True. Positive definite ⇒ all eigenvalues ⇒ ⇒ invertible. (2)
[
{"claim":"L2 norm of (3,4) is 5","code":"v=Matrix([3,4]); result = (v.norm()==5)"},
{"claim":"det of [[2,1],[4,3]] is 2","code":"A=Matrix([[2,1],[4,3]]); result = (A.det()==2)"},
{"claim":"L1 norm of (1,-2,3) is 6","code":"v=[1,-2,3]; result = (sum(abs(x) for x in v)==6)"},
{"claim":"Eigenvalues of diagonal matrix diag(2,5,-1) are its diagonal entries","code":"D=diag(2,5,-1); result = (set(D.eigenvals().keys())=={2,5,-1})"}
]