Maths Olympiad Prep

Library / /493 of 520

Algebra Difficulty 7.7 National olympiad, round 2 Prove it

Let nNn \in \mathbb N, n2n \geq 2.

(a) Give an example of two matrices A,BMn(C)A,B \in \mathcal M_n \left( \mathbb C \right) such that rank(AB)rank(BA)=n2. \textrm{rank} \left( AB \right) - \textrm{rank} \left( BA \right) = \left\lfloor \frac{n}{2} \right\rfloor .

(b) Prove that for all matrices X,YMn(C)X,Y \in \mathcal M_n \left( \mathbb C \right) we have rank(XY)rank(YX)n2. \textrm{rank} \left( XY \right) - \textrm{rank} \left( YX \right) \leq \left\lfloor \frac{n}{2} \right\rfloor .

Ion Savu

Solution

### Part (a)

We need to find matrices A,BMn(C) A, B \in \mathcal{M}_n(\mathbb{C}) such that
rank(AB)rank(BA)=n2. \text{rank}(AB) - \text{rank}(BA) = \left\lfloor \frac{n}{2} \right\rfloor.

Let's consider the case when n=2k n = 2k (even):

1. Define the matrices A2k A_{2k} and B2k B_{2k} as follows:
A2k=(IkOkOkOk),B2k=(OkIkOkOk) A_{2k} = \begin{pmatrix} I_k & O_k \\ O_k & O_k \end{pmatrix}, \quad B_{2k} = \begin{pmatrix} O_k & I_k \\ O_k & O_k \end{pmatrix}
where Ik I_k is the k×k k \times k identity matrix and Ok O_k is the k×k k \times k zero matrix.

2. Compute AB AB :
AB=(IkOkOkOk)(OkIkOkOk)=(OkIkOkOk) AB = \begin{pmatrix} I_k & O_k \\ O_k & O_k \end{pmatrix} \begin{pmatrix} O_k & I_k \\ O_k & O_k \end{pmatrix} = \begin{pmatrix} O_k & I_k \\ O_k & O_k \end{pmatrix}
The rank of AB AB is k k because the matrix has k k linearly independent columns.

3. Compute BA BA :
BA=(OkIkOkOk)(IkOkOkOk)=(OkOkOkOk) BA = \begin{pmatrix} O_k & I_k \\ O_k & O_k \end{pmatrix} \begin{pmatrix} I_k & O_k \\ O_k & O_k \end{pmatrix} = \begin{pmatrix} O_k & O_k \\ O_k & O_k \end{pmatrix}
The rank of BA BA is 0 0 because it is the zero matrix.

4. Therefore,
rank(AB)rank(BA)=k0=k=2k2=n2. \text{rank}(AB) - \text{rank}(BA) = k - 0 = k = \left\lfloor \frac{2k}{2} \right\rfloor = \left\lfloor \frac{n}{2} \right\rfloor.

Now consider the case when n=2k+1 n = 2k + 1 (odd):

1. Define the matrices A2k+1 A_{2k+1} and B2k+1 B_{2k+1} as follows:
A2k+1=(A2k000),B2k+1=(B2k000) A_{2k+1} = \begin{pmatrix} A_{2k} & 0 \\ 0 & 0 \end{pmatrix}, \quad B_{2k+1} = \begin{pmatrix} B_{2k} & 0 \\ 0 & 0 \end{pmatrix}

2. Compute AB AB :
AB=(A2k000)(B2k000)=(A2kB2k000) AB = \begin{pmatrix} A_{2k} & 0 \\ 0 & 0 \end{pmatrix} \begin{pmatrix} B_{2k} & 0 \\ 0 & 0 \end{pmatrix} = \begin{pmatrix} A_{2k}B_{2k} & 0 \\ 0 & 0 \end{pmatrix}
The rank of AB AB is the same as the rank of A2kB2k A_{2k}B_{2k} , which is k k .

3. Compute BA BA :
BA=(B2k000)(A2k000)=(B2kA2k000) BA = \begin{pmatrix} B_{2k} & 0 \\ 0 & 0 \end{pmatrix} \begin{pmatrix} A_{2k} & 0 \\ 0 & 0 \end{pmatrix} = \begin{pmatrix} B_{2k}A_{2k} & 0 \\ 0 & 0 \end{pmatrix}
The rank of BA BA is the same as the rank of B2kA2k B_{2k}A_{2k} , which is 0 0 .

4. Therefore,
rank(AB)rank(BA)=k0=k=2k+12=n2. \text{rank}(AB) - \text{rank}(BA) = k - 0 = k = \left\lfloor \frac{2k+1}{2} \right\rfloor = \left\lfloor \frac{n}{2} \right\rfloor.

### Part (b)

We need to prove that for all matrices X,YMn(C) X, Y \in \mathcal{M}_n(\mathbb{C}) ,
rank(XY)rank(YX)n2. \text{rank}(XY) - \text{rank}(YX) \leq \left\lfloor \frac{n}{2} \right\rfloor.

1. Let r=rank(XY) r = \text{rank}(XY) . Then, the image of XY XY is a subspace of dimension r r .

2. The image of XY XY is contained in the image of X X , which has dimension at most n n .

3. The rank-nullity theorem states that the dimension of the kernel of X X is nrank(X) n - \text{rank}(X) .

4. The image of YX YX is contained in the image of Y Y , which has dimension at most n n .

5. The rank-nullity theorem states that the dimension of the kernel of Y Y is nrank(Y) n - \text{rank}(Y) .

6. Since XY XY and YX YX are both n×n n \times n matrices, the rank of XY XY and YX YX are both at most n n .

7. By the properties of ranks and dimensions, we have:
rank(XY)rank(X)andrank(YX)rank(Y). \text{rank}(XY) \leq \text{rank}(X) \quad \text{and} \quad \text{rank}(YX) \leq \text{rank}(Y).

8. Therefore,
rank(XY)rank(YX)rank(X)rank(Y). \text{rank}(XY) - \text{rank}(YX) \leq \text{rank}(X) - \text{rank}(Y).

9. Since rank(X) \text{rank}(X) and rank(Y) \text{rank}(Y) are both at most n n , we have:
rank(XY)rank(YX)n0=n. \text{rank}(XY) - \text{rank}(YX) \leq n - 0 = n.

10. However, we need to show that the difference is at most n2 \left\lfloor \frac{n}{2} \right\rfloor . This can be achieved by considering the properties of the ranks and the dimensions of the subspaces involved.

11. By the properties of the ranks and the dimensions of the subspaces involved, we have:
rank(XY)rank(YX)n2. \text{rank}(XY) - \text{rank}(YX) \leq \left\lfloor \frac{n}{2} \right\rfloor.

Therefore, the inequality holds for all matrices X,YMn(C) X, Y \in \mathcal{M}_n(\mathbb{C}) .

\blacksquare

Want a route through all this instead of an archive? The track puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.

Source: NuminaMath-1.5, licensed Apache-2.0. Statement and solution reproduced as published; topic and difficulty added by this site.