Chapter 3 Exercises

Li–Zha–Wang, Linear Algebra (2nd ed.) §§3.1–3.7

Exercise list locked from the textbook; solved independently. Numbers were recomputed.

How to use this file

  • Textbook: 李炯生、查建国、王新茂, 线性代数, 2nd ed., USTC Press, 2010.
  • Range: all section exercises in Chapter 3.
  • Pages: printed pp. 97–99, 104–106, 112–114, 122–124, 133–134, 143–144, 151; PDF = printed + 12.
  • Principle: stems follow the scan; solutions are independent. Numbers were recomputed.
  • Companion notes: ch03-notes.qmd.

Numbering is §section.problem, matching the book.

Notation as in the text: \(A^*\) is the adjugate; \(\overline{A}^{\mathrm{T}}\) is the conjugate transpose; \(A^-\) is a \(\{1\}\)-inverse (\(AXA=A\)); \(A^+\) is the Moore–Penrose inverse.

§3.1 Algebraic operations on matrices

Printed pp. 97–99; PDF pp. 109–111.

Exercise §3.1.1

注记Stem (abridged)

Compute the indicated products and powers.

提示Solution

(1) \[ \begin{pmatrix}a&b&c\\ c&b&a\\ 1&1&1\end{pmatrix} \begin{pmatrix}1&a&c\\ 1&b&b\\ 1&c&a\end{pmatrix} = \begin{pmatrix} a+b+c & a^{2}+b^{2}+c^{2} & b^{2}+2ac \\ a+b+c & b^{2}+2ac & a^{2}+b^{2}+c^{2} \\ 3 & a+b+c & a+b+c \end{pmatrix}. \]

(2) The third factor equals the first. Write \[ A=\begin{pmatrix}1&2&1\\0&1&2\\3&1&1\end{pmatrix},\quad B=\begin{pmatrix}2&3&1\\-1&1&0\\1&2&-1\end{pmatrix}. \] Then \[ AB=\begin{pmatrix}1&7&0\\1&5&-2\\6&12&2\end{pmatrix},\qquad ABA=\begin{pmatrix}1&9&15\\-5&5&9\\12&26&32\end{pmatrix}. \]

(3) \[ \begin{pmatrix}2&1&1\\3&1&0\\0&1&2\end{pmatrix}^{2} =\begin{pmatrix}7&4&4\\9&4&3\\3&3&4\end{pmatrix}. \]

(4) Let \(U=(u_{ij})\) with \(u_{ij}=1\) for \(i\le j\) and \(0\) otherwise. Then \(U=I+N+\cdots+N^{3}\) where \(N\) is the \(4\times 4\) superdiagonal matrix of ones, \(N^{4}=0\). Equivalently \(U\) is the discrete summation operator, and \[ (U^{n})_{ij}=\binom{n+j-i-1}{j-i}\qquad(i\le j),\qquad (U^{n})_{ij}=0\qquad(i>j). \] (The first row is \(1,\binom{n}{1},\binom{n+1}{2},\binom{n+2}{3}\).)

(5) \(\begin{pmatrix}1&\lambda\\0&1\end{pmatrix}^{n}=\begin{pmatrix}1&n\lambda\\0&1\end{pmatrix}\), by induction or because the matrix is \(I+\lambda E_{12}\) and \(E_{12}^{2}=0\).

(6) The matrices \(\begin{pmatrix}p&q\\-q&p\end{pmatrix}\) multiply as the complex numbers \(p+qi\). Thus \[ \begin{pmatrix}1&\lambda/n\\-\lambda/n&1\end{pmatrix}^{n} \] corresponds to \((1+i\lambda/n)^{n}\). Writing \(1+i\lambda/n=\rho e^{i\theta}\) with \(\rho=\sqrt{1+\lambda^{2}/n^{2}}\) and \(\theta=\arctan(\lambda/n)\), one obtains \[ \bigl(1+\tfrac{\lambda^{2}}{n^{2}}\bigr)^{n/2} \begin{pmatrix} \cos\bigl(n\arctan\tfrac{\lambda}{n}\bigr) & \sin\bigl(n\arctan\tfrac{\lambda}{n}\bigr) \\ -\sin\bigl(n\arctan\tfrac{\lambda}{n}\bigr) & \cos\bigl(n\arctan\tfrac{\lambda}{n}\bigr) \end{pmatrix}. \]

(7) The displayed matrix is rotation by \(\theta\), so the \(n\)-th power is rotation by \(n\theta\): \[ \begin{pmatrix}\cos n\theta&-\sin n\theta\\ \sin n\theta&\cos n\theta\end{pmatrix}. \]

(8) The matrix \(N\) is the \(n\times n\) single Jordan block of eigenvalue \(0\) (ones on the superdiagonal). Then \(N^{n}=0\).

(9) Write \(J=\lambda I+N\) with \(N\) as in (8). Then \(N^{n}=0\), so \[ J^{n}=\sum_{k=0}^{n-1}\binom{n}{k}\lambda^{n-k}N^{k}. \] Hence \(J^{n}\) is upper triangular Toeplitz with \(k\)-th superdiagonal equal to \(\binom{n}{k}\lambda^{n-k}\).

(10) Let \(C\) be the circulant with first row \((a_{0},\ldots,a_{n-1})\) and let \(F\) be the Fourier matrix \(F_{jk}=\omega^{jk}\) (indices from \(0\)). Set \(f(x)=a_{0}+a_{1}x+\cdots+a_{n-1}x^{n-1}\). The \(k\)-th column of \(F\) is an eigenvector of \(C\) with eigenvalue \(f(\omega^{k})\), so \[ (CF)_{jk}=\omega^{jk}\,f(\omega^{k}). \] (The hypothesis \(\omega^{n}=1\) is used here; if \(\omega\) is primitive the eigenvalues are simple whenever the \(f(\omega^{k})\) are distinct.)

Exercise §3.1.2

注记Stem (abridged)

Compute the commutators \(AB-BA\).

提示Solution

(1) Direct multiplication gives \[ AB=\begin{pmatrix}-3&7&2\\6&8&4\\-1&11&4\end{pmatrix},\quad BA=\begin{pmatrix}7&11&9\\0&-6&0\\6&6&8\end{pmatrix}, \] \[ AB-BA=\begin{pmatrix}-10&-4&-7\\6&14&4\\-7&5&-4\end{pmatrix}. \] (As a check, the trace is \(0\).)

(2) \[ AB-BA=\begin{pmatrix}1&-2&1\\0&0&1\\0&0&-1\end{pmatrix}. \]

Exercise §3.1.3

注记Stem (abridged)

Find all matrices commuting with the given \(A\).

提示Solution

(1) Let \[ A=\begin{pmatrix}1&0&1\\0&1&0\\3&1&2\end{pmatrix}. \] The characteristic polynomial is \(\det(\lambda I-A)=(\lambda-1)(\lambda^{2}-3\lambda-1)\). The three roots \(1,(3\pm\sqrt{13})/2\) are distinct, so the commutant is the polynomials in \(A\) and is \(3\)-dimensional. Explicitly, \(AB=BA\) if and only if \[ B=\begin{pmatrix} d-c & \dfrac{d-a-c}{3} & c \\ 0 & a & 0 \\ 3c & c & d \end{pmatrix} =xI+yA+zA^{2} \] for scalars \(a,c,d\) (or \(x,y,z\)).

(2) The matrix is the cycle permutation \(e_{1}\mapsto e_{4}\mapsto e_{3}\mapsto e_{2}\mapsto e_{1}\) (the companion matrix of \(x^{4}-1\)). Its minimal polynomial is \(x^{4}-1\), of degree \(4\), so the commutant is again the polynomials in \(A\), i.e. the circulant matrices \[ B=\begin{pmatrix} b_{0}&b_{1}&b_{2}&b_{3}\\ b_{3}&b_{0}&b_{1}&b_{2}\\ b_{2}&b_{3}&b_{0}&b_{1}\\ b_{1}&b_{2}&b_{3}&b_{0} \end{pmatrix}. \]

Exercise §3.1.4

注记Stem (abridged)

If \(A\) and \(B\) commute, prove the usual binomial identities for \(A+B\) and \(A-B\).

提示Solution

If \(AB=BA\) then \(A\) and \(B\) may be manipulated as commuting indeterminates.

(1) \((A+B)^{2}=A^{2}+AB+BA+B^{2}=A^{2}+2AB+B^{2}\).

(2) \((A+B)(A-B)=A^{2}-AB+BA-B^{2}=A^{2}-B^{2}\).

(3) By induction on \(n\), using \(A(A^{n-k}B^{k})=(A^{n-k}B^{k})A\) (which follows from \(AB=BA\)): \[ (A+B)^{n}=\sum_{k=0}^{n}\binom{n}{k}A^{n-k}B^{k}. \]

Exercise §3.1.5

注记Stem (abridged)

If \(A\) is diagonal with distinct diagonal entries, then \(B\) commutes with \(A\) if and only if \(B\) is diagonal. Extend to \(A=\operatorname{diag}(\lambda_{1}I_{k_{1}},\ldots,\lambda_{t}I_{k_{t}})\) with the \(\lambda_{i}\) pairwise distinct.

提示Solution

Write \(A=\operatorname{diag}(a_{1},\ldots,a_{n})\) with \(a_{i}\neq a_{j}\) for \(i\neq j\). The identity \(AB=BA\) reads \(a_{i}b_{ij}=b_{ij}a_{j}\), so \((a_{i}-a_{j})b_{ij}=0\), hence \(b_{ij}=0\) for \(i\neq j\).

In the block case, partition \(B=(B_{ij})\) conformally. Then \(AB-BA\) has \((i,j)\)-block \((\lambda_{i}-\lambda_{j})B_{ij}\). Distinct eigenvalues force \(B_{ij}=0\) for \(i\neq j\), so \(B\) is block diagonal of the same type. Conversely every such block-diagonal matrix commutes with \(A\).

Exercise §3.1.6

注记Stem (abridged)
  1. The product of upper triangular matrices is upper triangular. (2) If \(A_{1},\ldots,A_{n}\) are \(n\times n\) upper triangular and the \((i,i)\)-entry of \(A_{i}\) vanishes, then \(A_{1}\cdots A_{n}=0\).
提示Solution

(1) Upper triangular matrices are precisely the endomorphisms preserving the flag \(V_{k}=\operatorname{span}\{e_{1},\ldots,e_{k}\}\). The product preserves each \(V_{k}\), so it is upper triangular. (Or: the \((i,j)\)-entry of a product with \(i>j\) is a sum of products each containing a strictly lower-triangular factor.)

(2) Upper triangularity of \(A_{i}\) together with a zero \((i,i)\)-entry means \(A_{i}V_{i}\subset V_{i-1}\). Therefore \[ A_{n}(F^{n})=A_{n}V_{n}\subset V_{n-1},\quad A_{n-1}A_{n}(F^{n})\subset A_{n-1}V_{n-1}\subset V_{n-2}, \] and inductively \(A_{1}\cdots A_{n}(F^{n})\subset V_{0}=\{0\}\).

Exercise §3.1.7

注记Stem (abridged)

An upper triangular matrix is nilpotent if and only if its diagonal vanishes; the nilpotency index is then at most the size.

提示Solution

If \(A^{k}=0\) then every eigenvalue is \(0\), so the diagonal (the list of eigenvalues, counted with the triangular form) is zero.

Conversely, if \(A\) is strictly upper triangular then \(A\) preserves the flag \(V_{k}\) and \(A(V_{k})\subset V_{k-1}\), so \(A^{n}=0\) as in §3.1.6(2). The index is therefore at most \(n\).

Exercise §3.1.8

注记Stem (abridged)

Find all \(2\times 2\) nilpotent matrices.

提示Solution

Write \(A=\begin{pmatrix}a&b\\c&d\end{pmatrix}\). Then \(A^{2}=0\) implies \(\operatorname{tr} A=0\) and \(\det A=0\) (Cayley–Hamilton, or by looking at the characteristic polynomial). Thus \(d=-a\) and \(a^{2}+bc=0\): \[ A=\begin{pmatrix}a&b\\c&-a\end{pmatrix},\qquad a^{2}+bc=0. \] (This includes \(A=0\). Over an algebraically closed field these are exactly the matrices similar to \(0\) or to \(E_{12}\).)

Exercise §3.1.9

注记Stem (abridged)

\(A\) is involutory if \(A^{2}=I\). Find all \(2\times 2\) involutory matrices.

提示Solution

Cayley–Hamilton gives \(A^{2}-(\operatorname{tr} A)A+(\det A)I=0\). Substituting \(A^{2}=I\) yields \((\operatorname{tr} A)\,A=(1+\det A)I\).

  • If \(\operatorname{tr} A\neq 0\) then \(A\) is a scalar matrix, so \(A=\lambda I\) with \(\lambda^{2}=1\), i.e. \(A=\pm I\).
  • If \(\operatorname{tr} A=0\) then \(\det A=-1\), so \[ A=\begin{pmatrix}a&b\\c&-a\end{pmatrix},\qquad a^{2}+bc=1. \]

These two families exhaust the solutions (and \(\pm I\) may be viewed as the special cases \(a=\pm 1\), \(b=c=0\) of a trace-zero description only after adjusting the determinant condition; they are recorded separately for clarity).

Exercise §3.1.10

注记Stem (abridged)

\(A\) is idempotent if \(A^{2}=A\). Find all \(2\times 2\) idempotent matrices.

提示Solution

The minimal polynomial divides \(x(x-1)\), so \(A\) is diagonalizable with eigenvalues in \(\{0,1\}\) (over a field in which this factorization is available; over any field the same matrices appear by a direct computation). The possibilities are \(A=0\), \(A=I\), and the rank-\(1\) projections \[ A=\begin{pmatrix}a&b\\c&1-a\end{pmatrix},\qquad a(1-a)=bc. \] (The last condition is \(\det A=0\), and \(\operatorname{tr} A=1\).)

Exercise §3.1.11

注记Stem (abridged)

If \(A\) is involutory then \(B=\frac12(A+I)\) is idempotent; conversely if \(B\) is idempotent then \(A=2B-I\) is involutory.

提示Solution

If \(A^{2}=I\) then \[ B^{2}=\frac14(A^{2}+2A+I)=\frac14(I+2A+I)=\frac12(A+I)=B. \] If \(B^{2}=B\) then \[ A^{2}=(2B-I)^{2}=4B^{2}-4B+I=4B-4B+I=I. \] (The scalar \(\frac12\) is available because the ground field is a number field.)

Exercise §3.1.12

注记Stem (abridged)

\(A\) is symmetric if \(A^{\mathrm{T}}=A\). Prove: (1) \(BB^{\mathrm{T}}\) is symmetric for any \(B\in F^{m\times n}\); (2) the product of two \(n\times n\) symmetric matrices is symmetric if and only if they commute.

提示Solution

(1) \((BB^{\mathrm{T}})^{\mathrm{T}}=(B^{\mathrm{T}})^{\mathrm{T}}B^{\mathrm{T}}=BB^{\mathrm{T}}\).

(2) If \(A^{\mathrm{T}}=A\) and \(B^{\mathrm{T}}=B\) then \((AB)^{\mathrm{T}}=B^{\mathrm{T}}A^{\mathrm{T}}=BA\). Thus \(AB\) is symmetric if and only if \(BA=AB\).

Exercise §3.1.13

注记Stem (abridged)

\(A\) is skew-symmetric if \(A^{\mathrm{T}}=-A\). Prove: (1) the product of two skew-symmetric matrices is skew-symmetric iff \(AB=-BA\); (2) the product is symmetric iff \(A\) and \(B\) commute.

提示Solution

\((AB)^{\mathrm{T}}=B^{\mathrm{T}}A^{\mathrm{T}}=(-B)(-A)=BA\).

(1) \(AB\) is skew-symmetric iff \(BA=-(AB)\), i.e. \(AB=-BA\).

(2) \(AB\) is symmetric iff \(BA=AB\).

Exercise §3.1.14

注记Stem (abridged)

Every square matrix decomposes uniquely as the sum of a symmetric matrix and a skew-symmetric matrix.

提示Solution

Set \[ S=\frac{A+A^{\mathrm{T}}}{2},\qquad K=\frac{A-A^{\mathrm{T}}}{2}. \] Then \(S^{\mathrm{T}}=S\), \(K^{\mathrm{T}}=-K\), and \(A=S+K\). If \(A=S_{1}+K_{1}\) is another such decomposition then \(S-S_{1}=K_{1}-K\) is both symmetric and skew-symmetric, hence zero (its transpose equals both itself and its negative, so it is \(0\) in characteristic not \(2\)).

Exercise §3.1.15

注记Stem (abridged)

A complex matrix with \(\overline{A}^{\mathrm{T}}=A\) is Hermitian. Prove that \(A\overline{A}^{\mathrm{T}}\) is Hermitian for every \(A\in\mathbf{C}^{m\times n}\).

提示Solution

\[ \overline{\bigl(A\overline{A}^{\mathrm{T}}\bigr)}^{\mathrm{T}} =\overline{\bigl(\overline{A}^{\mathrm{T}}\bigr)}^{\mathrm{T}}\overline{A}^{\mathrm{T}} =A\overline{A}^{\mathrm{T}}. \]

Exercise §3.1.16

注记Stem (abridged)

A block-upper-triangular matrix with square diagonal blocks is nilpotent if and only if every diagonal block is nilpotent.

提示Solution

If \(A\) is block-upper-triangular with diagonal blocks \(A_{ii}\), then \(A^{m}\) has diagonal blocks \(A_{ii}^{m}\). Thus \(A^{m}=0\) forces each \(A_{ii}^{m}=0\).

Conversely, if each \(A_{ii}\) is nilpotent then \(\det(\lambda I-A_{ii})=\lambda^{k_{i}}\), and the block-triangular expansion gives \(\det(\lambda I-A)=\lambda^{n}\). Cayley–Hamilton yields \(A^{n}=0\).

Exercise §3.1.17

注记Stem (abridged)

A diagonal matrix with equal diagonal entries is a scalar matrix. Prove that a matrix commuting with every \(n\times n\) matrix is a scalar matrix.

提示Solution

Suppose \(AB=BA\) for every \(B\). Taking \(B\) diagonal with distinct diagonal entries, §3.1.5 forces \(A\) itself to be diagonal, \(A=\operatorname{diag}(a_{1},\ldots,a_{n})\). Commuting with the transposition matrix \(P_{1j}\) (or with \(E_{1j}+E_{j1}\)) forces \(a_{1}=a_{j}\). Thus \(A=a_{1}I\).

(Alternatively: \(AE_{ij}=E_{ij}A\) compares the \(i\)-th column of \(A\) with a shift of the \(j\)-th row and yields \(a_{ki}=0\) for \(k\neq i\) and \(a_{ii}=a_{jj}\).)

Exercise §3.1.18

注记Stem (abridged)

Each row of the \(n\times n\) matrix \(A\) has exactly two entries equal to \(1\) and the rest \(0\). Let \(J\) be the all-ones matrix. Find all such \(A\) satisfying \(A^{2}+2A=2J\).

提示Solution

Each row of \(A\) sums to \(2\), so \(A\mathbf{1}=2\mathbf{1}\). Then \((A^{2}+2A)\mathbf{1}=8\mathbf{1}\), while \(2J\mathbf{1}=2n\mathbf{1}\). Hence \(n=4\).

It remains to find \(4\times 4\) \((0,1)\)-matrices with two ones in each row satisfying \(A^{2}+2A=2J\). Equivalently, for every \(i,j\): if \(a_{ij}=1\) then \((A^{2})_{ij}=0\), and if \(a_{ij}=0\) then \((A^{2})_{ij}=2\). A complete enumeration of the \(\binom{4}{2}^{4}=1296\) candidates produces exactly three solutions: \[ \begin{pmatrix} 0&1&1&0\\ 1&0&0&1\\ 1&0&0&1\\ 0&1&1&0 \end{pmatrix},\quad \begin{pmatrix} 0&1&0&1\\ 1&0&1&0\\ 0&1&0&1\\ 1&0&1&0 \end{pmatrix},\quad \begin{pmatrix} 0&0&1&1\\ 0&0&1&1\\ 1&1&0&0\\ 1&1&0&0 \end{pmatrix}. \] Each is (twice) the bipartite adjacency matrix of a complete matching between a partition of \(\{1,2,3,4\}\) into two pairs of pairs. Direct multiplication confirms \(A^{2}+2A=2J\) in all three cases.

§3.2 The Binet–Cauchy formula

Printed pp. 104–106; PDF pp. 116–118.

Exercise §3.2.1

注记Stem (abridged)

If \(A\in F^{2\times 2}\), prove \(A^{2}-(\operatorname{tr} A)A+(\det A)I_{2}=0\).

提示Solution

Let \(A=\begin{pmatrix}a&b\\c&d\end{pmatrix}\). Then \(\operatorname{tr} A=a+d\), \(\det A=ad-bc\), and \[ A^{2}=\begin{pmatrix}a^{2}+bc&b(a+d)\\c(a+d)&d^{2}+bc\end{pmatrix}. \] Hence \[ A^{2}-(a+d)A=\begin{pmatrix}-ad+bc&0\\0&-ad+bc\end{pmatrix}=-(\det A)I. \] This is the \(2\times 2\) Cayley–Hamilton theorem.

Exercise §3.2.2

注记Stem (abridged)

There do not exist \(A,B\in F^{n\times n}\) with \(AB-BA=I_{n}\).

提示Solution

The trace is linear and \(\operatorname{tr}(AB)=\operatorname{tr}(BA)\), so \(\operatorname{tr}(AB-BA)=0\). But \(\operatorname{tr} I_{n}=n\neq 0\) in a number field. (In characteristic \(p\) the same argument forbids the identity whenever \(p\nmid n\).)

Exercise §3.2.3

注记Stem (abridged)

Using the block identity \(\det\begin{pmatrix}A&0\\-I&B\end{pmatrix}=\det A\,\det B\), prove \(\det(AB)=\det A\det B\).

提示Solution

The displayed matrix is block triangular (the upper-right block is \(0\)), so the identity is the usual block-triangular evaluation of the determinant.

Add \(A\) times the lower block-row to the upper block-row (an elementary block operation, determinant unchanged): \[ \begin{pmatrix}A&0\\-I&B\end{pmatrix}\longmapsto \begin{pmatrix}0&AB\\-I&B\end{pmatrix}. \] Swap the two block-rows: this is \(n^{2}\) adjacent transpositions, and produces \(\begin{pmatrix}-I&B\\0&AB\end{pmatrix}\). Therefore \[ \det A\det B=(-1)^{n^{2}}\det(-I)\det(AB)=(-1)^{n^{2}+n}\det(AB). \] The exponent \(n(n+1)\) is even, so \(\det(AB)=\det A\det B\).

Exercise §3.2.4

注记Stem (abridged)

Evaluate four determinants: a Hankel matrix of power sums bordered by \((1,x,\ldots,x^{n})\); a polynomial-Vandermonde matrix; a circulant of squares; and a signed-circulant / skew-circulant Toeplitz matrix.

提示Solution

(1) Let \(s_{k}=x_{1}^{k}+\cdots+x_{n}^{k}\) for \(k\ge 1\) and \(s_{0}=n\) (the natural value, not printed as a separate clause). The \((n+1)\times(n+1)\) matrix has \((i,j)\)-entry \(s_{i+j}\) in the first \(n\) columns (\(i,j\) from \(0\)) and last column \((1,x,\ldots,x^{n})^{\mathrm{T}}\).

Let \(V\) be the \((n+1)\times n\) Vandermonde matrix \(V_{ik}=x_{k}^{i}\) and let \(W\) be the \(n\times n\) Vandermonde \(W_{kj}=x_{k}^{j}\). The first \(n\) columns equal \(VW\), and the last column is \(v(x)=(1,x,\ldots,x^{n})^{\mathrm{T}}\). Thus the matrix is \(\bigl(V\bigm|v(x)\bigr)\,\operatorname{diag}(W,1)\). Here \(\bigl(V\bigm|v(x)\bigr)\) is the Vandermonde matrix on \((x_{1},\ldots,x_{n},x)\). Therefore the determinant is \[ \biggl(\prod_{1\le i<j\le n}(x_{j}-x_{i})\biggr)^{2}\prod_{i=1}^{n}(x-x_{i}). \]

(2) Write \(\varphi_{i}(x)=\sum_{k=0}^{n-1}a_{ki}x^{k}\) and let \(D=\det(a_{ij})_{0\le i,j\le n-1}\). The matrix \(M\) with \(M_{ij}=\varphi_{i}(x_{j})\) factors as \(M=A^{\mathrm{T}}V\), where \(A=(a_{ki})\) and \(V_{kj}=x_{j}^{k}\). Hence \[ \det\bigl(\varphi_{i}(x_{j})\bigr)=D\prod_{1\le i<j\le n}(x_{j}-x_{i}). \] (The \((2,n)\)-entry of \(D\) is cramped on the scan; the matrix is the coefficient matrix \((a_{ij})\).)

(3) The matrix is the circulant generated by \((1^{2},2^{2},\ldots,n^{2})\). By the formula of §3.2 Example 1, \[ \det=\prod_{k=0}^{n-1}f(\omega^{k}),\qquad f(x)=\sum_{j=1}^{n}j^{2}x^{j-1},\quad \omega=\exp\bigl(\tfrac{2\pi i}{n}\bigr). \] Here \(f(1)=n(n+1)(2n+1)/6\). For \(x^{n}=1\), \(x\neq 1\), the finite-sum formulae collapse to \[ f(x)=\frac{n\bigl(n(x-1)-2\bigr)}{(x-1)^{2}}=\frac{n\bigl(nx-n-2\bigr)}{(x-1)^{2}}. \] (The values for \(n=1,\ldots,5\) are \(1,-15,686,-62400,9406375\).)

(4) The matrix is the Toeplitz / skew-circulant array with first row \((a_{1},\ldots,a_{n})\) and first column \((a_{1},-a_{n},-a_{n-1},\ldots,-a_{2})\) (the wrap-around entries change sign). It equals \(f(Z)\) where \(Z\) is the basic skew-cycle (\(1\)’s on the superdiagonal and \(-1\) in the lower-left corner) and \(f(t)=a_{1}+a_{2}t+\cdots+a_{n}t^{n-1}\). Since \(Z^{n}=-I\), the eigenvalues of \(Z\) are the \(n\)-th roots of \(-1\). Hence \[ \det=\prod_{k=0}^{n-1}f\bigl(\mathrm{e}^{i(2k+1)\pi/n}\bigr). \] (The \((3,n)\)-entry is tightly printed; the remaining rows lock the skew-circulant pattern.)

Exercise §3.2.5

注记Stem (abridged)

Compute \(\det(AB)\) directly and check by Binet–Cauchy.

提示Solution

(1) \(A\) is \(2\times 3\) and \(B\) is \(3\times 2\), so \[ AB=\begin{pmatrix}9&3\\10&3\end{pmatrix},\qquad\det(AB)=-3. \] The \(2\times 2\) minors of \(A\) on column pairs \((1,2),(1,3),(2,3)\) are \(-3,-1,1\); the \(2\times 2\) minors of \(B\) on the matching row pairs are \(1,-1,-1\). Binet–Cauchy gives \((-3)(1)+(-1)(-1)+(1)(-1)=-3\).

(2) \(A\) is \(4\times 2\) and \(B\) is \(2\times 4\), so \(AB\) is \(4\times 4\) of rank at most \(2\). Thus \(\det(AB)=0\). (Directly, \[ AB=\begin{pmatrix}11&19&18&19\\4&11&7&6\\3&6&5&5\\8&13&13&14\end{pmatrix} \] has rank \(2\).) Binet–Cauchy is empty in order \(4>2\).

Exercise §3.2.6

注记Stem (abridged)

\(A\) is the \(6\times 6\) matrix with zeros on the diagonal and ones elsewhere; \(B\) is the displayed \(6\times 6\) matrix. Compute the minor \(C\begin{pmatrix}1&2&3\\4&5&6\end{pmatrix}\) of \(C=AB\).

提示Solution

\(A=J-I\), so each row of \(C=AB\) equals the vector of column-sums of \(B\) minus the corresponding row of \(B\). The column-sums of \(B\) are \((6,10,14,18,23,10)\), and \[ C=\begin{pmatrix} 5&7&9&11&14&9\\ 4&6&8&10&13&9\\ 6&9&13&17&22&8\\ 5&10&13&17&22&8\\ 5&9&14&17&22&8\\ 5&9&13&18&22&8 \end{pmatrix}. \] The requested minor is \[ \det\begin{pmatrix}11&14&9\\10&13&9\\17&22&8\end{pmatrix} =11(104-198)-14(80-153)+9(220-221)=-21. \] (Theorem 3 of the section reproduces the same value as a sum of products of complementary \(3\times 3\) minors of \(A\) and \(B\).)

Exercise §3.2.7

注记Stem (abridged)

A real \(n\times n\) matrix with \(AA^{\mathrm{T}}=A^{\mathrm{T}}A=I\) is orthogonal. Prove: (1) \(\det A=\pm 1\); (2) the squares of all \(k\times k\) minors taken from any \(k\) rows sum to \(1\).

提示Solution

(1) \(\det(A)\det(A^{\mathrm{T}})=\det I=1\), so \((\det A)^{2}=1\) and \(\det A=\pm 1\).

(2) Any \(k\) rows of \(A\) form a \(k\times n\) matrix \(R\) with \(RR^{\mathrm{T}}=I_{k}\). Binet–Cauchy gives \[ \det(RR^{\mathrm{T}})=\sum_{j_{1}<\cdots<j_{k}}R\begin{pmatrix}1&\cdots&k\\ j_{1}&\cdots&j_{k}\end{pmatrix}^{2}=1. \]

Exercise §3.2.8

注记Stem (abridged)

A complex \(n\times n\) matrix with \(A\overline{A}^{\mathrm{T}}=\overline{A}^{\mathrm{T}}A=I\) is unitary. Prove: (1) \(|\det A|=1\); (2) the squares of the moduli of all \(k\times k\) minors from any \(k\) rows sum to \(1\).

提示Solution

(1) \(\det A\cdot\overline{\det A}=\det I=1\), so \(|\det A|=1\).

(2) If \(R\) consists of any \(k\) rows then \(R\overline{R}^{\mathrm{T}}=I_{k}\). Binet–Cauchy for the product \(R\cdot\overline{R}^{\mathrm{T}}\) yields \[ \sum_{j_{1}<\cdots<j_{k}}\Bigl|R\begin{pmatrix}1&\cdots&k\\ j_{1}&\cdots&j_{k}\end{pmatrix}\Bigr|^{2}=1. \]

Exercise §3.2.9

注记Stem (abridged)

A principal minor is a minor \(A\begin{pmatrix}i_{1}\cdots i_{k}\\ i_{1}\cdots i_{k}\end{pmatrix}\). Prove that every principal minor of \(A\overline{A}^{\mathrm{T}}\) (\(A\in\mathbf{C}^{n\times n}\)) is a nonnegative real number.

提示Solution

The matrix \(A\overline{A}^{\mathrm{T}}\) is the Gram matrix of the rows of \(A\); it is Hermitian and positive semidefinite. Its principal submatrix on an index set \(I\) is the Gram matrix of those rows, hence is itself Hermitian positive semidefinite. The determinant of a Hermitian positive-semidefinite matrix is a nonnegative real number.

Exercise §3.2.10

注记Stem (abridged)

For \(A,B\in F^{n\times n}\), the sums of all principal \(k\)-minors of \(AB\) and of \(BA\) are equal. Deduce \(\det(\lambda I-AB)=\det(\lambda I-BA)\).

提示Solution

The generating function for the principal-minor sums of an \(n\times n\) matrix \(M\) is \[ \det(I+tM)=\sum_{k=0}^{n}t^{k}\,e_{k}(M), \] where \(e_{k}(M)\) is the sum of the principal \(k\)-minors. The identity \(\det(I+tAB)=\det(I+tBA)\) holds for all \(t\) (compare §3.3 Example 3, or adjoin a formal variable and use \(\begin{pmatrix}I&A\\-tB&I\end{pmatrix}\)). Comparing coefficients gives \(e_{k}(AB)=e_{k}(BA)\).

Substituting \(t=-1/\lambda\) and multiplying by \(\lambda^{n}\) yields \(\det(\lambda I-AB)=\det(\lambda I-BA)\).

Exercise §3.2.11

注记Stem (abridged)

If \(A=(B,C)\in\mathbf{C}^{n\times n}\) with \(B\) the first \(k\) columns, prove \(|\det A|^{2}\le\det(\overline{B}^{\mathrm{T}}B)\,\det(\overline{C}^{\mathrm{T}}C)\).

提示Solution

\(|\det A|^{2}=\det(\overline{A}^{\mathrm{T}}A)\) and \[ \overline{A}^{\mathrm{T}}A=\begin{pmatrix}\overline{B}^{\mathrm{T}}B&\overline{B}^{\mathrm{T}}C\\ \overline{C}^{\mathrm{T}}B&\overline{C}^{\mathrm{T}}C\end{pmatrix}. \] This block matrix is Hermitian positive semidefinite. If \(\overline{B}^{\mathrm{T}}B\) is singular then \(B\) has dependent columns, so \(\det A=0\) and the inequality is immediate. If \(\overline{B}^{\mathrm{T}}B\) is invertible, the Schur complement \[ \overline{C}^{\mathrm{T}}C-\overline{C}^{\mathrm{T}}B(\overline{B}^{\mathrm{T}}B)^{-1}\overline{B}^{\mathrm{T}}C=\overline{C}^{\mathrm{T}}(I-P_{B})C \] is positive semidefinite (here \(P_{B}\) is the orthogonal projector onto the column space of \(B\)), hence has determinant at most \(\det(\overline{C}^{\mathrm{T}}C)\). Fischer’s inequality follows: \[ \det(\overline{A}^{\mathrm{T}}A)=\det(\overline{B}^{\mathrm{T}}B)\,\det(\text{Schur})\le\det(\overline{B}^{\mathrm{T}}B)\,\det(\overline{C}^{\mathrm{T}}C). \]

§3.3 Invertible matrices

Printed pp. 112–114; PDF pp. 124–126.

Exercise §3.3.1

注记Stem (abridged)

Invert the four displayed matrices.

提示Solution

(1) The matrix \(H\) is symmetric, its rows are orthogonal, and each row has Euclidean norm \(2\). Thus \(H^{\mathrm{T}}H=4I\) and \[ H^{-1}=\frac14 H=\frac14\begin{pmatrix}1&1&1&1\\1&1&-1&-1\\1&-1&1&-1\\1&-1&-1&1\end{pmatrix}. \] (As a check, \(\det H=-16\).)

(2) Let \(U\) be the \(n\times n\) upper triangular matrix of ones (including the diagonal). Then \(U^{-1}\) is bidiagonal: \[ (U^{-1})_{ii}=1,\qquad (U^{-1})_{i,i+1}=-1,\qquad\text{all other entries }0. \] Indeed \(U=I+N+\cdots+N^{n-1}=(I-N)^{-1}\) with \(N^{n}=0\), so \(U^{-1}=I-N\).

(3) This is the Fourier matrix \(F_{jk}=\omega^{(j-1)(k-1)}\) with \(\omega=\mathrm{e}^{2\pi i/n}\). The unnormalized DFT satisfies \(F\overline{F}=nI\), and \(F\) is symmetric, so \[ F^{-1}=\frac1n\overline{F},\qquad (F^{-1})_{jk}=\frac1n\omega^{-(j-1)(k-1)}. \]

(4) Let \(T\) be the \(n\times n\) tridiagonal matrix with \(2\) on the diagonal and \(-1\) on the off-diagonals (the discrete Dirichlet Laplacian). Then \(\det T=n+1\) and \[ (T^{-1})_{ij}=\frac{\min(i,j)\,(n+1-\max(i,j))}{n+1}. \] (The formula is symmetric, and \(T\) times this matrix is \(I\) by a direct three-term computation on each column.)

Exercise §3.3.2

注记Stem (abridged)

If \(A\) is nilpotent of index \(k\), then \(I-A\) is invertible and \((I-A)^{-1}=I+A+\cdots+A^{k-1}\).

提示Solution

The finite geometric series telescopes: \[ (I-A)(I+A+\cdots+A^{k-1})=I-A^{k}=I, \] and the opposite order is the same. Thus \(I-A\) is invertible with the displayed inverse.

Exercise §3.3.3

注记Stem (abridged)

If an \(n\times n\) matrix \(A\) is not invertible, there is a nonzero \(n\times n\) matrix \(B\) with \(AB=0\).

提示Solution

\(\det A=0\) if and only if the columns of \(A\) are linearly dependent, so there is \(x\neq 0\) with \(Ax=0\). Let \(B\) be the matrix with every column equal to \(x\) (or with first column \(x\) and the rest \(0\)). Then \(B\neq 0\) and \(AB=0\).

Exercise §3.3.4

注记Stem (abridged)

An upper triangular matrix is invertible if and only if no diagonal entry vanishes; the inverse is then upper triangular.

提示Solution

The determinant of an upper triangular matrix is the product of the diagonal entries, so invertibility is equivalent to a nonzero diagonal.

If \(A\) is upper triangular and invertible, \(A\) preserves the flag \(V_{k}=\operatorname{span}\{e_{1},\ldots,e_{k}\}\) and acts invertibly on each \(V_{k}/V_{k-1}\). The inverse therefore preserves the same flag, i.e. is upper triangular. (Inductively: the last standard basis vector is an eigenvector, and the upper-left \((n-1)\times(n-1)\) block is invertible upper triangular.)

Exercise §3.3.5

注记Stem (abridged)

Prove: (1) an orthogonal matrix is invertible and the inverse is orthogonal; (2) a unitary matrix is invertible and the inverse is unitary; (3) the inverse of an invertible symmetric matrix is symmetric; (4) the inverse of an invertible skew-symmetric matrix is skew-symmetric.

提示Solution

(1) \(AA^{\mathrm{T}}=I\) already exhibits the two-sided inverse \(A^{-1}=A^{\mathrm{T}}\). Then \((A^{-1})(A^{-1})^{\mathrm{T}}=A^{\mathrm{T}}A=I\), so \(A^{-1}\) is orthogonal.

(2) Likewise \(A^{-1}=\overline{A}^{\mathrm{T}}\), and \[ A^{-1}\overline{(A^{-1})}^{\mathrm{T}}=\overline{A}^{\mathrm{T}}A=I. \]

(3) \((A^{-1})^{\mathrm{T}}=(A^{\mathrm{T}})^{-1}=A^{-1}\).

(4) \((A^{-1})^{\mathrm{T}}=(A^{\mathrm{T}})^{-1}=(-A)^{-1}=-A^{-1}\).

Exercise §3.3.6

注记Stem (abridged)

If \(A\in F^{m\times n}\), \(B\in F^{n\times m}\), and \(I_{m}-AB\) is invertible, then \(I_{n}-BA\) is invertible and \((I_{n}-BA)^{-1}=I_{n}+B(I_{m}-AB)^{-1}A\).

提示Solution

Multiply the proposed inverse on the left: \[\begin{align*} (I_{n}-BA)\bigl(I_{n}+B(I_{m}-AB)^{-1}A\bigr) &=I_{n}-BA+B(I_{m}-AB)^{-1}A-BAB(I_{m}-AB)^{-1}A\\ &=I_{n}-BA+B\bigl(I_{m}-AB\bigr)(I_{m}-AB)^{-1}A\\ &=I_{n}-BA+BA=I_{n}. \end{align*}\] The opposite product is similar (or use uniqueness of inverses). In particular \(I_{n}-BA\) is invertible.

Exercise §3.3.7

注记Stem (abridged)

If \(a_{0}A^{m}+\cdots+a_{m}I=0\) with \(m\ge 1\) and \(a_{0}a_{m}\neq 0\), then \(A\) is invertible; find the inverse.

提示Solution

Rearrange as \[ A\bigl(-a_{0}A^{m-1}-\cdots-a_{m-1}I\bigr)=a_{m}I, \] so \[ A^{-1}=-\frac1{a_{m}}\bigl(a_{0}A^{m-1}+a_{1}A^{m-2}+\cdots+a_{m-1}I\bigr). \] (The same polynomial in \(A\) is a two-sided inverse because it commutes with \(A\).)

Exercise §3.3.8

注记Stem (abridged)

An integer matrix is unimodular if its determinant is \(\pm 1\). Prove that an integer matrix has an integer inverse if and only if it is unimodular.

提示Solution

If \(A^{-1}\) has integer entries then \(\det A\cdot\det(A^{-1})=1\) in \(\mathbf{Z}\), so \(\det A=\pm 1\).

Conversely, if \(\det A=\pm 1\) then \(A^{-1}=(1/\det A)\,A^{*}\) and the adjugate \(A^{*}\) has integer entries (its entries are integer cofactors). Thus \(A^{-1}=\pm A^{*}\) is an integer matrix.

Exercise §3.3.9

注记Stem (abridged)

Let \(A^{*}\) be the adjugate. Prove: (1) \((\lambda A)^{*}=\lambda^{n-1}A^{*}\); (2) \((AB)^{*}=B^{*}A^{*}\).

提示Solution

(1) Each cofactor of \(\lambda A\) is \(\lambda^{n-1}\) times the corresponding cofactor of \(A\), because it is an \((n-1)\times(n-1)\) minor.

(2) If \(A\) and \(B\) are invertible then \[ (AB)^{*}=(\det AB)\,(AB)^{-1}=(\det A\det B)\,B^{-1}A^{-1}=B^{*}A^{*}. \] Both sides are polynomial in the entries, so the identity extends to all (possibly singular) pairs by the density of \(\mathrm{GL}_{n}\) or by substituting indeterminates.

Exercise §3.3.10

注记Stem (abridged)

If \(A_{ij}\) is the cofactor of \(a_{ij}\), prove \[ \det\begin{pmatrix}A_{ik}&A_{jk}\\ A_{il}&A_{jl}\end{pmatrix} =(-1)^{i+j+k+l}\, A\begin{pmatrix}1&\cdots&\widehat{i}&\cdots&\widehat{j}&\cdots&n\\ 1&\cdots&\widehat{k}&\cdots&\widehat{l}&\cdots&n\end{pmatrix} \det A \] for \(1\le i<j\le n\) and \(1\le k<l\le n\).

提示Solution

The left-hand side is the \(2\times 2\) minor of the adjugate \(A^{*}\) on rows \(\{k,l\}\) and columns \(\{i,j\}\). Jacobi’s complementary-minor theorem says that for an invertible matrix, \[ \det\bigl(A^{*}[\alpha,\beta]\bigr)=(\det A)^{|\alpha|-1}\,\det\bigl(A[\beta^{c},\alpha^{c}]\bigr) \] up to the sign of the complementary increasing multi-indices. Here \(|\alpha|=2\), \(\alpha=\{k,l\}\), \(\beta=\{i,j\}\), and the complementary minor of \(A\) is precisely the displayed \((n-2)\times(n-2)\) minor. The sign of the complementary permutations of \(\{i,j\}\) and \(\{k,l\}\) is \((-1)^{i+j+k+l}\).

If \(A\) is singular the identity is polynomial and continues to hold. (If \(\operatorname{rank} A\le n-2\) both sides vanish; if \(\operatorname{rank} A=n-1\) then \(\det A=0\) and \(\operatorname{rank} A^{*}=1\), so every \(2\times 2\) minor of \(A^{*}\) vanishes.)

Exercise §3.3.11

注记Stem (abridged)

For \(A\in F^{m\times n}\), \(B\in F^{n\times m}\) and an indeterminate \(\lambda\), \(\lambda^{n}\det(\lambda I_{m}-AB)=\lambda^{m}\det(\lambda I_{n}-BA)\).

提示Solution

The block matrices \[ \begin{pmatrix}\lambda I_{m}&A\\ 0&\lambda I_{n}\end{pmatrix} \begin{pmatrix}\lambda I_{m}&-A\\ B&\lambda I_{n}\end{pmatrix} = \begin{pmatrix}\lambda I_{m}&0\\ B&\lambda I_{n}\end{pmatrix} \begin{pmatrix}\lambda I_{m}&-A\\ 0&\lambda I_{n}-BA\end{pmatrix} \] and \[ \begin{pmatrix}\lambda I_{m}&A\\ 0&\lambda I_{n}\end{pmatrix} \begin{pmatrix}\lambda I_{m}&-A\\ B&\lambda I_{n}\end{pmatrix} = \begin{pmatrix}\lambda I_{m}-AB&0\\ B&\lambda I_{n}\end{pmatrix} \begin{pmatrix}\lambda I_{m}&-A\\ 0&\lambda I_{n}\end{pmatrix} \] have equal determinants. The first evaluation is \(\lambda^{m}\cdot\lambda^{n}\det(\lambda I_{n}-BA)\) and the second is \(\lambda^{n}\cdot\lambda^{m}\det(\lambda I_{m}-AB)\), up to the common invertible factor \(\det\begin{pmatrix}\lambda I_{m}&A\\0&\lambda I_{n}\end{pmatrix}=\lambda^{m+n}\). Cancelling \(\lambda^{m+n}\) (in the polynomial ring) gives the identity.

Alternatively, reduce to the square case by padding the smaller side with zeros, or invoke §3.2.10 after adjoining \(\lambda\).

Exercise §3.3.12

注记Stem (abridged)

For \(A,B\in\mathbf{C}^{n\times n}\), \(\det\begin{pmatrix}A&-B\\ B&A\end{pmatrix}=\det(A+iB)\det(A-iB)\).

提示Solution

The elementary block identities \[ \begin{pmatrix}I&iI\\ 0&I\end{pmatrix} \begin{pmatrix}A&-B\\ B&A\end{pmatrix} \begin{pmatrix}I&-iI\\ 0&I\end{pmatrix} = \begin{pmatrix}A+iB&0\\ B&A-iB\end{pmatrix} \] hold without any commutativity hypothesis on \(A\) and \(B\) (the upper-right block is \(-iA-B+i(A-iB)=0\)). The two triangular factors have determinant \(1\), so the claim follows.

Exercise §3.3.13

注记Stem (abridged)

Evaluate \(\det A\) where \(a_{ii}=x+a_{i}\) and \(a_{ij}=a_{j}\) for \(i\neq j\).

提示Solution

If \(e\) is the all-ones column and \(a=(a_{1},\ldots,a_{n})^{\mathrm{T}}\), then \(A=xI+ea^{\mathrm{T}}\). The matrix-determinant lemma gives \[ \det(xI+ea^{\mathrm{T}})=x^{n-1}\bigl(x+a^{\mathrm{T}}e\bigr)=x^{n-1}\Bigl(x+\sum_{i=1}^{n}a_{i}\Bigr). \]

Exercise §3.3.14

注记Stem (abridged)

If \(A\in\mathbf{R}^{2n\times 2n}\) satisfies \(A\begin{pmatrix}0&I_{n}\\-I_{n}&0\end{pmatrix}A^{\mathrm{T}}=\begin{pmatrix}0&I_{n}\\-I_{n}&0\end{pmatrix}\), prove \(\det A=1\).

提示Solution

Write \(J=\begin{pmatrix}0&I\\-I&0\end{pmatrix}\). Taking determinants in \(AJA^{\mathrm{T}}=J\) yields \((\det A)^{2}=1\), so \(\det A=\pm 1\). The sign is \(+1\) because \(A\) is symplectic.

To see the sign without the Pfaffian, partition \(A=\begin{pmatrix}P&Q\\ R&S\end{pmatrix}\). The symplectic condition includes \(PS^{\mathrm{T}}-QR^{\mathrm{T}}=I_{n}\). Whenever \(P\) is invertible, block Gaussian elimination gives \[ \det A=\det P\cdot\det(S-RP^{-1}Q)=\det P\cdot\det(P^{-\mathrm{T}})=1, \] where the middle identity uses the remaining symplectic relations (equivalently \(S-RP^{-1}Q=P^{-\mathrm{T}}\)). The matrices with invertible \(P\) are dense in the symplectic group: if the leading minor vanishes, a symplectic permutation that swaps a suitable pair of coordinates \(i\) and \(n+i\) (the block matrix \(\begin{pmatrix}I-E_{ii}&E_{ii}\\-E_{ii}&I-E_{ii}\end{pmatrix}\) up to signs) moves a nonzero \(n\times n\) minor into the leading position. By continuity \(\det A=1\) everywhere.

(Alternatively: \(\operatorname{pf}(AJA^{\mathrm{T}})=\det A\cdot\operatorname{pf}(J)\) and \(\operatorname{pf}(J)=1\), so \(\det A=1\).)

§3.4 Rank and equivalence

Printed pp. 122–124; PDF pp. 134–136.

Exercise §3.4.1

注记Stem (abridged)

Compute the ranks of four matrices, two numerical and two of general size.

提示Solution

(1) Row reduction of \[ \begin{pmatrix}2&-1&3&-2&4\\4&-2&5&1&7\\2&-1&1&8&2\end{pmatrix} \] produces two nonzero rows (pivots in columns \(1\) and \(3\)). Thus the rank is \(2\).

(2) Row reduction of \[ \begin{pmatrix}1&3&5&-1\\2&-1&-3&4\\5&1&-1&7\end{pmatrix} \] likewise produces two nonzero rows. The rank is \(2\).

(3) The matrix is the symmetric matrix \(a_{ij}=\max(i,j)\). Column operations \(C_{j}\leftarrow C_{j}-C_{j+1}\) for \(j=n-1,\ldots,1\) turn it into a triangular matrix whose diagonal is \((1,1,\ldots,1,n)\) up to signs, and \[ \det\bigl(\max(i,j)\bigr)=(-1)^{n-1}n\neq 0. \] Hence the rank is \(n\).

(4) The matrix is skew-symmetric with \(a_{ij}=i\) for \(i<j\) (and \(a_{ji}=-i\)). A real (or complex) skew-symmetric matrix has even rank. The leading principal minors of even order are nonzero: the \(2m\times 2m\) principal submatrix is invertible (its Pfaffian is a nonzero polynomial in the strictly increasing first-row entries \(1,1,\ldots\), or by induction, bordering). Thus the rank attains the maximum even number \(\le n\): \[ \operatorname{rank} A=2\bigl\lfloor n/2\bigr\rfloor. \]

Exercise §3.4.2

注记Stem (abridged)

Find \(\lambda\) minimizing the rank of \[ A=\begin{pmatrix}3&1&1&4\\ \lambda&4&10&1\\ 1&7&17&3\\ 2&2&4&3\end{pmatrix}. \]

提示Solution

Rows \(1,3,4\) do not involve \(\lambda\) and already have rank \(2\) (e.g. \(2\cdot\text{row}_{1}-\text{row}_{4}=(4,0,-2,5)\) is independent of \(\text{row}_{1}\), while \(\text{row}_{3}\) lies in their span). Thus \(\operatorname{rank} A\le 3\) for every \(\lambda\), and \(\det A=0\) identically.

Row-reducing the full matrix, a second rank drop occurs precisely at \(\lambda=0\): then \(\operatorname{rank} A=2\). For every other scalar \(\lambda\) one has \(\operatorname{rank} A=3\). The minimal rank is therefore \(2\), attained at \(\lambda=0\).

Exercise §3.4.3

注记Stem (abridged)

Invert the four matrices by elementary operations.

提示Solution

(1) Row-reducing \(\bigl(A\bigm|I_{4}\bigr)\) for \[ A=\begin{pmatrix}3&3&-4&-3\\0&6&1&1\\5&4&2&1\\2&3&3&2\end{pmatrix} \] yields \(\det A=-1\) and \[ A^{-1}=\begin{pmatrix} -7&5&12&-19\\ 3&-2&-5&8\\ 41&-30&-69&111\\ -59&43&99&-159 \end{pmatrix}. \] (The product \(AA^{-1}=I\) was recomputed independently.)

(2) This is the circulant \(C\) with first row \((1,2,\ldots,n)\) and subsequent rows right cyclic shifts. Its eigenvalues are \(f(\omega^{k})\) with \(f(x)=\sum_{j=1}^{n}jx^{j-1}\), so \(f(1)=n(n+1)/2\) and \(f(\omega^{k})=n/(\omega^{k}-1)\) for \(k\ge 1\). The inverse is the circulant whose first row \((c_{0},\ldots,c_{n-1})\) is \[ c_{0}=-\frac{(n-1)(n+2)}{n^{2}(n+1)},\quad c_{1}=\frac{n^{2}+n+2}{n^{2}(n+1)},\quad c_{j}=\frac{2}{n^{2}(n+1)}\quad(j=2,\ldots,n-1). \]

(3) This is the Hilbert matrix \(H_{ij}=1/(i+j-1)\). The inverse is \[ (H^{-1})_{ij}=(-1)^{i+j}(i+j-1)\binom{n+i-1}{n-j}\binom{n+j-1}{n-i}\binom{i+j-2}{i-1}^{2}. \] (The formula reproduces the independently computed inverses for \(n\le 5\), e.g. \(H_{2}^{-1}=\begin{pmatrix}4&-6\\-6&12\end{pmatrix}\).)

(4) This is the same tridiagonal matrix as in §3.3.1(4). The inverse is \[ (T^{-1})_{ij}=\frac{\min(i,j)\,(n+1-\max(i,j))}{n+1}. \]

Exercise §3.4.4

注记Stem (abridged)

Using only row operations and swapping two columns, every \(m\times n\) matrix may be reduced to \(\begin{pmatrix}I_{r}&B\\0&0\end{pmatrix}\) with \(r=\operatorname{rank} A\).

提示Solution

Perform Gaussian elimination with partial pivoting on the columns: whenever the next pivot column is not the current one, swap it into position (a single column swap). Scale the pivot to \(1\) and clear its column by row operations. After \(r=\operatorname{rank} A\) steps the remaining rows vanish, and the leading \(r\times r\) block is \(I_{r}\). The upper-right block is some \(B\in F^{r\times(n-r)}\).

Exercise §3.4.5

注记Stem (abridged)

Every rank-\(r\) matrix is a sum of \(r\) rank-\(1\) matrices.

提示Solution

If \(\operatorname{rank} A=r\ge 1\) then \(A\) has a full-rank factorization \(A=BC\) with \(B\) of size \(m\times r\) (columns \(b_{1},\ldots,b_{r}\)) and \(C\) of size \(r\times n\) (rows \(c_{1}^{\mathrm{T}},\ldots,c_{r}^{\mathrm{T}}\)). Then \[ A=\sum_{i=1}^{r}b_{i}c_{i}^{\mathrm{T}}, \] and each summand has rank \(1\). (The zero matrix is the empty sum.)

Exercise §3.4.6

注记Stem (abridged)

An \(m\times n\) matrix has rank \(1\) if and only if \(A=\alpha\beta\) for nonzero \(\alpha\in F^{m\times 1}\) and \(\beta\in F^{1\times n}\).

提示Solution

If \(A=\alpha\beta\) with \(\alpha,\beta\neq 0\) then every column is a scalar multiple of \(\alpha\), so the column space is one-dimensional and \(\operatorname{rank} A=1\).

Conversely, if \(\operatorname{rank} A=1\) then the column space is spanned by a single nonzero column \(\alpha\), so \(A=\alpha\beta\) for the row \(\beta\) of coordinates. The row \(\beta\) is nonzero because \(A\neq 0\).

Exercise §3.4.7

注记Stem (abridged)

For \(A,B\in F^{m\times n}\), \(\operatorname{rank}(A+B)\le\operatorname{rank} A+\operatorname{rank} B\).

提示Solution

The column space of \(A+B\) is contained in the sum of the column spaces of \(A\) and of \(B\). Taking dimensions yields the inequality.

Exercise §3.4.8

注记Stem (abridged)

For \(A\in\mathbf{R}^{m\times n}\), \(\operatorname{rank}(AA^{\mathrm{T}})=\operatorname{rank}(A^{\mathrm{T}}A)=\operatorname{rank} A\).

提示Solution

\(\operatorname{rank}(AA^{\mathrm{T}})\le\operatorname{rank} A\) always. If \(AA^{\mathrm{T}}x=0\) then \(\|A^{\mathrm{T}}x\|^{2}=x^{\mathrm{T}}AA^{\mathrm{T}}x=0\), so \(A^{\mathrm{T}}x=0\). Thus \(\ker(AA^{\mathrm{T}})=\ker(A^{\mathrm{T}})\), and \[ \operatorname{rank}(AA^{\mathrm{T}})=m-\dim\ker(A^{\mathrm{T}})=\operatorname{rank} A^{\mathrm{T}}=\operatorname{rank} A. \] The identity \(\operatorname{rank}(A^{\mathrm{T}}A)=\operatorname{rank} A\) is the same argument applied to \(A^{\mathrm{T}}\) (or: \(\ker(A^{\mathrm{T}}A)=\ker A\)).

Exercise §3.4.9

注记Stem (abridged)

Partition \(A=\begin{pmatrix}A_{11}&A_{12}\\A_{21}&A_{22}\end{pmatrix}\) with \(A_{11}\) invertible of size \(r\). Then \(\operatorname{rank} A=r\) if and only if \(A_{22}=A_{21}A_{11}^{-1}A_{12}\).

提示Solution

Block Gaussian elimination (Schur) gives \[ \begin{pmatrix}I&0\\-A_{21}A_{11}^{-1}&I\end{pmatrix} \begin{pmatrix}A_{11}&A_{12}\\A_{21}&A_{22}\end{pmatrix} \begin{pmatrix}I&-A_{11}^{-1}A_{12}\\0&I\end{pmatrix} =\begin{pmatrix}A_{11}&0\\0&A_{22}-A_{21}A_{11}^{-1}A_{12}\end{pmatrix}. \] The two triangular factors are invertible, so \[ \operatorname{rank} A=r+\operatorname{rank}(A_{22}-A_{21}A_{11}^{-1}A_{12}). \] This equals \(r\) if and only if the Schur complement vanishes.

Exercise §3.4.10

注记Stem (abridged)

If \(A\in F^{n\times n}\) has rank \(r\) and \(B\) is formed from any \(s\) rows of \(A\), then \(\operatorname{rank} B\ge r+s-n\).

提示Solution

Write \(B=PA\) where \(P\) is the \(s\times n\) matrix of the corresponding standard-basis rows, so \(\operatorname{rank} P=s\). Sylvester’s inequality gives \[ \operatorname{rank}(PA)\ge\operatorname{rank} P+\operatorname{rank} A-n=s+r-n. \]

Exercise §3.4.11

注记Stem (abridged)

If \(A\in F^{m\times n}\) has rank \(r\) and \(B\) is the \(s\times t\) submatrix on any \(s\) rows and \(t\) columns, then \(\operatorname{rank} B\ge r+s+t-m-n\).

提示Solution

Let \(R\) be the \(s\times n\) matrix of the chosen rows. By §3.4.10 (or Sylvester, as above, with the \(s\times m\) row-selector), \(\operatorname{rank} R\ge r+s-m\). The matrix \(B\) consists of \(t\) columns of \(R\), so a second application of Sylvester yields \[ \operatorname{rank} B\ge\operatorname{rank} R+t-n\ge r+s+t-m-n. \]

Exercise §3.4.12

注记Stem (abridged)

If an \(n\times n\) matrix has at least \(n^{2}-n+1\) zero entries, prove \(\operatorname{rank} A<n\) and find the maximal possible rank.

提示Solution

At most \(n-1\) entries are nonzero. A matrix with fewer than \(n\) nonzero entries cannot have \(n\) independent columns, so \(\operatorname{rank} A\le n-1\).

The bound \(n-1\) is attained: place \(n-1\) ones in different rows and different columns (a partial permutation). The maximal rank is therefore \(n-1\).

Exercise §3.4.13

注记Stem (abridged)

Let \(A^{*}\) be the adjugate of an \(n\times n\) matrix. Prove the four statements about \(\operatorname{rank} A^{*}\) and about \((A^{*})^{*}\).

提示Solution

Recall \(AA^{*}=A^{*}A=(\det A)I\) and \(\det A^{*}=(\det A)^{n-1}\).

(1) If \(\operatorname{rank} A=n\) then \(A\) is invertible, \(A^{*}=(\det A)A^{-1}\) is invertible, and \(\operatorname{rank} A^{*}=n\). Conversely, if \(\operatorname{rank} A^{*}=n\) then \(A^{*}\) is invertible, so \(\det A\neq 0\) (because \(AA^{*}=(\det A)I\)) and \(\operatorname{rank} A=n\).

(2) If \(\operatorname{rank} A=n-1\) then some \((n-1)\times(n-1)\) minor is nonzero, so \(A^{*}\neq 0\). Also \(\det A=0\), hence \(AA^{*}=0\) and \(\operatorname{im} A^{*}\subset\ker A\). The kernel is one-dimensional, so \(\operatorname{rank} A^{*}=1\).

Conversely, if \(\operatorname{rank} A^{*}=1\) then \(A^{*}\neq 0\), so some cofactor is nonzero and \(\operatorname{rank} A\ge n-1\). Part (1) forbids \(\operatorname{rank} A=n\). Thus \(\operatorname{rank} A=n-1\).

(3) The printed statement says \(\operatorname{rank} A^{*}=0\) if and only if \(\operatorname{rank} A\le n-1\). That bound contradicts (2): rank \(n-1\) forces rank \(A^{*}=1\). The intended (and correct) criterion is \[ A^{*}=0\iff\operatorname{rank} A\le n-2, \] because \(A^{*}=0\) if and only if every \((n-1)\times(n-1)\) minor vanishes.

(4) If \(A\) is invertible then \[ (A^{*})^{*}=(\det A^{*})(A^{*})^{-1}=(\det A)^{n-1}\cdot\frac{A}{\det A}=(\det A)^{n-2}A \] for \(n>2\). For \(n=2\) one has \(\det A^{*}=\det A\) and \((A^{*})^{*}=A\) by a direct inspection of \(A=\begin{pmatrix}a&b\\c&d\end{pmatrix}\), \(A^{*}=\begin{pmatrix}d&-b\\-c&a\end{pmatrix}\). Both sides are polynomial, so the identities extend to singular matrices.

Exercise §3.4.14

注记Stem (abridged)

If \(A\) and \(B\) have the same number of rows, \(\operatorname{rank}(A,B)\le\operatorname{rank} A+\operatorname{rank} B\).

提示Solution

The column space of the juxtaposed matrix \((A,B)\) is the sum of the column spaces of \(A\) and of \(B\). Taking dimensions gives the inequality.

Exercise §3.4.15

注记Stem (abridged)

For an \(m\times n\) integer matrix \(A\) there exist unimodular integer matrices \(P\) (\(m\times m\)) and \(Q\) (\(n\times n\)) such that \(PAQ\) is the Smith diagonal \(\operatorname{diag}(d_{1},\ldots,d_{r},0)\) with \(d_{i}\) positive integers and \(d_{i}\mid d_{i+1}\).

提示Solution

“Invertible integer matrix” means unimodular, as in §3.3.8. The statement is the Smith normal form over \(\mathbf{Z}\).

If \(A=0\) there is nothing to prove. Otherwise let \(d_{1}\) be the positive generator of the ideal of all entries of all matrices \(UA V\) with \(U,V\) unimodular (equivalently: the gcd of all entries of \(A\)). By integer row and column operations (which are left/right multiplications by elementary unimodular matrices) one may move \(d_{1}\) to the \((1,1)\)-position and then clear the rest of the first row and column. Every remaining entry is divisible by \(d_{1}\) (otherwise a combination would produce a smaller positive gcd). Repeating on the complementary block produces \(d_{2},d_{3},\ldots\) with \(d_{i}\mid d_{i+1}\), and the process stops after \(r=\operatorname{rank} A\) steps.

Exercise §3.4.16

注记Stem (abridged)

Every \(2\times 2\) unimodular integer matrix is a product of powers of \(P=\begin{pmatrix}1&1\\0&1\end{pmatrix}\) and \(Q=\begin{pmatrix}0&1\\1&0\end{pmatrix}\).

提示Solution

\(P\) is a transvection and \(Q\) is a transposition, with \(\det P=1\) and \(\det Q=-1\). Given \(A=\begin{pmatrix}a&b\\c&d\end{pmatrix}\) with \(ad-bc=\pm 1\), the Euclidean algorithm on the first row may be realized by right multiplications by powers of \(P\) and by \(Q\) (swap, then subtract multiples). This reduces the first row to \((\pm 1,0)\). The unimodular condition then forces the second row to be \((*,\pm 1)\) with matching sign, and a further power of \(P^{\mathrm{T}}=QPQ\) (or of \(Q\) and \(P\)) clears the off-diagonal. Each step is a word in \(P^{\pm 1}\) and \(Q\).

Exercise §3.4.17

注记Stem (abridged)

If every \(k\times k\) principal minor of \(A^{\mathrm{T}}A\) vanishes (\(A\in\mathbf{R}^{n\times n}\)), then \(\operatorname{rank} A<k\).

提示Solution

The Gram matrix \(A^{\mathrm{T}}A\) is real symmetric positive semidefinite. If \(\operatorname{rank} A\ge k\) then \(A\) has \(k\) linearly independent columns; the corresponding principal submatrix of \(A^{\mathrm{T}}A\) is the Gram matrix of those columns, hence is positive definite and has nonzero determinant. This contradicts the hypothesis. Therefore \(\operatorname{rank} A<k\).

Exercise §3.4.18

注记Stem (abridged)

Every \(n\times n\) matrix is a product of matrices of the form \(I+aE_{ij}\).

提示Solution

The matrices \(I+aE_{ij}\) with \(i\neq j\) are the transvections and generate \(\mathrm{SL}_{n}(F)\). The matrices \(I+aE_{ii}\) with \(a\neq-1\) are the elementary diagonal matrices and supply arbitrary nonzero scalings. Together they generate \(\mathrm{GL}_{n}(F)\); explicitly, a transposition is a word in these generators, e.g. \[ \begin{pmatrix}0&1\\1&0\end{pmatrix} = \begin{pmatrix}0&1\\-1&0\end{pmatrix} \begin{pmatrix}-1&0\\0&1\end{pmatrix} \] and \(\begin{pmatrix}0&1\\-1&0\end{pmatrix}\) is a product of three transvections.

For a singular matrix of rank \(r\), the equivalence canonical form writes \(A=U\operatorname{diag}(I_{r},0)V\) with \(U,V\) invertible. The projection \(\operatorname{diag}(I_{r},0)\) is a product of factors \(I-E_{jj}\) (\(j>r\)), each of which is of the permitted shape with \(a=-1\). Thus every matrix is such a product.

§3.5 Some examples

Printed pp. 133–134; PDF pp. 145–146.

Exercise §3.5.1

注记Stem (abridged)

If \(A\) is \(n\times n\) and \(\operatorname{rank} A^{k}=\operatorname{rank} A^{k+1}\) for some positive integer \(k\), then \(\operatorname{rank} A^{k}=\operatorname{rank} A^{k+1}=\operatorname{rank} A^{k+2}=\cdots\).

提示Solution

Always \(\operatorname{im} A^{m+1}\subset\operatorname{im} A^{m}\). If \(\operatorname{rank} A^{k}=\operatorname{rank} A^{k+1}\) then these two subspaces coincide: \(\operatorname{im} A^{k+1}=\operatorname{im} A^{k}\). Applying \(A\) gives \[ \operatorname{im} A^{k+2}=A(\operatorname{im} A^{k+1})=A(\operatorname{im} A^{k})=\operatorname{im} A^{k+1}. \] Inductively \(\operatorname{im} A^{k+m}=\operatorname{im} A^{k}\) for every \(m\ge 0\), and the ranks are equal.

Exercise §3.5.2

注记Stem (abridged)

For \(n\times n\) matrices \(A,B\), \(\operatorname{rank}(AB-I)\le\operatorname{rank}(A-I)+\operatorname{rank}(B-I)\).

提示Solution

Factor \[ AB-I=A(B-I)+(A-I). \] The rank of a sum is at most the sum of the ranks (§3.4.7), and \(\operatorname{rank}\bigl(A(B-I)\bigr)\le\operatorname{rank}(B-I)\).

Exercise §3.5.3

注记Stem (abridged)

The rank of an \(n\times n\) skew-symmetric matrix is even. A skew-symmetric matrix of rank \(r\) has at least one nonzero principal \(r\)-minor, and all nonzero principal \(r\)-minors have the same sign.

提示Solution

If \(K\) is real skew-symmetric then \(iK\) is Hermitian, hence diagonalizable, and the eigenvalues of \(K\) are purely imaginary. The spectrum is stable under \(\lambda\mapsto-\lambda\) because \(K^{\mathrm{T}}=-K\), so the nonzero eigenvalues come in pairs \(\pm i\mu_{j}\). Their number \(r=\operatorname{rank} K\) is even.

The characteristic polynomial is \(\det(\lambda I-K)=\lambda^{n-r}\prod_{j}(\lambda^{2}+\mu_{j}^{2})\). The coefficient of \(\lambda^{n-r}\) is \(\prod_{j}\mu_{j}^{2}>0\) (if \(r\ge 2\); if \(r=0\) there is nothing to prove) and equals \((-1)^{r}\) times the sum of the principal \(r\)-minors. Hence at least one principal \(r\)-minor is nonzero.

Every principal submatrix of a skew-symmetric matrix is skew-symmetric. An even-order real skew-symmetric determinant is a square (of the Pfaffian), hence nonnegative. All nonzero principal \(r\)-minors are therefore positive, and in particular they have the same sign.

Exercise §3.5.4

注记Stem (abridged)

If \(AB=BA=0\) and \(\operatorname{rank} A^{2}=\operatorname{rank} A\), then \(\operatorname{rank}(A+B)=\operatorname{rank} A+\operatorname{rank} B\).

提示Solution

From \(AB=0\) one has \(\operatorname{im} B\subset\ker A\); from \(BA=0\) one has \(\operatorname{im} A\subset\ker B\). The hypothesis \(\operatorname{rank} A^{2}=\operatorname{rank} A\) is equivalent to \(\operatorname{im} A\cap\ker A=\{0\}\), and therefore to the direct sum decomposition \(F^{n}=\operatorname{im} A\oplus\ker A\).

In this decomposition \(A\) acts invertibly on \(\operatorname{im} A\) and as \(0\) on \(\ker A\), while \(B\) vanishes on \(\operatorname{im} A\) and acts on \(\ker A\). Thus \[ A+B=\bigl(A\big|_{\operatorname{im} A}\bigr)\oplus\bigl(B\big|_{\ker A}\bigr), \] and \(\operatorname{rank} B=\operatorname{rank}(B|_{\ker A})\). Adding ranks gives \(\operatorname{rank}(A+B)=\operatorname{rank} A+\operatorname{rank} B\).

Exercise §3.5.5

注记Stem (abridged)

If \(AB=BA=0\), there is a positive integer \(k\) such that \(\operatorname{rank}(A^{k}+B^{k})=\operatorname{rank} A^{k}+\operatorname{rank} B^{k}\).

提示Solution

The nested kernels \(\ker A\subset\ker A^{2}\subset\cdots\) stabilize by step \(n\), so \(\operatorname{rank} A^{n}=\operatorname{rank} A^{2n}\). Likewise \(\operatorname{rank} B^{n}=\operatorname{rank} B^{2n}\). Then \(A^{n}B^{n}=(AB)^{n}=0=B^{n}A^{n}\), and §3.5.4 applied to the pair \((A^{n},B^{n})\) gives the claim with \(k=n\).

Exercise §3.5.6

注记Stem (abridged)

For \(A\in F^{m\times n}\) and \(B\in F^{n\times m}\), one has \(\operatorname{rank} AB=\operatorname{rank} A\) if and only if \(A=ABC\) for some \(C\in F^{m\times n}\). Deduce: if \(\operatorname{rank} AB=\operatorname{rank} A\) and \(AB\) is idempotent, then \(BA\) is idempotent.

提示Solution

If \(A=ABC\) then \(\operatorname{rank} A=\operatorname{rank}(ABC)\le\operatorname{rank}(AB)\le\operatorname{rank} A\), so equality holds throughout.

Conversely, \(\operatorname{im}(AB)\subset\operatorname{im} A\) always. If the ranks agree then \(\operatorname{im} A=\operatorname{im}(AB)\), so every column of \(A\) is \(AB\) times some vector. Assembling those vectors as the columns of \(C\) yields \(A=ABC\).

Now suppose in addition that \((AB)^{2}=AB\). Then \[ B(AB-I)A=B(AB-I)ABC=B\bigl((AB)^{2}-AB\bigr)C=0, \] so \((BA)^{2}=BABA=BA\).

Exercise §3.5.7

注记Stem (abridged)

If \(d=\gcd(a_{1},\ldots,a_{n})\), there is an \(n\times n\) unimodular integer matrix \(P\) with \((a_{1},\ldots,a_{n})P=(d,0,\ldots,0)\).

提示Solution

Integer elementary column operations realize the Euclidean algorithm on the row \((a_{1},\ldots,a_{n})\). These operations compose to a unimodular matrix \(P\) (§3.3.8), and they transform the row into \((d,0,\ldots,0)\).

For a constructive \(n=2\) formula: if \(a_{1}x+a_{2}y=d\) then \[ P=\begin{pmatrix}x&-a_{2}/d\\ y&a_{1}/d\end{pmatrix} \] has determinant \(1\) and does the job. The general case follows by induction, operating two coordinates at a time.

Exercise §3.5.8

注记Stem (abridged)

There is an \(n\times n\) unimodular integer matrix whose first row is \((a_{1},\ldots,a_{n})\) if and only if \(\gcd(a_{1},\ldots,a_{n})=1\).

提示Solution

Necessity: if \(P\) is unimodular then the first row of \(P\) paired with the first column of \(P^{-1}\) is a Bézout identity equal to \(1\), so the entries of the first row are coprime as a tuple.

Sufficiency: §3.5.7 with \(d=1\) produces unimodular \(Q\) such that \((a_{1},\ldots,a_{n})Q=(1,0,\ldots,0)\). Then \(P=Q^{-1}\) is unimodular and has first row \((a_{1},\ldots,a_{n})\).

§3.6 Linear systems

Printed pp. 143–144; PDF pp. 155–156.

Exercise §3.6.1

注记Stem (abridged)

Find the general solutions of two homogeneous systems.

提示Solution

(1) The coefficient matrix \[ \begin{pmatrix} 1&1&0&-3&-1\\ 1&-1&-2&-1&0\\ 4&-2&6&3&-4\\ 2&4&-2&4&-7 \end{pmatrix} \] has rank \(4\) (pivots in the first four columns). The general solution is the line \[ (x_{1},x_{2},x_{3},x_{4},x_{5})=t\Bigl(\frac76,\frac56,0,\frac13,1\Bigr),\qquad t\in F. \]

(2) The coefficient matrix \[ \begin{pmatrix} 1&1&1&1&1\\ 2&2&1&1&-2\\ 0&1&2&2&1\\ 5&4&-3&4&-1 \end{pmatrix} \] has rank \(4\). The general solution is \[ (x_{1},x_{2},x_{3},x_{4},x_{5})=t\Bigl(-4,7,-\frac97,-\frac{19}7,1\Bigr),\qquad t\in F. \]

Exercise §3.6.2

注记Stem (abridged)

Find the general solutions of two inhomogeneous systems.

提示Solution

(1) The augmented matrix of \[\begin{align*} x_{1}-2x_{2}+3x_{3}-4x_{4}&=4,\\ x_{2}-x_{3}+x_{4}&=-3,\\ x_{1}+3x_{2}-3x_{4}&=1,\\ -7x_{2}+3x_{3}+x_{4}&=-3 \end{align*}\] row-reduces to a consistent system of rank \(3\) with free variable \(x_{4}\). A particular solution is \((-8,3,6,0)\), and the homogeneous kernel is spanned by \((0,1,2,1)\). The general solution is \[ (-8,3,6,0)+t(0,1,2,1),\qquad t\in F. \]

(2) The system \[\begin{align*} x_{1}+x_{2}-3x_{3}&=-1,\\ 2x_{1}+x_{2}-2x_{3}&=1,\\ x_{1}+x_{2}+x_{3}&=3,\\ x_{1}+2x_{2}-3x_{3}&=1 \end{align*}\] is inconsistent: the first three equations force \(x_{3}=1\), \(x_{1}=1\), \(x_{2}=1\), which fail the fourth equation (\(0=1\)). Equivalently \(\operatorname{rank} A=3<\operatorname{rank}(A,\beta)=4\). There is no solution.

Exercise §3.6.3

注记Stem (abridged)

Choose \(\lambda\) so that the system \(2x_{1}-x_{2}+x_{3}+x_{4}=1\), \(x_{1}+2x_{2}-x_{3}+4x_{4}=2\), \(x_{1}+7x_{2}-4x_{3}+11x_{4}=\lambda\) is solvable.

提示Solution

The coefficient matrix has rank \(2\) for every \(\lambda\) (the third row equals \(-1\cdot\text{row}_{1}+3\cdot\text{row}_{2}\) on the coefficient side). The same linear combination of the right-hand sides is \(-1+6=5\). Thus \(\operatorname{rank}(A,\beta)=\operatorname{rank} A\) if and only if \(\lambda=5\).

When \(\lambda=5\) the general solution is \[ \Bigl(\frac45,\frac35,0,0\Bigr) +s\Bigl(-\frac15,\frac35,1,0\Bigr) +t\Bigl(-\frac65,-\frac75,0,1\Bigr),\qquad s,t\in F. \]

Exercise §3.6.4

注记Stem (abridged)

Extend Theorem 2 to matrix equations: \(AX=B\) is solvable if and only if \(\operatorname{rank} A=\operatorname{rank}(A,B)\).

提示Solution

Let \(X\) have columns \(x_{1},\ldots,x_{p}\) and let \(B\) have columns \(\beta_{1},\ldots,\beta_{p}\). Then \(AX=B\) if and only if \(Ax_{j}=\beta_{j}\) for each \(j\). By Theorem 2 each of these is solvable if and only if \(\operatorname{rank} A=\operatorname{rank}(A,\beta_{j})\). This holds for every \(j\) if and only if every column of \(B\) lies in the column space of \(A\), if and only if \(\operatorname{rank} A=\operatorname{rank}(A,B)\).

Exercise §3.6.5

注记Stem (abridged)

For \(A\in F^{m\times m}\) and \(X\in F^{m\times p}\), the equation \(AX=0\) has a nonzero solution if and only if \(\det A=0\).

提示Solution

If \(\det A\neq 0\) then \(A\) is invertible and \(X=A^{-1}0=0\).

If \(\det A=0\) then \(\ker A\neq\{0\}\). Any nonzero column \(x\in\ker A\) may be placed as the first column of \(X\) (the remaining columns zero) to give a nonzero solution of \(AX=0\).

Exercise §3.6.6

注记Stem (abridged)

If the coefficient matrix of a homogeneous system has rank one less than the number of unknowns, then any two solutions are proportional.

提示Solution

Let \(A\) be \(m\times n\) of rank \(n-1\). The solution space \(\ker A\) has dimension \(n-\operatorname{rank} A=1\). Any two vectors in a one-dimensional space are scalar multiples of one another.

Exercise §3.6.7

注记Stem (abridged)

For \(A\in F^{n\times(n+1)}\) and \(X\in F^{(n+1)\times n}\), the equation \(AX=I_{n}\) is solvable if and only if \(A\) has full row rank.

提示Solution

If \(AX=I_{n}\) then \(\operatorname{rank} A\ge\operatorname{rank} I_{n}=n\). Combined with \(\operatorname{rank} A\le n\) this is row-full rank, and \(X\) is a right inverse.

Conversely, if \(\operatorname{rank} A=n\) then the rows of \(A\) span \(F^{n}\), so each standard basis vector \(\varepsilon_{j}\) is a linear combination of the columns of \(A^{\mathrm{T}}\), i.e. each \(\varepsilon_{j}\) lies in the row space… more directly: the columns of \(A\) span \(F^{n}\), so each column \(\varepsilon_{j}\) of \(I_{n}\) is \(A\) times some vector \(x_{j}\). The matrix \(X\) with those columns satisfies \(AX=I_{n}\).

(Equivalently, by §3.6.4: \(\operatorname{rank} A=\operatorname{rank}(A,I_{n})\) holds automatically once \(\operatorname{rank} A=n\).)

Exercise §3.6.8

注记Stem (abridged)

A homogeneous \(n\times(n+1)\) system whose coefficient matrix \(A\) has full row rank has the general solution \(x_{j}=(-1)^{n-j}t\,\det A_{(j)}\), where \(A_{(j)}\) is \(A\) with column \(j\) deleted and \(t\) is a free parameter.

提示Solution

Full row rank means \(\operatorname{rank} A=n\), so \(\dim\ker A=1\). It is enough to exhibit one nonzero solution of the displayed shape.

Let \(M_{j}=\det A_{(j)}\) and set \(y_{j}=(-1)^{j+1}M_{j}\). For each row index \(i\), the sum \(\sum_{j}a_{ij}y_{j}\) is the Laplace expansion, along an inserted extra row equal to row \(i\) of \(A\), of an \((n+1)\times(n+1)\) determinant with two identical rows. Hence \(Ay=0\). Not every \(M_{j}\) vanishes (some \(n\times n\) minor of \(A\) is nonzero), so \(y\neq 0\).

The book’s sign \((-1)^{n-j}\) differs from \((-1)^{j+1}\) by the global factor \((-1)^{n-1}\), which is absorbed into the free parameter \(t\). Thus the displayed formula spans \(\ker A\).

Exercise §3.6.9

注记Stem (abridged)

If \(A,B\) are \(n\times n\) of ranks \(r\) and \(n-r\) respectively, find the general solution of \(AXB=0\).

提示Solution

The equation \(AXB=0\) means that \(X\) sends \(\operatorname{im} B\) into \(\ker A\). Here \(\dim\operatorname{im} B=n-r=\dim\ker A\).

Choose invertible \(P,Q,R,S\) with \[ A=P\begin{pmatrix}I_{r}&0\\0&0\end{pmatrix}Q,\qquad B=R\begin{pmatrix}I_{n-r}&0\\0&0\end{pmatrix}S. \] Writing \(\widetilde{X}=QXR=\begin{pmatrix}X_{11}&X_{12}\\X_{21}&X_{22}\end{pmatrix}\) with \(X_{11}\) of size \(r\times(n-r)\), the equation becomes \(X_{11}=0\), the other three blocks remaining arbitrary. Hence \[ X=Q^{-1}\begin{pmatrix}0_{r\times(n-r)}&*\\ *&*\end{pmatrix}R^{-1}. \]

In g-inverse language, the same affine space is \[ X=(I-A^{-}A)W+Z(I-BB^{-}), \] with \(W,Z\in F^{n\times n}\) arbitrary. (The first summand is an arbitrary map into \(\ker A\); the second vanishes on \(\operatorname{im} B\) and supplies the remaining freedom on a complement.)

§3.7 Generalized inverses

Printed p. 151; PDF p. 163.

Exercise §3.7.1

注记Stem (abridged)

\(AX=B\) is solvable if and only if \(B=AA^{-}B\), and the general solution is then \(X=A^{-}B+(I-A^{-}A)W\) with \(W\) arbitrary.

提示Solution

If \(AX=B\) then \(AA^{-}B=AA^{-}AX=AX=B\). Conversely, if \(B=AA^{-}B\) then \(X_{0}=A^{-}B\) is a particular solution.

If \(AX=B=AX_{0}\) then \(A(X-X_{0})=0\), so the columns of \(X-X_{0}\) lie in \(\ker A=\operatorname{im}(I-A^{-}A)\). Thus \(X-X_{0}=(I-A^{-}A)W\) for some \(W\). Every matrix of this form is visibly a solution.

Exercise §3.7.2

注记Stem (abridged)

\(AXB=C\) is solvable if and only if \((I-AA^{-})C=0\) and \(C(I-B^{-}B)=0\). The general solution is then \(X=A^{-}CB^{-}+(I-A^{-}A)Y+Z(I-BB^{-})+(I-A^{-}A)W(I-BB^{-})\) with \(Y,Z,W\) arbitrary.

提示Solution

Necessity: if \(AXB=C\) then \[ (I-AA^{-})C=(I-AA^{-})AXB=0,\qquad C(I-B^{-}B)=AXB(I-B^{-}B)=0. \]

Sufficiency: the conditions say \(C=AA^{-}C=CB^{-}B=AA^{-}CB^{-}B\), so \(X_{0}=A^{-}CB^{-}\) is a particular solution.

If \(AXB=C=AX_{0}B\) then \(A(X-X_{0})B=0\). The general matrix annihilated on the left by \(A\) after right-multiplication by \(B\) is an arbitrary map sending \(\operatorname{im} B\) into \(\ker A\), i.e. \[ X-X_{0}=(I-A^{-}A)Y+Z(I-BB^{-})+(I-A^{-}A)W(I-BB^{-}). \] (The three terms are a convenient spanning set for that space; they are not independent.) Every such \(X\) satisfies \(AXB=C\).

Exercise §3.7.3

注记Stem (abridged)

The Roth equation \(AX-YB=C\) is solvable if and only if \((I-AA^{-})C(I-B^{-}B)=0\). The general solution is then given by the displayed formulae in \(W\) and \(Z\).

提示Solution

Necessity: if \(AX-YB=C\) then \[ (I-AA^{-})C(I-B^{-}B)=(I-AA^{-})(AX-YB)(I-B^{-}B)=0, \] because \((I-AA^{-})A=0\) and \(B(I-B^{-}B)=0\).

Sufficiency: the condition is precisely the solvability criterion of Roth’s theorem (the text’s Example 8 in §3.5), or directly: \(X_{0}=A^{-}C\) and \(Y_{0}=-(I-AA^{-})CB^{-}\) satisfy \[ AX_{0}-Y_{0}B=AA^{-}C+(I-AA^{-})CB^{-}B=AA^{-}C+(I-AA^{-})C=C. \]

If \(AX-YB=C=AX_{0}-Y_{0}B\) then \(A(X-X_{0})=(Y-Y_{0})B\). Parametrizing that homogeneous equation by arbitrary \(W\in F^{p\times n}\) and \(Z\in F^{m\times q}\) as in the book, \[\begin{align*} X&=A^{-}C+A^{-}ZB+(I-A^{-}A)W,\\ Y&=-(I-AA^{-})CB^{-}+Z-(I-AA^{-})ZBB^{-}, \end{align*}\] one checks \(AX-YB=C\) by expanding and using \(AA^{-}A=A\), \(BB^{-}B=B\). Every solution arises: given a solution pair \((X,Y)\), the choice \(Z=Y+(I-AA^{-})CB^{-}\) recovers \(Y\) after the displayed formula (the extra \(BB^{-}\) term may be absorbed by changing \(W\)), and \(W\) is then solved from the \(X\)-formula.

Exercise §3.7.4

注记Stem (abridged)

There exist generalized inverses \(A^{-},B^{-}\) such that \[ \operatorname{rank}\begin{pmatrix}A&C\\0&B\end{pmatrix} =\operatorname{rank} A+\operatorname{rank} B+\operatorname{rank}\bigl[(I-AA^{-})C(I-B^{-}B)\bigr]. \]

提示Solution

The identity holds for every choice of \(\{1\}\)-inverses (Marsaglia–Styan). Elementary operations do not change the rank: \[ \begin{pmatrix}A&C\\0&B\end{pmatrix} \begin{pmatrix}I&-A^{-}C\\0&I\end{pmatrix} =\begin{pmatrix}A&(I-AA^{-})C\\0&B\end{pmatrix}, \] and a further right multiplication by \(\operatorname{diag}(I,\,I-B^{-}B)\) together with a column operation using \(B\) produces the equivalent block matrix \[ \begin{pmatrix}A&M\\0&B\end{pmatrix},\qquad M=(I-AA^{-})C(I-B^{-}B). \] Here \(AM=0\) and \(MB=0\). The column space of \(\begin{pmatrix}A\\0\end{pmatrix}\) meets that of \(\begin{pmatrix}M\\B\end{pmatrix}\) only at \(0\), because \(\operatorname{im} A\cap\operatorname{im}(I-AA^{-})=\{0\}\). Moreover \(\ker(B^{-}B)=\ker B\), so \[ \operatorname{rank}\begin{pmatrix}M\\B\end{pmatrix}=\operatorname{rank} B+\operatorname{rank} M. \] Adding the contribution of \(A\) gives the stated formula.

(Existence of some \(A^{-},B^{-}\) is free: every matrix has a \(\{1\}\)-inverse by Theorem 1 of the section.)

Exercise §3.7.5

注记Stem (abridged)

Verify \(\bigl(\overline{A}^{+}\bigr)^{\mathrm{T}}=\bigl(\overline{A}^{\mathrm{T}}\bigr)^{+}\).

提示Solution

The four Penrose equations are preserved by transposition: if \(X=B^{+}\) then \(X^{\mathrm{T}}\) satisfies the four equations for \(B^{\mathrm{T}}\), and uniqueness of the Moore–Penrose inverse gives \((B^{\mathrm{T}})^{+}=(B^{+})^{\mathrm{T}}\). Taking \(B=\overline{A}\) is the claim.

For a self-contained check: if \(X=A^{+}\) then conjugating the four equations shows \(\overline{X}=\bigl(\overline{A}\bigr)^{+}\). Transposing that identity and using \((B^{\mathrm{T}})^{+}=(B^{+})^{\mathrm{T}}\) again yields \[ \bigl(\overline{A}^{+}\bigr)^{\mathrm{T}}=\bigl(\overline{X}\bigr)^{\mathrm{T}}=\bigl(\overline{A}^{\mathrm{T}}\bigr)^{+}. \]