Level 1 — RecognitionLinear Algebra Essentials

Linear Algebra Essentials

20 minutes30 marksprintable — key stays hidden on paper

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 AA of size 3×43\times 4 and BB of size 4×24\times 2, the product ABAB has size: (a) 3×23\times 2 (b) 4×44\times 4 (c) 2×32\times 3 (d) undefined

Q3. The L2L_2 norm of the vector v=(3,4)\mathbf{v}=(3,4) is: (a) 55 (b) 77 (c) 7\sqrt{7} (d) 1212

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 AA is invertible if and only if: (a) det(A)=0\det(A)=0 (b) det(A)0\det(A)\neq 0 (c) AA is symmetric (d) tr(A)=0\operatorname{tr}(A)=0

Q6. For an orthogonal matrix QQ: (a) Q1=QQ^{-1}=Q (b) Q1=QTQ^{-1}=Q^{T} (c) det(Q)=0\det(Q)=0 (d) QT=QQ^{T}=-Q

Q7. The determinant of (2143)\begin{pmatrix}2 & 1\\ 4 & 3\end{pmatrix} is: (a) 22 (b) 1010 (c) 66 (d) 2-2

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 x\mathbf{x} of AA with eigenvalue λ\lambda, we have: (a) Ax=xA\mathbf{x}=\mathbf{x} (b) Ax=λxA\mathbf{x}=\lambda \mathbf{x} (c) Ax=0A\mathbf{x}=0 (d) xA=λ\mathbf{x}A=\lambda

Q10. A symmetric matrix AA is positive definite if for all nonzero x\mathbf{x}: (a) xTAx>0\mathbf{x}^T A\mathbf{x}>0 (b) xTAx0\mathbf{x}^T A\mathbf{x}\geq 0 (c) xTAx<0\mathbf{x}^T A\mathbf{x}<0 (d) det(A)=1\det(A)=1


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) AT=AA^T = A
(ii) Diagonal matrix (Q) AT=AA^T = -A
(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 x\mathbf{x} with Ax=0A\mathbf{x}=\mathbf{0}
(ii) Null space (Q) Number of linearly independent columns
(iii) Column space (S) Factorization A=UΣVTA=U\Sigma V^T
(iv) SVD (R) Span of the columns of AA

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. AB=BAAB=BA for all conformable square matrices.

Q14. The eigenvalues of a diagonal matrix are its diagonal entries.

Q15. For any matrix AA, (AT)T=A(A^T)^T = A.

Q16. A set of 3 vectors in R2\mathbb{R}^2 can be linearly independent.

Q17. The L1L_1 norm of (1,2,3)(1,-2,3) equals 66.

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) 3×23\times 2. Inner dims 4=44=4 match; result takes outer dims 3×23\times 2. (1)

Q3. (a) 55. 32+42=25=5\sqrt{3^2+4^2}=\sqrt{25}=5. (1)

Q4. (c) orthogonal. ab=abcosθ=0θ=90\mathbf{a}\cdot\mathbf{b}=\|a\|\|b\|\cos\theta=0\Rightarrow\theta=90^\circ. (1)

Q5. (b) det(A)0\det(A)\neq 0. Nonzero determinant ⇔ full rank ⇔ invertible. (1)

Q6. (b) Q1=QTQ^{-1}=Q^T. Definition of orthogonal: QTQ=IQ^TQ=I. (1)

Q7. (a) 22. 2314=64=22\cdot3-1\cdot4=6-4=2. (1)

Q8. (c) diagonal entries. tr(A)=aii\operatorname{tr}(A)=\sum a_{ii}. (1)

Q9. (b) Ax=λxA\mathbf{x}=\lambda\mathbf{x}. Eigenvalue equation. (1)

Q10. (a) xTAx>0\mathbf{x}^TA\mathbf{x}>0. 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 AT=AA^T=A; skew-symmetric AT=AA^T=-A. (4)

Q12. (i)→Q, (ii)→P, (iii)→R, (iv)→S. Rank = # independent columns; null space = solutions of Ax=0A\mathbf{x}=0; column space = span of columns; SVD = UΣVTU\Sigma V^T. (4)

Section C (2 marks each: 1 verdict + 1 justification)

Q13. False. Matrix multiplication is generally non-commutative; ABBAAB\neq BA in general (e.g. rotation vs shear). (2)

Q14. True. For diagonal DD, det(DλI)=(diiλ)=0\det(D-\lambda I)=\prod(d_{ii}-\lambda)=0 gives λ=dii\lambda=d_{ii}. (2)

Q15. True. Transposing twice returns original: (AT)T=A(A^T)^T=A by definition of transpose. (2)

Q16. False. R2\mathbb{R}^2 has dimension 2; at most 2 vectors can be independent, so 3 must be dependent. (2)

Q17. True. 1+2+3=1+2+3=6|1|+|-2|+|3|=1+2+3=6. (2)

Q18. True. Positive definite ⇒ all eigenvalues >0>0det0\det\neq0 ⇒ 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})"}
]