设 \( n \) 阶方阵
[\mathbf{A} = \left\lbrack \begin{matrix} a_{11} & a_{12} & \cdots & a_{1n} \ a_{21} & a_{22} & \cdots & a_{2n} \ \vdots & \vdots & & \vdots \ a_{n1} & a_{n2} & \cdots & a_{nn} \end{matrix}\right\rbrack ,] 记行列式 \( |A| \) 中元素 \( a_{ij} \) 的代数余子式为 \( A_{ij} \),则称
[\mathbf{A}^ * = \left\lbrack \begin{matrix} A_{11} & A_{21} & \cdots & A_{n1} \ A_{12} & A_{22} & \cdots & A_{n2} \ \vdots & \vdots & & \vdots \ A_{1n} & A_{2n} & \cdots & A_{nn} \end{matrix}\right\rbrack] 为矩阵 \( \mathbf{A} \) 的伴随矩阵。 注 1: 元素 \( a_{ij} \) 的代数余子式 \( A_{ij} \) 在伴随矩阵 \( \mathbf{A}^ * \) 中所处的位置,不要放错! \( \mathbf{A} = \left( a_{ij}\right)_{n \times n},\mathbf{A}^ * = \left( A_{ji}\right)_{n \times n} \) . 注 2:二阶矩阵的伴随矩阵速记方法,主对角线元素对调,副对角线元素变号(主对调,副变号)
2.6.2 伴随矩阵的相关公式
若 \( \mathbf{A} \) 为 \( n \) 阶方阵, \( n \geq 2 \),有 (1) \( \mathbf{A}\mathbf{A}^ * = \mathbf{A}^ * \mathbf{A} = |\mathbf{A}| \mathbf{E} \) 证明: \( \mathbf{A}\mathbf{A}^ * = \left( \begin{matrix} a_{11} & \cdots & a_{1n} \\ \vdots & & \vdots \\ a_{n1} & \cdots & a_{nn} \end{matrix}\right) \left( \begin{matrix} A_{11} & \cdots & A_{1n} \\ \vdots & & \vdots \\ A_{1n} & \cdots & A_{nn} \end{matrix}\right) = \left( \begin{matrix} \mathop{\Sigma}\limits_{k = 1}^{n}a_{1k}A_{kk} & \cdots & \mathop{\Sigma}\limits_{k = 1}^{n}a_{nk}A_{kk} \\ \vdots & & \vdots \\ \mathop{\Sigma}\limits_{k = 1}^{n}a_{nk}A_{kk} & \cdots & \mathop{\Sigma}\limits_{k = 1}^{n}a_{nk}A_{kk} \end{matrix}\right) = \left( \begin{matrix} |A| & & \\ & \ddots & \\ & & |A| \end{matrix}\right) = |A| E. \) 同理可证 \( \mathbf{A}^ * \mathbf{A} = |\mathbf{A}| \mathbf{E} \),所以 \( \mathbf{A}\mathbf{A}^ * = \mathbf{A}^ * \mathbf{A} = |\mathbf{A}| \mathbf{E} \) (2) \( \left| \mathbf{A}^ *\right| = \left| \mathbf{A}\right|^{n - 1} \) 证明: 由 \( AA^ * = A^ * A = |A| E \),两边取行列式,知 \( \left| AA^ *\right| = |A| \cdot \left| A^ *\right| = \parallel A|E| = \left| A\right|^n \) 当 \( |A| \neq 0 \) 时, \( \left| A^ *\right| = \left| A\right|^{n - 1} \) . 当 \( |A| = 0 \) 时,亦可证明此结论仍成立(需要用到秩). 综上,有 \( \left| \mathbf{A}^ *\right| = \left| \mathbf{A}\right|^{n - 1} \) 成立。 (3) \( \left( \mathbf{AB}\right)^ * = \mathbf{B}^ * \mathbf{A}^ * \) (4) \( \left( \mathbf{A}^{\mathrm{T}}\right)^ * = \left( \mathbf{A}^ *\right)^{\mathrm{T}} \)
【例 1】设矩阵 \( \mathbf{A} = \left( \begin{matrix} 0 & 1 & 3 \\ 1 & - 1 & 0 \\ - 1 & 2 & 1 \end{matrix}\right) \),则 \( \mathbf{A}^ * = \)
解
先求行列式(按第一行展开):
[ |\mathbf{A}|=0\cdot\begin{vmatrix}-1&0\2&1\end{vmatrix}-1\cdot\begin{vmatrix}1&0\-1&1\end{vmatrix}+3\cdot\begin{vmatrix}1&-1\-1&2\end{vmatrix}=0-1\cdot1+3\cdot1=2. ] 再求各代数余子式:
[\begin{aligned} A_{11} &= -1, \ A_{12} &= -1, \ A_{13} &= 1, \ A_{21} &= 5, \ A_{22} &= 3, \ A_{23} &= -1, \ A_{31} &= 3, \ A_{32} &= 3, \ A_{33} &= -1. \end{aligned}] 例如 \( A_{21}=-\begin{vmatrix}1&3\\2&1\end{vmatrix}=-(1-6)=5 \),\( A_{13}=\begin{vmatrix}1&-1\\-1&2\end{vmatrix}=2-1=1 \)。伴随矩阵是余子式矩阵的转置,故
[ \mathbf{A}^{*}=\begin{pmatrix}A_{11}&A_{21}&A_{31}\ A_{12}&A_{22}&A_{32}\ A_{13}&A_{23}&A_{33}\end{pmatrix}=\begin{pmatrix}-1&5&3\ -1&3&3\ 1&-1&-1\end{pmatrix}. ] 验算 \( \mathbf{A}\mathbf{A}^{*} \) 的第一行为 \( (0,-1+3,\ 3-3)=(0,2,0) \),即 \( |\mathbf{A}| \) 倍的单位阵第一行,结果正确。 【例 2】设矩阵 \( \mathbf{A} \) 为 3 阶矩阵, \( |\mathbf{A}| = 2,\mathbf{A}^ * \) 为 \( \mathbf{A} \) 的伴随矩阵,若交换 \( \mathbf{A} \) 的第 1 行与第 3 行得矩阵 \( \mathbf{B} \),则 \( \left| \mathbf{B}\mathbf{A}^ *\right| = \)
解
设 \( \mathbf{B} \) 由 \( \mathbf{A} \) 交换第 1 行与第 3 行得到。交换两行使行列式变号,故 \( |\mathbf{B}|=-|\mathbf{A}|=-2 \)。 又 \( \mathbf{A} \) 为 3 阶,由 \( \mathbf{A}\mathbf{A}^{*}=|\mathbf{A}|\mathbf{E} \) 取行列式得 \( |\mathbf{A}||\mathbf{A}^{*}|=|\mathbf{A}|^{3} \),因 \( |\mathbf{A}|=2\neq0 \) 可约去,得
[\begin{aligned}
|\mathbf{A}^{*}| &= |\mathbf{A}|^{3-1} \
&= |\mathbf{A}|^{2} \ &= 4. \end{aligned}] 由行列式的乘法性质 \( |\mathbf{PQ}|=|\mathbf{P}||\mathbf{Q}| \):
[\begin{aligned}
|\mathbf{B}\mathbf{A}^{}| &= |\mathbf{B}|\cdot|\mathbf{A}^{}| \
&= (-2)\cdot4 \ &= -8. \end{aligned}] 一般地,对 \( n \) 阶可逆矩阵有 \( |\mathbf{A}^{*}|=|\mathbf{A}|^{n-1} \),本题取 \( n=3 \)。 【例 3】设矩阵 \( \mathbf{A} = \left( a_{ij}\right)_{3 \times 3} \) 满足 \( \mathbf{A}^ * = \mathbf{A}^{\mathrm{T}} \),其中 \( \mathbf{A}^ * \) 为 \( \mathbf{A} \) 的伴随矩阵, \( \mathbf{A}^{\mathrm{T}} \) 为 \( \mathbf{A} \) 的转置矩阵。 若 \( a_{11},a_{12},a_{13} \) 为三个相等的正数,则 \( a_{11} \) 为(). (A) \( \frac{\sqrt{3}}{3} \) (B) 3 (C) \( \frac{1}{3} \) (D) \( \sqrt{3} \)
解
答案:A。 由 \( \mathbf{A}^{*}\mathbf{A}=|\mathbf{A}|\mathbf{E} \) 及 \( \mathbf{A}^{*}=\mathbf{A}^{\mathrm{T}} \) 得 \( \mathbf{A}^{\mathrm{T}}\mathbf{A}=|\mathbf{A}|\mathbf{E} \),即 \( \mathbf{A}\mathbf{A}^{\mathrm{T}}=|\mathbf{A}|\mathbf{E} \)。比较两边第 \( (1,1) \) 元:
[\begin{aligned}
|\mathbf{A}| &= a_{11}^{2}+a_{12}^{2}+a_{13}^{2} \
&= 3a^{2}, \end{aligned}] 其中 \( a=a_{11}=a_{12}=a_{13}>0 \)。 再对 \( \mathbf{A}^{\mathrm{T}}=\mathbf{A}^{*} \) 两边取行列式,左边为 \( |\mathbf{A}| \),右边 \( |\mathbf{A}^{*}|=|\mathbf{A}|^{2} \),故 \( |\mathbf{A}|=|\mathbf{A}|^{2} \)。因 \( |\mathbf{A}|=3a^{2}>0 \),可约去得 \( |\mathbf{A}|=1 \)。 于是 \( 3a^{2}=1 \),\( a=\frac{1}{\sqrt{3}}=\frac{\sqrt{3}}{3} \),选 (A)。 (此时 \( \mathbf{A} \) 为正交矩阵,第一行长度必为 1。) 【例 4】若 \( \mathbf{A}^n = \mathbf{E},n \) 为正整数,则 \( \left( \mathbf{A}^ *\right)^n = \)
解
由 \( \mathbf{A}^{n}=\mathbf{E} \) 取行列式得 \( |\mathbf{A}|^{n}=1 \),故 \( |\mathbf{A}|\neq0 \),\( \mathbf{A} \) 可逆,且 \( \mathbf{A}^{-1} \) 存在。由 \( \mathbf{A}^{n}=\mathbf{E} \) 两边左乘 \( \mathbf{A}^{-1} \) 可知 \( \mathbf{A}^{n-1}=\mathbf{A}^{-1} \),从而
[\begin{aligned} \mathbf{A}^{-n} &= (\mathbf{A}^{n})^{-1} \ &= \mathbf{E}. \end{aligned}] 由伴随矩阵公式 \( \mathbf{A}^{*}=|\mathbf{A}|\mathbf{A}^{-1} \)(数乘矩阵,\( |\mathbf{A}| \) 与 \( \mathbf{A}^{-1} \) 可交换),
[\begin{aligned} (\mathbf{A}^{*})^{n} &= |\mathbf{A}|^{n}(\mathbf{A}^{-1})^{n} \ &= |\mathbf{A}|^{n}\mathbf{A}^{-n} \ &= |\mathbf{A}|^{n}\mathbf{E}. \end{aligned}] 前面已得 \( |\mathbf{A}|^{n}=|\mathbf{A}^{n}|=|\mathbf{E}|=1 \),故
[ (\mathbf{A}^{*})^{n}=\mathbf{E}. ] 另法:直接由 \( \mathbf{A}^{*}=|\mathbf{A}|\mathbf{A}^{-1} \) 看出 \( \mathbf{A}^{*} \) 与 \( \mathbf{A} \) 互为多项式,故可交换,幂次可直接算。
2.7.1 逆矩阵的定义
对于 \( \mathbf{n} \) 阶矩阵 \( \mathbf{A} \),如果存在 \( \mathbf{n} \) 阶矩阵 \( \mathbf{B} \),使得 \( \mathbf{AB} = \mathbf{BA} = \mathbf{E} \),其中 \( \mathbf{E} \) 是 \( n \) 阶单位矩阵,则称 \( \mathbf{A} \) 是可逆的, 并将 \( \mathbf{B} \) 称为 \( \mathbf{A} \) 的逆矩阵,记作 \( \mathbf{A}^{-1} \) . 注:与伴随矩阵类似,只有方阵才谈逆矩阵这一概念。 对上述逆矩阵的定义做两点补充: (1)如果 \( \mathbf{A} \) 可逆。则 \( \mathbf{A} \) 的逆矩阵一定是唯一的。 证明: 假设 \( \mathbf{B},\mathbf{C} \) 都是 \( \mathbf{A} \) 的逆矩阵,则有 \( \mathbf{B} = \mathbf{B}\mathbf{E} = \mathbf{B}(\mathbf{A}\mathbf{C}) = (\mathbf{B}\mathbf{A}) \mathbf{C} = \mathbf{E}\mathbf{C} = \mathbf{C} \),这就证明了 \( \mathbf{A} \) 的逆矩阵是唯一的。 (2)若 \( A,B \) 都是 \( n \) 阶矩阵,且 \( AB = E \),则 \( BA = E \),即 \( A,B \) 皆可逆,且 \( A,B \) 互为逆矩阵。 证明: 由 \( AB = E \) 可知, \( |A| |B| = |E| = 1 \),故 \( |A| \neq 0 \) . 可知 \( A \) 是可逆的,所以
[\begin{aligned} \mathbf{B} &= \mathbf{E}\mathbf{B} \ &= (\mathbf{A}^{-1}\mathbf{A}) \mathbf{B} \ &= \mathbf{A}^{-1}(\mathbf{A}\mathbf{B}) \ &= \mathbf{A}^{-1}\mathbf{E} \ &= \mathbf{A}^{-1}, \ \mathbf{B}\mathbf{A} &= \mathbf{A}^{-1}\mathbf{A} \ &= \mathbf{E} \end{aligned}] 类似地,当 \( BA = E \) 时,可以证明 \( B = A^{-1} \) 这条结论告诉我们,判断 \( \mathbf{B} \) 是否为 \( \mathbf{A} \) 的逆,只需要验证 \( \mathbf{A}\mathbf{B} = \mathbf{E} \) 或 \( \mathbf{B}\mathbf{A} = \mathbf{E} \) 的一个等式成立即可。 需要注意的是,当 \( \mathbf{A},\mathbf{B} \) 是同阶的方阵时,由 \( \mathbf{A}\mathbf{B} = \mathbf{E} \) 可推得 \( \mathbf{B}\mathbf{A} = \mathbf{E} \) . 但对非方阵 \( \mathbf{A},\mathbf{B} \),由 \( \mathbf{A}\mathbf{B} = \mathbf{E} \) 不一定有 \( \mathbf{B}\mathbf{A} = \mathbf{E} \) . 示例:
【例 1】设方阵 \( \mathbf{A} \) 满足方程 \( \mathbf{A}^2 - 3\mathbf{A} - 10\mathbf{I} = \mathbf{O} \),证明: \( \mathbf{A},\mathbf{A} - 4\mathbf{I} \) 都可逆,并求它们的逆矩阵。
解
由 \( \mathbf{A}^{2}-3\mathbf{A}-10\mathbf{I}=\mathbf{O} \) 移项得 \( \mathbf{A}^{2}-3\mathbf{A}=10\mathbf{I} \),即
[\begin{aligned} \mathbf{A}(\mathbf{A}-3\mathbf{I}) &= (\mathbf{A}-3\mathbf{I})\mathbf{A} \ &= 10\mathbf{I}. \end{aligned}] 两边除以 10:
[\begin{aligned} \mathbf{A}\cdot\frac{\mathbf{A}-3\mathbf{I}}{10} &= \frac{\mathbf{A}-3\mathbf{I}}{10}\cdot\mathbf{A} \ &= \mathbf{I}, \end{aligned}] 故 \( \mathbf{A} \) 可逆,且
[ \mathbf{A}^{-1}=\frac{1}{10}(\mathbf{A}-3\mathbf{I}). ] 再处理 \( \mathbf{A}-4\mathbf{I} \):把 \( \mathbf{A}^{2}-3\mathbf{A}=10\mathbf{I} \) 与待配的因式 \( \mathbf{A}+\mathbf{I} \) 相乘,
[\begin{aligned} (\mathbf{A}-4\mathbf{I})(\mathbf{A}+\mathbf{I}) &= \mathbf{A}^{2}-3\mathbf{A}-4\mathbf{I} \ &= 10\mathbf{I}-4\mathbf{I} \ &= 6\mathbf{I}. \end{aligned}] 于是
[\begin{aligned} (\mathbf{A}-4\mathbf{I})\cdot\frac{\mathbf{A}+\mathbf{I}}{6} &= \frac{\mathbf{A}+\mathbf{I}}{6}\cdot(\mathbf{A}-4\mathbf{I}) \ &= \mathbf{I}, \end{aligned}] 故 \( \mathbf{A}-4\mathbf{I} \) 可逆,且 \( (\mathbf{A}-4\mathbf{I})^{-1}=\frac{1}{6}(\mathbf{A}+\mathbf{I}) \)。 一般方法:由 \( \mathbf{A} \) 的零化多项式 \( f(\lambda)=\lambda^{2}-3\lambda-10 \) 可分解为 \( (\lambda-5)(\lambda+2) \),它无零根,故 \( \mathbf{A} \) 必可逆;而 \( \lambda=4 \) 不是 \( f \) 的根,故 \( \mathbf{A}-4\mathbf{I} \) 也可逆。 【例 2】设 \( n \) 阶矩阵 \( \mathbf{A},\mathbf{B} \) 满足 \( \mathbf{A} + \mathbf{B} = \mathbf{A}\mathbf{B} \),试证明: (1) \( \mathbf{A} - \mathbf{E} \) 可逆。 (2) \( \mathbf{AB} = \mathbf{BA} \)
解
(1)由 \( \mathbf{A}+\mathbf{B}=\mathbf{A}\mathbf{B} \) 移项:
[ \mathbf{A}\mathbf{B}-\mathbf{A}-\mathbf{B}=\mathbf{O}. ] 两边加 \( \mathbf{E} \),并注意 \( \mathbf{A}\mathbf{B}-\mathbf{A}-\mathbf{B}+\mathbf{E}=(\mathbf{A}-\mathbf{E})(\mathbf{B}-\mathbf{E}) \)(展开即可验证,\( \mathbf{A},\mathbf{B} \) 与 \( \mathbf{E} \) 自然可交换),得
[ (\mathbf{A}-\mathbf{E})(\mathbf{B}-\mathbf{E})=\mathbf{E}. ] 由“若 \( \mathbf{PQ}=\mathbf{E} \) 则 \( \mathbf{P},\mathbf{Q} \) 均可逆且互为逆矩阵”,知 \( \mathbf{A}-\mathbf{E} \) 可逆,且
[ (\mathbf{A}-\mathbf{E})^{-1}=\mathbf{B}-\mathbf{E}. ] (2)完全对称地展开 \( (\mathbf{B}-\mathbf{E})(\mathbf{A}-\mathbf{E})=\mathbf{B}\mathbf{A}-\mathbf{B}-\mathbf{A}+\mathbf{E}=\mathbf{B}\mathbf{A}-(\mathbf{A}+\mathbf{B})+\mathbf{E}=\mathbf{B}\mathbf{A}-\mathbf{A}\mathbf{B}+\mathbf{E} \)。由 (1) 该式等于 \( \mathbf{E} \),故 \( \mathbf{B}\mathbf{A}-\mathbf{A}\mathbf{B}=\mathbf{O} \),即 \( \mathbf{A}\mathbf{B}=\mathbf{B}\mathbf{A} \)。 (也可直接说:\( \mathbf{A}+\mathbf{B}=\mathbf{A}\mathbf{B} \) 右边对 \( \mathbf{A},\mathbf{B} \) 对称,而左边 \( \mathbf{A}+\mathbf{B}=\mathbf{B}+\mathbf{A} \),故 \( \mathbf{A}\mathbf{B}=\mathbf{B}\mathbf{A} \)。) 【例 3】设 \( \mathbf{A},\mathbf{B},\mathbf{C} \) 均为 \( \mathbf{n} \) 阶方阵,若 \( \mathbf{ABC} = \mathbf{E} \),则下列乘积: \( ACB,BAC,BCA,CAB,CBA \) 中哪些必等于单位阵 \( \mathbf{E} \) .
解
由 \( \mathbf{A}\mathbf{B}\mathbf{C}=\mathbf{E} \) 知 \( \mathbf{A},\mathbf{B},\mathbf{C} \) 均可逆(若 \( \mathbf{A} \) 奇异,则 \( |\mathbf{A}\mathbf{B}\mathbf{C}|=|\mathbf{A}||\mathbf{B}||\mathbf{C}|=0\neq1 \),矛盾),且
[\begin{aligned} \mathbf{A}^{-1} &= \mathbf{B}\mathbf{C}, \ \mathbf{C}^{-1} &= \mathbf{A}\mathbf{B}. \end{aligned}] 于是
[\begin{aligned} \mathbf{B}\mathbf{C}\mathbf{A} &= (\mathbf{B}\mathbf{C})\mathbf{A} \ &= \mathbf{A}^{-1}\mathbf{A} \ &= \mathbf{E}, \ \mathbf{C}\mathbf{A}\mathbf{B} &= \mathbf{C}(\mathbf{A}\mathbf{B}) \ &= \mathbf{C}\mathbf{C}^{-1} \ &= \mathbf{E}. \end{aligned}] 即 \( \mathbf{B}\mathbf{C}\mathbf{A} \) 与 \( \mathbf{C}\mathbf{A}\mathbf{B} \) 必等于 \( \mathbf{E} \)(三个因子循环轮换位置,乘积不变)。 其余三个不一定等于 \( \mathbf{E} \)。反例:取
[ \mathbf{A}=\begin{pmatrix}1&1\0&1\end{pmatrix},\ \mathbf{B}=\begin{pmatrix}1&0\1&1\end{pmatrix},\ \mathbf{C}=(\mathbf{A}\mathbf{B})^{-1}=\begin{pmatrix}1&-1\-1&2\end{pmatrix}, ] 此时 \( \mathbf{A}\mathbf{B}=\begin{pmatrix}2&1\\1&1\end{pmatrix} \),\( |\mathbf{A}\mathbf{B}|=1 \),故上述 \( \mathbf{C} \) 确为逆矩阵。直接验算 \( \mathbf{A}\mathbf{B}\mathbf{C}=\mathbf{E} \),而
[ \mathbf{A}\mathbf{C}\mathbf{B}=\begin{pmatrix}1&1\1&2\end{pmatrix},\quad \mathbf{B}\mathbf{A}\mathbf{C}=\begin{pmatrix}0&1\-1&3\end{pmatrix},\quad \mathbf{C}\mathbf{B}\mathbf{A}=\begin{pmatrix}0&-1\1&3\end{pmatrix}, ] 均不等于 \( \mathbf{E} \)。 故必等于 \( \mathbf{E} \) 的是 \( \mathbf{B}\mathbf{C}\mathbf{A} \) 与 \( \mathbf{C}\mathbf{A}\mathbf{B} \)。