← 学习库 A First Course in Linear Algebra (Kuttler) · 中英对照 目录

Determinants 行列式 行列式

本页译自 LibreTexts · A First Course in Linear Algebra (Kuttler)「Determinants(行列式)」第 3 章:3.1 基本技巧(代数余子式与 2×2 行列式)、3.2 行列式的性质、3.3 用行运算求行列式、3.4 行列式的应用,以及 3.E 习题。公式经 MathJax 渲染,自定义宏已注入;正文与译文段段对照。

Cofactors and 2 x 2 Determinants 代数余子式与 2×2 行列式

学习目标 Outcomes

  1. Evaluate the determinant of a square matrix using either Laplace Expansion or row operations.
  2. Demonstrate the effects that row operations have on determinants.
  3. Verify the following:
    1. The determinant of a product of matrices is the product of the determinants.
    2. The determinant of a matrix is equal to the determinant of its transpose.
  1. 用拉普拉斯展开或行运算求方阵的行列式。
  2. 说明行运算对行列式的影响。
  3. 验证以下结论:
    1. 矩阵乘积的行列式等于各行列式的乘积。
    2. 一个矩阵的行列式等于其转置的行列式。

Let $A$ be an $n\times n$ matrix. That is, let $A$ be a square matrix. The determinant of $A$, denoted by $\det \left( A\right)$, is a very important number which we will explore throughout this section.

设 $A$ 是 $n\times n$ 矩阵,也就是说,$A$ 是方阵。$A$ 的行列式(determinant),记为 $\det \left( A\right)$,是一个非常重要的数,我们将在本节中详细探讨它。

If $A$ is a 2$\times 2$ matrix, the determinant is given by the following formula.

若 $A$ 是 $2\times 2$ 矩阵,则行列式由下面的公式给出。

定义 1:二乘二矩阵的行列式 Determinant of a Two By Two Matrix

Let $A=\left[ \begin{array}{rr} a & b \\ c & d \end{array} \right] .$ Then $\det \left( A\right) = ad-cb$.

设 $A=\left[ \begin{array}{rr} a & b \\ c & d \end{array} \right]$,则 $\det \left( A\right) = ad-cb$。

The determinant is also often denoted by enclosing the matrix with two vertical lines. Thus $\det \left[ \begin{array}{rr} a & b \\ c & d \end{array} \right] =\left\| \begin{array}{rr} a & b \\ c & d \end{array} \right\| =ad - bc $.

行列式也常常用两条竖线把矩阵括起来表示。于是 $\det \left[ \begin{array}{rr} a & b \\ c & d \end{array} \right] =\left\| \begin{array}{rr} a & b \\ c & d \end{array} \right\| =ad - bc $。

The following is an example of finding the determinant of a $2 \times 2$ matrix.

下面是一个求 $2 \times 2$ 矩阵行列式的例子。

示例 1:一个二乘二行列式 A Two by Two Determinant

Find $\det\left(A\right)$ for the matrix $A = \left[ \begin{array}{rr} 2 & 4 \\ -1 & 6 \end{array} \right] .$

对矩阵 $A = \left[ \begin{array}{rr} 2 & 4 \\ -1 & 6 \end{array} \right]$ 求 $\det\left(A\right)$。

Solution

From Definition 1, $\det \left( A\right) = \left( 2\right) \left( 6\right) -\left( -1\right) \left( 4\right) = 12 + 4 = 16 $.

由定义 1,$\det \left( A\right) = \left( 2\right) \left( 6\right) -\left( -1\right) \left( 4\right) = 12 + 4 = 16 $。

The $2 \times 2$ determinant can be used to find the determinant of larger matrices. We will now explore how to find the determinant of a $3 \times 3$ matrix, using several tools including the $2 \times 2$ determinant.

$2 \times 2$ 行列式可以用来求更大矩阵的行列式。下面我们将借助包括 $2 \times 2$ 行列式在内的若干工具,研究如何求 $3 \times 3$ 矩阵的行列式。

We begin with the following definition.

我们先给出下面的定义。

定义 2:矩阵的 $ij^{\mathrm{th}}$ 余子式 The $ij^{\mathrm{th}}$ Minor of a Matrix

Let $A$ be a $3\times 3$ matrix. The $ij^{\mathrm{th}}$ minor of $A$, denoted as $minor\left( A\right) _{ij},$ is the determinant of the $2\times 2$ matrix which results from deleting the $i^{\mathrm{th}}$ row and the $j^{\mathrm{th}}$ column of $A$.

设 $A$ 是 $3\times 3$ 矩阵。$A$ 的 $ij^{\mathrm{th}}$ 余子式(minor),记为 $minor\left( A\right) _{ij}$,是指删去 $A$ 的第 $i$ 行、第 $j$ 列后所得 $2\times 2$ 矩阵的行列式。

In general, if $A$ is an $n\times n$ matrix, then the $ij^{\mathrm{th}}$ minor of $A$ is the determinant of the $n-1 \times n-1$ matrix which results from deleting the $i^{\mathrm{th}}$ row and the $j^{\mathrm{th}}$ column of $A$.

一般而言,若 $A$ 是 $n\times n$ 矩阵,则 $A$ 的 $ij^{\mathrm{th}}$ 余子式是指删去 $A$ 的第 $i$ 行、第 $j$ 列后所得 $n-1 \times n-1$ 矩阵的行列式。

Hence, there is a minor associated with each entry of $A$. Consider the following example which demonstrates this definition.

因此,$A$ 的每个元都对应着一个余子式。请看下面这个说明该定义的例子。

示例 2:求矩阵的余子式 Finding Minors of a Matrix

Let $A = \left[ \begin{array}{rrr} 1 & 2 & 3 \\ 4 & 3 & 2 \\ 3 & 2 & 1 \end{array} \right] $ Find $minor\left( A\right) _{12}$ and $minor\left( A\right) _{23}$.

设 $A = \left[ \begin{array}{rrr} 1 & 2 & 3 \\ 4 & 3 & 2 \\ 3 & 2 & 1 \end{array} \right] $,求 $minor\left( A\right) _{12}$ 与 $minor\left( A\right) _{23}$。

Solution

First we will find $minor\left( A\right) _{12}$. By Definition 2, this is the determinant of the $2\times 2$ matrix which results when you delete the first row and the second column. This minor is given by $minor \left(A\right)_{12} = \det \left[ \begin{array}{rr} 4 & 2 \\ 3 & 1 \end{array} \right] $ Using Definition 1, we see that $\det \left[ \begin{array}{rr} 4 & 2 \\ 3 & 1 \end{array} \right] = \left(4\right)\left(1\right) - \left(3\right)\left(2\right) = 4 - 6 = -2$.

首先求 $minor\left( A\right) _{12}$。由定义 2,它是指删去第一行、第二列后所得 $2\times 2$ 矩阵的行列式。该余子式为 $minor \left(A\right)_{12} = \det \left[ \begin{array}{rr} 4 & 2 \\ 3 & 1 \end{array} \right] $。利用定义 1,我们看到 $\det \left[ \begin{array}{rr} 4 & 2 \\ 3 & 1 \end{array} \right] = \left(4\right)\left(1\right) - \left(3\right)\left(2\right) = 4 - 6 = -2$。

Therefore $minor \left(A\right)_{12} = -2$.

因此 $minor \left(A\right)_{12} = -2$。

Similarly, $minor\left(A\right)_{23}$ is the determinant of the $2\times 2$ matrix which results when you delete the second row and the third column. This minor is therefore $minor \left(A\right)_{23} = \det \left[ \begin{array}{rr} 1 & 2 \\ 3 & 2 \end{array} \right] = -4 $. Finding the other minors of $A$ is left as an exercise.

类似地,$minor\left(A\right)_{23}$ 是指删去第二行、第三列后所得 $2\times 2$ 矩阵的行列式。因此该余子式为 $minor \left(A\right)_{23} = \det \left[ \begin{array}{rr} 1 & 2 \\ 3 & 2 \end{array} \right] = -4 $。求 $A$ 的其余余子式留作练习。

The $ij^{\mathrm{th}}$ minor of a matrix $A$ is used in another important definition, given next.

矩阵 $A$ 的 $ij^{\mathrm{th}}$ 余子式用于下面另一个重要定义中。

定义 3:矩阵的 $ij^{\mathrm{th}}$ 代数余子式 The $ij^{\mathrm{th}}$ Cofactor of a Matrix

Suppose $A$ is an $n\times n$ matrix. The $ij^{\mathrm{th}}$ cofactor, denoted by $\mathrm{cof}\left( A\right) _{ij}$, is defined to be $\mathrm{cof}\left( A\right) _{ij} = \left( -1\right) ^{i+j} minor\left(A\right)_{ij} $.

设 $A$ 是 $n\times n$ 矩阵。$A$ 的 $ij^{\mathrm{th}}$ 代数余子式(cofactor),记为 $\mathrm{cof}\left( A\right) _{ij}$,定义为 $\mathrm{cof}\left( A\right) _{ij} = \left( -1\right) ^{i+j} minor\left(A\right)_{ij} $。

It is also convenient to refer to the cofactor of an entry of a matrix as follows. If $a_{ij}$ is the $ij^{\mathrm{th}}$ entry of the matrix, then its cofactor is just $\mathrm{cof}\left( A\right) _{ij}.$

如下这样指称矩阵某个元的代数余子式也很方便:若 $a_{ij}$ 是矩阵的 $ij^{\mathrm{th}}$ 元,则它的代数余子式就是 $\mathrm{cof}\left( A\right) _{ij}$。

示例 3:求矩阵的代数余子式 Finding Cofactors of a Matrix

Consider the matrix $A=\left[ \begin{array}{rrr} 1 & 2 & 3 \\ 4 & 3 & 2 \\ 3 & 2 & 1 \end{array} \right] $ Find $\mathrm{cof}\left( A\right) _{12}$ and $\mathrm{cof}\left( A\right) _{23}$.

考虑矩阵 $A=\left[ \begin{array}{rrr} 1 & 2 & 3 \\ 4 & 3 & 2 \\ 3 & 2 & 1 \end{array} \right] $,求 $\mathrm{cof}\left( A\right) _{12}$ 与 $\mathrm{cof}\left( A\right) _{23}$。

Solution

We will use Definition 3 to compute these cofactors.

我们将用定义 3 来计算这些代数余子式。

First, we will compute $\mathrm{cof}\left( A\right) _{12}$. Therefore, we need to find $minor\left(A\right)_{12}$. This is the determinant of the $2\times 2$ matrix which results when you delete the first row and the second column. Thus $minor\left(A\right)_{12}$ is given by $\det \left[ \begin{array}{rr} 4 & 2 \\ 3 & 1 \end{array} \right] = -2 $. Then, $\mathrm{cof}\left( A\right) _{12}=\left( -1\right) ^{1+2} minor\left(A\right)_{12} =\left( -1\right) ^{1+2}\left( -2\right) =2 $. Hence, $\mathrm{cof}\left( A\right) _{12}=2$.

首先计算 $\mathrm{cof}\left( A\right) _{12}$。为此需要求 $minor\left(A\right)_{12}$。它是指删去第一行、第二列后所得 $2\times 2$ 矩阵的行列式。于是 $minor\left(A\right)_{12}$ 为 $\det \left[ \begin{array}{rr} 4 & 2 \\ 3 & 1 \end{array} \right] = -2 $。从而 $\mathrm{cof}\left( A\right) _{12}=\left( -1\right) ^{1+2} minor\left(A\right)_{12} =\left( -1\right) ^{1+2}\left( -2\right) =2 $。因此 $\mathrm{cof}\left( A\right) _{12}=2$。

Similarly, we can find $\mathrm{cof}\left( A\right) _{23}$. First, find $minor\left(A\right)_{23}$, which is the determinant of the $2\times 2$ matrix which results when you delete the second row and the third column. This minor is therefore $\det \left[ \begin{array}{rr} 1 & 2 \\ 3 & 2 \end{array} \right] = -4 $. Hence, $\mathrm{cof}\left( A\right) _{23}=\left( -1\right) ^{2+3} minor\left(A\right)_{23} =\left( -1\right) ^{2+3}\left( -4\right) =4 $.

类似地,可以求 $\mathrm{cof}\left( A\right) _{23}$。先求 $minor\left(A\right)_{23}$,它是指删去第二行、第三列后所得 $2\times 2$ 矩阵的行列式。因此该余子式为 $\det \left[ \begin{array}{rr} 1 & 2 \\ 3 & 2 \end{array} \right] = -4 $。从而 $\mathrm{cof}\left( A\right) _{23}=\left( -1\right) ^{2+3} minor\left(A\right)_{23} =\left( -1\right) ^{2+3}\left( -4\right) =4 $。

You may wish to find the remaining cofactors for the above matrix. Remember that there is a cofactor for every entry in the matrix.

你不妨自行求上述矩阵的其余代数余子式。记住,矩阵中的每个元都对应一个代数余子式。

We have now established the tools we need to find the determinant of a $3 \times3$ matrix.

至此我们已经备齐了求 $3 \times3$ 矩阵行列式所需的工具。

定义 4:三乘三矩阵的行列式 The Determinant of a Three By Three Matrix

Let $A$ be a $3\times 3$ matrix. Then, $\det \left(A\right)$ is calculated by picking a row (or column) and taking the product of each entry in that row (column) with its cofactor and adding these products together.

设 $A$ 是 $3\times 3$ 矩阵。则 $\det \left(A\right)$ 的计算方法是:选取一行(或一列),把这行(列)中的每个元与其代数余子式相乘,再把所有这些乘积相加。

This process when applied to the $i^{\mathrm{th}}$ row (column) is known as expanding along the $i^{\mathrm{th}}$ row (column) and is given by $\det \left(A\right) = a_{i1}\mathrm{cof}(A)_{i1} + a_{i2}\mathrm{cof}(A)_{i2} + a_{i3}\mathrm{cof}(A)_{i3} $.

当这一过程应用于第 $i$ 行(列)时,称为沿第 $i$ 行(列)展开,公式为 $\det \left(A\right) = a_{i1}\mathrm{cof}(A)_{i1} + a_{i2}\mathrm{cof}(A)_{i2} + a_{i3}\mathrm{cof}(A)_{i3} $。

When calculating the determinant, you can choose to expand any row or any column. Regardless of your choice, you will always get the same number which is the determinant of the matrix $A.$ This method of evaluating a determinant by expanding along a row or a column is called Laplace Expansion or Cofactor Expansion.

计算行列式时,你可以选择沿任何一行或任何一列展开。无论选择哪一行或哪一列,得到的数总是同一个,即矩阵 $A$ 的行列式。这种沿一行或一列展开来求行列式的方法称为拉普拉斯展开(Laplace Expansion)或代数余子式展开(Cofactor Expansion)。

Consider the following example.

请看下面的例子。

示例 4:求三乘三矩阵的行列式 Finding the Determinant of a Three by Three Matrix

Let $A=\left[ \begin{array}{rrr} 1 & 2 & 3 \\ 4 & 3 & 2 \\ 3 & 2 & 1 \end{array} \right] $ Find $\det\left(A\right)$ using the method of Laplace Expansion.

设 $A=\left[ \begin{array}{rrr} 1 & 2 & 3 \\ 4 & 3 & 2 \\ 3 & 2 & 1 \end{array} \right] $,用拉普拉斯展开法求 $\det\left(A\right)$。

Solution

First, we will calculate $\det \left(A\right)$ by expanding along the first column. Using Definition 4, we take the $1$ in the first column and multiply it by its cofactor, $1 \left( -1\right) ^{1+1}\left\| \begin{array}{rr} 3 & 2 \\ 2 & 1 \end{array} \right\| = (1)(1)(-1) = -1 $. Similarly, we take the $4$ in the first column and multiply it by its cofactor, as well as with the $3$ in the first column. Finally, we add these numbers together, as given in the following equation. $\det \left(A\right) = 1 \overset{ \mathrm{cof}\left( A\right) _{11}}{\overbrace{\left( -1\right) ^{1+1}\left\| \begin{array}{rr} 3 & 2 \\ 2 & 1 \end{array} \right\| }}+4 \overset{\mathrm{cof}\left( A\right) _{21}}{\overbrace{\left( -1\right) ^{2+1}\left\| \begin{array}{rr} 2 & 3 \\ 2 & 1 \end{array} \right\| }}+3 \overset{\mathrm{cof}\left( A\right) _{31}}{\overbrace{\left( -1\right) ^{3+1}\left\| \begin{array}{rr} 2 & 3 \\ 3 & 2 \end{array} \right\| }} $ Calculating each of these, we obtain $\det \left(A\right) = 1 \left(1\right)\left(-1\right) + 4 \left(-1\right)\left(-4\right) + 3 \left(1\right)\left(-5\right) = -1 + 16 + -15 = 0 $. Hence, $\det\left(A\right) = 0$.

首先沿第一列展开计算 $\det \left(A\right)$。利用定义 4,取第一列中的 $1$ 并乘以其代数余子式,$1 \left( -1\right) ^{1+1}\left\| \begin{array}{rr} 3 & 2 \\ 2 & 1 \end{array} \right\| = (1)(1)(-1) = -1 $。类似地,取第一列中的 $4$ 乘以其代数余子式,也取第一列中的 $3$ 乘以其代数余子式。最后把这些数相加,如下式所示:$\det \left(A\right) = 1 \overset{ \mathrm{cof}\left( A\right) _{11}}{\overbrace{\left( -1\right) ^{1+1}\left\| \begin{array}{rr} 3 & 2 \\ 2 & 1 \end{array} \right\| }}+4 \overset{\mathrm{cof}\left( A\right) _{21}}{\overbrace{\left( -1\right) ^{2+1}\left\| \begin{array}{rr} 2 & 3 \\ 2 & 1 \end{array} \right\| }}+3 \overset{\mathrm{cof}\left( A\right) _{31}}{\overbrace{\left( -1\right) ^{3+1}\left\| \begin{array}{rr} 2 & 3 \\ 3 & 2 \end{array} \right\| }} $。计算其中每一项,得到 $\det \left(A\right) = 1 \left(1\right)\left(-1\right) + 4 \left(-1\right)\left(-4\right) + 3 \left(1\right)\left(-5\right) = -1 + 16 + -15 = 0 $。因此 $\det\left(A\right) = 0$。

As mentioned in Definition 4, we can choose to expand along any row or column. Let's try now by expanding along the second row. Here, we take the $4$ in the second row and multiply it to its cofactor, then add this to the $3$ in the second row multiplied by its cofactor, and the $2$ in the second row multiplied by its cofactor. The calculation is as follows. $\det \left(A\right) = 4 \overset{\mathrm{cof}\left( A\right) _{21}}{\overbrace{\left( -1\right) ^{2+1}\left\| \begin{array}{rr} 2 & 3 \\ 2 & 1 \end{array} \right\| }}+3 \overset{\mathrm{cof}\left( A\right) _{22}}{\overbrace{\left( -1\right) ^{2+2}\left\| \begin{array}{rr} 1 & 3 \\ 3 & 1 \end{array} \right\| }}+2 \overset{\mathrm{cof}\left( A\right) _{23}}{\overbrace{\left( -1\right) ^{2+3}\left\| \begin{array}{rr} 1 & 2 \\ 3 & 2 \end{array} \right\| }} $.

正如定义 4 所说,我们可以选择沿任意一行或一列展开。现在我们试着沿第二行展开。这里取第二行中的 $4$ 乘以其代数余子式,再加上第二行中的 $3$ 及其代数余子式之积,以及第二行中的 $2$ 及其代数余子式之积。计算如下:$\det \left(A\right) = 4 \overset{\mathrm{cof}\left( A\right) _{21}}{\overbrace{\left( -1\right) ^{2+1}\left\| \begin{array}{rr} 2 & 3 \\ 2 & 1 \end{array} \right\| }}+3 \overset{\mathrm{cof}\left( A\right) _{22}}{\overbrace{\left( -1\right) ^{2+2}\left\| \begin{array}{rr} 1 & 3 \\ 3 & 1 \end{array} \right\| }}+2 \overset{\mathrm{cof}\left( A\right) _{23}}{\overbrace{\left( -1\right) ^{2+3}\left\| \begin{array}{rr} 1 & 2 \\ 3 & 2 \end{array} \right\| }} $。

Calculating each of these products, we obtain $\det \left(A\right) = 4\left(-1\right)\left(-2\right) + 3\left(1\right)\left(-8\right) + 2 \left(-1\right)\left(-4\right) = 0 $.

计算其中每一项乘积,得到 $\det \left(A\right) = 4\left(-1\right)\left(-2\right) + 3\left(1\right)\left(-8\right) + 2 \left(-1\right)\left(-4\right) = 0 $。

You can see that for both methods, we obtained $\det \left(A\right) = 0$.

可以看出,两种方法得到的都是 $\det \left(A\right) = 0$。

As mentioned above, we will always come up with the same value for $\det \left(A\right)$ regardless of the row or column we choose to expand along. You should try to compute the above determinant by expanding along other rows and columns. This is a good way to check your work, because you should come up with the same number each time!

如前面所述,无论我们选择沿哪一行或哪一列展开,$\det \left(A\right)$ 的值总是一样。你应该亲自试一下沿其他行、列展开来计算上面这个行列式。这是检验你计算的好办法,因为你每次都应该得到同一个数!

We present this idea formally in the following theorem.

我们把这一思想正式表述在下面的定理中。

定理 1:行列式是良定义的 The Determinant is Well Defined

Expanding the $n\times n$ matrix along any row or column always gives the same answer, which is the determinant.

沿任意一行或一列展开 $n\times n$ 矩阵,得到的答案总是一样,这个答案就是行列式。

We have now looked at the determinant of $2 \times 2$ and $3 \times 3$ matrices. It turns out that the method used to calculate the determinant of a $3 \times 3$ matrix can be used to calculate the determinant of any sized matrix. Notice that Definition 2, Definition 3 and Definition 4 can all be applied to a matrix of any size.

我们现在已经考察了 $2 \times 2$ 和 $3 \times 3$ 矩阵的行列式。事实证明,用于计算 $3 \times 3$ 矩阵行列式的方法可以用来计算任何大小矩阵的行列式。注意,定义 2、定义 3 和定义 4 都可以应用于任何大小的矩阵。

For example, the $ij^{\mathrm{th}}$ minor of a $4 \times 4$ matrix is the determinant of the $3 \times 3$ matrix you obtain when you delete the $i^{\mathrm{th}}$ row and the $j^{\mathrm{th}}$ column. Just as with the $3 \times 3$ determinant, we can compute the determinant of a $4 \times 4$ matrix by Laplace Expansion, along any row or column.

例如,$4 \times 4$ 矩阵的 $ij^{\mathrm{th}}$ 余子式,是指删去第 $i$ 行、第 $j$ 列后所得 $3 \times 3$ 矩阵的行列式。与 $3 \times 3$ 行列式一样,我们可以沿任意一行或一列,用拉普拉斯展开来计算 $4 \times 4$ 矩阵的行列式。

Consider the following example.

请看下面的例子。

示例 5:四乘四矩阵的行列式 Determinant of a Four by Four Matrix

Find $\det \left( A\right)$ where $A=\left[ \begin{array}{rrrr} 1 & 2 & 3 & 4 \\ 5 & 4 & 2 & 3 \\ 1 & 3 & 4 & 5 \\ 3 & 4 & 3 & 2 \end{array} \right] $.

求 $\det \left( A\right)$,其中 $A=\left[ \begin{array}{rrrr} 1 & 2 & 3 & 4 \\ 5 & 4 & 2 & 3 \\ 1 & 3 & 4 & 5 \\ 3 & 4 & 3 & 2 \end{array} \right] $。

Solution

As in the case of a $3\times 3$ matrix, you can expand this along any row or column. Lets pick the third column. Then, using Laplace Expansion, $\det \left( A\right) = 3\left( -1\right) ^{1+3}\left\vert \begin{array}{rrr} 5 & 4 & 3 \\ 1 & 3 & 5 \\ 3 & 4 & 2 \end{array} \right\vert +2\left( -1\right) ^{2+3}\left\vert \begin{array}{rrr} 1 & 2 & 4 \\ 1 & 3 & 5 \\ 3 & 4 & 2 \end{array} \right\vert + $ $4\left( -1\right) ^{3+3}\left\vert \begin{array}{rrr} 1 & 2 & 4 \\ 5 & 4 & 3 \\ 3 & 4 & 2 \end{array} \right\vert +3\left( -1\right) ^{4+3}\left\vert \begin{array}{rrr} 1 & 2 & 4 \\ 5 & 4 & 3 \\ 1 & 3 & 5 \end{array} \right\vert $.

与 $3\times 3$ 矩阵的情形一样,你可以沿任意一行或一列展开。我们选取第三列。于是,用拉普拉斯展开,$\det \left( A\right) = 3\left( -1\right) ^{1+3}\left\vert \begin{array}{rrr} 5 & 4 & 3 \\ 1 & 3 & 5 \\ 3 & 4 & 2 \end{array} \right\vert +2\left( -1\right) ^{2+3}\left\vert \begin{array}{rrr} 1 & 2 & 4 \\ 1 & 3 & 5 \\ 3 & 4 & 2 \end{array} \right\vert + $ $4\left( -1\right) ^{3+3}\left\vert \begin{array}{rrr} 1 & 2 & 4 \\ 5 & 4 & 3 \\ 3 & 4 & 2 \end{array} \right\vert +3\left( -1\right) ^{4+3}\left\vert \begin{array}{rrr} 1 & 2 & 4 \\ 5 & 4 & 3 \\ 1 & 3 & 5 \end{array} \right\vert $。

Now, you can calculate each $3 \times 3$ determinant using Laplace Expansion, as we did above. You should complete these as an exercise and verify that $\det \left( A \right)= -12$.

现在,你可以像上面那样用拉普拉斯展开计算每个 $3 \times 3$ 行列式。建议你把这些作为练习完成,并验证 $\det \left( A \right)= -12$。

The following provides a formal definition for the determinant of an $n \times n$ matrix. You may wish to take a moment and consider the above definitions for $2 \times 2$ and $3 \times 3$ determinants in context of this definition.

下面给出 $n \times n$ 矩阵行列式的严格定义。你不妨稍作停留,结合这一定义重新审视上面关于 $2 \times 2$ 和 $3 \times 3$ 行列式的定义。

定义 5:$n\times n$ 矩阵的行列式 The Determinant of an $n\times n$ Matrix

Let $A$ be an $n\times n$ matrix where $n\geq 2$ and suppose the determinant of an $\left( n-1\right) \times \left( n-1\right)$ matrix has been defined. Then $\det \left( A\right) =\sum_{j=1}^{n}a_{ij}\mathrm{cof}\left( A\right) _{ij}=\sum_{i=1}^{n}a_{ij}\mathrm{cof}\left( A\right) _{ij} $ The first formula consists of expanding the determinant along the $i^{\mathrm{th}}$ row and the second expands the determinant along the $j^{\mathrm{th}}$ column.

设 $A$ 是 $n\times n$ 矩阵,其中 $n\geq 2$,并假定 $\left( n-1\right) \times \left( n-1\right)$ 矩阵的行列式已经定义好了。则 $\det \left( A\right) =\sum_{j=1}^{n}a_{ij}\mathrm{cof}\left( A\right) _{ij}=\sum_{i=1}^{n}a_{ij}\mathrm{cof}\left( A\right) _{ij} $。第一个公式是把行列式沿第 $i$ 行展开,第二个公式是把行列式沿第 $j$ 列展开。

In the following sections, we will explore some important properties and characteristics of the determinant.

在接下来的小节中,我们将探讨行列式的一些重要性质与特征。

The Determinant of a Triangular Matrix 三角矩阵的行列式

There is a certain type of matrix for which finding the determinant is a very simple procedure. Consider the following definition.

有一种特殊类型的矩阵,求它的行列式非常简单。请看下面的定义。

定义 6:三角矩阵 Triangular Matrices

A matrix $A$ is upper triangular if $a_{ij}=0$ whenever $i>j$. Thus the entries of such a matrix below the main diagonal equal $0$, as shown. Here, $\ast$ refers to any nonzero number. $$ \left[ \begin{array}{cccc} \ast & \ast & \cdots & \ast \\ 0 & \ast & \cdots & \vdots \\ \vdots & \vdots & \ddots & \ast \\ 0 & \cdots & 0 & \ast \end{array} \right] $$ A lower triangular matrix is defined similarly as a matrix for which all entries above the main diagonal are equal to zero.

若当 $i>j$ 时总有 $a_{ij}=0$,则称矩阵 $A$ 为上三角矩阵。因此,这类矩阵主对角线以下的元都等于 $0$,如下图所示。这里 $\ast$ 指任一非零数。$$ \left[ \begin{array}{cccc} \ast & \ast & \cdots & \ast \\ 0 & \ast & \cdots & \vdots \\ \vdots & \vdots & \ddots & \ast \\ 0 & \cdots & 0 & \ast \end{array} \right] $$ 下三角矩阵的定义类似:所有主对角线以上的元都等于零的矩阵称为下三角矩阵。

The following theorem provides a useful way to calculate the determinant of a triangular matrix.

下面的定理给出了一种计算三角矩阵行列式的实用方法。

定理 2:三角矩阵的行列式 Determinant of a Triangular Matrix

Let $A$ be an upper or lower triangular matrix. Then $\det \left( A\right)$ is obtained by taking the product of the entries on the main diagonal.

设 $A$ 是上三角或下三角矩阵。则 $\det \left( A\right)$ 等于主对角线上各元的乘积。

The verification of this Theorem can be done by computing the determinant using Laplace Expansion along the first row or column.

这个定理的验证,可以沿第一行或第一列用拉普拉斯展开来计算行列式。

Consider the following example.

请看下面的例子。

示例 6:三角矩阵的行列式 Determinant of a Triangular Matrix

Let $A=\left[ \begin{array}{rrrr} 1 & 2 & 3 & 77 \\ 0 & 2 & 6 & 7 \\ 0 & 0 & 3 & 33.7 \\ 0 & 0 & 0 & -1 \end{array} \right] $ Find $\det \left( A\right) .$

设 $A=\left[ \begin{array}{rrrr} 1 & 2 & 3 & 77 \\ 0 & 2 & 6 & 7 \\ 0 & 0 & 3 & 33.7 \\ 0 & 0 & 0 & -1 \end{array} \right] $,求 $\det \left( A\right)$。

Solution

From Theorem 2, it suffices to take the product of the elements on the main diagonal. Thus $\det \left( A\right) =1\times 2\times 3\times \left( -1\right) =-6.$

由定理 2,只需取主对角线上各元的乘积即可。于是 $\det \left( A\right) =1\times 2\times 3\times \left( -1\right) =-6$。

Without using Theorem 2, you could use Laplace Expansion. We will expand along the first column. This gives $\begin{aligned} \det \left(A\right) = &1\left\| \begin{array}{rrr} 2 & 6 & 7 \\ 0 & 3 & 33.7 \\ 0 & 0 & -1 \end{array} \right\| +0\left( -1\right) ^{2+1}\left\| \begin{array}{rrr} 2 & 3 & 77 \\ 0 & 3 & 33.7 \\ 0 & 0 & -1 \end{array} \right\| + \\ &0\left( -1\right) ^{3+1}\left\| \begin{array}{rrr} 2 & 3 & 77 \\ 2 & 6 & 7 \\ 0 & 0 & -1 \end{array} \right\| +0\left( -1\right) ^{4+1}\left\| \begin{array}{rrr} 2 & 3 & 77 \\ 2 & 6 & 7 \\ 0 & 3 & 33.7 \end{array} \right\| \end{aligned}$ and the only nonzero term in the expansion is $1\left\| \begin{array}{rrr} 2 & 6 & 7 \\ 0 & 3 & 33.7 \\ 0 & 0 & -1 \end{array} \right\| $ Now find the determinant of this $3 \times 3$ matrix, by expanding along the first column to obtain $\det \left(A\right) = 1\times \left( 2\times \left\| \begin{array}{rr} 3 & 33.7 \\ 0 & -1 \end{array} \right\| +0\left( -1\right) ^{2+1}\left\| \begin{array}{rr} 6 & 7 \\ 0 & -1 \end{array} \right\| +0\left( -1\right) ^{3+1}\left\| \begin{array}{rr} 6 & 7 \\ 3 & 33.7 \end{array} \right\| \right) $ $=1\times 2\times \left\| \begin{array}{rr} 3 & 33.7 \\ 0 & -1 \end{array} \right\| $ Next use Definition 1 to find the determinant of this $2 \times 2$ matrix, which is just $3 \times -1 - 0 \times 33.7 = -3$. Putting all these steps together, we have $\det \left(A\right) = 1\times 2\times 3\times \left( -1\right) =-6 $ which is just the product of the entries down the main diagonal of the original matrix!

如果不使用定理 2,你可以用拉普拉斯展开。我们沿第一列展开。这给出 $\begin{aligned} \det \left(A\right) = &1\left\| \begin{array}{rrr} 2 & 6 & 7 \\ 0 & 3 & 33.7 \\ 0 & 0 & -1 \end{array} \right\| +0\left( -1\right) ^{2+1}\left\| \begin{array}{rrr} 2 & 3 & 77 \\ 0 & 3 & 33.7 \\ 0 & 0 & -1 \end{array} \right\| + \\ &0\left( -1\right) ^{3+1}\left\| \begin{array}{rrr} 2 & 3 & 77 \\ 2 & 6 & 7 \\ 0 & 0 & -1 \end{array} \right\| +0\left( -1\right) ^{4+1}\left\| \begin{array}{rrr} 2 & 3 & 77 \\ 2 & 6 & 7 \\ 0 & 3 & 33.7 \end{array} \right\| \end{aligned}$,展开式中唯一的非零项是 $1\left\| \begin{array}{rrr} 2 & 6 & 7 \\ 0 & 3 & 33.7 \\ 0 & 0 & -1 \end{array} \right\| $。现在沿第一列展开求这个 $3 \times 3$ 矩阵的行列式,得到 $\det \left(A\right) = 1\times \left( 2\times \left\| \begin{array}{rr} 3 & 33.7 \\ 0 & -1 \end{array} \right\| +0\left( -1\right) ^{2+1}\left\| \begin{array}{rr} 6 & 7 \\ 0 & -1 \end{array} \right\| +0\left( -1\right) ^{3+1}\left\| \begin{array}{rr} 6 & 7 \\ 3 & 33.7 \end{array} \right\| \right) $ $=1\times 2\times \left\| \begin{array}{rr} 3 & 33.7 \\ 0 & -1 \end{array} \right\| $。接下来用定义 1 求这个 $2 \times 2$ 矩阵的行列式,它正是 $3 \times -1 - 0 \times 33.7 = -3$。把所有这些步骤合在一起,我们得到 $\det \left(A\right) = 1\times 2\times 3\times \left( -1\right) =-6 $,这正好是原矩阵主对角线向下各元的乘积!

You can see that while both methods result in the same answer, Theorem 2 provides a much quicker method.

可以看出,尽管两种方法得到相同的答案,定理 2 却要快得多。

In the next section, we explore some important properties of determinants.

下一节我们将探讨行列式的一些重要性质。

Properties of Determinants I: Examples 行列式的性质 I:例示

There are many important properties of determinants. Since many of these properties involve the row operations discussed in Chapter 1, we recall that definition now.

行列式有许多重要性质。由于其中许多性质涉及第一章讨论过的行运算,我们现在回顾一下这个定义。

定义 1:行运算 Row Operations

The row operations consist of the following

行运算由以下几类组成:
  1. Switch two rows.
  2. Multiply a row by a nonzero number.
  3. Replace a row by a multiple of another row added to itself.
  1. 交换两行。
  2. 用非零数乘某一行。
  3. 把某行的倍数加到另一行上,用来替换那一行。

We will now consider the effect of row operations on the determinant of a matrix. In future sections, we will see that using the following properties can greatly assist in finding determinants. This section will use the theorems as motivation to provide various examples of the usefulness of the properties.

我们现在考虑行运算对一个矩阵行列式的影响。在后续小节中我们会看到,利用下面的性质可以大大方便求行列式。本节将借助这些定理为动机,给出各种例子来展示这些性质的用处。

The first theorem explains the affect on the determinant of a matrix when two rows are switched.

第一个定理说明交换两行时对矩阵行列式的影响。

定理 1:交换行 Switching Rows

Let $A$ be an $n\times n$ matrix and let $B$ be a matrix which results from switching two rows of $A.$ Then $\det \left( B\right) = - \det \left( A\right) .$

设 $A$ 是 $n\times n$ 矩阵,$B$ 是由交换 $A$ 的两行所得的矩阵。则 $\det \left( B\right) = - \det \left( A\right) $。

When we switch two rows of a matrix, the determinant is multiplied by $-1$. Consider the following example.

当我们交换矩阵的两行时,行列式乘以 $-1$。请看下面的例子。

示例 1:交换两行 Switching Two Rows

Let $A=\left[ \begin{array}{rr} 1 & 2 \\ 3 & 4 \end{array} \right]$ and let $B=\left[ \begin{array}{rr} 3 & 4 \\ 1 & 2 \end{array} \right]$. Knowing that $\det \left( A \right) =-2$, find $\det \left( B \right)$.

设 $A=\left[ \begin{array}{rr} 1 & 2 \\ 3 & 4 \end{array} \right]$,$B=\left[ \begin{array}{rr} 3 & 4 \\ 1 & 2 \end{array} \right]$。已知 $\det \left( A \right) =-2$,求 $\det \left( B \right)$。

Solution

By Definition 3.1.1, $\det \left(A\right) = 1 \times 4 - 3 \times 2 = -2$. Notice that the rows of $B$ are the rows of $A$ but switched. By Theorem 1, since two rows of $A$ have been switched, $\det \left(B\right) = - \det \left(A\right) = - \left(-2\right) = 2$. You can verify this using Definition 3.1.1.

由定义 3.1.1,$\det \left(A\right) = 1 \times 4 - 3 \times 2 = -2$。注意到 $B$ 的各行就是 $A$ 的各行,只是作了交换。由定理 1,由于 $A$ 的两行被交换,$\det \left(B\right) = - \det \left(A\right) = - \left(-2\right) = 2$。你可以用定义 3.1.1 加以验证。

The next theorem demonstrates the effect on the determinant of a matrix when we multiply a row by a scalar.

下一个定理演示用标量乘一行时对矩阵行列式的影响。

定理 2:用标量乘一行 Multiplying a Row by a Scalar

Let $A$ be an $n\times n$ matrix and let $B$ be a matrix which results from multiplying some row of $A$ by a scalar $k$. Then $\det \left( B\right) = k \det \left( A\right)$.

设 $A$ 是 $n\times n$ 矩阵,$B$ 是由把 $A$ 的某一行乘以标量 $k$ 所得的矩阵。则 $\det \left( B\right) = k \det \left( A\right)$。

Notice that this theorem is true when we multiply one row of the matrix by $k$. If we were to multiply two rows of $A$ by $k$ to obtain $B$, we would have $\det \left(B\right) = k^2 \det \left(A\right)$. Suppose we were to multiply all $n$ rows of $A$ by $k$ to obtain the matrix $B$, so that $B = kA$. Then, $\det \left(B\right) = k^n \det \left(A\right)$. This gives the next theorem.

注意,这个定理在只把矩阵行乘以 $k$ 时成立。若把 $A$ 的行都乘以 $k$ 得到 $B$,则会有 $\det \left(B\right) = k^2 \det \left(A\right)$。假设把 $A$ 的所有 $n$ 行都乘以 $k$ 得到矩阵 $B$,即 $B = kA$,则 $\det \left(B\right) = k^n \det \left(A\right)$。这就引出下一个定理。

定理 3:标量乘法 Scalar Multiplication

Let $A$ and $B$ be $n \times n$ matrices and $k$ a scalar, such that $B = kA$. Then $\det(B) = k^n \det(A)$.

设 $A$、$B$ 是 $n \times n$ 矩阵,$k$ 是标量,且 $B = kA$。则 $\det(B) = k^n \det(A)$。

Consider the following example.

请看下面的例子。

示例 2:把一行乘以 5 Multiplying a Row by 5

Let $A=\left[ \begin{array}{rr} 1 & 2 \\ 3 & 4 \end{array} \right] ,$ $B=\left[ \begin{array}{rr} 5 & 10 \\ 3 & 4 \end{array} \right] .$ Knowing that $\det \left( A \right) =-2$, find $\det \left( B \right)$.

设 $A=\left[ \begin{array}{rr} 1 & 2 \\ 3 & 4 \end{array} \right]$,$B=\left[ \begin{array}{rr} 5 & 10 \\ 3 & 4 \end{array} \right]$。已知 $\det \left( A \right) =-2$,求 $\det \left( B \right)$。

Solution

By Definition 3.1.1, $\det \left( A\right) =-2.$ We can also compute $\det \left(B\right)$ using Definition 3.1.1, and we see that $\det \left(B\right) = -10$.

由定义 3.1.1,$\det \left( A\right) =-2$。我们也可以用定义 3.1.1 计算 $\det \left(B\right)$,得到 $\det \left(B\right) = -10$。

Now, let's compute $\det \left(B\right)$ using Theorem 2 and see if we obtain the same answer. Notice that the first row of $B$ is $5$ times the first row of $A$, while the second row of $B$ is equal to the second row of $A$. By Theorem 2, $\det \left( B \right) = 5 \times \det \left( A \right) = 5 \times -2 = -10.$

现在,用定理 2 计算 $\det \left(B\right)$,看看是否得到相同的答案。注意 $B$ 的第一行是 $A$ 第一行的 $5$ 倍,而 $B$ 的第二行等于 $A$ 的第二行。由定理 2,$\det \left( B \right) = 5 \times \det \left( A \right) = 5 \times -2 = -10$。

You can see that this matches our answer above.

你可以看到这与我们上面的答案一致。

Finally, consider the next theorem for the last row operation, that of adding a multiple of a row to another row.

最后,考虑针对最后一个行运算(把某行的倍数加到另一行)的下一个定理。

定理 4:把某行的倍数加到另一行 Adding a Multiple of a Row to Another Row

Let $A$ be an $n\times n$ matrix and let $B$ be a matrix which results from adding a multiple of a row to another row. Then $\det \left( A\right) =\det \left( B \right)$.

设 $A$ 是 $n\times n$ 矩阵,$B$ 是由把某行的倍数加到另一行所得的矩阵。则 $\det \left( A\right) =\det \left( B \right)$。

Therefore, when we add a multiple of a row to another row, the determinant of the matrix is unchanged. Note that if a matrix $A$ contains a row which is a multiple of another row, $\det \left(A\right)$ will equal $0$. To see this, suppose the first row of $A$ is equal to $-1$ times the second row. By Theorem 4, we can add the first row to the second row, and the determinant will be unchanged. However, this row operation will result in a row of zeros. Using Laplace Expansion along the row of zeros, we find that the determinant is $0$.

因此,当我们把某行的倍数加到另一行时,矩阵的行列式保持不变。注意,若矩阵 $A$ 含有某一行是另一行的倍数,则 $\det \left(A\right)$ 等于 $0$。为看清这一点,假设 $A$ 的第一行等于第二行的 $-1$ 倍。由定理 4,我们可以把第一行加到第二行,行列式保持不变。然而这一行运算会导致出现一行全为零。沿这一行零元素作拉普拉斯展开,我们发现在这种情况下行列式为 $0$。

Consider the following example.

请看下面的例子。

示例 3:把一行加到另一行 Adding a Row to Another Row

Let $A=\left[ \begin{array}{rr} 1 & 2 \\ 3 & 4 \end{array} \right]$ and let $B=\left[ \begin{array}{rr} 1 & 2 \\ 5 & 8 \end{array} \right] .$ Find $\det \left(B\right)$.

设 $A=\left[ \begin{array}{rr} 1 & 2 \\ 3 & 4 \end{array} \right]$,$B=\left[ \begin{array}{rr} 1 & 2 \\ 5 & 8 \end{array} \right]$。求 $\det \left(B\right)$。

Solution

By Definition 3.1.1, $\det \left(A\right) = -2$. Notice that the second row of $B$ is two times the first row of $A$ added to the second row. By Theorem 1, $\det \left( B\right) = \det \left( A \right) =-2$. As usual, you can verify this answer using Definition 3.1.1.

由定义 3.1.1,$\det \left(A\right) = -2$。注意,$B$ 的第二行是 $A$ 第一行的两倍加到第二行所得。由定理 1,$\det \left( B\right) = \det \left( A \right) =-2$。像往常一样,你可以用定义 3.1.1 验证这个答案。

示例 4:某行的倍数 Multiple of a Row

Let $A = \left[ \begin{array}{rr} 1 & 2 \\ 2 & 4 \end{array} \right]$. Show that $\det \left( A \right) = 0$.

设 $A = \left[ \begin{array}{rr} 1 & 2 \\ 2 & 4 \end{array} \right]$。证明 $\det \left( A \right) = 0$。

Solution

Using Definition 3.1.1, the determinant is given by $\det \left( A \right) = 1 \times 4 - 2 \times 2 = 0 $.

用定义 3.1.1,行列式为 $\det \left( A \right) = 1 \times 4 - 2 \times 2 = 0 $。

However notice that the second row is equal to $2$ times the first row. Then by the discussion above following Theorem 4 the determinant will equal $0$.

不过请注意,第二行等于第一行的 $2$ 倍。于是由上面随定理 4 之后的讨论,行列式将等于 $0$。

Until now, our focus has primarily been on row operations. However, we can carry out the same operations with columns, rather than rows. The three operations outlined in Definition 1 can be done with columns instead of rows. In this case, in Theorems 1, 2, and 4 you can replace the word, "row" with the word "column".

到目前为止,我们的重点主要在行运算上。不过,我们也可以对列进行同样的运算,而不必只对行。定义 1 中列出的三种运算都可以用列而不是行来完成。在这种情况下,在定理 1、定理 2 和定理 4 中,你可以把「行」一词替换为「列」。

There are several other major properties of determinants which do not involve row (or column) operations. The first is the determinant of a product of matrices.

行列式还有若干不涉及行(或列)运算的重要性质。第一个就是矩阵乘积的行列式。

定理 5:乘积的行列式 Determinant of a Product

Let $A$ and $B$ be two $n\times n$ matrices. Then $\det \left( AB\right) =\det \left( A\right) \det \left( B\right) $.

设 $A$、$B$ 是两个 $n\times n$ 矩阵。则 $\det \left( AB\right) =\det \left( A\right) \det \left( B\right) $。

In order to find the determinant of a product of matrices, we can simply take the product of the determinants.

为求若干矩阵乘积的行列式,我们只需把各个行列式相乘。

Consider the following example.

请看下面的例子。

示例 5:乘积的行列式 The Determinant of a Product

Compare $\det \left( AB\right)$ and $\det \left( A\right) \det \left( B\right)$ for $A=\left[ \begin{array}{rr} 1 & 2 \\ -3 & 2 \end{array} \right] ,B=\left[ \begin{array}{rr} 3 & 2 \\ 4 & 1 \end{array} \right] $.

对 $A=\left[ \begin{array}{rr} 1 & 2 \\ -3 & 2 \end{array} \right] ,B=\left[ \begin{array}{rr} 3 & 2 \\ 4 & 1 \end{array} \right] $ 比较 $\det \left( AB\right)$ 与 $\det \left( A\right) \det \left( B\right)$。

Solution

First compute $AB$, which is given by $AB=\left[ \begin{array}{rr} 1 & 2 \\ -3 & 2 \end{array} \right] \left[ \begin{array}{rr} 3 & 2 \\ 4 & 1 \end{array} \right] = \left[ \begin{array}{rr} 11 & 4 \\ -1 & -4 \end{array} \right] $ and so by Definition 3.1.1 $\det \left( AB\right) =\det \left[ \begin{array}{rr} 11 & 4 \\ -1 & -4 \end{array} \right] = -40 $.

先计算 $AB$:$AB=\left[ \begin{array}{rr} 1 & 2 \\ -3 & 2 \end{array} \right] \left[ \begin{array}{rr} 3 & 2 \\ 4 & 1 \end{array} \right] = \left[ \begin{array}{rr} 11 & 4 \\ -1 & -4 \end{array} \right] $,于是由定义 3.1.1,$\det \left( AB\right) =\det \left[ \begin{array}{rr} 11 & 4 \\ -1 & -4 \end{array} \right] = -40 $。

Now $\det \left( A\right) =\det \left[ \begin{array}{rr} 1 & 2 \\ -3 & 2 \end{array} \right] = 8 $ and $\det \left( B\right) =\det \left[ \begin{array}{rr} 3 & 2 \\ 4 & 1 \end{array} \right] = -5 $.

又 $\det \left( A\right) =\det \left[ \begin{array}{rr} 1 & 2 \\ -3 & 2 \end{array} \right] = 8 $,$\det \left( B\right) =\det \left[ \begin{array}{rr} 3 & 2 \\ 4 & 1 \end{array} \right] = -5 $。

Computing $\det \left(A\right) \times \det \left(B\right)$ we have $8 \times -5 = -40$. This is the same answer as above and you can see that $\det \left( A\right) \det \left( B\right) =8\times \left( -5\right) =-40 = \det \left(AB\right)$.

计算 $\det \left(A\right) \times \det \left(B\right)$ 得到 $8 \times -5 = -40$。这与上面的答案相同,你可以看到 $\det \left( A\right) \det \left( B\right) =8\times \left( -5\right) =-40 = \det \left(AB\right)$。

Consider the next important property.

考虑下一个重要性质。

定理 6:转置的行列式 Determinant of the Transpose

Let $A$ be a matrix where $A^T$ is the transpose of $A$. Then, $\det\left(A^T\right) = \det \left( A \right) $.

设 $A$ 是矩阵,$A^T$ 是 $A$ 的转置。则 $\det\left(A^T\right) = \det \left( A \right) $。

This theorem is illustrated in the following example.

下面的例子说明了这个定理。

示例 6:转置的行列式 Determinant of the Transpose

Let $A = \left[ \begin{array}{rr} 2 & 5 \\ 4 & 3 \end{array} \right] $ Find $\det \left(A^T\right)$.

设 $A = \left[ \begin{array}{rr} 2 & 5 \\ 4 & 3 \end{array} \right] $,求 $\det \left(A^T\right)$。

Solution

First, note that $A^{T} = \left[ \begin{array}{rr} 2 & 4 \\ 5 & 3 \end{array} \right] $.

首先注意到 $A^{T} = \left[ \begin{array}{rr} 2 & 4 \\ 5 & 3 \end{array} \right] $。

Using Definition 3.1.1, we can compute $\det \left(A\right)$ and $\det \left(A^T\right)$. It follows that $\det \left(A\right) = 2 \times 3 - 4 \times 5 = -14$ and $\det \left(A^T\right) = 2 \times 3 - 5 \times 4 = -14$. Hence, $\det \left(A\right) = \det \left(A^T\right)$.

用定义 3.1.1,我们可以计算 $\det \left(A\right)$ 和 $\det \left(A^T\right)$。于是 $\det \left(A\right) = 2 \times 3 - 4 \times 5 = -14$,$\det \left(A^T\right) = 2 \times 3 - 5 \times 4 = -14$。因此 $\det \left(A\right) = \det \left(A^T\right)$。

The following provides an essential property of the determinant, as well as a useful way to determine if a matrix is invertible.

下面给出行列式的一个本质性质,同时也给出了判断一个矩阵是否可逆的实用方法。

定理 7:逆的行列式 Determinant of the Inverse

Let $A$ be an $n \times n$ matrix. Then $A$ is invertible if and only if $\det(A) \neq 0$. If this is true, it follows that $\det(A^{-1}) = \frac{1}{\det(A)} $.

设 $A$ 是 $n \times n$ 矩阵。则 $A$ 可逆当且仅当 $\det(A) \neq 0$。若确实如此,则由此可知 $\det(A^{-1}) = \frac{1}{\det(A)} $。

Consider the following example.

请看下面的例子。

示例 7:可逆矩阵的行列式 Determinant of an Invertible Matrix

Let $A = \left[ \begin{array}{rr} 3 & 6 \\ 2 & 4 \end{array} \right], B = \left[ \begin{array}{rr} 2 & 3 \\ 5 & 1 \end{array} \right]$. For each matrix, determine if it is invertible. If so, find the determinant of the inverse.

设 $A = \left[ \begin{array}{rr} 3 & 6 \\ 2 & 4 \end{array} \right], B = \left[ \begin{array}{rr} 2 & 3 \\ 5 & 1 \end{array} \right]$。对每个矩阵,判断它是否可逆。若可逆,求其逆的行列式。

Solution

Consider the matrix $A$ first. Using Definition 3.1.1 we can find the determinant as follows: $\det \left( A \right) = 3 \times 4 - 2 \times 6 = 12 - 12 = 0 $. By Theorem 7, $A$ is not invertible.

先考虑矩阵 $A$。用定义 3.1.1,我们可以如下求出行列式:$\det \left( A \right) = 3 \times 4 - 2 \times 6 = 12 - 12 = 0 $。由定理 7,$A$ 不可逆。

Now consider the matrix $B$. Again by Definition 3.1.1 we have $\det \left( B \right) = 2 \times 1 - 5 \times 3 = 2 - 15 = -13 $. By Theorem 7, $B$ is invertible and the determinant of the inverse is given by $\begin{aligned} \det \left( A^{-1} \right) &= \frac{1}{\det(A)} \\ &= \frac{1}{-13} \\ &= -\frac{1}{13} \end{aligned}$.

现在考虑矩阵 $B$。同样由定义 3.1.1,我们得到 $\det \left( B \right) = 2 \times 1 - 5 \times 3 = 2 - 15 = -13 $。由定理 7,$B$ 可逆,且其逆的行列式为 $\begin{aligned} \det \left( A^{-1} \right) &= \frac{1}{\det(A)} \\ &= \frac{1}{-13} \\ &= -\frac{1}{13} \end{aligned}$。

Properties of Determinants II: Some Important Proofs 行列式的性质 II:若干重要证明

This section includes some important proofs on determinants and cofactors.

本节包含有关行列式与代数余子式的一些重要证明。

First we recall the definition of a determinant. If $A=\left[ a_{ij} \right]$ is an $n\times n$ matrix, then $\det A$ is defined by computing the expansion along the first row: $\det A=\sum_{i=1}^n a_{1,i} \mathrm{cof}(A)_{1,i}.$ If $n=1$ then $\det A=a_{1,1}$.

首先我们回顾行列式的定义。若 $A=\left[ a_{ij} \right]$ 是 $n\times n$ 矩阵,则 $\det A$ 通过沿第一行展开来定义:$\det A=\sum_{i=1}^n a_{1,i} \mathrm{cof}(A)_{1,i}$。若 $n=1$,则 $\det A=a_{1,1}$。

The following example is straightforward and strongly recommended as a means for getting used to definitions.

下面的例子非常简单,强烈建议借此熟悉这些定义。

示例 8 Example 8

  1. Let $E_{ij}$ be the elementary matrix obtained by interchanging $i$th and $j$th rows of $I$. Then $\det E_{ij}=-1$.
  2. Let $E_{ik}$ be the elementary matrix obtained by multiplying the $i$th row of $I$ by $k$. Then $\det E_{ik}=k$.
  3. Let $E_{ijk}$ be the elementary matrix obtained by multiplying $i$th row of $I$ by $k$ and adding it to its $j$th row. Then $\det E_{ijk}=1$.
  4. If $C$ and $B$ are such that $CB$ is defined and the $i$th row of $C$ consists of zeros, then the $i$th row of $CB$ consists of zeros.
  5. If $E$ is an elementary matrix, then $\det E=\det E^T$.
  1. 设 $E_{ij}$ 是把 $I$ 的第 $i$ 行与第 $j$ 行交换所得的初等矩阵。则 $\det E_{ij}=-1$。
  2. 设 $E_{ik}$ 是把 $I$ 的第 $i$ 行乘以 $k$ 所得的初等矩阵。则 $\det E_{ik}=k$。
  3. 设 $E_{ijk}$ 是把 $I$ 的第 $i$ 行乘以 $k$ 再加到其第 $j$ 行所得的初等矩阵。则 $\det E_{ijk}=1$。
  4. 若 $C$ 与 $B$ 使得 $CB$ 有定义,且 $C$ 的第 $i$ 行全为零,则 $CB$ 的第 $i$ 行也全为零。
  5. 若 $E$ 是初等矩阵,则 $\det E=\det E^T$。

Many of the proofs in section use the Principle of Mathematical Induction. This concept is discussed in Appendix A.2 and is reviewed here for convenience. First we check that the assertion is true for $n=2$ (the case $n=1$ is either completely trivial or meaningless).

本节中的许多证明都用到数学归纳法原理。这一概念在附录 A.2 中有讨论,为方便起见这里再回顾一下。首先我们检验断言在 $n=2$ 时成立($n=1$ 的情形要么完全平凡,要么没有意义)。

Next, we assume that the assertion is true for $n-1$ (where $n\geq 3$) and prove it for $n$. Once this is accomplished, by the Principle of Mathematical Induction we can conclude that the statement is true for all $n\times n$ matrices for every $n\geq 2$.

其次,我们假定断言对 $n-1$ 成立(其中 $n\geq 3$),并证明它对 $n$ 成立。一旦完成这一步,由数学归纳法原理,我们就可以断言:对所有 $n\geq 2$,命题对一切 $n\times n$ 矩阵都成立。

If $A$ is an $n\times n$ matrix and $1\leq j \leq n$, then the matrix obtained by removing the $1$st column and $j$th row from $A$ is an $n-1\times n-1$ matrix (we shall denote this matrix by $A(j)$ below). Since these matrices are used in computation of cofactors $\mathrm{cof}(A)_{1,i}$, for $1\leq i\neq n$, the inductive assumption applies to these matrices.

若 $A$ 是 $n\times n$ 矩阵,$1\leq j \leq n$,则从 $A$ 中删去第 $1$ 列、第 $j$ 行所得的矩阵是 $n-1\times n-1$ 矩阵(下面把这个矩阵记为 $A(j)$)。由于这些矩阵用于计算代数余子式 $\mathrm{cof}(A)_{1,i}$(对 $1\leq i\neq n$),归纳假设适用于这些矩阵。

Consider the following lemma.

考虑下面的引理。

引理 1 Lemma 1

If $A$ is an $n\times n$ matrix such that one of its rows consists of zeros, then $\det A=0$.

若 $A$ 是某个 $n\times n$ 矩阵,且其一整行全为零,则 $\det A=0$。

Proof: We will prove this lemma using Mathematical Induction.

证明:我们将用数学归纳法证明这个引理。

If $n=2$ this is easy (check!).

若 $n=2$,这很容易(请检查!)。

Let $n\geq 3$ be such that every matrix of size $n-1\times n-1$ with a row consisting of zeros has determinant equal to zero. Let $i$ be such that the $i$th row of $A$ consists of zeros. Then we have $a_{ij}=0$ for $1\leq j\leq n$.

设 $n\geq 3$,并假设每个具有一整行全为零的 $n-1\times n-1$ 矩阵,其行列式都等于零。设 $i$ 使得 $A$ 的第 $i$ 行全为零。则对 $1\leq j\leq n$ 都有 $a_{ij}=0$。

Fix $j\in \{1,2, \dots ,n\}$ such that $j\neq i$. Then matrix $A(j)$ used in computation of $\mathrm{cof}(A)_{1,j}$ has a row consisting of zeros, and by our inductive assumption $\mathrm{cof}(A)_{1,j}=0$.

固定 $j\in \{1,2, \dots ,n\}$,使得 $j\neq i$。则用于计算 $\mathrm{cof}(A)_{1,j}$ 的矩阵 $A(j)$ 有一整行全为零,由我们的归纳假设,$\mathrm{cof}(A)_{1,j}=0$。

On the other hand, if $j=i$ then $a_{1,j}=0$. Therefore $a_{1,j}\mathrm{cof}(A)_{1,j}=0$ for all $j$ and by the equation above we have $\det A=\sum_{j=1}^n a_{1,j} \mathrm{cof}(A)_{1,j}=0 $ as each of the summands is equal to 0.

另一方面,若 $j=i$,则 $a_{1,j}=0$。因此对所有 $j$ 都有 $a_{1,j}\mathrm{cof}(A)_{1,j}=0$,由上述等式有 $\det A=\sum_{j=1}^n a_{1,j} \mathrm{cof}(A)_{1,j}=0 $,因为每一项和项都等于 0。

引理 2 Lemma 2

Assume $A$, $B$ and $C$ are $n\times n$ matrices that for some $1\leq i\leq n$ satisfy the following.

设 $A$、$B$、$C$ 是 $n\times n$ 矩阵,对某个 $1\leq i\leq n$ 满足下面两条件。
  1. $j$th rows of all three matrices are identical, for $j\neq i$.
  2. Each entry in the $j$th row of $A$ is the sum of the corresponding entries in $j$th rows of $B$ and $C$.
  1. 对 $j\neq i$,三个矩阵的第 $j$ 行完全相同。
  2. $A$ 在第 $j$ 行的每个元,都是 $B$ 与 $C$ 在第 $j$ 行对应元之和。

Then $\det A=\det B+\det C$.

则 $\det A=\det B+\det C$。

Proof: This is not difficult to check for $n=2$ (do check it!).

证明:对 $n=2$ 情形检查这一点并不困难(请务必检查!)。

Now assume that the statement of Lemma is true for $n-1\times n-1$ matrices and fix $A,B$ and $C$ as in the statement. The assumptions state that we have $a_{l,j}=b_{l,j}=c_{l,j}$ for $j\neq i$ and for $1\leq l\leq n$ and $a_{l,i}=b_{l,i}+c_{l,i}$ for all $1\leq l\leq n$. Therefore $A(i)=B(i)=C(i)$, and $A(j)$ has the property that its $i$th row is the sum of $i$th rows of $B(j)$ and $C(j)$ for $j\neq i$ while the other rows of all three matrices are identical. Therefore by our inductive assumption we have $\mathrm{cof}(A)_{1j}=\mathrm{cof}(B)_{1j}+\mathrm{cof}(C)_{1j}$ for $j\neq i$.

现在假设引理的结论对 $n-1\times n-1$ 矩阵成立,并按题设固定 $A,B,C$。由假设,对 $j\neq i$、$1\leq l\leq n$ 有 $a_{l,j}=b_{l,j}=c_{l,j}$,且对所有 $1\leq l\leq n$ 有 $a_{l,i}=b_{l,i}+c_{l,i}$。因此 $A(i)=B(i)=C(i)$,并且对 $j\neq i$,$A(j)$ 的第 $i$ 行是 $B(j)$ 与 $C(j)$ 第 $i$ 行之和,而三个矩阵的其余各行完全相同。因此由归纳假设,对 $j\neq i$ 有 $\mathrm{cof}(A)_{1j}=\mathrm{cof}(B)_{1j}+\mathrm{cof}(C)_{1j}$。

By the equation above we have (using all equalities established above) $\begin{aligned} \det A&=\sum_{l=1}^n a_{1,l} \mathrm{cof}(A)_{1,l}\\ &=\sum_{l\neq i} a_{1,l}(\mathrm{cof}(B)_{1,l}+\mathrm{cof}(C)_{1,l})+ (b_{1,i}+c_{1,i})\mathrm{cof}(A)_{1,i}\\ &= \det B+\det C \end{aligned}$ This proves that the assertion is true for all $n$ and completes the proof.

由上述等式(利用上面建立的所有等式),$\begin{aligned} \det A&=\sum_{l=1}^n a_{1,l} \mathrm{cof}(A)_{1,l}\\ &=\sum_{l\neq i} a_{1,l}(\mathrm{cof}(B)_{1,l}+\mathrm{cof}(C)_{1,l})+ (b_{1,i}+c_{1,i})\mathrm{cof}(A)_{1,i}\\ &= \det B+\det C \end{aligned}$。这就证明了断言对所有 $n$ 成立,并完成证明。

定理 8 Theorem 8

Let $A$ and $B$ be $n\times n$ matrices.

设 $A$、$B$ 是 $n\times n$ 矩阵。
  1. If $A$ is obtained by interchanging $i$th and $j$th rows of $B$ (with $i\neq j$), then $\det A=-\det B$.
  2. If $A$ is obtained by multiplying $i$th row of $B$ by $k$ then $\det A=k\det B$.
  3. If two rows of $A$ are identical then $\det A=0$.
  4. If $A$ is obtained by multiplying $i$th row of $B$ by $k$ and adding it to $j$th row of $B$ ($i\neq j$), then $\det A=\det B$.
  1. 若 $A$ 是把 $B$ 的第 $i$ 行与第 $j$ 行交换($i\neq j$)所得,则 $\det A=-\det B$。
  2. 若 $A$ 是把 $B$ 的第 $i$ 行乘以 $k$ 所得,则 $\det A=k\det B$。
  3. 若 $A$ 有两行相同,则 $\det A=0$。
  4. 若 $A$ 是把 $B$ 的第 $i$ 行乘以 $k$ 再加到 $B$ 的第 $j$ 行($i\neq j$)所得,则 $\det A=\det B$。

Proof: We prove all statements by induction. The case $n=2$ is easily checked directly (and it is strongly suggested that you do check it).

证明:我们用归纳法证明所有结论。$n=2$ 的情形很容易直接检验(强烈建议你也亲自检验一下)。

We assume $n\geq 3$ and (1)–(4) are true for all matrices of size $n-1\times n-1$.

我们假设 $n\geq 3$,且结论 (1)–(4) 对所有 $n-1\times n-1$ 矩阵都成立。

(1) We prove the case when $j=i+1$, i.e., we are interchanging two consecutive rows.

(1) 我们证明 $j=i+1$ 的情形,即交换两个相邻的行。

Let $l\in \{1, \dots, n\}\setminus \{i,j\}$. Then $A(l)$ is obtained from $B(l)$ by interchanging two of its rows (draw a picture) and by our assumption $\mathrm{cof}(A)_{1,l}=-\mathrm{cof}(B)_{1,l}.$

设 $l\in \{1, \dots, n\}\setminus \{i,j\}$。则 $A(l)$ 是由 $B(l)$ 交换其中两行所得(请画图示意),由我们的假设,$\mathrm{cof}(A)_{1,l}=-\mathrm{cof}(B)_{1,l}$。

Now consider $a_{1,i} \mathrm{cof}(A)_{1,i}$. We have that $a_{1,i}=b_{1,j}$ and also that $A(i)=B(j)$. Since $j=i+1$, we have $(-1)^{1+j}=(-1)^{1+i+1}=-(-1)^{1+i} $ and therefore $a_{1i}\mathrm{cof}(A)_{1i}=-b_{1j} \mathrm{cof}(B)_{1j}$ and $a_{1j}\mathrm{cof}(A)_{1j}=-b_{1i} \mathrm{cof}(B)_{1i}$. Putting this together with the equation above into the equation above we see that if in the formula for $\det A$ we change the sign of each of the summands we obtain the formula for $\det B$. $\det A=\sum_{l=1}^n a_{1l}\mathrm{cof}(A)_{1l} =-\sum_{l=1}^n b_{1l}\mathrm{cof}(B)_{1l} =-\det B $.

现在考虑 $a_{1,i} \mathrm{cof}(A)_{1,i}$。我们有 $a_{1,i}=b_{1,j}$,并且 $A(i)=B(j)$。由于 $j=i+1$,我们有 $(-1)^{1+j}=(-1)^{1+i+1}=-(-1)^{1+i} $,因此 $a_{1i}\mathrm{cof}(A)_{1i}=-b_{1j} \mathrm{cof}(B)_{1j}$,$a_{1j}\mathrm{cof}(A)_{1j}=-b_{1i} \mathrm{cof}(B)_{1i}$。把这些与上述等式结合起来代入上述等式中,我们看到:若在 $\det A$ 的公式中把每一项和项都改变符号,就得到 $\det B$ 的公式:$\det A=\sum_{l=1}^n a_{1l}\mathrm{cof}(A)_{1l} =-\sum_{l=1}^n b_{1l}\mathrm{cof}(B)_{1l} =-\det B $。

We have therefore proved the case of (1) when $j=i+1$. In order to prove the general case, one needs the following fact. If $i

这样我们就证明了(1)在 $j=i+1$ 时的情形。为了证明一般情形,需要下面这个事实。若 $i

Since $2(j-i)+1$ is an odd number $(-1)^{2(j-i)+1}=-1$ and we have that $\det A=-\det B$.

由于 $2(j-i)+1$ 是奇数,$(-1)^{2(j-i)+1}=-1$,于是得到 $\det A=-\det B$。

(2) This is like (1)… but much easier. Assume that (2) is true for all $n-1\times n-1$ matrices. We have that $a_{ji}=k b_{ji}$ for $1\leq j\leq n$. In particular $a_{1i}=kb_{1i}$, and for $l\neq i$ matrix $A(l)$ is obtained from $B(l)$ by multiplying one of its rows by $k$. Therefore $\mathrm{cof}(A)_{1l}=k\mathrm{cof}(B)_{1l}$ for $l\neq i$, and for all $l$ we have $a_{1l} \mathrm{cof}(A)_{1l}=k b_{1l}\mathrm{cof}(B)_{1l}$. By the equation above, we have $\det A=k\det B$.

(2) 这与(1)类似……但要容易得多。假设(2)对所有 $n-1\times n-1$ 矩阵成立。则对 $1\leq j\leq n$ 有 $a_{ji}=k b_{ji}$。特别地 $a_{1i}=kb_{1i}$,且对 $l\neq i$,矩阵 $A(l)$ 是由 $B(l)$ 把其中一行乘以 $k$ 所得。因此对 $l\neq i$ 有 $\mathrm{cof}(A)_{1l}=k\mathrm{cof}(B)_{1l}$,又对所有 $l$ 有 $a_{1l} \mathrm{cof}(A)_{1l}=k b_{1l}\mathrm{cof}(B)_{1l}$。由上述等式,我们得到 $\det A=k\det B$。

(3) This is a consequence of (1). If two rows of $A$ are identical, then $A$ is equal to the matrix obtained by interchanging those two rows and therefore by (1) $\det A=-\det A$. This implies $\det A=0$.

(3) 这是(1)的推论。若 $A$ 有两行相同,则把这两行交换所得的矩阵仍等于 $A$ 本身,因此由(1),$\det A=-\det A$。这蕴含 $\det A=0$。

(4) Assume (4) is true for all $n-1\times n-1$ matrices and fix $A$ and $B$ such that $A$ is obtained by multiplying $i$th row of $B$ by $k$ and adding it to $j$th row of $B$ ($i\neq j$). Then $\det A=\det B$. If $k=0$ then $A=B$ and there is nothing to prove, so we may assume $k\neq 0$.

(4) 假设(4)对所有 $n-1\times n-1$ 矩阵成立,并固定满足题设的 $A$、$B$,其中 $A$ 是把 $B$ 的第 $i$ 行乘以 $k$ 再加到 $B$ 的第 $j$ 行($i\neq j$)所得。则 $\det A=\det B$。若 $k=0$,则 $A=B$,没有什么可证的,因此可以假设 $k\neq 0$。

Let $C$ be the matrix obtained by replacing the $j$th row of $B$ by the $i$th row of $B$ multiplied by $k$. By Lemma 2, we have that $\det A=\det B+\det C $ and we 'only' need to show that $\det C=0$. But $i$th and $j$th rows of $C$ are proportional. If $D$ is obtained by multiplying the $j$th row of $C$ by $\frac 1k$ then by (2) we have $\det C=\frac 1k\det D$ (recall that $k\neq 0$!). But $i$th and $j$th rows of $D$ are identical, hence by (3) we have $\det D=0$ and therefore $\det C=0$.

设 $C$ 是把 $B$ 的第 $j$ 行替换为 $B$ 第 $i$ 行乘以 $k$ 所得的矩阵。由引理 2,我们得到 $\det A=\det B+\det C $,于是「只需」证明 $\det C=0$。但 $C$ 的第 $i$ 行与第 $j$ 行成比例。若 $D$ 是把 $C$ 的第 $j$ 行乘以 $\frac 1k$ 所得,则由(2)有 $\det C=\frac 1k\det D$(别忘了 $k\neq 0$!)。而 $D$ 的第 $i$ 行与第 $j$ 行相同,故由(3)$\det D=0$,从而 $\det C=0$。

定理 9 Theorem 9

Let $A$ and $B$ be two $n\times n$ matrices. Then $\det \left( AB\right) =\det \left( A\right) \det \left( B\right) $.

设 $A$、$B$ 是两个 $n\times n$ 矩阵。则 $\det \left( AB\right) =\det \left( A\right) \det \left( B\right) $。

Proof: If $A$ is an elementary matrix of either type, then multiplying by $A$ on the left has the same effect as performing the corresponding elementary row operation. Therefore the equality $\det (AB) =\det A\det B$ in this case follows by Example 8 and Theorem 8.

证明:若 $A$ 是某一类的初等矩阵,则左乘 $A$ 与施行相应的初等行运算有相同的效果。因此在这种情况下,等式 $\det (AB) =\det A\det B$ 可由示例 8 和定理 8 得出。

If $C$ is the reduced row-echelon form of $A$ then we can write $A=E_1\cdot E_2\cdot\dots\cdot E_m\cdot C$ for some elementary matrices $E_1,\dots, E_m$.

若 $C$ 是 $A$ 的简化行阶梯形,则可以写成 $A=E_1\cdot E_2\cdot\dots\cdot E_m\cdot C$,其中 $E_1,\dots, E_m$ 是若干初等矩阵。

Now we consider two cases.

现在我们考虑两种情况。

Assume first that $C=I$. Then $A=E_1\cdot E_2\cdot \dots\cdot E_m$ and $AB= E_1\cdot E_2\cdot \dots\cdot E_m B$. By applying the above equality $m$ times, and then $m-1$ times, we have that $\begin{aligned} \det AB&=\det E_1\det E_2\cdot \det E_m\cdot \det B \\ &=\det (E_1\cdot E_2\cdot\dots\cdot E_m) \det B \\ &=\det A\det B. \end{aligned}$

首先假设 $C=I$。则 $A=E_1\cdot E_2\cdot \dots\cdot E_m$,$AB= E_1\cdot E_2\cdot \dots\cdot E_m B$。把上述等式应用 $m$ 次,再应用 $m-1$ 次之后,我们得到 $\begin{aligned} \det AB&=\det E_1\det E_2\cdot \det E_m\cdot \det B \\ &=\det (E_1\cdot E_2\cdot\dots\cdot E_m) \det B \\ &=\det A\det B. \end{aligned}$

Now assume $C\neq I$. Since it is in reduced row-echelon form, its last row consists of zeros and by (4) of Example 8 the last row of $CB$ consists of zeros. By Lemma 1 we have $\det C=\det (CB)=0$ and therefore $\det A=\det (E_1\cdot E_2\cdot E_m)\cdot \det (C) = \det (E_1\cdot E_2\cdot E_m)\cdot 0=0 $ and also $\det AB=\det (E_1\cdot E_2\cdot E_m)\cdot \det (C B) =\det (E_1\cdot E_2\cdot\dots\cdot E_m) \cdot 0 =0 $ hence $\det AB=0=\det A \det B$.

现在假设 $C\neq I$。由于它处于简化行阶梯形,其最后一行全为零,又由示例 8 之(4),$CB$ 的最后一行全为零。由引理 1,$\det C=\det (CB)=0$,因此 $\det A=\det (E_1\cdot E_2\cdot E_m)\cdot \det (C) = \det (E_1\cdot E_2\cdot E_m)\cdot 0=0 $,同时 $\det AB=\det (E_1\cdot E_2\cdot E_m)\cdot \det (C B) =\det (E_1\cdot E_2\cdot\dots\cdot E_m) \cdot 0 =0 $,从而 $\det AB=0=\det A \det B$。

The same 'machine' used in the previous proof will be used again.

前一个证明中使用的同一套「机制」将再次用到。

定理 10 Theorem 10

Let $A$ be a matrix where $A^T$ is the transpose of $A$. Then, $\det\left(A^T\right) = \det \left( A \right) $.

设 $A$ 是矩阵,$A^T$ 是 $A$ 的转置。则 $\det\left(A^T\right) = \det \left( A \right) $。

Proof: Note first that the conclusion is true if $A$ is elementary by (5) of Example 8.

证明:首先注意到,若 $A$ 是初等矩阵,则由示例 8 之(5),结论成立。

Let $C$ be the reduced row-echelon form of $A$. Then we can write $A= E_1\cdot E_2\cdot \dots\cdot E_m C$. Then $A^T=C^T\cdot E_m^T\cdot \dots \cdot E_2^T\cdot E_1$. By Theorem 9 we have $\det (A^T)=\det (C^T)\cdot \det (E_m^T)\cdot \dots \cdot \det (E_2^T)\cdot \det(E_1). $ By (5) of Example 8 we have that $\det E_j=\det E_j^T$ for all $j$. Also, $\det C$ is either 0 or 1 (depending on whether $C=I$ or not) and in either case $\det C=\det C^T$. Therefore $\det A=\det A^T$.

设 $C$ 是 $A$ 的简化行阶梯形。则可以写成 $A= E_1\cdot E_2\cdot \dots\cdot E_m C$,于是 $A^T=C^T\cdot E_m^T\cdot \dots \cdot E_2^T\cdot E_1$。由定理 9,$\det (A^T)=\det (C^T)\cdot \det (E_m^T)\cdot \dots \cdot \det (E_2^T)\cdot \det(E_1)$。由示例 8 之(5),对所有 $j$ 都有 $\det E_j=\det E_j^T$。又 $\det C$ 非 0 即 1(取决于 $C=I$ 与否),且无论哪种情形都有 $\det C=\det C^T$。因此 $\det A=\det A^T$。

The above discussions allow us to now prove Theorem 3.1.1. It is restated below.

上面的讨论使我们现在可以证明定理 3.1.1。下面将其重述如下。

定理 11 Theorem 11

Expanding an $n\times n$ matrix along any row or column always gives the same result, which is the determinant.

沿任意一行或任意一列展开 $n\times n$ 矩阵,得到的结果总是一样,这就是行列式。

Proof: We first show that the determinant can be computed along any row. The case $n=1$ does not apply and thus let $n \geq 2$.

证明:首先证明行列式可以沿任意一行计算。$n=1$ 的情形不适用,因此设 $n \geq 2$。

Let $A$ be an $n\times n$ matrix and fix $j>1$. We need to prove that $\det A=\sum_{i=1}^n a_{j,i} \mathrm{cof}(A)_{j,i}. $ Let us prove the case when $j=2$.

设 $A$ 是 $n\times n$ 矩阵并固定 $j>1$。我们需要证明 $\det A=\sum_{i=1}^n a_{j,i} \mathrm{cof}(A)_{j,i}$。让我们先证明 $j=2$ 的情形。

Let $B$ be the matrix obtained from $A$ by interchanging its $1$st and $2$nd rows. Then by Theorem 8 we have $\det A=-\det B.$ Now we have $\det B=\sum_{i=1}^n b_{1,i} \mathrm{cof}(B)_{1,i}. $ Since $B$ is obtained by interchanging the $1$st and $2$nd rows of $A$ we have that $b_{1,i}=a_{2,i}$ for all $i$ and one can see that $minor(B)_{1,i}=minor(A)_{2,i}$.

设 $B$ 是交换 $A$ 的第 $1$ 行与第 $2$ 行所得的矩阵。则由定理 8,$\det A=-\det B$。现在我们有 $\det B=\sum_{i=1}^n b_{1,i} \mathrm{cof}(B)_{1,i}$。由于 $B$ 是交换 $A$ 的第 $1$ 行与第 $2$ 行所得,对所有 $i$ 有 $b_{1,i}=a_{2,i}$,并且可以看出 $minor(B)_{1,i}=minor(A)_{2,i}$。

Further, $\mathrm{cof}(B)_{1,i}=(-1)^{1+i} minor B_{1,i}=- (-1)^{2+i} minor (A)_{2,i} = - \mathrm{cof}(A)_{2,i} $ hence $\det B=-\sum_{i=1}^n a_{2,i} \mathrm{cof}(A)_{2,i}$, and therefore $\det A=-\det B= \sum_{i=1}^n a_{2,i} \mathrm{cof}(A)_{2,i}$ as desired.

进一步,$\mathrm{cof}(B)_{1,i}=(-1)^{1+i} minor B_{1,i}=- (-1)^{2+i} minor (A)_{2,i} = - \mathrm{cof}(A)_{2,i} $,从而 $\det B=-\sum_{i=1}^n a_{2,i} \mathrm{cof}(A)_{2,i}$,因此 $\det A=-\det B= \sum_{i=1}^n a_{2,i} \mathrm{cof}(A)_{2,i}$,正如所愿。

The case when $j>2$ is very similar; we still have $minor(B)_{1,i}=minor (A)_{j,i}$ but checking that $\det B=-\sum_{i=1}^n a_{j,i} \mathrm{cof}(A)_{j,i}$ is slightly more involved.

$j>2$ 的情形非常类似;此时仍有 $minor(B)_{1,i}=minor (A)_{j,i}$,但检验 $\det B=-\sum_{i=1}^n a_{j,i} \mathrm{cof}(A)_{j,i}$ 要稍微复杂一些。

Now the cofactor expansion along column $j$ of $A$ is equal to the cofactor expansion along row $j$ of $A^T$, which is by the above result just proved equal to the cofactor expansion along row 1 of $A^T$, which is equal to the cofactor expansion along column $1$ of $A$. Thus the cofactor expansion along any column yields the same result.

现在,$A$ 沿第 $j$ 列的代数余子式展开,等于 $A^T$ 沿第 $j$ 行的代数余子式展开;由上面刚证明的结果,它等于 $A^T$ 沿第 1 行的代数余子式展开,而后者又等于 $A$ 沿第 $1$ 列的代数余子式展开。因此沿任意一列的代数余子式展开都得到同样的结果。

Finally, since $\det A=\det A^T$ by Theorem 10, we conclude that the cofactor expansion along row $1$ of $A$ is equal to the cofactor expansion along row $1$ of $A^T$, which is equal to the cofactor expansion along column $1$ of $A$. Thus the proof is complete.

最后,由于由定理 10 有 $\det A=\det A^T$,我们得出结论:$A$ 沿第 $1$ 行的代数余子式展开等于 $A^T$ 沿第 $1$ 行的代数余子式展开,而后者等于 $A$ 沿第 $1$ 列的代数余子式展开。至此证明完成。

Finding Determinants using Row Operations 用行运算求行列式

Theorems 3.2.1, 3.2.2 and 3.2.4 illustrate how row operations affect the determinant of a matrix. In this section, we look at two examples where row operations are used to find the determinant of a large matrix. Recall that when working with large matrices, Laplace Expansion is effective but timely, as there are many steps involved. This section provides useful tools for an alternative method. By first applying row operations, we can obtain a simpler matrix to which we apply Laplace Expansion.

定理 3.2.1、3.2.2 和 3.2.4 说明了行运算是如何影响一个矩阵的行列式的。本节我们看两个利用行运算来求大型矩阵行列式的例子。回忆一下,处理大型矩阵时,拉普拉斯展开固然有效,但由于涉及的步骤很多,往往比较耗时。本节给出了另一种方法的实用工具:先施行行运算,得到更简单的矩阵,再对之应用拉普拉斯展开。

While working through questions such as these, it is useful to record your row operations as you go along. Keep this in mind as you read through the next example.

在做这类题目时,一边做一边记下行运算会比较有用。读下面的例子时请记住这一点。

示例 1:求一个行列式 Finding a Determinant

Find the determinant of the matrix $A=\left[ \begin{array}{rrrr} 1 & 2 & 3 & 4 \\ 5 & 1 & 2 & 3 \\ 4 & 5 & 4 & 3 \\ 2 & 2 & -4 & 5 \end{array} \right] $.

求矩阵 $A=\left[ \begin{array}{rrrr} 1 & 2 & 3 & 4 \\ 5 & 1 & 2 & 3 \\ 4 & 5 & 4 & 3 \\ 2 & 2 & -4 & 5 \end{array} \right] $ 的行列式。

Solution

We will use the properties of determinants outlined above to find $\det \left(A\right)$. First, add $-5$ times the first row to the second row. Then add $-4$ times the first row to the third row, and $-2$ times the first row to the fourth row. This yields the matrix $B=\left[ \begin{array}{rrrr} 1 & 2 & 3 & 4 \\ 0 & -9 & -13 & -17 \\ 0 & -3 & -8 & -13 \\ 0 & -2 & -10 & -3 \end{array} \right] $ Notice that the only row operation we have done so far is adding a multiple of a row to another row. Therefore, by Theorem 3.2.4, $\det \left(B\right) = \det \left(A\right).$

我们将用上面概述的行列式性质来求 $\det \left(A\right)$。首先,把 $-5$ 倍的第一行加到第二行。然后把 $-4$ 倍的第一行加到第三行,把 $-2$ 倍的第一行加到第四行。这得到矩阵 $B=\left[ \begin{array}{rrrr} 1 & 2 & 3 & 4 \\ 0 & -9 & -13 & -17 \\ 0 & -3 & -8 & -13 \\ 0 & -2 & -10 & -3 \end{array} \right] $。注意,到目前为止我们只做了一种行运算,即把某行的倍数加到另一行。因此,由定理 3.2.4,$\det \left(B\right) = \det \left(A\right)$。

At this stage, you could use Laplace Expansion to find $\det \left(B\right)$. However, we will continue with row operations to find an even simpler matrix to work with.

在这个阶段,你可以用拉普拉斯展开求 $\det \left(B\right)$。不过我们将继续施行行运算,以得到更简单、更好处理的矩阵。

Add $-3$ times the third row to the second row. By Theorem 3.2.4 this does not change the value of the determinant. Then, multiply the fourth row by $-3$. This results in the matrix $C=\left[ \begin{array}{rrrr} 1 & 2 & 3 & 4 \\ 0 & 0 & 11 & 22 \\ 0 & -3 & -8 & -13 \\ 0 & 6 & 30 & 9 \end{array} \right] $ Here, $\det \left(C\right) = -3 \det \left(B\right)$, which means that $\det \left( B\right) =\left(-\frac{1}{3}\right) \det \left( C\right) $.

把 $-3$ 倍的第三行加到第二行。由定理 3.2.4,这不会改变行列式的值。然后把第四行乘以 $-3$。这得到矩阵 $C=\left[ \begin{array}{rrrr} 1 & 2 & 3 & 4 \\ 0 & 0 & 11 & 22 \\ 0 & -3 & -8 & -13 \\ 0 & 6 & 30 & 9 \end{array} \right] $。这里 $\det \left(C\right) = -3 \det \left(B\right)$,意味着 $\det \left( B\right) =\left(-\frac{1}{3}\right) \det \left( C\right) $。

Since $\det \left(A\right) = \det \left(B\right)$, we now have that $\det \left(A\right) = \left(-\frac{1}{3}\right) \det \left( C\right)$. Again, you could use Laplace Expansion here to find $\det \left(C\right)$. However, we will continue with row operations.

由于 $\det \left(A\right) = \det \left(B\right)$,我们现在得到 $\det \left(A\right) = \left(-\frac{1}{3}\right) \det \left( C\right)$。同样,这里你可以用拉普拉斯展开求 $\det \left(C\right)$。不过我们将继续施行行运算。

Now replace the add $2$ times the third row to the fourth row. This does not change the value of the determinant by Theorem 3.2.4. Finally switch the third and second rows. This causes the determinant to be multiplied by $-1.$ Thus $\det \left( C\right) = -\det \left( D\right)$ where $D=\left[ \begin{array}{rrrr} 1 & 2 & 3 & 4 \\ 0 & -3 & -8 & -13 \\ 0 & 0 & 11 & 22 \\ 0 & 0 & 14 & -17 \end{array} \right] $.

现在把 $2$ 倍的第三行加到第四行(即 replace the add,用「把第三行的 2 倍加到第四行」来替换)。由定理 3.2.4,这不会改变行列式的值。最后交换第三行与第二行。这会使行列式乘以 $-1$。于是 $\det \left( C\right) = -\det \left( D\right)$,其中 $D=\left[ \begin{array}{rrrr} 1 & 2 & 3 & 4 \\ 0 & -3 & -8 & -13 \\ 0 & 0 & 11 & 22 \\ 0 & 0 & 14 & -17 \end{array} \right] $。

Hence, $\det \left(A\right) = \left(-\frac{1}{3}\right) \det \left( C\right) = \left(\frac{1}{3}\right) \det \left( D\right)$.

因此 $\det \left(A\right) = \left(-\frac{1}{3}\right) \det \left( C\right) = \left(\frac{1}{3}\right) \det \left( D\right)$。

You could do more row operations or you could note that this can be easily expanded along the first column. Then, expand the resulting $3 \times 3$ matrix also along the first column. This results in $\det \left( D\right) =1\left( -3\right) \left\vert \begin{array}{cc} 11 & 22 \\ 14 & -17 \end{array} \right\vert = 1485 $ and so $\det \left( A\right) =\left(\frac{1}{3}\right) \left( 1485\right) =495.$

你可以继续做更多的行运算,也可以注意到这个行列式可以很容易地沿第一列展开。然后,把得到的 $3 \times 3$ 矩阵也沿第一列展开。这得到 $\det \left( D\right) =1\left( -3\right) \left\vert \begin{array}{cc} 11 & 22 \\ 14 & -17 \end{array} \right\vert = 1485 $,于是 $\det \left( A\right) =\left(\frac{1}{3}\right) \left( 1485\right) =495$。

You can see that by using row operations, we can simplify a matrix to the point where Laplace Expansion involves only a few steps. In Example 1, we also could have continued until the matrix was in upper triangular form, and taken the product of the entries on the main diagonal. Whenever computing the determinant, it is useful to consider all the possible methods and tools.

你可以看到,通过使用行运算,我们可以把矩阵化简到拉普拉斯展开只涉及很少几步的程度。在示例 1 中,我们本也可以一直化简到矩阵呈上三角形式,然后取主对角线上各元的乘积。无论何时计算行列式,考虑所有可能的方法和工具都是有益的。

Consider the next example.

考虑下一个例子。

示例 2:求行列式 Find the Determinant

Find the determinant of the matrix $A = \left[ \begin{array}{rrrr} 1 & 2 & 3 & 2 \\ 1 & -3 & 2 & 1 \\ 2 & 1 & 2 & 5 \\ 3 & -4 & 1 & 2 \end{array} \right] $.

求矩阵 $A = \left[ \begin{array}{rrrr} 1 & 2 & 3 & 2 \\ 1 & -3 & 2 & 1 \\ 2 & 1 & 2 & 5 \\ 3 & -4 & 1 & 2 \end{array} \right] $ 的行列式。

Solution

Once again, we will simplify the matrix through row operations. Add $-1$ times the first row to the second row. Next add $-2$ times the first row to the third and finally take $-3$ times the first row and add to the fourth row. This yields $B = \left[ \begin{array}{rrrr} 1 & 2 & 3 & 2 \\ 0 & -5 & -1 & -1 \\ 0 & -3 & -4 & 1 \\ 0 & -10 & -8 & -4 \end{array} \right] $ By Theorem 3.2.4, $\det \left(A\right) = \det \left(B\right).$

再次,我们将通过行运算化简矩阵。把 $-1$ 倍的第一行加到第二行。接着把 $-2$ 倍的第一行加到第三行,最后取 $-3$ 倍的第一行加到第四行。这得到 $B = \left[ \begin{array}{rrrr} 1 & 2 & 3 & 2 \\ 0 & -5 & -1 & -1 \\ 0 & -3 & -4 & 1 \\ 0 & -10 & -8 & -4 \end{array} \right] $。由定理 3.2.4,$\det \left(A\right) = \det \left(B\right)$。

Remember you can work with the columns also. Take $-5$ times the fourth column and add to the second column. This yields $C = \left[ \begin{array}{rrrr} 1 & -8 & 3 & 2 \\ 0 & 0 & -1 & -1 \\ 0 & -8 & -4 & 1 \\ 0 & 10 & -8 & -4 \end{array} \right] $ By Theorem 3.2.4 $\det \left(A\right) = \det \left(C\right).$

记住你也可以对列进行运算。取 $-5$ 倍的第四列加到第二列上。这得到 $C = \left[ \begin{array}{rrrr} 1 & -8 & 3 & 2 \\ 0 & 0 & -1 & -1 \\ 0 & -8 & -4 & 1 \\ 0 & 10 & -8 & -4 \end{array} \right] $。由定理 3.2.4,$\det \left(A\right) = \det \left(C\right)$。

Now take $-1$ times the third row and add to the top row. This gives. $D = \left[ \begin{array}{rrrr} 1 & 0 & 7 & 1 \\ 0 & 0 & -1 & -1 \\ 0 & -8 & -4 & 1 \\ 0 & 10 & -8 & -4 \end{array} \right] $ which by Theorem 3.2.4 has the same determinant as $A.$

现在取 $-1$ 倍的第三行加到顶行。这给出 $D = \left[ \begin{array}{rrrr} 1 & 0 & 7 & 1 \\ 0 & 0 & -1 & -1 \\ 0 & -8 & -4 & 1 \\ 0 & 10 & -8 & -4 \end{array} \right] $,由定理 3.2.4,它与 $A$ 有相同的行列式。

Now, we can find $\det \left(D\right)$ by expanding along the first column as follows. You can see that there will be only one non zero term. $\det \left(D\right) = 1 \det \left[ \begin{array}{rrr} 0 & -1 & -1 \\ -8 & -4 & 1 \\ 10 & -8 & -4 \end{array} \right] + 0 + 0 + 0 $ Expanding again along the first column, we have $\det \left(D\right) = 1 \left ( 0 + 8\det \left[ \begin{array}{rr} -1 & -1 \\ -8 & -4 \end{array} \right] +10\det \left[ \begin{array}{rr} -1 & -1 \\ -4 & 1 \end{array} \right] \right) = -82 $.

现在,我们可以沿第一列展开求出 $\det \left(D\right)$,如下所示。你可以看到将只有一个非零项。$\det \left(D\right) = 1 \det \left[ \begin{array}{rrr} 0 & -1 & -1 \\ -8 & -4 & 1 \\ 10 & -8 & -4 \end{array} \right] + 0 + 0 + 0 $。再沿第一列展开,我们有 $\det \left(D\right) = 1 \left ( 0 + 8\det \left[ \begin{array}{rr} -1 & -1 \\ -8 & -4 \end{array} \right] +10\det \left[ \begin{array}{rr} -1 & -1 \\ -4 & 1 \end{array} \right] \right) = -82 $。

Now since $\det \left(A\right) = \det \left(D\right)$, it follows that $\det \left(A\right) = -82$.

现在由于 $\det \left(A\right) = \det \left(D\right)$,可知 $\det \left(A\right) = -82$。

Remember that you can verify these answers by using Laplace Expansion on $A$. Similarly, if you first compute the determinant using Laplace Expansion, you can use the row operation method to verify.

记住,你可以通过对 $A$ 使用拉普拉斯展开来验证这些答案。类似地,若你先用拉普拉斯展开计算行列式,则可以用行运算方法来验证。

Applications of the Determinant 行列式的应用

学习目标 Outcomes

  1. Use determinants to determine whether a matrix has an inverse, and evaluate the inverse using cofactors.
  2. Apply Cramer's Rule to solve a $2\times 2$ or a $3\times 3$ linear system.
  3. Given data points, find an appropriate interpolating polynomial and use it to estimate points.
  1. 用行列式判断一个矩阵是否有逆,并用代数余子式求逆矩阵。
  2. 应用克莱默法则(Cramer's Rule)求解 $2\times 2$ 或 $3\times 3$ 线性方程组。
  3. 给定数据点,求合适的插值多项式,并用来估计点值。

逆的公式 A Formula for the Inverse

The determinant of a matrix also provides a way to find the inverse of a matrix. Recall the definition of the inverse of a matrix in Definition 2.6.1. We say that $A^{-1}$, an $n \times n$ matrix, is the inverse of $A$, also $n \times n$, if $AA^{-1} = I$ and $A^{-1}A=I$.

矩阵的行列式也提供了一种求矩阵逆的方法。回忆定义 2.6.1 中矩阵逆的定义。若 $AA^{-1} = I$ 且 $A^{-1}A=I$,则称 $n \times n$ 矩阵 $A^{-1}$ 是 $n \times n$ 矩阵 $A$ 的逆。

We now define a new matrix called the cofactor matrix of $A$. The cofactor matrix of $A$ is the matrix whose $ij^{\mathrm{th}}$ entry is the $ij^{\mathrm{th}}$ cofactor of $A$. The formal definition is as follows.

我们现在定义一个新矩阵,称为 $A$ 的代数余子式矩阵(cofactor matrix)。$A$ 的代数余子式矩阵是这样一张矩阵:它的 $ij^{\mathrm{th}}$ 元是 $A$ 的 $ij^{\mathrm{th}}$ 代数余子式。正式定义如下。

定义 1:代数余子式矩阵 The Cofactor Matrix

Let $A=\left[ a_{ij}\right]$ be an $n\times n$ matrix. Then the cofactor matrix of $A$, denoted $\mathrm{cof}\left( A\right)$, is defined by $\mathrm{cof}\left( A\right) =\left[ \mathrm{cof}\left(A\right)_{ij}\right]$ where $\mathrm{cof}\left(A\right)_{ij}$ is the $ij^{\mathrm{th}}$ cofactor of $A$.

设 $A=\left[ a_{ij}\right]$ 是 $n\times n$ 矩阵。则 $A$ 的代数余子式矩阵,记为 $\mathrm{cof}\left( A\right)$,定义为 $\mathrm{cof}\left( A\right) =\left[ \mathrm{cof}\left(A\right)_{ij}\right]$,其中 $\mathrm{cof}\left(A\right)_{ij}$ 是 $A$ 的 $ij^{\mathrm{th}}$ 代数余子式。

Note that $\mathrm{cof}\left(A\right)_{ij}$ denotes the $ij^{\mathrm{th}}$ entry of the cofactor matrix.

注意,$\mathrm{cof}\left(A\right)_{ij}$ 表示代数余子式矩阵的第 $ij^{\mathrm{th}}$ 元。

We will use the cofactor matrix to create a formula for the inverse of $A$. First, we define the adjugate of $A$ to be the transpose of the cofactor matrix. We can also call this matrix the classical adjoint of $A$, and we denote it by $adj \left(A\right)$.

我们将用代数余子式矩阵来建立 $A$ 的逆的公式。首先,我们把 $A$ 的伴随矩阵(adjugate)定义为代数余子式矩阵的转置。也可以把这个矩阵称为 $A$ 的经典伴随(classical adjoint),我们把它记为 $adj \left(A\right)$。

In the specific case where $A$ is a $2 \times 2$ matrix given by $A = \left[ \begin{array}{rr} a & b \\ c & d \end{array} \right] $ then ${adj}\left(A\right)$ is given by ${adj}\left(A\right) = \left[ \begin{array}{rr} d & -b \\ -c & a \end{array} \right] $.

在特殊情况中,若 $A$ 是 $2 \times 2$ 矩阵 $A = \left[ \begin{array}{rr} a & b \\ c & d \end{array} \right] $,则 ${adj}\left(A\right)$ 为 ${adj}\left(A\right) = \left[ \begin{array}{rr} d & -b \\ -c & a \end{array} \right] $。

In general, ${adj}\left(A\right)$ can always be found by taking the transpose of the cofactor matrix of $A$. The following theorem provides a formula for $A^{-1}$ using the determinant and adjugate of $A$.

一般而言,${adj}\left(A\right)$ 总可以通过取 $A$ 的代数余子式矩阵的转置来求得。下面的定理用 $A$ 的行列式和伴随给出了 $A^{-1}$ 的公式。

定理 1:逆与行列式 The Inverse and the Determinant

Let $A$ be an $n\times n$ matrix. Then $A \cdot {adj}\left(A\right) = {adj}\left(A\right)A = {\det \left(A\right)} I $.

设 $A$ 是 $n\times n$ 矩阵。则 $A \cdot {adj}\left(A\right) = {adj}\left(A\right)A = {\det \left(A\right)} I $。

Moreover $A$ is invertible if and only if $\det \left(A\right) \neq 0$. In this case we have: $A^{-1} = \frac{1}{\det \left(A\right)} {adj}\left(A\right) $.

此外,$A$ 可逆当且仅当 $\det \left(A\right) \neq 0$。在这种情况下我们有:$A^{-1} = \frac{1}{\det \left(A\right)} {adj}\left(A\right) $。

Notice that the first formula holds for any $n \times n$ matrix $A$, and in the case $A$ is invertible we actually have a formula for $A^{-1}$.

注意,第一个公式对任何 $n \times n$ 矩阵 $A$ 都成立,而在 $A$ 可逆的情况下,我们实际上得到了 $A^{-1}$ 的公式。

Consider the following example.

请看下面的例子。

示例 1:用行列式求逆 Find Inverse Using the Determinant

Find the inverse of the matrix $A=\left[ \begin{array}{rrr} 1 & 2 & 3 \\ 3 & 0 & 1 \\ 1 & 2 & 1 \end{array} \right] $ using the formula in Theorem 1.

用定理 1 中的公式求矩阵 $A=\left[ \begin{array}{rrr} 1 & 2 & 3 \\ 3 & 0 & 1 \\ 1 & 2 & 1 \end{array} \right] $ 的逆。

Solution

According to Theorem 1, $A^{-1} = \frac{1}{\det \left(A\right)} {adj}\left(A\right) $.

根据定理 1,$A^{-1} = \frac{1}{\det \left(A\right)} {adj}\left(A\right) $。

First we will find the determinant of this matrix. Using Theorems 3.2.1, 3.2.2, and 3.2.4, we can first simplify the matrix through row operations. First, add $-3$ times the first row to the second row. Then add $-1$ times the first row to the third row to obtain $B = \left[ \begin{array}{rrr} 1 & 2 & 3 \\ 0 & -6 & -8 \\ 0 & 0 & -2 \end{array} \right] $ By Theorem 3.2.4, $\det \left(A\right) = \det \left(B\right)$. By Theorem 3.1.2, $\det \left(B\right) = 1 \times -6 \times -2 = 12$. Hence, $\det \left(A\right) = 12$.

首先求这个矩阵的行列式。利用定理 3.2.1、3.2.2 和 3.2.4,我们可以先通过行运算化简矩阵。首先,把 $-3$ 倍的第一行加到第二行。然后把 $-1$ 倍的第一行加到第三行,得到 $B = \left[ \begin{array}{rrr} 1 & 2 & 3 \\ 0 & -6 & -8 \\ 0 & 0 & -2 \end{array} \right] $。由定理 3.2.4,$\det \left(A\right) = \det \left(B\right)$。由定理 3.1.2,$\det \left(B\right) = 1 \times -6 \times -2 = 12$。因此 $\det \left(A\right) = 12$。

Now, we need to find ${adj} \left(A\right)$. To do so, first we will find the cofactor matrix of $A$. This is given by $\mathrm{cof}\left( A\right) = \left[ \begin{array}{rrr} -2 & -2 & 6 \\ 4 & -2 & 0 \\ 2 & 8 & -6 \end{array} \right] $ Here, the $ij^{\mathrm{th}}$ entry is the $ij^{\mathrm{th}}$ cofactor of the original matrix $A$ which you can verify. Therefore, from Theorem 1, the inverse of $A$ is given by $A^{-1} = \frac{1}{12}\left[ \begin{array}{rrr} -2 & -2 & 6 \\ 4 & -2 & 0 \\ 2 & 8 & -6 \end{array} \right] ^{T}= \left[ \begin{array}{rrr} -\frac{1}{6} & \frac{1}{3} & \frac{1}{6} \\ -\frac{1}{6} & -\frac{1}{6} & \frac{2}{3} \\ \frac{1}{2} & 0 & -\frac{1}{2} \end{array} \right] $.

现在需要求 ${adj} \left(A\right)$。为此,首先求 $A$ 的代数余子式矩阵。它为 $\mathrm{cof}\left( A\right) = \left[ \begin{array}{rrr} -2 & -2 & 6 \\ 4 & -2 & 0 \\ 2 & 8 & -6 \end{array} \right] $。这里,第 $ij^{\mathrm{th}}$ 元就是原矩阵 $A$ 的 $ij^{\mathrm{th}}$ 代数余子式,你可以加以验证。因此,由定理 1,$A$ 的逆为 $A^{-1} = \frac{1}{12}\left[ \begin{array}{rrr} -2 & -2 & 6 \\ 4 & -2 & 0 \\ 2 & 8 & -6 \end{array} \right] ^{T}= \left[ \begin{array}{rrr} -\frac{1}{6} & \frac{1}{3} & \frac{1}{6} \\ -\frac{1}{6} & -\frac{1}{6} & \frac{2}{3} \\ \frac{1}{2} & 0 & -\frac{1}{2} \end{array} \right] $。

Remember that we can always verify our answer for $A^{-1}$. Compute the product $AA^{-1}$ and $A^{-1}A$ and make sure each product is equal to $I$.

记住,我们总能验证 $A^{-1}$ 的答案。计算乘积 $AA^{-1}$ 与 $A^{-1}A$,并确保每个乘积都等于 $I$。

Compute $A^{-1}A$ as follows. $A^{-1}A = \left[ \begin{array}{rrr} -\frac{1}{6} & \frac{1}{3} & \frac{1}{6} \\ -\frac{1}{6} & -\frac{1}{6} & \frac{2}{3} \\ \frac{1}{2} & 0 & -\frac{1}{2} \end{array} \right] \left[ \begin{array}{rrr} 1 & 2 & 3 \\ 3 & 0 & 1 \\ 1 & 2 & 1 \end{array} \right] = \left[ \begin{array}{rrr} 1 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 1 \end{array} \right] = I $ You can verify that $AA^{-1} = I$ and hence our answer is correct.

如下计算 $A^{-1}A$:$A^{-1}A = \left[ \begin{array}{rrr} -\frac{1}{6} & \frac{1}{3} & \frac{1}{6} \\ -\frac{1}{6} & -\frac{1}{6} & \frac{2}{3} \\ \frac{1}{2} & 0 & -\frac{1}{2} \end{array} \right] \left[ \begin{array}{rrr} 1 & 2 & 3 \\ 3 & 0 & 1 \\ 1 & 2 & 1 \end{array} \right] = \left[ \begin{array}{rrr} 1 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 1 \end{array} \right] = I $。你可以验证 $AA^{-1} = I$,因此我们的答案是正确的。

We will look at another example of how to use this formula to find $A^{-1}$.

我们再看一个如何使用这个公式求 $A^{-1}$ 的例子。

示例 2:用公式求逆 Find the Inverse From a Formula

Find the inverse of the matrix $A=\left[ \begin{array}{rrr} \frac{1}{2} & 0 & \frac{1}{2} \\ -\frac{1}{6} & \frac{1}{3} & - \frac{1}{2} \\ -\frac{5}{6} & \frac{2}{3} & - \frac{1}{2} \end{array} \right] $ using the formula given in Theorem 1.

用定理 1 中给出的公式求矩阵 $A=\left[ \begin{array}{rrr} \frac{1}{2} & 0 & \frac{1}{2} \\ -\frac{1}{6} & \frac{1}{3} & - \frac{1}{2} \\ -\frac{5}{6} & \frac{2}{3} & - \frac{1}{2} \end{array} \right] $ 的逆。

Solution

First we need to find $\det \left(A\right)$. This step is left as an exercise and you should verify that $\det \left(A\right) = \frac{1}{6}.$ The inverse is therefore equal to $A^{-1} = \frac{1}{(1/6)} {adj} \left(A\right) = 6 {adj} \left(A\right) $.

首先需要求 $\det \left(A\right)$。这一步留作练习,你应验证 $\det \left(A\right) = \frac{1}{6}$。因此逆等于 $A^{-1} = \frac{1}{(1/6)} {adj} \left(A\right) = 6 {adj} \left(A\right) $。

We continue to calculate as follows. Here we show the $2 \times 2$ determinants needed to find the cofactors. $A^{-1} = 6\left[ \begin{array}{rrr} \left\| \begin{array}{rr} \frac{1}{3} & -\frac{1}{2} \\ \frac{2}{3} & -\frac{1}{2} \end{array} \right\| & -\left\| \begin{array}{rr} -\frac{1}{6} & -\frac{1}{2} \\ -\frac{5}{6} & -\frac{1}{2} \end{array} \right\| & \left\| \begin{array}{rr} -\frac{1}{6} & \frac{1}{3} \\ -\frac{5}{6} & \frac{2}{3} \end{array} \right\| \\ -\left\| \begin{array}{rr} 0 & \frac{1}{2} \\ \frac{2}{3} & -\frac{1}{2} \end{array} \right\| & \left\| \begin{array}{rr} \frac{1}{2} & \frac{1}{2} \\ -\frac{5}{6} & -\frac{1}{2} \end{array} \right\| & -\left\| \begin{array}{rr} \frac{1}{2} & 0 \\ -\frac{5}{6} & \frac{2}{3} \end{array} \right\| \\ \left\| \begin{array}{rr} 0 & \frac{1}{2} \\ \frac{1}{3} & -\frac{1}{2} \end{array} \right\| & -\left\| \begin{array}{rr} \frac{1}{2} & \frac{1}{2} \\ -\frac{1}{6} & -\frac{1}{2} \end{array} \right\| & \left\| \begin{array}{rr} \frac{1}{2} & 0 \\ -\frac{1}{6} & \frac{1}{3} \end{array} \right\| \end{array} \right] ^{T} $.

我们继续按如下方式计算。这里展示求代数余子式所需的各个 $2 \times 2$ 行列式:$A^{-1} = 6\left[ \begin{array}{rrr} \left\| \begin{array}{rr} \frac{1}{3} & -\frac{1}{2} \\ \frac{2}{3} & -\frac{1}{2} \end{array} \right\| & -\left\| \begin{array}{rr} -\frac{1}{6} & -\frac{1}{2} \\ -\frac{5}{6} & -\frac{1}{2} \end{array} \right\| & \left\| \begin{array}{rr} -\frac{1}{6} & \frac{1}{3} \\ -\frac{5}{6} & \frac{2}{3} \end{array} \right\| \\ -\left\| \begin{array}{rr} 0 & \frac{1}{2} \\ \frac{2}{3} & -\frac{1}{2} \end{array} \right\| & \left\| \begin{array}{rr} \frac{1}{2} & \frac{1}{2} \\ -\frac{5}{6} & -\frac{1}{2} \end{array} \right\| & -\left\| \begin{array}{rr} \frac{1}{2} & 0 \\ -\frac{5}{6} & \frac{2}{3} \end{array} \right\| \\ \left\| \begin{array}{rr} 0 & \frac{1}{2} \\ \frac{1}{3} & -\frac{1}{2} \end{array} \right\| & -\left\| \begin{array}{rr} \frac{1}{2} & \frac{1}{2} \\ -\frac{1}{6} & -\frac{1}{2} \end{array} \right\| & \left\| \begin{array}{rr} \frac{1}{2} & 0 \\ -\frac{1}{6} & \frac{1}{3} \end{array} \right\| \end{array} \right] ^{T} $。

Expanding all the $2\times 2$ determinants, this yields $A^{-1} = 6\left[ \begin{array}{rrr} \frac{1}{6} & \frac{1}{3} & \frac{1}{6} \\ \frac{1}{3} & \frac{1}{6} & -\frac{1}{3} \\ -\frac{1}{6} & \frac{1}{6} & \frac{1}{6} \end{array} \right] ^{T}= \left[ \begin{array}{rrr} 1 & 2 & -1 \\ 2 & 1 & 1 \\ 1 & -2 & 1 \end{array} \right] $.

展开所有 $2\times 2$ 行列式后,得到 $A^{-1} = 6\left[ \begin{array}{rrr} \frac{1}{6} & \frac{1}{3} & \frac{1}{6} \\ \frac{1}{3} & \frac{1}{6} & -\frac{1}{3} \\ -\frac{1}{6} & \frac{1}{6} & \frac{1}{6} \end{array} \right] ^{T}= \left[ \begin{array}{rrr} 1 & 2 & -1 \\ 2 & 1 & 1 \\ 1 & -2 & 1 \end{array} \right] $。

Again, you can always check your work by multiplying $A^{-1}A$ and $AA^{-1}$ and ensuring these products equal $I$. $A^{-1}A = \left[ \begin{array}{rrr} 1 & 2 & -1 \\ 2 & 1 & 1 \\ 1 & -2 & 1 \end{array} \right] \left[ \begin{array}{rrr} \frac{1}{2} & 0 & \frac{1}{2} \\ -\frac{1}{6} & \frac{1}{3} & - \frac{1}{2} \\ -\frac{5}{6} & \frac{2}{3} & - \frac{1}{2} \end{array} \right] = \left[ \begin{array}{rrr} 1 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 1 \end{array} \right] $ This tells us that our calculation for $A^{-1}$ is correct. It is left to the reader to verify that $AA^{-1} = I$.

同样,你总可以通过相乘 $A^{-1}A$ 与 $AA^{-1}$ 来检查你的计算,确保这些乘积等于 $I$。$A^{-1}A = \left[ \begin{array}{rrr} 1 & 2 & -1 \\ 2 & 1 & 1 \\ 1 & -2 & 1 \end{array} \right] \left[ \begin{array}{rrr} \frac{1}{2} & 0 & \frac{1}{2} \\ -\frac{1}{6} & \frac{1}{3} & - \frac{1}{2} \\ -\frac{5}{6} & \frac{2}{3} & - \frac{1}{2} \end{array} \right] = \left[ \begin{array}{rrr} 1 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 1 \end{array} \right] $。这告诉我们关于 $A^{-1}$ 的计算是正确的。验证 $AA^{-1} = I$ 留作读者的练习。

The verification step is very important, as it is a simple way to check your work! If you multiply $A^{-1}A$ and $AA^{-1}$ and these products are not both equal to $I$, be sure to go back and double check each step. One common error is to forget to take the transpose of the cofactor matrix, so be sure to complete this step.

验证这一步非常重要,因为它是检查你计算的一种简单方法!若你相乘 $A^{-1}A$ 和 $AA^{-1}$,发现这两个乘积并非都等于 $I$,一定要回头仔细检查每一步。一个常见错误是忘记取代数余子式矩阵的转置,所以务必完成这一步。

We will now prove Theorem 1.

我们现在来证明定理 1。

定理 1 的证明 Proof of Theorem 1

Proof: Recall that the $(i,j)$-entry of ${adj}(A)$ is equal to $\mathrm{cof}(A)_{ji}$. Thus the $(i,j)$-entry of $B=A\cdot {adj}(A)$ is : $B_{ij}=\sum_{k=1}^n a_{ik} {adj} (A)_{kj}= \sum_{k=1}^n a_{ik} \mathrm{cof} (A)_{jk} $ By the cofactor expansion theorem, we see that this expression for $B_{ij}$ is equal to the determinant of the matrix obtained from $A$ by replacing its $j$th row by $a_{i1}, a_{i2}, \dots a_{in}$ — i.e., its $i$th row.

证明:回忆 ${adj}(A)$ 的 $(i,j)$ 元等于 $\mathrm{cof}(A)_{ji}$。因此 $B=A\cdot {adj}(A)$ 的 $(i,j)$ 元为 $B_{ij}=\sum_{k=1}^n a_{ik} {adj} (A)_{kj}= \sum_{k=1}^n a_{ik} \mathrm{cof} (A)_{jk} $。由代数余子式展开定理,我们看到 $B_{ij}$ 的这个表达式等于这样的矩阵的行列式:由 $A$ 把其第 $j$ 行替换为 $a_{i1}, a_{i2}, \dots a_{in}$(即第 $i$ 行)所得。

If $i=j$ then this matrix is $A$ itself and therefore $B_{ii}=\det A$. If on the other hand $i\neq j$, then this matrix has its $i$th row equal to its $j$th row, and therefore $B_{ij}=0$ in this case. Thus we obtain: $A \cdot {adj}\left(A\right) = {\det \left(A\right)} I $. Similarly we can verify that: ${adj}\left(A\right)A = {\det \left(A\right)} I $. And this proves the first part of the theorem.

若 $i=j$,则这个矩阵就是 $A$ 本身,因此 $B_{ii}=\det A$。另一方面,若 $i\neq j$,则这个矩阵的第 $i$ 行等于其第 $j$ 行,因此在这种情况下 $B_{ij}=0$。于是我们得到 $A \cdot {adj}\left(A\right) = {\det \left(A\right)} I $。类似地可以验证 ${adj}\left(A\right)A = {\det \left(A\right)} I $。这就证明了定理的第一部分。

Further if $A$ is invertible, then by Theorem 3.2.5 we have: $1 = \det \left( I \right) = \det \left( A A^{-1} \right) = \det \left( A \right) \det \left( A^{-1} \right) $ and thus $\det \left( A \right) \neq 0$. Equivalently, if $\det \left( A \right) = 0$, then $A$ is not invertible.

进一步,若 $A$ 可逆,则由定理 3.2.5 有 $1 = \det \left( I \right) = \det \left( A A^{-1} \right) = \det \left( A \right) \det \left( A^{-1} \right) $,从而 $\det \left( A \right) \neq 0$。等价地,若 $\det \left( A \right) = 0$,则 $A$ 不可逆。

Finally if $\det \left( A \right) \neq 0$, then the above formula shows that $A$ is invertible and that: $A^{-1} = \frac{1}{\det \left(A\right)} {adj}\left(A\right) $.

最后,若 $\det \left( A \right) \neq 0$,则上面的公式表明 $A$ 可逆,且 $A^{-1} = \frac{1}{\det \left(A\right)} {adj}\left(A\right) $。

This completes the proof.

证明完毕。

This method for finding the inverse of $A$ is useful in many contexts. In particular, it is useful with complicated matrices where the entries are functions, rather than numbers.

这种求 $A$ 逆的方法在许多场合下都很有用。特别地,当处理元的取值是函数而不是数值的复杂矩阵时尤为有用。

Consider the following example.

请看下面的例子。

示例 3:非常数矩阵的逆 Inverse for Non-Constant Matrix

Suppose $A\left( t\right) =\left[ \begin{array}{ccc} e^{t} & 0 & 0 \\ 0 & \cos t & \sin t \\ 0 & -\sin t & \cos t \end{array} \right] $ Show that $A\left( t\right) ^{-1}$ exists and then find it.

设 $A\left( t\right) =\left[ \begin{array}{ccc} e^{t} & 0 & 0 \\ 0 & \cos t & \sin t \\ 0 & -\sin t & \cos t \end{array} \right] $。证明 $A\left( t\right) ^{-1}$ 存在,然后求它。

Solution

First note $\det \left( A\left( t\right) \right) = e^{t}(\cos^2 t + \sin^2 t) = e^{t}\neq 0$ so $A\left( t\right) ^{-1}$ exists.

首先注意到 $\det \left( A\left( t\right) \right) = e^{t}(\cos^2 t + \sin^2 t) = e^{t}\neq 0$,所以 $A\left( t\right) ^{-1}$ 存在。

The cofactor matrix is $C\left( t\right) =\left[ \begin{array}{ccc} 1 & 0 & 0 \\ 0 & e^{t}\cos t & e^{t}\sin t \\ 0 & -e^{t}\sin t & e^{t}\cos t \end{array} \right] $ and so the inverse is $\frac{1}{e^{t}}\left[ \begin{array}{ccc} 1 & 0 & 0 \\ 0 & e^{t}\cos t & e^{t}\sin t \\ 0 & -e^{t}\sin t & e^{t}\cos t \end{array} \right] ^{T}= \left[ \begin{array}{ccc} e^{-t} & 0 & 0 \\ 0 & \cos t & -\sin t \\ 0 & \sin t & \cos t \end{array} \right] $.

代数余子式矩阵为 $C\left( t\right) =\left[ \begin{array}{ccc} 1 & 0 & 0 \\ 0 & e^{t}\cos t & e^{t}\sin t \\ 0 & -e^{t}\sin t & e^{t}\cos t \end{array} \right] $,因此逆为 $\frac{1}{e^{t}}\left[ \begin{array}{ccc} 1 & 0 & 0 \\ 0 & e^{t}\cos t & e^{t}\sin t \\ 0 & -e^{t}\sin t & e^{t}\cos t \end{array} \right] ^{T}= \left[ \begin{array}{ccc} e^{-t} & 0 & 0 \\ 0 & \cos t & -\sin t \\ 0 & \sin t & \cos t \end{array} \right] $。

克莱默法则 Cramer's Rule

Another context in which the formula given in Theorem 1 is important is Cramer's Rule. Recall that we can represent a system of linear equations in the form $AX=B$, where the solutions to this system are given by $X$. Cramer's Rule gives a formula for the solutions $X$ in the special case that $A$ is a square invertible matrix. Note this rule does not apply if you have a system of equations in which there is a different number of equations than variables (in other words, when $A$ is not square), or when $A$ is not invertible.

定理 1 中给出的公式另一个重要的应用场合是克莱默法则(Cramer's Rule)。回忆我们可以把线性方程组表示为 $AX=B$,其中该方程组的解由 $X$ 给出。克莱默法则在 $A$ 是方阵且可逆的特殊情形下,给出了解 $X$ 的公式。注意,若方程组的方程个数与变量个数不同(换句话说,当 $A$ 不是方阵时),或者当 $A$ 不可逆时,这个法则并不适用。

Suppose we have a system of equations given by $AX=B$, and we want to find solutions $X$ which satisfy this system. Then recall that if $A^{-1}$ exists, $\begin{aligned} AX&=B \\ A^{-1}\left(AX\right)&=A^{-1}B \\ \left(A^{-1}A\right)X&=A^{-1}B \\ IX&=A^{-1}B \\ X &= A^{-1}B \end{aligned}$ Hence, the solutions $X$ to the system are given by $X=A^{-1}B$. Since we assume that $A^{-1}$ exists, we can use the formula for $A^{-1}$ given above. Substituting this formula into the equation for $X$, we have $X=A^{-1}B=\frac{1}{\det \left( A\right) }{adj}\left( A\right)B $. Let $x_i$ be the $i^{\mathrm{th}}$ entry of $X$ and $b_j$ be the $j^{\mathrm{th}}$ entry of $B$. Then this equation becomes $x_i = \sum_{j=1}^{n}\left[ a_{ij}\right]^{-1}b_{j}=\sum_{j=1}^{n}\frac{1} {\det \left( A\right) } {adj}\left( A\right) _{ij}b_{j} $ where ${adj}\left(A\right)_{ij}$ is the $ij^{\mathrm{th}}$ entry of ${adj}\left(A\right)$.

设我们有一个方程组 $AX=B$,想要求解满足该方程组的解 $X$。回忆,若 $A^{-1}$ 存在,则 $\begin{aligned} AX&=B \\ A^{-1}\left(AX\right)&=A^{-1}B \\ \left(A^{-1}A\right)X&=A^{-1}B \\ IX&=A^{-1}B \\ X &= A^{-1}B \end{aligned}$。因此方程组组的解 $X$ 由 $X=A^{-1}B$ 给出。由于我们假设 $A^{-1}$ 存在,可以使用上面给出的关于 $A^{-1}$ 的公式。把这个公式代入关于 $X$ 的方程,得到 $X=A^{-1}B=\frac{1}{\det \left( A\right) }{adj}\left( A\right)B $。设 $x_i$ 是 $X$ 的第 $i$ 个元,$b_j$ 是 $B$ 的第 $j$ 个元。则这个方程变为 $x_i = \sum_{j=1}^{n}\left[ a_{ij}\right]^{-1}b_{j}=\sum_{j=1}^{n}\frac{1} {\det \left( A\right) } {adj}\left( A\right) _{ij}b_{j} $,其中 ${adj}\left(A\right)_{ij}$ 是 ${adj}\left(A\right)$ 的第 $ij^{\mathrm{th}}$ 元。

By the formula for the expansion of a determinant along a column, $x_{i}=\frac{1}{\det \left( A\right) }\det \left[ \begin{array}{ccccc} \ast & \cdots & b_{1} & \cdots & \ast \\ \vdots & & \vdots & & \vdots \\ \ast & \cdots & b_{n} & \cdots & \ast \end{array} \right] $ where here the $i^{\mathrm{th}}$ column of $A$ is replaced with the column vector $\left[ b_{1}\cdots ,b_{n}\right] ^{T}$. The determinant of this modified matrix is taken and divided by $\det \left( A\right)$. This formula is known as Cramer's rule.

由沿一列展开行列式的公式,$x_{i}=\frac{1}{\det \left( A\right) }\det \left[ \begin{array}{ccccc} \ast & \cdots & b_{1} & \cdots & \ast \\ \vdots & & \vdots & & \vdots \\ \ast & \cdots & b_{n} & \cdots & \ast \end{array} \right] $,其中 $A$ 的第 $i$ 列被替换为列向量 $\left[ b_{1}\cdots ,b_{n}\right] ^{T}$。取这个修改后矩阵的行列式,再除以 $\det \left( A\right)$。这个公式称为克莱默法则。

We formally define this method now.

我们现在正式定义这个方法。

过程 1:使用克莱默法则 Using Cramer's Rule

Suppose $A$ is an $n\times n$ invertible matrix and we wish to solve the system $AX=B$ for $X =\left[ x_{1},\cdots ,x_{n}\right] ^{T}.$ Then Cramer's rule says $x_{i}= \frac{\det \left(A_{i}\right)}{\det \left(A\right)} $ where $A_{i}$ is the matrix obtained by replacing the $i^{\mathrm{th}}$ column of $A$ with the column matrix $B = \left[ \begin{array}{c} b_1 \\ \vdots \\ b_n \end{array} \right] $.

设 $A$ 是 $n\times n$ 可逆矩阵,我们想对未知量 $X =\left[ x_{1},\cdots ,x_{n}\right] ^{T}$ 求解方程组 $AX=B$。克莱默法则说明 $x_{i}= \frac{\det \left(A_{i}\right)}{\det \left(A\right)} $,其中 $A_{i}$ 是把 $A$ 的第 $i$ 列替换为列矩阵 $B = \left[ \begin{array}{c} b_1 \\ \vdots \\ b_n \end{array} \right] $ 所得的矩阵。

We illustrate this procedure in the following example.

我们用下面的例子说明这一过程。

示例 4:使用克莱默法则 Using Cramer's Rule

Find $x,y,z$ if $\left[ \begin{array}{rrr} 1 & 2 & 1 \\ 3 & 2 & 1 \\ 2 & -3 & 2 \end{array} \right] \left[ \begin{array}{c} x \\ y \\ z \end{array} \right] =\left[ \begin{array}{r} 1 \\ 2 \\ 3 \end{array} \right] $.

求 $x,y,z$,其中 $\left[ \begin{array}{rrr} 1 & 2 & 1 \\ 3 & 2 & 1 \\ 2 & -3 & 2 \end{array} \right] \left[ \begin{array}{c} x \\ y \\ z \end{array} \right] =\left[ \begin{array}{r} 1 \\ 2 \\ 3 \end{array} \right] $。

Solution

We will use method outlined in Procedure 1 to find the values for $x,y,z$ which give the solution to this system. Let $B = \left[ \begin{array}{r} 1 \\ 2 \\ 3 \end{array} \right] $.

我们将用过程 1 中概述的方法,求出给该系统解 $x,y,z$ 的值。设 $B = \left[ \begin{array}{r} 1 \\ 2 \\ 3 \end{array} \right] $。

In order to find $x$, we calculate $x = \frac{\det \left(A_{1}\right)}{\det \left(A\right)} $ where $A_1$ is the matrix obtained from replacing the first column of $A$ with $B$.

为了求 $x$,我们计算 $x = \frac{\det \left(A_{1}\right)}{\det \left(A\right)} $,其中 $A_1$ 是把 $A$ 的第一列替换为 $B$ 所得的矩阵。

Hence, $A_1$ is given by $A_1 = \left[ \begin{array}{rrr} 1 & 2 & 1 \\ 2 & 2 & 1 \\ 3 & -3 & 2 \end{array} \right] $.

因此 $A_1$ 为 $A_1 = \left[ \begin{array}{rrr} 1 & 2 & 1 \\ 2 & 2 & 1 \\ 3 & -3 & 2 \end{array} \right] $。

Therefore, $x= \frac{\det \left(A_{1}\right)}{\det \left(A\right)} = \frac{\left\| \begin{array}{rrr} 1 & 2 & 1 \\ 2 & 2 & 1 \\ 3 & -3 & 2 \end{array} \right\| }{\left\| \begin{array}{rrr} 1 & 2 & 1 \\ 3 & 2 & 1 \\ 2 & -3 & 2 \end{array} \right\| }=\frac{1}{2} $.

因此 $x= \frac{\det \left(A_{1}\right)}{\det \left(A\right)} = \frac{\left\| \begin{array}{rrr} 1 & 2 & 1 \\ 2 & 2 & 1 \\ 3 & -3 & 2 \end{array} \right\| }{\left\| \begin{array}{rrr} 1 & 2 & 1 \\ 3 & 2 & 1 \\ 2 & -3 & 2 \end{array} \right\| }=\frac{1}{2} $。

Similarly, to find $y$ we construct $A_2$ by replacing the second column of $A$ with $B$. Hence, $A_2$ is given by $A_2 = \left[ \begin{array}{rrr} 1 & 1 & 1 \\ 3 & 2 & 1 \\ 2 & 3 & 2 \end{array} \right] $.

类似地,为求 $y$,我们把 $A$ 的第二列替换为 $B$ 构造出 $A_2$。因此 $A_2$ 为 $A_2 = \left[ \begin{array}{rrr} 1 & 1 & 1 \\ 3 & 2 & 1 \\ 2 & 3 & 2 \end{array} \right] $。

Therefore, $y=\frac{\det \left(A_{2}\right)}{\det \left(A\right)} = \frac{\left\| \begin{array}{rrr} 1 & 1 & 1 \\ 3 & 2 & 1 \\ 2 & 3 & 2 \end{array} \right\| }{\left\| \begin{array}{rrr} 1 & 2 & 1 \\ 3 & 2 & 1 \\ 2 & -3 & 2 \end{array} \right\| }=-\frac{1}{7} $.

因此 $y=\frac{\det \left(A_{2}\right)}{\det \left(A\right)} = \frac{\left\| \begin{array}{rrr} 1 & 1 & 1 \\ 3 & 2 & 1 \\ 2 & 3 & 2 \end{array} \right\| }{\left\| \begin{array}{rrr} 1 & 2 & 1 \\ 3 & 2 & 1 \\ 2 & -3 & 2 \end{array} \right\| }=-\frac{1}{7} $。

Similarly, $A_3$ is constructed by replacing the third column of $A$ with $B$. Then, $A_3$ is given by $A_3 = \left[ \begin{array}{rrr} 1 & 2 & 1 \\ 3 & 2 & 2 \\ 2 & -3 & 3 \end{array} \right] $.

类似地,$A_3$ 是把 $A$ 的第三列替换为 $B$ 构造所得。于是 $A_3$ 为 $A_3 = \left[ \begin{array}{rrr} 1 & 2 & 1 \\ 3 & 2 & 2 \\ 2 & -3 & 3 \end{array} \right] $。

Therefore, $z$ is calculated as follows: $z= \frac{\det \left(A_{3}\right)}{\det \left(A\right)} = \frac{\left\| \begin{array}{rrr} 1 & 2 & 1 \\ 3 & 2 & 2 \\ 2 & -3 & 3 \end{array} \right\| }{\left\| \begin{array}{rrr} 1 & 2 & 1 \\ 3 & 2 & 1 \\ 2 & -3 & 2 \end{array} \right\| }=\frac{11}{14} $.

因此 $z$ 计算如下:$z= \frac{\det \left(A_{3}\right)}{\det \left(A\right)} = \frac{\left\| \begin{array}{rrr} 1 & 2 & 1 \\ 3 & 2 & 2 \\ 2 & -3 & 3 \end{array} \right\| }{\left\| \begin{array}{rrr} 1 & 2 & 1 \\ 3 & 2 & 1 \\ 2 & -3 & 2 \end{array} \right\| }=\frac{11}{14} $。

Cramer's Rule gives you another tool to consider when solving a system of linear equations.

克莱默法则为你在求解线性方程组时提供了另一个可以考虑的工具。

We can also use Cramer's Rule for systems of non linear equations. Consider the following system where the matrix $A$ has functions rather than numbers for entries.

我们也可以把克莱默法则用于非线性方程组。考虑下面这个方程组,其中矩阵 $A$ 的元是函数而非数值。

示例 5:对非常数矩阵用克莱默法则 Use Cramer's Rule for Non-Constant Matrix

Solve for $z$ if $\left[ \begin{array}{ccc} 1 & 0 & 0 \\ 0 & e^{t}\cos t & e^{t}\sin t \\ 0 & -e^{t}\sin t & e^{t}\cos t \end{array} \right] \left[ \begin{array}{c} x \\ y \\ z \end{array} \right] =\left[ \begin{array}{c} 1 \\ t \\ t^{2} \end{array} \right] $.

求解 $z$,其中 $\left[ \begin{array}{ccc} 1 & 0 & 0 \\ 0 & e^{t}\cos t & e^{t}\sin t \\ 0 & -e^{t}\sin t & e^{t}\cos t \end{array} \right] \left[ \begin{array}{c} x \\ y \\ z \end{array} \right] =\left[ \begin{array}{c} 1 \\ t \\ t^{2} \end{array} \right] $。

Solution

We are asked to find the value of $z$ in the solution. We will solve using Cramer's rule. Thus $z= \frac{\left\| \begin{array}{ccc} 1 & 0 & 1 \\ 0 & e^{t}\cos t & t \\ 0 & -e^{t}\sin t & t^{2} \end{array} \right\| }{\left\| \begin{array}{ccc} 1 & 0 & 0 \\ 0 & e^{t}\cos t & e^{t}\sin t \\ 0 & -e^{t}\sin t & e^{t}\cos t \end{array} \right\| }= t\left( \left( \cos t\right) t+\sin t\right) e^{-t} $.

要求的是解中 $z$ 的值。我们将用克莱默法则求解。于是 $z= \frac{\left\| \begin{array}{ccc} 1 & 0 & 1 \\ 0 & e^{t}\cos t & t \\ 0 & -e^{t}\sin t & t^{2} \end{array} \right\| }{\left\| \begin{array}{ccc} 1 & 0 & 0 \\ 0 & e^{t}\cos t & e^{t}\sin t \\ 0 & -e^{t}\sin t & e^{t}\cos t \end{array} \right\| }= t\left( \left( \cos t\right) t+\sin t\right) e^{-t} $。

多项式插值 Polynomial Interpolation

In studying a set of data that relates variables $x$ and $y$, it may be the case that we can use a polynomial to "fit" to the data. If such a polynomial can be established, it can be used to estimate values of $x$ and $y$ which have not been provided.

在研究与变量 $x$、$y$ 相关的一组数据时,有时我们可以用一个多项式去「拟合」这些数据。若能建立起这样的多项式,就可以用来估计未给出的 $x$、$y$ 值。

Consider the following example.

请看下面的例子。

示例 6:多项式插值 Polynomial Interpolation

Given data points $(1,4), (2,9), (3,12)$, find an interpolating polynomial $p(x)$ of degree at most $2$ and then estimate the value corresponding to $x = \frac{1}{2}$.

给定数据点 $(1,4), (2,9), (3,12)$,求一个次数至多为 $2$ 的插值多项式 $p(x)$,然后估计 $x = \frac{1}{2}$ 所对应的值。

Solution

We want to find a polynomial given by $p(x) = r_0 + r_1x_1 + r_2x_2^2 $ such that $p(1)=4, p(2)=9$ and $p(3)=12$. To find this polynomial, substitute the known values in for $x$ and solve for $r_0, r_1$, and $r_2$. $\begin{aligned} p(1) &= r_0 + r_1 + r_2 = 4 \\ p(2) &= r_0 + 2r_1 + 4r_2 = 9 \\ p(3) &= r_0 + 3r_1 + 9r_2 = 12 \end{aligned}$.

我们想要求一个由 $p(x) = r_0 + r_1x_1 + r_2x_2^2 $ 给出的多项式,使得 $p(1)=4, p(2)=9, p(3)=12$。为求这个多项式,把已知值代入 $x$,并解出 $r_0, r_1, r_2$:$\begin{aligned} p(1) &= r_0 + r_1 + r_2 = 4 \\ p(2) &= r_0 + 2r_1 + 4r_2 = 9 \\ p(3) &= r_0 + 3r_1 + 9r_2 = 12 \end{aligned}$。

Writing the augmented matrix, we have $\left[ \begin{array}{rrr|r} 1 & 1 & 1 & 4 \\ 1 & 2 & 4 & 9 \\ 1 & 3 & 9 & 12 \end{array} \right] $.

写出增广矩阵,我们有 $\left[ \begin{array}{rrr|r} 1 & 1 & 1 & 4 \\ 1 & 2 & 4 & 9 \\ 1 & 3 & 9 & 12 \end{array} \right] $。

After row operations, the resulting matrix is $\left[ \begin{array}{rrr|r} 1 & 0 & 0 & -3 \\ 0 & 1 & 0 & 8 \\ 0 & 0 & 1 & -1 \end{array} \right] $.

经过行运算,得到的矩阵是 $\left[ \begin{array}{rrr|r} 1 & 0 & 0 & -3 \\ 0 & 1 & 0 & 8 \\ 0 & 0 & 1 & -1 \end{array} \right] $。

Therefore the solution to the system is $r_0 = -3, r_1 = 8, r_2 = -1$ and the required interpolating polynomial is $p(x) = -3 + 8x - x^2 $.

因此方程组的解为 $r_0 = -3, r_1 = 8, r_2 = -1$,所求的插值多项式为 $p(x) = -3 + 8x - x^2 $。

To estimate the value for $x = \frac{1}{2}$, we calculate $p(\frac{1}{2})$: $\begin{aligned} p(\frac{1}{2}) &= -3 + 8(\frac{1}{2}) - (\frac{1}{2})^2 \\ &= -3 + 4 - \frac{1}{4} \\ &= \frac{3}{4} \end{aligned}$.

为估计 $x = \frac{1}{2}$ 的值,我们计算 $p(\frac{1}{2})$:$\begin{aligned} p(\frac{1}{2}) &= -3 + 8(\frac{1}{2}) - (\frac{1}{2})^2 \\ &= -3 + 4 - \frac{1}{4} \\ &= \frac{3}{4} \end{aligned}$。

This procedure can be used for any number of data points, and any degree of polynomial. The steps are outlined below.

这一过程可用于任意多个数据点、任意次数的多项式。具体步骤如下。

过程 2:求插值多项式 Finding an Interpolation Polynomial

Suppose that values of $x$ and corresponding values of $y$ are given, such that the actual relationship between $x$ and $y$ is unknown. Then, values of $y$ can be estimated using an interpolating polynomial $p(x)$. If given $x_1, ..., x_n$ and the corresponding $y_1, ..., y_n$, the procedure to find $p(x)$ is as follows:

假设给出了 $x$ 的值以及对应的 $y$ 值,而 $x$ 与 $y$ 之间的真实关系未知。那么,$y$ 的值可以用插值多项式 $p(x)$ 来估计。若给定 $x_1, ..., x_n$ 以及对应的 $y_1, ..., y_n$,求 $p(x)$ 的过程如下:
  1. The desired polynomial $p(x)$ is given by $p(x) = r_0 + r_1 x + r_2 x^2 + ... + r_{n-1}x^{n-1} $.
  2. $p(x_i) = y_i$ for all $i = 1, 2, ...,n$ so that $\begin{array}{c} r_0 + r_1x_1 + r_2 x_1^2 + ... + r_{n-1}x_1^{n-1} = y_1 \\ r_0 + r_1x_2 + r_2 x_2^2 + ... + r_{n-1}x_2^{n-1} = y_2 \\ \vdots \\ r_0 + r_1x_n + r_2 x_n^2 + ... + r_{n-1}x_n^{n-1} = y_n \end{array} $.
  3. Set up the augmented matrix of this system of equations $\left[ \begin{array}{rrrrr|r} 1 & x_1 & x_1^2 & \cdots & x_1^{n-1} & y_1 \\ 1 & x_2 & x_2^2 & \cdots & x_2^{n-1} & y_2 \\ \vdots & \vdots & \vdots & & \vdots & \vdots \\ 1 & x_n & x_n^2 & \cdots & x_n^{n-1} & y_n \end{array} \right] $.
  4. Solving this system will result in a unique solution $r_0, r_1, \cdots, r_{n-1}$. Use these values to construct $p(x)$, and estimate the value of $p(a)$ for any $x=a$.
  1. 所求多项式 $p(x)$ 为 $p(x) = r_0 + r_1 x + r_2 x^2 + ... + r_{n-1}x^{n-1} $。
  2. 对所有 $i = 1, 2, ...,n$ 有 $p(x_i) = y_i$,即 $\begin{array}{c} r_0 + r_1x_1 + r_2 x_1^2 + ... + r_{n-1}x_1^{n-1} = y_1 \\ r_0 + r_1x_2 + r_2 x_2^2 + ... + r_{n-1}x_2^{n-1} = y_2 \\ \vdots \\ r_0 + r_1x_n + r_2 x_n^2 + ... + r_{n-1}x_n^{n-1} = y_n \end{array} $。
  3. 列出这个方程组的增广矩阵 $\left[ \begin{array}{rrrrr|r} 1 & x_1 & x_1^2 & \cdots & x_1^{n-1} & y_1 \\ 1 & x_2 & x_2^2 & \cdots & x_2^{n-1} & y_2 \\ \vdots & \vdots & \vdots & & \vdots & \vdots \\ 1 & x_n & x_n^2 & \cdots & x_n^{n-1} & y_n \end{array} \right] $。
  4. 求解这个方程组会得到一个唯一解 $r_0, r_1, \cdots, r_{n-1}$。用这些值构造 $p(x)$,并对任意 $x=a$ 估计 $p(a)$ 的值。

This procedure motivates the following theorem.

这一过程引出下面的定理。

定理 2:多项式插值 Polynomial Interpolation

Given $n$ data points $(x_1, y_1), (x_2, y_2), \cdots, (x_n, y_n)$ with the $x_i$ distinct, there is a unique polynomial $p(x) = r_0 + r_1x + r_2x^2 + \cdots + r_{n-1}x^{n-1}$ such that $p(x_i) = y_i$ for $i=1,2,\cdots, n$. The resulting polynomial $p(x)$ is called the interpolating polynomial for the data points.

给定 $n$ 个数据点 $(x_1, y_1), (x_2, y_2), \cdots, (x_n, y_n)$,其中各 $x_i$ 互不相同,则存在唯一的多项式 $p(x) = r_0 + r_1x + r_2x^2 + \cdots + r_{n-1}x^{n-1}$,使得对 $i=1,2,\cdots, n$ 有 $p(x_i) = y_i$。所得的多项式 $p(x)$ 称为这些数据点的插值多项式

We conclude this section with another example.

我们再用一个例子结束本节。

示例 7:多项式插值 Polynomial Interpolation

Consider the data points $(0,1), (1,2), (3,22), (5,66)$. Find an interpolating polynomial $p(x)$ of degree at most three, and estimate the value of $p(2)$.

考虑数据点 $(0,1), (1,2), (3,22), (5,66)$。求一个次数至多为三的多项式作为插值多项式 $p(x)$,并估计 $p(2)$ 的值。

Solution

The desired polynomial $p(x)$ is given by: $p(x) = r_0 + r_1 x + r_2x^2 + r_3x^3 $.

所求多项式 $p(x)$ 为:$p(x) = r_0 + r_1 x + r_2x^2 + r_3x^3 $。

Using the given points, the system of equations is $\begin{aligned} p(0) &= r_0 = 1 \\ p(1) &= r_0 + r_1 + r_2 + r_3 = 2 \\ p(3) &= r_0 + 3r_1 + 9r_2 + 27r_3 = 22 \\ p(5) &= r_0 + 5r_1 + 25r_2 + 125r_3 = 66 \end{aligned}$.

利用给定的点,方程组为 $\begin{aligned} p(0) &= r_0 = 1 \\ p(1) &= r_0 + r_1 + r_2 + r_3 = 2 \\ p(3) &= r_0 + 3r_1 + 9r_2 + 27r_3 = 22 \\ p(5) &= r_0 + 5r_1 + 25r_2 + 125r_3 = 66 \end{aligned}$。

The augmented matrix is given by: $\left[ \begin{array}{rrrr|r} 1 & 0 & 0 & 0 & 1 \\ 1 & 1 & 1 & 1 & 2 \\ 1 & 3 & 9 & 27 & 22 \\ 1 & 5 & 25 & 125 & 66 \end{array} \right] $.

增广矩阵为:$\left[ \begin{array}{rrrr|r} 1 & 0 & 0 & 0 & 1 \\ 1 & 1 & 1 & 1 & 2 \\ 1 & 3 & 9 & 27 & 22 \\ 1 & 5 & 25 & 125 & 66 \end{array} \right] $。

The resulting matrix is $\left[ \begin{array}{rrrr|r} 1 & 0 & 0 & 0 & 1 \\ 0 & 1 & 0 & 0 & -2 \\ 0 & 0 & 1 & 0 & 3 \\ 0 & 0 & 0 & 1 & 0 \end{array} \right] $.

得到的矩阵是 $\left[ \begin{array}{rrrr|r} 1 & 0 & 0 & 0 & 1 \\ 0 & 1 & 0 & 0 & -2 \\ 0 & 0 & 1 & 0 & 3 \\ 0 & 0 & 0 & 1 & 0 \end{array} \right] $。

Therefore, $r_0 = 1, r_1 = -2, r_2 = 3, r_3 = 0$ and $p(x) = 1 -2x + 3x^2$. To estimate the value of $p(2)$, we compute $p(2) = 1 -2(2) + 3(2^2) = 1 - 4 + 12 = 9$.

因此 $r_0 = 1, r_1 = -2, r_2 = 3, r_3 = 0$,$p(x) = 1 -2x + 3x^2$。为估计 $p(2)$ 的值,我们计算 $p(2) = 1 -2(2) + 3(2^2) = 1 - 4 + 12 = 9$。

习题 Exercises

习题 1 Exercise 1

Find the determinants of the following matrices.

求下列矩阵的行列式。
  1. $\left[\begin{array}{cc}1&3\\0&2\end{array}\right]$
  2. $\left[\begin{array}{cc}0&3\\0&2\end{array}\right]$
  3. $\left[\begin{array}{cc}4&3\\6&2\end{array}\right]$
  1. $\left[\begin{array}{cc}1&3\\0&2\end{array}\right]$
  2. $\left[\begin{array}{cc}0&3\\0&2\end{array}\right]$
  3. $\left[\begin{array}{cc}4&3\\6&2\end{array}\right]$

习题 2 Exercise 2

Let $A=\left[\begin{array}{ccc}1&2&4\\0&1&3\\-2&5&1\end{array}\right]$. Find the following.

设 $A=\left[\begin{array}{ccc}1&2&4\\0&1&3\\-2&5&1\end{array}\right]$,求下列各值。
  1. $minor(A)_{11}$
  2. $minor(A)_{21}$
  3. $minor(A)_{32}$
  4. $cof(A)_{11}$
  5. $cof(A)_{21}$
  6. $cof(A)_{32}$
  1. $minor(A)_{11}$
  2. $minor(A)_{21}$
  3. $minor(A)_{32}$
  4. $cof(A)_{11}$
  5. $cof(A)_{21}$
  6. $cof(A)_{32}$

习题 3 Exercise 3

Find the determinants of the following matrices.

求下列矩阵的行列式。
  1. $\left[\begin{array}{ccc}1&2&3\\3&2&2\\0&9&8\end{array}\right]$
  2. $\left[\begin{array}{ccc}4&3&2\\1&7&8\\3&-9&3\end{array}\right]$
  3. $\left[\begin{array}{cccc}1&2&3&2\\1&3&2&3\\4&1&5&0\\1&2&1&2\end{array}\right]$
  1. $\left[\begin{array}{ccc}1&2&3\\3&2&2\\0&9&8\end{array}\right]$
  2. $\left[\begin{array}{ccc}4&3&2\\1&7&8\\3&-9&3\end{array}\right]$
  3. $\left[\begin{array}{cccc}1&2&3&2\\1&3&2&3\\4&1&5&0\\1&2&1&2\end{array}\right]$

Answer: The answers are $31$, $375$, and $-2$ respectively.

答案:答案分别为 $31$、$375$、$-2$。

习题 4 Exercise 4

Find the following determinant by expanding along the first row and second column. $\left\|\begin{array}{ccc}1&2&1\\2&1&3\\2&1&1\end{array}\right\|$

分别沿第一行、第二列展开求下列行列式:$\left\|\begin{array}{ccc}1&2&1\\2&1&3\\2&1&1\end{array}\right\|$。

Answer: $\left\|\begin{array}{ccc}1&2&1\\2&1&3\\2&1&1\end{array}\right\|=6$

答案:$\left\|\begin{array}{ccc}1&2&1\\2&1&3\\2&1&1\end{array}\right\|=6$

习题 5 Exercise 5

Find the following determinant by expanding along the first column and third row. $\left\|\begin{array}{ccc}1&2&1\\1&0&1\\2&1&1\end{array}\right\|$

分别沿第一列、第三行展开求下列行列式:$\left\|\begin{array}{ccc}1&2&1\\1&0&1\\2&1&1\end{array}\right\|$。

Answer: $\left\|\begin{array}{ccc}1&2&1\\1&0&1\\2&1&1\end{array}\right\|=2$

答案:$\left\|\begin{array}{ccc}1&2&1\\1&0&1\\2&1&1\end{array}\right\|=2$

习题 6 Exercise 6

Find the following determinant by expanding along the second row and first column. $\left\|\begin{array}{ccc}1&2&1\\2&1&3\\2&1&1\end{array}\right\|$

分别沿第二行、第一列展开求下列行列式:$\left\|\begin{array}{ccc}1&2&1\\2&1&3\\2&1&1\end{array}\right\|$。

Answer: $\left\|\begin{array}{ccc}1&2&1\\2&1&3\\2&1&1\end{array}\right\|=6$

答案:$\left\|\begin{array}{ccc}1&2&1\\2&1&3\\2&1&1\end{array}\right\|=6$

习题 7 Exercise 7

Compute the determinant by cofactor expansion. Pick the easiest row or column to use. $\left\|\begin{array}{cccc}1&0&0&1\\2&1&1&0\\0&0&0&2\\2&1&3&1\end{array}\right\|$

用代数余子式展开计算下列行列式,选取最容易的一行或一列。$\left\|\begin{array}{cccc}1&0&0&1\\2&1&1&0\\0&0&0&2\\2&1&3&1\end{array}\right\|$。

Answer: $\left\|\begin{array}{cccc}1&0&0&1\\2&1&1&0\\0&0&0&2\\2&1&3&1\end{array}\right\|=-4$

答案:$\left\|\begin{array}{cccc}1&0&0&1\\2&1&1&0\\0&0&0&2\\2&1&3&1\end{array}\right\|=-4$

习题 8 Exercise 8

Find the determinant of the following matrices.

求下列矩阵的行列式。
  1. $A=\left[\begin{array}{cc}1&-34\\0&2\end{array}\right]$
  2. $A=\left[\begin{array}{ccc}4&3&14\\0&-2&0\\0&0&5\end{array}\right]$
  3. $A=\left[\begin{array}{cccc}2&3&15&0\\0&4&1&7\\0&0&-3&5\\0&0&0&1\end{array}\right]$
  1. $A=\left[\begin{array}{cc}1&-34\\0&2\end{array}\right]$
  2. $A=\left[\begin{array}{ccc}4&3&14\\0&-2&0\\0&0&5\end{array}\right]$
  3. $A=\left[\begin{array}{cccc}2&3&15&0\\0&4&1&7\\0&0&-3&5\\0&0&0&1\end{array}\right]$

习题 9 Exercise 9

An operation is done to get from the first matrix to the second. Identify what was done and tell how it will affect the value of the determinant. $\left[\begin{array}{cc}a&b\\c&d\end{array}\right]\to\cdots\to\left[\begin{array}{cc}a&c\\b&d\end{array}\right]$

为从第一个矩阵得到第二个矩阵做了一次运算。辨认所做的是什么运算,并说明它将如何影响行列式的值:$\left[\begin{array}{cc}a&b\\c&d\end{array}\right]\to\cdots\to\left[\begin{array}{cc}a&c\\b&d\end{array}\right]$。

Answer: It does not change the determinant. This was just taking the transpose.

答案:它不改变行列式。这只是取了转置。

习题 10 Exercise 10

An operation is done to get from the first matrix to the second. Identify what was done and tell how it will affect the value of the determinant. $\left[\begin{array}{cc}a&b\\c&d\end{array}\right]\to\cdots\to\left[\begin{array}{cc}c&d\\a&b\end{array}\right]$

为从第一个矩阵得到第二个矩阵做了一次运算。辨认所做的是什么运算,并说明它将如何影响行列式的值:$\left[\begin{array}{cc}a&b\\c&d\end{array}\right]\to\cdots\to\left[\begin{array}{cc}c&d\\a&b\end{array}\right]$。

Answer: In this case two rows were switched and so the resulting determinant is $-1$ times the first.

答案:在这种情况下交换了两行,因此得到的行列式是第一个行列式的 $-1$ 倍。

习题 11 Exercise 11

An operation is done to get from the first matrix to the second. Identify what was done and tell how it will affect the value of the determinant. $\left[\begin{array}{cc}a&b\\c&d\end{array}\right]\to\cdots\to\left[\begin{array}{cc}a&b\\a+c&b+d\end{array}\right]$

为从第一个矩阵得到第二个矩阵做了一次运算。辨认所做的是什么运算,并说明它将如何影响行列式的值:$\left[\begin{array}{cc}a&b\\c&d\end{array}\right]\to\cdots\to\left[\begin{array}{cc}a&b\\a+c&b+d\end{array}\right]$。

Answer: The determinant is unchanged. It was just the first row added to the second.

答案:行列式保持不变。这只是把第一行加到第二行上。

习题 12 Exercise 12

An operation is done to get from the first matrix to the second. Identify what was done and tell how it will affect the value of the determinant. $\left[\begin{array}{cc}a&b\\c&d\end{array}\right]\to\cdots\to\left[\begin{array}{cc}a&b\\2c&2d\end{array}\right]$

为从第一个矩阵得到第二个矩阵做了一次运算。辨认所做的是什么运算,并说明它将如何影响行列式的值:$\left[\begin{array}{cc}a&b\\c&d\end{array}\right]\to\cdots\to\left[\begin{array}{cc}a&b\\2c&2d\end{array}\right]$。

Answer: The second row was multiplied by $2$ so the determinant of the result is $2$ times the original determinant.

答案:第二行被乘以 $2$,因此结果的行列式是原行列式的 $2$ 倍。

习题 13 Exercise 13

An operation is done to get from the first matrix to the second. Identify what was done and tell how it will affect the value of the determinant. $\left[\begin{array}{cc}a&b\\c&d\end{array}\right]\to\cdots\to\left[\begin{array}{cc}b&a\\d&c\end{array}\right]$

为从第一个矩阵得到第二个矩阵做了一次运算。辨认所做的是什么运算,并说明它将如何影响行列式的值:$\left[\begin{array}{cc}a&b\\c&d\end{array}\right]\to\cdots\to\left[\begin{array}{cc}b&a\\d&c\end{array}\right]$。

Answer: In this case the two columns were switched so the determinant of the second is $-1$ times the determinant of the first.

答案:在这种情况下交换了两列,因此第二个的行列式是第一个行列式的 $-1$ 倍。

习题 14 Exercise 14

Let $A$ be an $r\times r$ matrix and suppose there are $r-1$ rows (columns) such that all rows (columns) are linear combinations of these $r-1$ rows (columns). Show $\det(A) = 0$.

设 $A$ 是 $r\times r$ 矩阵,并假设存在 $r-1$ 行(列),使得所有行(列)都是这 $r-1$ 行(列)的线性组合。证明 $\det(A) = 0$。

Answer: If the determinant is nonzero, then it will remain nonzero with row operations applied to the matrix. However, by assumption, you can obtain a row of zeros by doing row operations. Thus the determinant must have been zero after all.

答案:若行列式非零,则对矩阵施行行运算后它仍保持非零。然而,根据假设,你可以通过行运算得到一行全零。因此行列式终究一定为零。

习题 15 Exercise 15

Show $\det(aA) = a^n \det(A)$ for an $n\times n$ matrix $A$ and scalar $a$.

对 $n\times n$ 矩阵 $A$ 和标量 $a$,证明 $\det(aA) = a^n \det(A)$。

Answer: $\det(aA) = \det(aIA) = \det(aI)\det(A) = a^n \det(A)$. The matrix which has $a$ down the main diagonal has determinant equal to $a^n$.

答案:$\det(aA) = \det(aIA) = \det(aI)\det(A) = a^n \det(A)$。主对角线上为 $a$ 的矩阵,其行列式等于 $a^n$。

习题 16 Exercise 16

Construct $2\times 2$ matrices $A$ and $B$ to show that the $\det A\det B = \det(AB)$.

构造 $2\times 2$ 矩阵 $A$、$B$,以说明 $\det A\det B = \det(AB)$。

Answer: $\det\left(\left[\begin{array}{cc}1&2\\3&4\end{array}\right]\left[\begin{array}{cc}-1&2\\-5&6\end{array}\right]\right)=-8$ and $\det\left[\begin{array}{cc}1&2\\3&4\end{array}\right]\det\left[\begin{array}{cc}-1&2\\-5&6\end{array}\right]=-2\times 4=-8$.

答案:$\det\left(\left[\begin{array}{cc}1&2\\3&4\end{array}\right]\left[\begin{array}{cc}-1&2\\-5&6\end{array}\right]\right)=-8$,且 $\det\left[\begin{array}{cc}1&2\\3&4\end{array}\right]\det\left[\begin{array}{cc}-1&2\\-5&6\end{array}\right]=-2\times 4=-8$。

习题 17 Exercise 17

Is it true that $\det(A+B) = \det(A)+\det(B)$? If this is so, explain why. If it is not so, give a counter example.

$\det(A+B) = \det(A)+\det(B)$ 是否成立?若成立,解释为什么;若不成立,给出一个反例。

Answer: This is not true at all. Consider $A=\left[\begin{array}{cc}1&0\\0&1\end{array}\right], B=\left[\begin{array}{cc}-1&0\\0&-1\end{array}\right]$.

答案:这完全不成立。考虑 $A=\left[\begin{array}{cc}1&0\\0&1\end{array}\right], B=\left[\begin{array}{cc}-1&0\\0&-1\end{array}\right]$。

习题 18 Exercise 18

An $n\times n$ matrix is called nilpotent if for some positive integer, $k$ it follows $A^k = 0$. If $A$ is a nilpotent matrix and $k$ is the smallest possible integer such that $A^k = 0$, what are the possible values of $\det(A)$?

若对某个正整数 $k$ 有 $A^k = 0$,则称 $n\times n$ 矩阵 $A$ 是幂零(nilpotent)的。若 $A$ 是幂零矩阵,且 $k$ 是使得 $A^k = 0$ 的最小的正整数,那么 $\det(A)$ 的可能取值有哪些?

Answer: It must be $0$ because $0 = \det(0) = \det (A^k) = (\det(A))^k$.

答案:它一定为 $0$,因为 $0 = \det(0) = \det (A^k) = (\det(A))^k$。

习题 19 Exercise 19

A matrix is said to be orthogonal if $A^TA = I$. Thus the inverse of an orthogonal matrix is just its transpose. What are the possible values of $\det(A)$ if $A$ is an orthogonal matrix?

若 $A^TA = I$,则称矩阵 $A$ 是正交(orthogonal)的。因此正交矩阵的逆就是它的转置。若 $A$ 是正交矩阵,则 $\det(A)$ 的可能取值有哪些?

Answer: You would need $\det (AA^T) = \det(A)\det (A^T) = \det(A)^2 = 1$ and so $\det(A)$ is $1$ or $-1$.

答案:你需要 $\det (AA^T) = \det(A)\det (A^T) = \det(A)^2 = 1$,所以 $\det(A)$ 为 $1$ 或 $-1$。

习题 20 Exercise 20

Let $A$ and $B$ be two $n\times n$ matrices. $A \sim B$ ($A$ is similar to $B$) means there exists an invertible matrix $P$ such that $A = P^{-1}BP$. Show that if $A \sim B$, then $\det(A) = \det(B)$.

设 $A$、$B$ 是两个 $n\times n$ 矩阵。$A \sim B$($A$ 与 $B$ 相似)意为存在可逆矩阵 $P$,使得 $A = P^{-1}BP$。证明:若 $A \sim B$,则 $\det(A) = \det(B)$。

Answer: $\det(A) = \det(P^{-1}BP) = \det(P^{-1})\det(B)\det(P) = \det(B)\det(P^{-1}P) = \det(B)$.

答案:$\det(A) = \det(P^{-1}BP) = \det(P^{-1})\det(B)\det(P) = \det(B)\det(P^{-1}P) = \det(B)$。

习题 21 Exercise 21

Tell whether each statement is true or false. If true, provide a proof. If false, provide a counter example.

判断下列每个命题是真还是假。若真,给出证明;若假,给出反例。
  1. If $A$ is a $3\times 3$ matrix with a zero determinant, then one column must be a multiple of some other column.
  2. If any two columns of a square matrix are equal, then the determinant of the matrix equals zero.
  3. For two $n\times n$ matrices $A$ and $B$, $\det(A+B) = \det(A) +\det(B)$.
  4. For an $n\times n$ matrix $A$, $\det(3A) = 3 \det(A)$.
  5. If $A^{-1}$ exists then $\det(A^{-1}) = \det(A)^{-1}$.
  6. If $B$ is obtained by multiplying a single row of $A$ by $4$ then $\det(B) = 4 \det(A)$.
  7. For $A$ an $n\times n$ matrix, $\det(-A) = (-1)^n \det(A)$.
  8. If $A$ is a real $n\times n$ matrix, then $\det (A^TA) \geq 0$.
  9. If $A^k = 0$ for some positive integer $k$, then $\det(A) = 0$.
  10. If $AX = 0$ for some $X\neq 0$, then $\det(A) = 0$.
  1. 若 $A$ 是 $3\times 3$ 矩阵且行列式为零,则必有一列是另一列的倍数。
  2. 若方阵的任意两列相等,则该矩阵的行列式等于零。
  3. 对两个 $n\times n$ 矩阵 $A$、$B$,$\det(A+B) = \det(A) +\det(B)$。
  4. 对 $n\times n$ 矩阵 $A$,$\det(3A) = 3 \det(A)$。
  5. 若 $A^{-1}$ 存在,则 $\det(A^{-1}) = \det(A)^{-1}$。
  6. 若 $B$ 是把 $A$ 的某一行乘以 $4$ 所得,则 $\det(B) = 4 \det(A)$。
  7. 对 $n\times n$ 矩阵 $A$,$\det(-A) = (-1)^n \det(A)$。
  8. 若 $A$ 是实 $n\times n$ 矩阵,则 $\det (A^TA) \geq 0$。
  9. 若对某个正整数 $k$ 有 $A^k = 0$,则 $\det(A) = 0$。
  10. 若对某个非零的 $X$ 有 $AX = 0$,则 $\det(A) = 0$。

Answer: (1) False, consider $\left[\begin{array}{ccc}1&1&2\\-1&5&4\\0&3&3\end{array}\right]$. (2) True. (3) False. (4) False. (5) True. (6) False. (7) True. (8) True. (9) True. (10) True.

答案:(1)假,例如 $\left[\begin{array}{ccc}1&1&2\\-1&5&4\\0&3&3\end{array}\right]$。(2)真。(3)假。(4)假。(5)真。(6)假。(7)真。(8)真。(9)真。(10)真。

习题 22 Exercise 22

Find the determinant using row operations to first simplify. $\left\|\begin{array}{ccc}1&2&1\\2&3&2\\-4&1&2\end{array}\right\|$

先用行运算化简,再求下列行列式:$\left\|\begin{array}{ccc}1&2&1\\2&3&2\\-4&1&2\end{array}\right\|$。

Answer: $\left\|\begin{array}{ccc}1&2&1\\2&3&2\\-4&1&2\end{array}\right\|=-6$

答案:$\left\|\begin{array}{ccc}1&2&1\\2&3&2\\-4&1&2\end{array}\right\|=-6$

习题 23 Exercise 23

Find the determinant using row operations to first simplify. $\left\|\begin{array}{ccc}2&1&3\\2&4&2\\1&4&-5\end{array}\right\|$

先用行运算化简,再求下列行列式:$\left\|\begin{array}{ccc}2&1&3\\2&4&2\\1&4&-5\end{array}\right\|$。

Answer: $\left\|\begin{array}{ccc}2&1&3\\2&4&2\\1&4&-5\end{array}\right\|=-32$

答案:$\left\|\begin{array}{ccc}2&1&3\\2&4&2\\1&4&-5\end{array}\right\|=-32$

习题 24 Exercise 24

Find the determinant using row operations to first simplify. $\left\|\begin{array}{cccc}1&2&1&2\\3&1&-2&3\\-1&0&3&1\\2&3&2&-2\end{array}\right\|$

先用行运算化简,再求下列行列式:$\left\|\begin{array}{cccc}1&2&1&2\\3&1&-2&3\\-1&0&3&1\\2&3&2&-2\end{array}\right\|$。

Answer: One can row reduce this using only row operation 3 to $\left[\begin{array}{cccc}1&2&1&2\\0&-5&-5&-3\\0&0&2&\frac{9}{5}\\0&0&0&-\frac{63}{10}\end{array}\right]$ and therefore, the determinant is $-63$. $\left\|\begin{array}{cccc}1&2&1&2\\3&1&-2&3\\-1&0&3&1\\2&3&2&-2\end{array}\right\|=63$

答案:只用行运算 3 即可行化简到 $\left[\begin{array}{cccc}1&2&1&2\\0&-5&-5&-3\\0&0&2&\frac{9}{5}\\0&0&0&-\frac{63}{10}\end{array}\right]$,因此行列式为 $-63$。$\left\|\begin{array}{cccc}1&2&1&2\\3&1&-2&3\\-1&0&3&1\\2&3&2&-2\end{array}\right\|=63$

习题 25 Exercise 25

Find the determinant using row operations to first simplify. $\left\|\begin{array}{cccc}1&4&1&2\\3&2&-2&3\\-1&0&3&3\\2&1&2&-2\end{array}\right\|$

先用行运算化简,再求下列行列式:$\left\|\begin{array}{cccc}1&4&1&2\\3&2&-2&3\\-1&0&3&3\\2&1&2&-2\end{array}\right\|$。

Answer: One can row reduce this using only row operation 3 to $\left[\begin{array}{cccc}1&4&1&2\\0&-10&-5&-3\\0&0&2&\frac{19}{5}\\0&0&0&-\frac{211}{20}\end{array}\right]$ Thus the determinant is given by $\left\|\begin{array}{cccc}1&4&1&2\\3&2&-2&3\\-1&0&3&3\\2&1&2&-2\end{array}\right\|=211$

答案:只用行运算 3 即可行化简到 $\left[\begin{array}{cccc}1&4&1&2\\0&-10&-5&-3\\0&0&2&\frac{19}{5}\\0&0&0&-\frac{211}{20}\end{array}\right]$。因此行列式为 $\left\|\begin{array}{cccc}1&4&1&2\\3&2&-2&3\\-1&0&3&3\\2&1&2&-2\end{array}\right\|=211$

习题 26 Exercise 26

Let $A=\left[\begin{array}{ccc}1&2&3\\0&2&1\\3&1&0\end{array}\right]$ Determine whether the matrix $A$ has an inverse by finding whether the determinant is non zero. If the determinant is nonzero, find the inverse using the formula for the inverse which involves the cofactor matrix.

设 $A=\left[\begin{array}{ccc}1&2&3\\0&2&1\\3&1&0\end{array}\right]$。通过判断行列式是否非零来确定矩阵 $A$ 是否有逆。若行列式非零,用涉及代数余子式矩阵的求逆公式求出逆。

Answer: $\det\left[\begin{array}{ccc}1&2&3\\0&2&1\\3&1&0\end{array}\right]=-13$, and so it has an inverse. This inverse is $\frac{1}{-13}\left[\begin{array}{rrr}\left\|\begin{array}{cc}2&1\\1&0\end{array}\right\|&-\left\|\begin{array}{cc}0&1\\3&0\end{array}\right\|&\left\|\begin{array}{cc}0&2\\3&1\end{array}\right\|\\-\left\|\begin{array}{cc}2&3\\1&0\end{array}\right\|&\left\|\begin{array}{cc}1&3\\3&0\end{array}\right\|&-\left\|\begin{array}{cc}1&2\\3&1\end{array}\right\|\\\left\|\begin{array}{cc}2&3\\2&1\end{array}\right\|&-\left\|\begin{array}{cc}1&3\\0&1\end{array}\right\|&\left\|\begin{array}{cc}1&2\\0&2\end{array}\right\|\end{array}\right]^T =\frac{1}{-13}\left[\begin{array}{ccc}-1&3&-6\\3&-9&5\\-4&-1&2\end{array}\right]^T =\left[\begin{array}{ccc}\frac{1}{13}&-\frac{3}{13}&\frac{4}{13}\\-\frac{3}{13}&\frac{9}{13}&\frac{1}{13}\\\frac{6}{13}&-\frac{5}{13}&-\frac{2}{13}\end{array}\right]$.

答案:$\det\left[\begin{array}{ccc}1&2&3\\0&2&1\\3&1&0\end{array}\right]=-13$,所以它有逆。这个逆为 $\frac{1}{-13}\left[\begin{array}{rrr}\left\|\begin{array}{cc}2&1\\1&0\end{array}\right\|&-\left\|\begin{array}{cc}0&1\\3&0\end{array}\right\|&\left\|\begin{array}{cc}0&2\\3&1\end{array}\right\|\\-\left\|\begin{array}{cc}2&3\\1&0\end{array}\right\|&\left\|\begin{array}{cc}1&3\\3&0\end{array}\right\|&-\left\|\begin{array}{cc}1&2\\3&1\end{array}\right\|\\\left\|\begin{array}{cc}2&3\\2&1\end{array}\right\|&-\left\|\begin{array}{cc}1&3\\0&1\end{array}\right\|&\left\|\begin{array}{cc}1&2\\0&2\end{array}\right\|\end{array}\right]^T =\frac{1}{-13}\left[\begin{array}{ccc}-1&3&-6\\3&-9&5\\-4&-1&2\end{array}\right]^T =\left[\begin{array}{ccc}\frac{1}{13}&-\frac{3}{13}&\frac{4}{13}\\-\frac{3}{13}&\frac{9}{13}&\frac{1}{13}\\\frac{6}{13}&-\frac{5}{13}&-\frac{2}{13}\end{array}\right]$。

习题 27 Exercise 27

Let $A=\left[\begin{array}{ccc}1&2&0\\0&2&1\\3&1&1\end{array}\right]$ Determine whether the matrix $A$ has an inverse by finding whether the determinant is non zero. If the determinant is nonzero, find the inverse using the formula for the inverse.

设 $A=\left[\begin{array}{ccc}1&2&0\\0&2&1\\3&1&1\end{array}\right]$。通过判断行列式是否非零来确定矩阵 $A$ 是否有逆。若行列式非零,用求逆公式求出逆。

Answer: $\det\left[\begin{array}{ccc}1&2&0\\0&2&1\\3&1&1\end{array}\right]=7$, so it has an inverse. This inverse is $\frac{1}{7}\left[\begin{array}{ccc}1&3&-6\\-2&1&5\\2&-1&2\end{array}\right]^T=\left[\begin{array}{ccc}\frac{1}{7}&-\frac{2}{7}&\frac{2}{7}\\\frac{3}{7}&\frac{1}{7}&-\frac{1}{7}\\-\frac{6}{7}&\frac{5}{7}&\frac{2}{7}\end{array}\right]$.

答案:$\det\left[\begin{array}{ccc}1&2&0\\0&2&1\\3&1&1\end{array}\right]=7$,所以它有逆。这个逆为 $\frac{1}{7}\left[\begin{array}{ccc}1&3&-6\\-2&1&5\\2&-1&2\end{array}\right]^T=\left[\begin{array}{ccc}\frac{1}{7}&-\frac{2}{7}&\frac{2}{7}\\\frac{3}{7}&\frac{1}{7}&-\frac{1}{7}\\-\frac{6}{7}&\frac{5}{7}&\frac{2}{7}\end{array}\right]$。

习题 28 Exercise 28

Let $A=\left[\begin{array}{ccc}1&3&3\\2&4&1\\0&1&1\end{array}\right]$ Determine whether the matrix $A$ has an inverse by finding whether the determinant is non zero. If the determinant is nonzero, find the inverse using the formula for the inverse.

设 $A=\left[\begin{array}{ccc}1&3&3\\2&4&1\\0&1&1\end{array}\right]$。通过判断行列式是否非零来确定矩阵 $A$ 是否有逆。若行列式非零,用求逆公式求出逆。

Answer: $\det\left[\begin{array}{ccc}1&3&3\\2&4&1\\0&1&1\end{array}\right]=3$, so it has an inverse which is $\left[\begin{array}{ccc}1&0&-3\\-\frac{2}{3}&\frac{1}{3}&\frac{5}{3}\\\frac{2}{3}&-\frac{1}{3}&-\frac{2}{3}\end{array}\right]$.

答案:$\det\left[\begin{array}{ccc}1&3&3\\2&4&1\\0&1&1\end{array}\right]=3$,所以它有逆,其逆为 $\left[\begin{array}{ccc}1&0&-3\\-\frac{2}{3}&\frac{1}{3}&\frac{5}{3}\\\frac{2}{3}&-\frac{1}{3}&-\frac{2}{3}\end{array}\right]$。

习题 29 Exercise 29

Let $A=\left[\begin{array}{ccc}1&2&3\\0&2&1\\2&6&7\end{array}\right]$ Determine whether the matrix $A$ has an inverse by finding whether the determinant is non zero. If the determinant is nonzero, find the inverse using the formula for the inverse.

设 $A=\left[\begin{array}{ccc}1&2&3\\0&2&1\\2&6&7\end{array}\right]$。通过判断行列式是否非零来确定矩阵 $A$ 是否有逆。若行列式非零,用求逆公式求出逆。

习题 30 Exercise 30

Let $A=\left[\begin{array}{ccc}1&0&3\\1&0&1\\3&1&0\end{array}\right]$ Determine whether the matrix $A$ has an inverse by finding whether the determinant is non zero. If the determinant is nonzero, find the inverse using the formula for the inverse.

设 $A=\left[\begin{array}{ccc}1&0&3\\1&0&1\\3&1&0\end{array}\right]$。通过判断行列式是否非零来确定矩阵 $A$ 是否有逆。若行列式非零,用求逆公式求出逆。

Answer: $\det\left[\begin{array}{ccc}1&0&3\\1&0&1\\3&1&0\end{array}\right]=2$, and so it has an inverse. The inverse turns out to equal $\left[\begin{array}{ccc}-\frac{1}{2}&\frac{3}{2}&0\\\frac{3}{2}&-\frac{9}{2}&1\\\frac{1}{2}&-\frac{1}{2}&0\end{array}\right]$.

答案:$\det\left[\begin{array}{ccc}1&0&3\\1&0&1\\3&1&0\end{array}\right]=2$,所以它有逆。这个逆结果等于 $\left[\begin{array}{ccc}-\frac{1}{2}&\frac{3}{2}&0\\\frac{3}{2}&-\frac{9}{2}&1\\\frac{1}{2}&-\frac{1}{2}&0\end{array}\right]$。

习题 31 Exercise 31

For the following matrices, determine if they are invertible. If so, use the formula for the inverse in terms of the cofactor matrix to find each inverse. If the inverse does not exist, explain why.

对下列矩阵,判断它们是否可逆。若可逆,用涉及代数余子式矩阵的求逆公式求出每个逆。若逆不存在,解释为什么。
  1. $\left[\begin{array}{cc}1&1\\1&2\end{array}\right]$
  2. $\left[\begin{array}{ccc}1&2&3\\0&2&1\\4&1&1\end{array}\right]$
  3. $\left[\begin{array}{ccc}1&2&1\\2&3&0\\0&1&2\end{array}\right]$
  1. $\left[\begin{array}{cc}1&1\\1&2\end{array}\right]$
  2. $\left[\begin{array}{ccc}1&2&3\\0&2&1\\4&1&1\end{array}\right]$
  3. $\left[\begin{array}{ccc}1&2&1\\2&3&0\\0&1&2\end{array}\right]$

Answer: (1) $\left\|\begin{array}{cc}1&1\\1&2\end{array}\right\|=1$. (2) $\left\|\begin{array}{ccc}1&2&3\\0&2&1\\4&1&1\end{array}\right\|=-15$. (3) $\left\|\begin{array}{ccc}1&2&1\\2&3&0\\0&1&2\end{array}\right\|=0$.

答案:(1)$\left\|\begin{array}{cc}1&1\\1&2\end{array}\right\|=1$。(2)$\left\|\begin{array}{ccc}1&2&3\\0&2&1\\4&1&1\end{array}\right\|=-15$。(3)$\left\|\begin{array}{ccc}1&2&1\\2&3&0\\0&1&2\end{array}\right\|=0$。

习题 32 Exercise 32

Consider the matrix $A=\left[\begin{array}{ccc}1&0&0\\0&\cos t&-\sin t\\0&\sin t&\cos t\end{array}\right]$ Does there exist a value of $t$ for which this matrix fails to have an inverse? Explain.

考虑矩阵 $A=\left[\begin{array}{ccc}1&0&0\\0&\cos t&-\sin t\\0&\sin t&\cos t\end{array}\right]$。是否存在 $t$ 的值使得这个矩阵没有逆?请解释。

Answer: No. It has a nonzero determinant for all $t$.

答案:不存在。对所有 $t$,它都有非零行列式。

习题 33 Exercise 33

Consider the matrix $A=\left[\begin{array}{ccc}1&t&t^2\\0&1&2t\\t&0&2\end{array}\right]$ Does there exist a value of $t$ for which this matrix fails to have an inverse? Explain.

考虑矩阵 $A=\left[\begin{array}{ccc}1&t&t^2\\0&1&2t\\t&0&2\end{array}\right]$。是否存在 $t$ 的值使得这个矩阵没有逆?请解释。

Answer: $\det\left[\begin{array}{ccc}1&t&t^2\\0&1&2t\\t&0&2\end{array}\right]=t^3+2$, and so it has no inverse when $t=\sqrt[3]{-2}$.

答案:$\det\left[\begin{array}{ccc}1&t&t^2\\0&1&2t\\t&0&2\end{array}\right]=t^3+2$,所以当 $t=\sqrt[3]{-2}$ 时它没有逆。

习题 34 Exercise 34

Consider the matrix $A=\left[\begin{array}{ccc}e^t &\cosh t&\sinh t\\e^t&\sinh t&\cosh t\\e^t&\cosh t&\sinh t\end{array}\right]$ Does there exist a value of $t$ for which this matrix fails to have an inverse? Explain.

考虑矩阵 $A=\left[\begin{array}{ccc}e^t &\cosh t&\sinh t\\e^t&\sinh t&\cosh t\\e^t&\cosh t&\sinh t\end{array}\right]$。是否存在 $t$ 的值使得这个矩阵没有逆?请解释。

Answer: $\det\left[\begin{array}{ccc}e^t&\cosh t&\sinh t\\e^t&\sinh t&\cosh t\\e^t&\cosh t&\sinh t\end{array}\right]=0$ and so this matrix fails to have a nonzero determinant at any value of $t$.

答案:$\det\left[\begin{array}{ccc}e^t&\cosh t&\sinh t\\e^t&\sinh t&\cosh t\\e^t&\cosh t&\sinh t\end{array}\right]=0$,所以对任意 $t$ 的值,这个矩阵都没有非零行列式。

习题 35 Exercise 35

Consider the matrix $A=\left[\begin{array}{ccc}e^t &e^{-t}\cos t&e^{-t}\sin t\\e^t&-e^{-t}\cos t-e^{-t}\sin t &-e^{-t}\sin t+e^{-t}\cos t\\e^t&2e^{-t}\sin t&-2e^{-t}\cos t\end{array}\right]$ Does there exist a value of $t$ for which this matrix fails to have an inverse? Explain.

考虑矩阵 $A=\left[\begin{array}{ccc}e^t &e^{-t}\cos t&e^{-t}\sin t\\e^t&-e^{-t}\cos t-e^{-t}\sin t &-e^{-t}\sin t+e^{-t}\cos t\\e^t&2e^{-t}\sin t&-2e^{-t}\cos t\end{array}\right]$。是否存在 $t$ 的值使得这个矩阵没有逆?请解释。

Answer: $\det\left[\begin{array}{ccc}e^t&e^{-t}\cos t&e^{-t}\sin t\\e^t&-e^{-t}\cos t-e^{-t}\sin t&-e^{-t}\sin t+e^{-t}\cos t\\e^t&2e^{-t}\sin t&-2e^{-t}\cos t\end{array}\right]=5e^{-t}\neq 0$ and so this matrix is always invertible.

答案:$\det\left[\begin{array}{ccc}e^t&e^{-t}\cos t&e^{-t}\sin t\\e^t&-e^{-t}\cos t-e^{-t}\sin t&-e^{-t}\sin t+e^{-t}\cos t\\e^t&2e^{-t}\sin t&-2e^{-t}\cos t\end{array}\right]=5e^{-t}\neq 0$,所以这个矩阵总是可逆的。

习题 36 Exercise 36

Show that if $\det(A)\neq 0$ for $A$ an $n\times n$ matrix, it follows that if $AX = 0$, then $X = 0$.

设 $A$ 是 $n\times n$ 矩阵,证明:若 $\det(A)\neq 0$,则当 $AX = 0$ 时有 $X = 0$。

Answer: If $\det(A) \neq 0$, then $A^{-1}$ exists and so you could multiply on both sides on the left by $A^{-1}$ and obtain that $X = 0$.

答案:若 $\det(A) \neq 0$,则 $A^{-1}$ 存在,于是可以在两侧左乘 $A^{-1}$,得到 $X = 0$。

习题 37 Exercise 37

Suppose $A,B$ are $n\times n$ matrices and that $AB = I$. Show that then $BA = I$. Hint: First explain why $\det(A)$, $\det(B)$ are both nonzero. Then $(AB)A = A$ and then show $BA(BA-I) = 0$. From this use what is given to conclude $A(BA-I) = 0$. Then use Exercise 36.

设 $A,B$ 是 $n\times n$ 矩阵,且 $AB = I$。证明此时 $BA = I$。提示:首先解释为什么 $\det(A)$、$\det(B)$ 都非零。然后 $(AB)A = A$,并证明 $BA(BA-I) = 0$。由此利用已知条件得出结论 $A(BA-I) = 0$。再用习题 36。

Answer: You have $1 = \det(A)\det(B)$. Hence both $A$ and $B$ have inverses. Letting $X$ be given, $A(BA-I)X = (AB)AX - AX = AX - AX = 0$ and so it follows from the above problem that $(BA-I)X = 0$. Since $X$ is arbitrary, it follows that $BA = I$.

答案:有 $1 = \det(A)\det(B)$。因此 $A$、$B$ 都有逆。给定 $X$,$A(BA-I)X = (AB)AX - AX = AX - AX = 0$,因此由上述问题可知 $(BA-I)X = 0$。由于 $X$ 是任意的,故 $BA = I$。

习题 38 Exercise 38

Use the formula for the inverse in terms of the cofactor matrix to find the inverse of the matrix $A=\left[\begin{array}{ccc}e^t&0&0\\0&e^t\cos t&e^t\sin t\\0&e^t\cos t-e^t\sin t&e^t\cos t+e^t\sin t\end{array}\right]$.

用涉及代数余子式矩阵的求逆公式,求矩阵 $A=\left[\begin{array}{ccc}e^t&0&0\\0&e^t\cos t&e^t\sin t\\0&e^t\cos t-e^t\sin t&e^t\cos t+e^t\sin t\end{array}\right]$ 的逆。

Answer: $\det\left[\begin{array}{ccc}e^t&0&0\\0&e^t\cos t&e^t\sin t\\0&e^t\cos t-e^t\sin t&e^t\cos t+e^t\sin t\end{array}\right]=e^{3t}$. Hence the inverse is $e^{-3t}\left[\begin{array}{ccc}e^{2t}&0&0\\0&e^{2t}\cos t+e^{2t}\sin t&-(e^{2t}\cos t-e^{2t}\sin t)\\0&-e^{2t}\sin t&e^{2t}\cos t\end{array}\right]^T =\left[\begin{array}{ccc}e^{-t}&0&0\\0&e^{-t}(\cos t+\sin t)&-\sin t \cdot e^{-t}\\0&-e^{-t}(\cos t-\sin t)&\cos t \cdot e^{-t}\end{array}\right]$.

答案:$\det\left[\begin{array}{ccc}e^t&0&0\\0&e^t\cos t&e^t\sin t\\0&e^t\cos t-e^t\sin t&e^t\cos t+e^t\sin t\end{array}\right]=e^{3t}$。因此逆为 $e^{-3t}\left[\begin{array}{ccc}e^{2t}&0&0\\0&e^{2t}\cos t+e^{2t}\sin t&-(e^{2t}\cos t-e^{2t}\sin t)\\0&-e^{2t}\sin t&e^{2t}\cos t\end{array}\right]^T =\left[\begin{array}{ccc}e^{-t}&0&0\\0&e^{-t}(\cos t+\sin t)&-\sin t \cdot e^{-t}\\0&-e^{-t}(\cos t-\sin t)&\cos t \cdot e^{-t}\end{array}\right]$。

习题 39 Exercise 39

Find the inverse, if it exists, of the matrix $A=\left[\begin{array}{ccc}e^t&\cos t&\sin t\\e^t&-\sin t&\cos t\\e^t&-\cos t&-\sin t\end{array}\right]$.

求矩阵 $A=\left[\begin{array}{ccc}e^t&\cos t&\sin t\\e^t&-\sin t&\cos t\\e^t&-\cos t&-\sin t\end{array}\right]$ 的逆,若它存在的话。

Answer: $\left[\begin{array}{ccc}e^t&\cos t&\sin t\\e^t&-\sin t&\cos t\\e^t&-\cos t&-\sin t\end{array}\right]^{-1} =\left[\begin{array}{ccc}\frac{1}{2}e^{-t}&0&\frac{1}{2}e^{-t}\\\frac{1}{2}\cos t+\frac{1}{2}\sin t&-\sin t&\frac{1}{2}\sin t-\frac{1}{2}\cos t\\\frac{1}{2}\sin t-\frac{1}{2}\cos t&\cos t&-\frac{1}{2}\cos t-\frac{1}{2}\sin t\end{array}\right]$.

答案:$\left[\begin{array}{ccc}e^t&\cos t&\sin t\\e^t&-\sin t&\cos t\\e^t&-\cos t&-\sin t\end{array}\right]^{-1} =\left[\begin{array}{ccc}\frac{1}{2}e^{-t}&0&\frac{1}{2}e^{-t}\\\frac{1}{2}\cos t+\frac{1}{2}\sin t&-\sin t&\frac{1}{2}\sin t-\frac{1}{2}\cos t\\\frac{1}{2}\sin t-\frac{1}{2}\cos t&\cos t&-\frac{1}{2}\cos t-\frac{1}{2}\sin t\end{array}\right]$。

习题 40 Exercise 40

Suppose $A$ is an upper triangular matrix. Show that $A^{-1}$ exists if and only if all elements of the main diagonal are non zero. Is it true that $A^{-1}$ will also be upper triangular? Explain. Could the same be concluded for lower triangular matrices?

设 $A$ 是上三角矩阵。证明 $A^{-1}$ 存在当且仅当主对角线上的所有元都非零。$A^{-1}$ 是否也必然是上三角矩阵?请解释。对于下三角矩阵能否得到同样的结论?

Answer: The given condition is what it takes for the determinant to be non zero. Recall that the determinant of an upper triangular matrix is just the product of the entries on the main diagonal.

答案:所给条件正是使行列式非零所需的。回忆一下,上三角矩阵的行列式就是主对角线上各元的乘积。

习题 41 Exercise 41

If $A$, $B$, and $C$ are each $n\times n$ matrices and $ABC$ is invertible, show why each of $A$, $B$, and $C$ are invertible.

若 $A$、$B$、$C$ 都是 $n\times n$ 矩阵,且 $ABC$ 可逆,说明为什么 $A$、$B$、$C$ 各自都可逆。

Answer: This follows because $\det(ABC) = \det(A)\det(B)\det(C)$ and if this product is nonzero, then each determinant in the product is nonzero and so each of these matrices is invertible.

答案:这是因为 $\det(ABC) = \det(A)\det(B)\det(C)$,若这个乘积非零,则乘积中的每个行列式都非零,因此这些矩阵各自都可逆。

习题 42 Exercise 42

Decide if this statement is true or false: Cramer's rule is useful for finding solutions to systems of linear equations in which there is an infinite set of solutions.

判断这个命题是真还是假:克莱默法则对于求有无穷多解集的线性方程组的解是有用的。

Answer: False.

答案:假。

习题 43 Exercise 43

Use Cramer's rule to find the solution to $\begin{aligned}x+2y&=1\\ 2x-y&=2\end{aligned}$.

用克莱默法则求 $\begin{aligned}x+2y&=1\\ 2x-y&=2\end{aligned}$ 的解。

Answer: Solution is: $x = 1, y = 0$.

答案:解为:$x = 1, y = 0$。

习题 44 Exercise 44

Use Cramer's rule to find the solution to $\begin{array}{c}x+2y+z=1\\ 2x-y-z=2\\ x+z=1\end{array}$.

用克莱默法则求 $\begin{array}{c}x+2y+z=1\\ 2x-y-z=2\\ x+z=1\end{array}$ 的解。

Answer: Solution is: $x = 1, y = 0, z = 0$. For example, $y=\frac{\left\|\begin{array}{ccc}1&1&1\\2&2&-1\\1&1&1\end{array}\right\|}{\left\|\begin{array}{ccc}1&2&1\\2&-1&-1\\1&0&1\end{array}\right\|}=0$.

答案:解为:$x = 1, y = 0, z = 0$。例如 $y=\frac{\left\|\begin{array}{ccc}1&1&1\\2&2&-1\\1&1&1\end{array}\right\|}{\left\|\begin{array}{ccc}1&2&1\\2&-1&-1\\1&0&1\end{array}\right\|}=0$。