Imc Linear Algebra
Imc Linear Algebra
Robin Visser
25 January 2023
Below is a collection of some of the main definitions and theorems which I’ve found useful
for solving IMC linear algebra problems. Most of these problems require nothing more
than first year linear algebra and a bit of creativity!
1 Definitions
1.1 Vector spaces
(1.1.1) Let V be a vector space over F . A set of vectors {v1 , . . . , vn } ⊂ V is
α1 v1 + · · · + αn vn = 0
are α1 = · · · = αn = 0.
(ii) spanning if, for all w ∈ V , there exist β1 , . . . , βn ∈ F such that
β1 v1 + · · · + βn vn = w.
1.2 Orthogonality
(1.2.1) Let v, w ∈ Rn . We say v is orthogonal to w if their dot product v · w is 0, i.e. if
v = (a1 , . . . , an )T and w = (b1 , . . . , bn )T , then a1 b1 + · · · + an bn = 0.
More generally, for vectors v, w ∈ Cn , we say v and w are orthogonal if a1 b1 + · · · +
an bn = 0.
1.3 Matrices
(1.3.1) An m × n matrix is a rectangular array of numbers
a11 a12 ··· a1n
a21 a22 ... a2n
A= . .. .
.. ..
.. . . .
am1 am2 · · · amn
1
(1.3.2) The determinant of a square matrix A is
X
det(A) := sgn(σ)a1σ(1) a2σ(2) · · · anσ(n) .
σ∈Sn
(1.3.5) The eigenvectors of a square matrix A are non-zero vectors v such that Av = λv
for some scalar λ. The value λ is the eigenvalue associated with v.
(1.3.6) The minimal polynomial µA (t) of A is the unique monic polynomial of lowest
degree such that µA (A) = 0.
(1.3.7) The (column) rank of A is the maximal number of linearly independent columns
of A.
(1.4.7) Two n × n matrices A, B are similar if there exists an invertible matrix P such
that A = P −1 BP
2
2 Useful facts
2.1 Bases
• Every vector space has a basis.
• If V is a vector space of dimension n, then the following are equivalent for a set of
n vectors S = {v1 , . . . , vn }:
2.2 Orthogonality
• (Gram-Schmidt) Every vector space (with an inner product) has an orthonormal
basis.
2.3 Determinants
• Determinants are well-behaved with respect to row or column operations:
det(A) = (−1)i+1 ai1 Mi1 + (−1)i+2 ai2 Mi2 + · · · + (−1)i+n ain Min
for any i = 1, . . . , n.
3
2.4 Trace
• The trace is linear: tr(A + B) = tr(A) + tr(B) and tr(cA) = c tr(A)
2.5 Rank
• The column rank of a matrix equals its row rank.
2.6 Diagonalisation
• A matrix is diagonalisable over F if and only if its minimal polynomial is a product
of distinct linear factors over F .
4
2.8 Gram matrices
• Any Gram matrix is positive semidefinite (i.e. Hermitian with nonnegative eigen-
values)
• Rank of Gram matrix equals the rank of the k × n matrix formed by {v1 , . . . , vn }.
2.9 Miscellaneous
• Any eigenvalue λi of a matrix A is a root of both the characteristic polynomial pA (t)
and the minimal polynomial µA (t).
• For any two square matrices A, B, we have pAB (t) = pBA (t) (but could have
µAB (t) ̸= µBA (t)!)
• Any real symmetric matrix (or Hermitian matrix) has all real eigenvalues.
5
3 IMC Practice Problems
Below are a list of 59 IMC linear algebra problems, given (very roughly) in order of
difficulty. This should hopefully keep you busy until the competition in August :). Feel
free to drop me an email if you’re stuck and would like a hint!
1. Let A and B be n×n real matrices such that AB+A+B = 0. Prove that AB = BA.
2. Let A and B be real symmetric matrices with all eigenvalues strictly greater than 1.
Let λ be a real eigenvalue of matrix AB. Prove that |λ| > 1.
3. Let V be a 10-dimensional real vector space and U1 and U2 two linear subspaces
such that U1 ⊆ U2 , dimR U1 = 3 and dimR U2 = 6. Let E be the set of all linear
maps T : V → V which have U1 and U2 as invariant subspaces (i.e. T (U1 ) ⊆ U1 and
T (U2 ) ⊆ U2 ). Calculate the dimension of E as a real vector space.
4. Determine all pairs (a, b) of real numbers for which there exists a unique symmetric
2 × 2 matrix M with real entries satisfying trace(M ) = a and det(M ) = b.
5. For any integer n ≥ 2 and two n × n matrices with real entries A, B that satisfy
the equation A−1 + B −1 = (A + B)−1 prove that det(A) = det(B). Does the same
conclusion follow for matrices with complex entries?
6. (a) Show that for any m ∈ N there exists a real m × m matrix A such that A3 =
A + I, where I is the m × m identity matrix.
(b) Show that detA > 0 for every real m × m matrix satisfying A3 = A + I.
7. Let A be the n × n matrix, whose (i, j)-th entry is i + j for all i, j = 1, 2, . . . , n.
What is the rank of A?
8. Let n be a positive integer. Consider an n×n matrix with entries 1, 2, . . . , n2 written
in order starting top left and moving along each row in turn left-to-right. We choose
n entries of the matrix such that exactly one entry is chosen in each row and each
column. What are the possible values of the sum of the selected entries?
9. Determine all complex numbers λ for which there exist a positive integer n and a
real n × n matrix A such that A2 = AT and λ is an eigenvalue of A.
10. Let A be a real n × n matrix such that A3 = 0.
(a) Prove that there is a unique real n × n matrix X that satisfies the equation
X + AX + XA2 = A.
(b) Express X in terms of A.
11. (a) Let A be a n×n, n ≥ 2, symmetric invertible matrix with real positive elements.
Show that zn ≤ n2 − 2n, where zn is the number of zero elements in A−1 .
(b) How many zero elements are there in the inverse of the n × n matrix
1 1 1 1 ... 1
1 2 2 2 . . . 2
1 2 1 1 . . . 1
A= 1 2 1 2 . . . 2 ?
. . . . . .
.. .. .. .. . . ..
..
1 2 1 2 ... .
6
12. Let V be a real vector space, and let f, f1 , f2 , . . . , fk be linear maps from V to R.
Suppose that f (x) = 0 whenever f1 (x) = f2 (x) = · · · = fk (x) = 0. Prove that f is a
linear combination of f1 , f2 , . . . , fk .
14. Let A be a 3 × 3 real matrix such that the vectors Au and u are orthogonal for each
column vector u ∈ R3 . Prove that:
Calculate det(A).
Find BA.
18. Let k be a positive integer. Find the smallest positive integer n for which there
exist k nonzero vectors v1 , . . . , vk in Rn such that for every pair i, j of indices with
|i − j| > 1 the vectors vi and vj are orthogonal.
19. Let A be a real n×n matrix and suppose that for every positive integer m there exists
a real symmetric matrix B such that 2021B = Am + B 2 . Prove that |detA| ≤ 1.
20. Let n be a positive integer. Find all n × n real matrices A with only real eigenvalues
satisfying
A + Ak = AT
for some integer k ≥ n.
21. Let n ≥ 2 be an integer. What is the minimal and maximal possible rank of an n × n
matrix whose n2 entries are precisely the numbers 1, 2, . . . , n2 ?
7
22. Let M be an invertible matrix of dimension 2n × 2n, represented in block form as
A B E F
M= and M −1 =
C D G H
Show that detM · detH = detA.
23. Let A and B be n × n real matrices such that rk(AB − BA + I) = 1. Prove that
1
trace(ABAB) − trace(A2 B 2 ) = n(n − 1).
2
24. A four-digit number Y EAR is called very good if the system
Y x + Ey + Az + Rw = Y
Rx + Y y + Ez + Aw = E
Ax + Ry + Y z + Ew = A
Ex + Ay + Rz + Y w = R
of linear equations in the variables x, y, z and w has at least two solutions. Find all
very good YEARs in the 21st century.
25. Let k and n be positive integers. A sequence (A1 , . . . , Ak ) of n × n real matrices is
preferred by Ivan the Confessor if A2i = 0 for 1 ≤ i ≤ k, but Ai Aj = 0 for 1 ≤ i, j ≤ k
with i ̸= j. Show that k ≤ n in all preferred sequences, and give an example of a
preferred sequence with k = n for each n.
26. Let A = (aij )ni,j=1 be a symmetric n×n matrix with real entries, and let λ1 , λ2 , . . . , λn
denote its eigenvalues. Show that
X X
aii ajj ≥ λi λj
1≤i<j≤n 1≤i<j≤n
8
32. Define the sequence A1 , A2 , . . . of matrices by the following recurrence:
0 1 An I2n
A1 = , An+1 = (n = 1, 2, . . . )
1 0 I2n An
A2 B + BA2 = 2ABA.
Prove that there exists a positive integer k such that (AB − BA)k = 0.
34. Let n be a positive integer, and consider the matrix A = (aij )1≤i,j≤n , where
(
1 if i + j is a prime number,
aij =
0 otherwise.
35. Let n > 1 be an odd positive integer and A = (aij )i,j=1...n be the n × n matrix with
2 if i = j
aij = 1 if i − j ≡ ±2 (mod n)
0 otherwise
Find det(A).
37. Let v0 be the zero vector in Rn and let v1 , v2 , . . . , vn+1 ∈ Rn be such that the
Euclidean norm |vi − vj | is rational for every 0 ≤ i, j ≤ n + 1. Prove that v1 , . . . , vn+1
are linearly dependent over the rationals.
38. In the linear space of all real n × n matrices, find the maximum possible dimension
of a linear subspace V such that
∀X, Y ∈ V trace(XY ) = 0
40. Let A be an n × n real matrix such that 3A3 = A2 + A + I. Show that the sequence
Ak converges to an idempotent matrix.
41. Let A be an n × n complex matrix such that A ̸= λI for all λ ∈ C. Prove that A is
similar to a matrix having at most one non-zero entry on the main diagonal.
9
42. Let A, B be square complex matrices of the same size such that
rank(AB − BA) = 1
43. Let α ∈ R\{0} and suppose that F and G are linear maps (operators) from Rn into
R2 satisfying F ◦ G − G ◦ F = αF .
where c1 , c2 , . . . , ck are distinct (which means that c1 appears d1 times on the diag-
onal, c2 appears d2 times on the diaognal, etc. and d1 + d2 + . . . dk = n).
Let V be the space of all n × n matrices B such that AB = BA. Prove that the
dimension of V is d21 + d22 + · · · + d2k .
45. Let n be a positive integer. At most how many distinct unit vectors can be selected
in Rn such that from any three of them, at least two are orthogonal?
46. Let A be a symmetric m × m matrix over the two-element field all of whose diagonal
entries are zero. Prove that for every positive integer n each column of the matrix
An has a zero entry.
47. Let A and B be real n × n matrices. Assume that there exist n + 1 different real
numbers t1 , t2 , . . . , tn+1 such that the matrices
Ci = A + ti B, i = 1, 2, . . . , n + 1
are nilpotent (i.e. Cin = 0). Show that both A and B are nilpotent.
48. The linear operator A on the vector space V is called an involution if A2 = E where
E is the identity operator on V . Let dimV = n < ∞.
(i) Prove that for every involution A on V there exists a basis of V consisting of
eigenvectors of A.
(ii) Find the maximal number of distinct pairwise commuting involutions on V .
49. Let A and B be real n × n matrices such that A2 + B 2 = AB. Prove that BA − AB
is an invertible matrix then n is divisible by 3.
50. Determine all positive integers n for which there exist n × n real invertible matrices
A and B that satisfy AB − BA = B 2 A.
2
51. (a) Let f : Mn → R be a linear map from the space Mn = Rn of real n × n
matrices to the reals. Prove that there exists a unique matrix C ∈ Mn such
that f (A) = tr(AC) for any A ∈ Mn .
(b) Suppose in addition to (a) that f (AB) = f (BA) for any A, B ∈ Mn . Prove
that there exists λ ∈ R such that f (A) = λ · tr(A).
10
52. An n × n complex matrix A is called t-normal if AAT = AT A where AT is the
transpose of A. For each n, determine the maximum dimension of a linear space of
complex n × n matrices consisting of t-normal matrices.
53. Let A be a n × n complex matrix whose eigenvalues have absolute value at most 1.
Prove that
n
∥An ∥ ≤ ∥A∥n−1 .
ln 2
pPn
(here ∥B∥ = sup∥x∥≤1 ∥Bx∥ for every n × n matrix B and ∥x∥ = 2
i=1 |xi | for
n
every complex vector x ∈ C .)
54. Let A be an n × n matrix with complex entries and suppose that n > 1. Prove that
−1
AA = In ⇐⇒ ∃S ∈ GLn (C) such that A = SS .
55. Determine whether there exist an odd positive integer n and n × n matrices A and
B with integer entries, that satisfy the following conditions:
(a) det(B) = 1;
(b) AB = BA;
(c) A4 + 4A2 B 2 + 16B 4 = 2019I.
56. For each positive integer k, find the smallest number nk for which there exist real
nk × nk matrices A1 , A2 , . . . , Ak such that all of the following conditions hold:
58. For n ≥ 0 define matrices An and Bn as follows: A0 = B0 = (1) and for every n > 0
An−1 An−1 An−1 An−1
An = and Bn = .
An−1 Bn−1 An−1 0
Denote the sum of all elements of a matrix M by S(M ). Prove that S(Ak−1
n ) =
S(An−1
k ) for every n, k ≥ 1.
Prove that there is an invertible real 2 × 2 matrix S such that Ai = S −1 Bi S for all
i = 1, 2, 3.
11