从行列式角度理解逆矩阵

前面已经介绍过, \( AA^ * = A^ * A = |A| E \) . 大家不妨思考下,如果 \( |A| \neq 0 \) 能得到什么结论? 定理: \( n \) 阶方阵 \( \mathbf{A} \) 可逆的充分必要条件是 \( |\mathbf{A}| \neq 0 \) . 当 \( |\mathbf{A}| \neq 0 \),可以推出 \( \mathbf{A}^{-1} = \frac{1}{|\mathbf{A}|}\mathbf{A}^ * \) 证明: (充分性) 因为 \( |\mathbf{A}| \neq 0 \),由 \( \mathbf{A}\mathbf{A}^ * = \mathbf{A}^ * \mathbf{A} = |\mathbf{A}| \mathbf{E} \) 有

[\begin{aligned} \mathbf{A}\left( \frac{1}{|\mathbf{A}|}\mathbf{A}^ \right) &= \left( \frac{1}{|\mathbf{A}|}\mathbf{A}^ \right) \mathbf{A} \ &= \mathbf{E} \end{aligned}] 因此, \( \mathbf{A} \) 是可逆矩阵,且 \( \mathbf{A}^{-1} = \frac{1}{|\mathbf{A}|}\mathbf{A}^ * \) (必要性) 设 \( \mathbf{A} \) 是可逆的,则存在 \( \mathbf{A}^{-1} \),使 \( \mathbf{A}\mathbf{A}^{-1} = \mathbf{E} \) . 两边取行列式,得 \( |\mathbf{A}\mathbf{A}^{-1}| = |\mathbf{A}| |\mathbf{A}^{-1}| = |\mathbf{E}| = 1 \) . 因此, \( |\mathbf{A}| \neq 0 \) . 上述定理告诉我们, 行列式值是刻画方阵可逆的一个重要工具。 同时, 我们还得到如下结论: 如果 \( \mathbf{A} \) 是可逆的,则

[\begin{aligned}

|\mathbf{A}^{-1}| &= \frac{1}{|\mathbf{A}|}, \

\mathbf{A}^{-1} &= \frac{1}{|\mathbf{A}|}\mathbf{A}^ * . \end{aligned}] 由上述定理也可推得, 对角阵和上(下)三角矩阵可逆的充要条件是它们的主对角元 \( a_{11},a_{22},\cdots ,a_{nn} \) 全不为零。

【例 4】利用伴随矩阵求 3 阶方阵 \( \mathbf{A} = \left( \begin{array}{lll} 1 & 2 & 3 \\ 2 & 2 & 1 \\ 3 & 4 & 3 \end{array}\right) \) 的逆矩阵。

解

按第一行展开求行列式:[\begin{aligned}

|\mathbf{A}| &= 1\cdot(6-4)-2\cdot(6-3)+3\cdot(8-6) \

&= 2-6+6 \ &= 2\neq 0, \end{aligned}] 所以 \(\mathbf{A}\) 可逆。 逐个算出九个代数余子式:

[\begin{aligned} A_{11} &= 2, \ A_{12} &= -3, \ A_{13} &= 2; \ A_{21} &= 6, \ A_{22} &= -6, \ A_{23} &= 2; \ A_{31} &= -4, \ A_{32} &= 5, \ A_{33} &= -2 \end{aligned}] 按位置排成矩阵再转置,即得伴随矩阵 [ \mathbf{A}^{*}=\begin{pmatrix}2&6&-4\-3&-6&5\2&2&-2\end{pmatrix}. ] 由 \(\mathbf{A}^{-1}=\dfrac{1}{|\mathbf{A}|}\mathbf{A}^{*}\) 得 [ \mathbf{A}^{-1}=\frac{1}{2}\begin{pmatrix}2&6&-4\-3&-6&5\2&2&-2\end{pmatrix}=\begin{pmatrix}1&3&-2\-\frac{3}{2}&-3&\frac{5}{2}\1&1&-1\end{pmatrix}. ] 验算:\(\mathbf{A}^{-1}\) 的第 1 行 \((1,3,-2)\) 与 \(\mathbf{A}\) 的第 1 列作内积为 \(1+6-6=1\),与第 2 列作内积为 \(2+6-8=0\),符合单位阵的情形。 【例 5】设矩阵 \( \mathbf{A},\mathbf{B} \) 均为 \( n \) 阶方阵,则下列命题正确的是(). (A) \( \mathbf{A} \) 或 \( \mathbf{B} \) 可逆,必有 \( \mathbf{AB} \) 可逆 (B) \( \mathbf{A} \) 或 \( \mathbf{B} \) 不可逆,必有 \( \mathbf{AB} \) 不可逆 (C) \( \mathbf{A} \) 与 \( \mathbf{B} \) 均可逆,必有 \( \mathbf{A} + \mathbf{B} \) 可逆 (D) \( \mathbf{A} \) 与 \( \mathbf{B} \) 均不可逆,必有 \( \mathbf{A} + \mathbf{B} \) 不可逆

解

答案:B (A) 错。取 \(\mathbf{A}=\mathbf{E},\ \mathbf{B}=\mathbf{O}\),\(\mathbf{A}\) 可逆但 \(\mathbf{AB}=\mathbf{O}\) 不可逆,"或"字保证了至少一个因子可逆,却保证不了乘积。 (B) 对。\(\mathbf{A}\) 或 \(\mathbf{B}\) 不可逆时 \(|\mathbf{A}|=0\) 或 \(|\mathbf{B}|=0\),由 \(|\mathbf{AB}|=|\mathbf{A}||\mathbf{B}|=0\) 知 \(\mathbf{AB}\) 必不可逆。 (C) 错。取 \(\mathbf{A}=\mathbf{E},\ \mathbf{B}=-\mathbf{E}\),两者都可逆,而 \(\mathbf{A}+\mathbf{B}=\mathbf{O}\) 不可逆。 (D) 错。取 \(\mathbf{A}=\operatorname{diag}(1,0),\ \mathbf{B}=\operatorname{diag}(0,1)\),两者都不可逆,但 \(\mathbf{A}+\mathbf{B}=\mathbf{E}\) 可逆。 结论:乘积的可逆性由两个因子共同决定,只有"至少一个不可逆"这一方向成立。 【例 6】设矩阵 \( \mathbf{A} = \left( \begin{array}{lll} 1 & 0 & 1 \\ 0 & 3 & 0 \\ 0 & 0 & 1 \end{array}\right) \),则 \( \left( \mathbf{A} + 2\mathbf{E}\right)^{-1}(\mathbf{A}^2 - 4\mathbf{E}) = \)

解

填 \(\begin{pmatrix}-1&0&1\\0&1&0\\0&0&-1\end{pmatrix}\)。 先做因式分解:[ \mathbf{A}^{2}-4\mathbf{E}=(\mathbf{A}-2\mathbf{E})(\mathbf{A}+2\mathbf{E}). ] \(\mathbf{A}-2\mathbf{E}\) 与 \(\mathbf{A}+2\mathbf{E}\) 都是 \(\mathbf{A}\) 的多项式,彼此可交换,于是 [\begin{aligned} (\mathbf{A}+2\mathbf{E})^{-1}(\mathbf{A}^{2}-4\mathbf{E}) &= (\mathbf{A}+2\mathbf{E})^{-1}(\mathbf{A}+2\mathbf{E})(\mathbf{A}-2\mathbf{E}) \ &= \mathbf{A}-2\mathbf{E}. \end{aligned}] (\(\mathbf{A}+2\mathbf{E}\) 可逆,因为 \(|\mathbf{A}+2\mathbf{E}|=3\cdot 5\cdot 3=45\neq 0\)。) 直接作差即可:[ \mathbf{A}-2\mathbf{E}=\begin{pmatrix}1&0&1\0&3&0\0&0&1\end{pmatrix}-\begin{pmatrix}2&0&0\0&2&0\0&0&2\end{pmatrix}=\begin{pmatrix}-1&0&1\0&1&0\0&0&-1\end{pmatrix}. ]

2.7.3 逆矩阵相关结论

(1) \( \left( \mathbf{A}^{-1}\right)^{-1} = \mathbf{A} \) (反身性) (2)若 \( \mathbf{A} \) 可逆, \( k \) 是不为零的数,则 \( k\mathbf{A} \) 也是可逆矩阵,且 \( \left( k\mathbf{A}\right)^{-1} = \frac{1}{k}\mathbf{A}^{-1} \) (3)若 \( \mathbf{A} \) 与 \( \mathbf{B} \) 都是 \( \mathbf{n} \) 阶可逆矩阵,则 \( \mathbf{AB} \) 也是 \( \mathbf{n} \) 阶可逆矩阵,且 \( \left( \mathbf{AB}\right)^{-1} = \mathbf{B}^{-1}\mathbf{A}^{-1} \) (4)若 \( A_i(i = 1,\cdots ,m) \) 均为 \( n \) 阶可逆矩阵,则 \( A_1\cdots A_m \) 也为 \( n \) 阶可逆矩阵,且 \( \left( A_1\cdots A_m\right)^{-1} = A_m^{-1}\cdots A_1^{-1} \) (5)若 \( \mathbf{A} \) 可逆,则 \( \left( \mathbf{A}^n\right)^{-1} = \left( \mathbf{A}^{-1}\right)^n,\left( \mathbf{A}^{\mathrm{T}}\right)^{-1} = \left( \mathbf{A}^{-1}\right)^{\mathrm{T}},\left( \mathbf{A}^ *\right)^{-1} = \left( \mathbf{A}^{-1}\right)^ * \) .

【例 7】设 \( \mathbf{A} \) 是三阶矩阵, \( \mathbf{A}^ * \) 是其伴随矩阵,已知 \( |\mathbf{A}| = \frac{1}{2} \),则 \( \left| \left( 3\mathbf{A}\right)^{-1} - 2\mathbf{A}^ *\right| = \)

解

由伴随矩阵的基本关系 \(\mathbf{A}^{*}=|\mathbf{A}|\mathbf{A}^{-1}=\dfrac{1}{2}\mathbf{A}^{-1}\),又 \((3\mathbf{A})^{-1}=\dfrac{1}{3}\mathbf{A}^{-1}\),故

[\begin{aligned} (3\mathbf{A})^{-1}-2\mathbf{A}^{} &= \frac{1}{3}\mathbf{A}^{-1}-2\cdot\frac{1}{2}\mathbf{A}^{-1} \ &= \left(\frac{1}{3}-1\right)\mathbf{A}^{-1} \ &= -\frac{2}{3}\mathbf{A}^{-1}. \end{aligned}] 两边取行列式,注意 \(\mathbf{A}\) 为三阶:[ \left|(3\mathbf{A})^{-1}-2\mathbf{A}^{}\right|=\left(-\frac{2}{3}\right)^{3}\left|\mathbf{A}^{-1}\right|. ] 而 \(\left|\mathbf{A}^{-1}\right|=\dfrac{1}{|\mathbf{A}|}=2\),所以结果为 \(-\dfrac{8}{27}\cdot 2=-\dfrac{16}{27}\)。 这里两个关键点:数乘矩阵取行列式要提出 \(k^{n}\),而 \(\mathbf{A}^{*}\) 与 \(\mathbf{A}^{-1}\) 只差一个数量因子 \(|\mathbf{A}|\)。 【例 8】设 \( |\mathbf{A}| = 1,|\mathbf{B}| = 2,|\mathbf{A} + \mathbf{B}| = 2 \),则行列式 \( \left| \left( \mathbf{A}^{-1} + \mathbf{B}^{-1}\right)^{-1}\right| = (\;) \) (A) 1 (B) 2 (C) \( \frac{1}{2} \) (D) -1

解

答案:A 先化简括号内:[ \mathbf{A}^{-1}+\mathbf{B}^{-1}=\mathbf{A}^{-1}(\mathbf{A}+\mathbf{B})\mathbf{B}^{-1}, ] 因为右边展开即 \(\mathbf{B}^{-1}+\mathbf{A}^{-1}\)。 三个因子都可逆,故 [ \left(\mathbf{A}^{-1}+\mathbf{B}^{-1}\right)^{-1}=\mathbf{B}(\mathbf{A}+\mathbf{B})^{-1}\mathbf{A}. ] 取行列式:[\begin{aligned} \left|\left(\mathbf{A}^{-1}+\mathbf{B}^{-1}\right)^{-1}\right| &= \frac{|\mathbf{B}||\mathbf{A}|}{|\mathbf{A}+\mathbf{B}|} \ &= \frac{2\cdot 1}{2} \ &= 1. \end{aligned}] 注意求逆把乘积的次序颠倒,但行列式是数、与次序无关,所以直接按 \(\dfrac{|\mathbf{B}||\mathbf{A}|}{|\mathbf{A}+\mathbf{B}|}\) 算即可。 【例 9】设 \( \mathbf{A} \) 是 \( n(n \geq 3) \) 阶可逆方阵,下列结论正确的是(). ① \( \left( \mathbf{A}^ *\right)^{-1} = \left( \mathbf{A}^{-1}\right)^ * \) . ② \( \left( k\mathbf{A}\right)^ * = k^{n - 1}\mathbf{A}^ * (k \neq 0) \) . ③ \( \left( \mathbf{A}^ *\right)^{\mathrm{T}} = \left( \mathbf{A}^{\mathrm{T}}\right)^ * \) . ④ \( \left( \mathbf{A}^ *\right)^ * = \left| \mathbf{A}\right|^{n - 2}\mathbf{A} \) (A) ①② (B) ②③ (C) ③④ (D) ①②③④

解

答案:D ① 由 \(\mathbf{A}^{*}=|\mathbf{A}|\mathbf{A}^{-1}\) 得 \((\mathbf{A}^{*})^{-1}=\dfrac{1}{|\mathbf{A}|}\mathbf{A}\);另一方面 \((\mathbf{A}^{-1})^{*}=|\mathbf{A}^{-1}|(\mathbf{A}^{-1})^{-1}=\dfrac{1}{|\mathbf{A}|}\mathbf{A}\),两者相等,正确。 ② \(\mathbf{A}\) 的每个 \(n-1\) 阶子式都含 \(k^{n-1}\) 这个因子,故 \((k\mathbf{A})^{*}=k^{n-1}\mathbf{A}^{*}\),正确。 ③ 转置只交换子式所在的行列位置,不改变子式的值,故 \((\mathbf{A}^{*})^{\mathrm{T}}=(\mathbf{A}^{\mathrm{T}})^{*}\),正确。 ④ 把①的公式再用一次:\((\mathbf{A}^{*})^{*}=|\mathbf{A}^{*}|(\mathbf{A}^{*})^{-1}\),其中 \(|\mathbf{A}^{*}|=|\mathbf{A}|^{n-1}\),\((\mathbf{A}^{*})^{-1}=\dfrac{1}{|\mathbf{A}|}\mathbf{A}\),相乘得 \(|\mathbf{A}|^{n-2}\mathbf{A}\),正确。 四条全对,选 D。四个等式的共同来源只有一条:\(\mathbf{A}^{*}=|\mathbf{A}|\mathbf{A}^{-1}\)。 【例 10】设矩阵 \( \mathbf{A} = \left( \begin{matrix} a & 1 & 0 \\ 1 & a & - 1 \\ 0 & 1 & a \end{matrix}\right) \),且 \( \mathbf{A}^3 = \mathbf{O} \) . 求: (1)求 \( a \) 的值;(2)若矩阵 \( \mathbf{X} \) 满足 \( \mathbf{X} - \mathbf{X}\mathbf{A}^2 - \mathbf{A}\mathbf{X} + \mathbf{A}\mathbf{X}\mathbf{A}^2 = \mathbf{E} \),求 \( \mathbf{X} \) .

解

(1)先算幂。[ \mathbf{A}^{2}=\begin{pmatrix}a^{2}+1&2a&-1\2a&a^{2}&-2a\1&2a&a^{2}-1\end{pmatrix},\quad \mathbf{A}^{3}=\begin{pmatrix}a^{3}+3a&3a^{2}&-3a\3a^{2}&a^{3}&-3a^{2}\3a&3a^{2}&a^{3}-3a\end{pmatrix}. ] 令 \(\mathbf{A}^{3}=\mathbf{O}\),最省事的入口是元素 \((1,2)\):\(3a^{2}=0\),故 \(a=0\);回代其余元素 \(a^{3}+3a=0,\ \pm 3a=0,\ a^{3}-3a=0\) 也全部成立。所以 \(a=0\)。 (2)把方程重新组合:[\begin{aligned} \mathbf{X}-\mathbf{X}\mathbf{A}^{2}-\mathbf{A}\mathbf{X}+\mathbf{A}\mathbf{X}\mathbf{A}^{2} &= (\mathbf{E}-\mathbf{A})\mathbf{X}(\mathbf{E}-\mathbf{A}^{2}) \ &= \mathbf{E}. \end{aligned}] \(a=0\) 时 \(\mathbf{A}^{3}=\mathbf{O}\),于是 \((\mathbf{E}-\mathbf{A})(\mathbf{E}+\mathbf{A}+\mathbf{A}^{2})=\mathbf{E}-\mathbf{A}^{3}=\mathbf{E}\),\((\mathbf{E}-\mathbf{A}^{2})(\mathbf{E}+\mathbf{A}^{2})=\mathbf{E}-\mathbf{A}^{4}=\mathbf{E}\),即

[\begin{aligned} (\mathbf{E}-\mathbf{A})^{-1} &= \mathbf{E}+\mathbf{A}+\mathbf{A}^{2}, \ (\mathbf{E}-\mathbf{A}^{2})^{-1} &= \mathbf{E}+\mathbf{A}^{2}. \end{aligned}] 左乘、右乘两边的逆矩阵得 \(\mathbf{X}=(\mathbf{E}+\mathbf{A}+\mathbf{A}^{2})(\mathbf{E}+\mathbf{A}^{2})=\mathbf{E}+\mathbf{A}+2\mathbf{A}^{2}\)(\(\mathbf{A}^{3}=\mathbf{A}^{4}=\mathbf{O}\))。 此时 \(\mathbf{A}^{2}=\begin{pmatrix}1&0&-1\\0&0&0\\1&0&-1\end{pmatrix}\),故 [ \mathbf{X}=\begin{pmatrix}1&0&0\0&1&0\0&0&1\end{pmatrix}+\begin{pmatrix}0&1&0\1&0&-1\0&1&0\end{pmatrix}+\begin{pmatrix}2&0&-2\0&0&0\2&0&-2\end{pmatrix}=\begin{pmatrix}3&1&-2\1&1&-1\2&1&-1\end{pmatrix}. ]

2.8.1 分块矩阵的概念

当矩阵的行数和列数较大时, 计算起来是很困难的, 特别是关于矩阵的乘法和求逆运算。 若将一个矩阵根据需要分成若干个“子块”, 不仅可使矩阵显得结构简单、清晰, 而且能简化矩阵的运算, 便于某些问题的论证。 示例:下面的 5 阶方阵可用横线、纵线将它分成 4 块,构成一个分块矩阵,即

[\mathbf{A} = \left( \begin{matrix} 1 & 0 & 0 & 1 & 4 \ 0 & 1 & 0 & 2 & 5 \ 0 & 0 & 1 & 3 & 6 \ 6 & - 4 & - 2 & 0 & - 0 \ 7 & 5 & 3 & 0 & 0 \end{matrix}\right) = \left( \begin{array}{ll} \mathbf{E}_3 & \mathbf{B} \ \mathbf{C} & \mathbf{O}_2 \end{array}\right)] 其中, \( \mathbf{E}_3 \) 为 3 阶单位方阵, \( \mathbf{O}_2 \) 为 2 阶零矩阵, \( \mathbf{B} = \left( \begin{array}{ll} 1 & 4 \\ 2 & 5 \\ 3 & 6 \end{array}\right) ,\mathbf{C} = \left( \begin{array}{lll} 6 & 4 & 2 \\ 7 & 5 & 3 \end{array}\right) \) 给定一个矩阵, 横线纵线的取法不同, 则会得到不同的分块矩阵。 常用的分块矩阵, 除了上述示例 2 x 2 分块矩阵, 还有以下几种形式: (1)按列分块

[\mathbf{A} = \left( \begin{matrix} a_{11} & a_{12} & \cdots & a_{1n} \ a_{21} & a_{22} & \cdots & a_{2n} \ \vdots & \vdots & \vdots & \vdots \ a_{s1} & a_{s2} & \cdots & a_{sn} \end{matrix}\right) = (\mathbf{\alpha}_1,\mathbf{\alpha}_2,\cdots ,\mathbf{\alpha}_n)] 其中, \( \mathbf{\alpha}_j \) 是 \( \mathbf{A} \) 的第 \( j \) 列, \( \mathbf{\alpha}_j = \left( a_{1j},a_{2j},\cdots ,a_{sj}\right)^{\mathrm{T}},j = 1,2,\cdots ,n \) (2)按行分块

[A = \left( \begin{matrix} a_{11} & a_{12} & \cdots & a_{1n} \ a_{21} & a_{22} & \cdots & a_{2n} \ \vdots & \vdots & & \vdots \ a_{s1} & a_{s2} & \cdots & a_{sn} \end{matrix}\right) = \left( \begin{matrix} \beta_1 \ \beta_2 \ \vdots \ \beta_s \end{matrix}\right)] 其中, \( \mathbf{\beta}_i \) 是 \( \mathbf{A} \) 的第 \( i \) 行, \( \mathbf{\beta}_i = (a_{i1},a_{i2},\cdots ,a_{in}) ,i = 1,2,\cdots ,s \) (3)分块对角矩阵(准对角矩阵) 当 \( n \) 阶矩阵 \( \mathbf{A} \) 中非零元素都集中在主对角线附近,有时可以分块成下面的对角块矩阵

[\mathbf{A} = \left( \begin{array}{llll} \mathbf{A}_1 & & & \ & \mathbf{A}_2 & & \ & & \ddots & \ & & & \mathbf{A}_m \end{array}\right)] 其中, \( A_i \) 是 \( r_i \) 阶方阵 \( \left( i = 1,2,\cdots ,m;\mathop{\Sigma}\limits_{i = 1}^{m}r_i = n\right) \) . 示例:

\[\mathbf{A} = \left( \begin{matrix} 0 & - 1 & 0 & 0 & 0 & 0 \\ 1 & 3 & 0 & 0 & 0 & 0 \\ 0 & - 1 & - 1 & - 1 & - 1 & - 1 \\ 0 & 0 & 1 & 1 & 3 & 0 \\ 0 & 0 & 1 & 1 & 3 & 0 \\ 0 & 0 & 0 & 0 & - 1 & - 1 \\ 0 & - 1 & - 1 & - 1 & - 1 & - 1 \end{matrix}\right) = \left( \begin{array}{lll} A_1 & & \\ & A_2 & \\ & & A_3 \end{array}\right)\]