Tests edge cases, boundary conditions, and common misconceptions for matrices.
UT-1: Non-Commutativity and the Commutator Equation
Question:
Let A=(102−1) and B=(0110).
(a) Show that AB=BA.
(b) Find all 2×2 matrices X such that AX=XAWhere A is as defined above.
(c) A student claims that since A and B do not commute, no matrix can commute with A. Explain the error.
[Difficulty: hard. Tests understanding of matrix non-commutativity and solving the commutator equation.]
Solution:
(a)
AB=(102−1)(0110)=(2−110)
BA=(0110)(102−1)=(01−12)
Since AB=(2−110)=(01−12)=BAThe matrices do not commute.
(b) Let X=(acbd). Then:
AX=(a+2c−cb+2d−d)
XA=(ac2a+b2c+d)
Setting AX=XA:
(1,1): a+2c=a⟹c=0
(2,1): −c=c⟹c=0 (consistent)
(1,2): b+2d=2a+b⟹2d=2a⟹d=a
(2,2): −d=2c+d⟹−d=d⟹d=0And therefore a=0.
So X=(00b0) for any b∈R.
(c) The student”s error is a logical fallacy: the fact that B does not commute with A does not imply that no matrix commutes with A. The identity matrix IThe zero matrix OAnd all scalar multiples of I commute with every matrix. Part (b) shows that there is in fact a one-parameter family of matrices commuting with A.
UT-2: 3x3 Eigenvalues with Complex Roots
Question:
Let M=200120003.
(a) Find the eigenvalues and eigenvectors of M.
(b) A student claims that since M is triangular, the eigenvalues are the diagonal entries, so there should be three linearly independent eigenvectors. Is this correct?
[Difficulty: hard. Tests eigenvalue computation for a matrix with a repeated eigenvalue and the concept of defective matrices.]
This gives y=0 and z=0With x free. So the eigenvectors are 100 times any scalar. There is only one linearly independent eigenvector for λ=2.
For λ2=3: (M−3I)v=0:
−1001−10000xyz=000
This gives y=0, −x=0 so x=0With z free. Eigenvector: 001.
(b) The student is incorrect. While it is true that the eigenvalues of a triangular matrix are the diagonal entries, the number of linearly independent eigenvectors is not necessarily equal to the number of eigenvalues (counting multiplicity). Here λ=2 has algebraic multiplicity 2 but geometric multiplicity 1. The matrix is defective — it cannot be diagonalised.
Integration Tests
Tests synthesis of matrices with other topics.
IT-1: Diagonalisation for Computing Matrix Powers
Question:
Let A=(52−6−2).
(a) Find the eigenvalues and eigenvectors of A.
(b) Write A=PDP−1 where D is a diagonal matrix.
(c) Hence find A5.
(d) A student claims that since A has two distinct eigenvalues, An can always be computed as PDnP−1 for any positive integer n. Is this correct? What conditions must be verified?
[Difficulty: hard. Combines eigenvalue computation, diagonalisation, and matrix exponentiation.]
(d) The student’s claim is correct with the caveat that the matrix must be diagonalisable. Two distinct eigenvalues are a sufficient condition for diagonalisability, since each eigenvalue contributes at least one eigenvector and eigenvectors corresponding to distinct eigenvalues are linearly independent. So with two distinct eigenvalues for a 2×2 matrix, we are guaranteed two linearly independent eigenvectors, meaning P is invertible.
However, the student should verify that P is indeed invertible (i.e., detP=0) before using this method. If the eigenvectors were accidentally computed incorrectly (e.g., picking a dependent pair), P−1 would not exist.