矩阵方程

在本页中,您将了解什么是矩阵方程以及如何求解它们。此外,您还将找到矩阵方程的示例和已解答的练习。

什么是矩阵方程?

矩阵方程类似于正规方程,但它们不是由数字组成,而是由矩阵组成。例如:

\displaystyle  AX=B

因此,解 X 也将是一个矩阵。

如您所知,矩阵不能拆分。因此,矩阵 X 不能通过除以等式另一边与其相乘的矩阵来清除:

\renewcommand{\CancelColor}{\color{red}}  \xcancel{X =\cfrac{B}{A}}

相反,要清除X矩阵,必须遵循整个过程。那么让我们看看如何通过已解决的练习来求解矩阵方程:

如何求解矩阵方程。例子:

  • 求解以下矩阵方程:

\displaystyle  AX+B = C

\displaystyle  A =\begin{pmatrix}2 & 1 \\[1.1ex] 4 & 3 \end{pmatrix} \qquad B = \begin{pmatrix} 3 & -1 \\[1.1ex] 0 & 5 \end{pmatrix} \qquad C =\begin{pmatrix} 2 & 1 \\[1.1ex] 6 & -3\end{pmatrix}

我们需要做的第一件事是求解矩阵 X。因此,我们从方程的另一边减去矩阵 B:

\displaystyle  AX+B = C

\displaystyle  AX = C-B

完成清除矩阵不可分割。但我们必须做到以下几点:

我们必须将等式两边乘以与矩阵 X 相乘的矩阵的逆矩阵,此外,还要将两边乘以该矩阵所在的边。

在这种情况下,乘以 X 的矩阵是 A,它位于 A 的左侧。因此,我们将等式左边两边都乘以 A 的倒数(A -1 ):

\displaystyle  AX = C-B

\displaystyle  \definecolor{vermell}{HTML}{F44336} \color{vermell}\bm{A^{-1}} \color{black} \cdot AX =  \color{vermell}\bm{A^{-1}} \color{black}  \cdot (C-B)

矩阵乘以它的逆矩阵等于单位矩阵。然而

\bm{A^{-1} \cdot A = I }:

\displaystyle  IX = A^{-1} \cdot (C-B)

任何矩阵乘以单位矩阵都会得到相同的矩阵。然而:

\displaystyle  X = A^{-1} \cdot (C-B)

这样我们就已经把X删除了。现在只需进行矩阵运算即可。所以我们首先计算A的2×2逆矩阵

\displaystyle  A =\begin{pmatrix}2 & 1 \\[1.1ex] 4 & 3 \end{pmatrix}

\displaystyle A^{-1} = \cfrac{1}{\vert A \vert } \cdot \Bigl( \text{Adj}(A)\Bigr)^{\bm{t}}

我们计算矩阵 A 的伴随:

\displaystyle  A^{-1} = \cfrac{1}{2} \cdot \begin{pmatrix}3 & -4 \\[1.1ex] -1 & 2 \end{pmatrix}^{\bm{t}}

一旦找到伴随矩阵,我们就继续计算转置矩阵以确定逆矩阵:

\displaystyle  A^{-1} = \cfrac{1}{2} \cdot \begin{pmatrix}3 & -1 \\[1.1ex] -4 & 2 \end{pmatrix}

\displaystyle  A^{-1} = \begin{pmatrix} \frac{3}{2} & -\frac{1}{2} \\[1.3ex] -2 & 1 \end{pmatrix}

现在我们将所有矩阵代入表达式来计算 X:

\displaystyle  X = A^{-1} \cdot (C-B)

\displaystyle  X = \begin{pmatrix} \frac{3}{2} & -\frac{1}{2} \\[1.3ex] -2 & 1\end{pmatrix} \cdot \left(\begin{pmatrix} \vphantom{\frac{3}{2}} 2 & 1 \\[1.3ex] 6 & -3\end{pmatrix}-\begin{pmatrix} \vphantom{\frac{3}{2}}3 & -1 \\[1.3ex] 0 & 5 \end{pmatrix}\right)

我们继续用矩阵来解决运算。我们首先通过矩阵相减来计算括号:

\displaystyle  X = \begin{pmatrix} \frac{3}{2} & -\frac{1}{2} \\[1.3ex] -2 & 1\end{pmatrix}\begin{pmatrix} -1 & 2 \\[1.1ex] 6 & -8 \end{pmatrix}

最后,我们将矩阵相乘:

\displaystyle  X = \begin{pmatrix} \frac{3}{2}\cdot (-1) + \left(-\frac{1}{2} \right) \cdot 6 & \frac{3}{2}\cdot 2 + \left(-\frac{1}{2} \right)\cdot (-8) \\[1.3ex] -2\cdot (-1)+1\cdot 6 & -2\cdot 2 +1\cdot (-8) \end{pmatrix}

\displaystyle  X = \begin{pmatrix} -\frac{3}{2} -\frac{6}{2} & 3 + 4 \\[1.3ex] 2+6 & -4-8 \end{pmatrix}

\displaystyle  \bm{X =} \begin{pmatrix} \bm{-} \frac{\bm{9}}{\bm{2}} & \bm{7} \\[1.3ex] \bm{8} & \bm{-12} \end{pmatrix}

已解决的矩阵方程问题

为了让您能够练习并更好地理解这个概念,我们在下面留下了几个已求解的矩阵方程。您可以尝试做练习,看看您是否成功解决了问题。不要忘记,您也可以在评论中向我们询问任何问题。

练习1

\displaystyle A

\displaystyle B

以下维度为 2×2 的方阵:

\displaystyle A =\begin{pmatrix} 3 & -1 \\[1.1ex] 1 & 0 \end{pmatrix} \qquad B = \begin{pmatrix} 4 & 2 \\[1.1ex] -1 & 3 \end{pmatrix}

计算矩阵

X

满足以下矩阵方程:

\displaystyle AX=B

您必须先清空矩阵

X

矩阵方程:

\displaystyle AX=B

\displaystyle A^{-1} \cdot AX=A^{-1} \cdot B

\displaystyle IX=A^{-1} \cdot B

\displaystyle X=A^{-1} \cdot B

一旦我们有了矩阵

X

清楚了,只需使用矩阵进行操作即可。因此我们首先计算 A 的逆矩阵:

\displaystyle  A =\begin{pmatrix} 3 & -1 \\[1.1ex] 1 & 0 \end{pmatrix}

\displaystyle A^{-1} = \cfrac{1}{\vert A \vert } \cdot \Bigl( \text{Adj}(A)\Bigr)^{\bm{t}}

\displaystyle  A^{-1} = \cfrac{1}{1} \cdot \begin{pmatrix} 0 & -1 \\[1.1ex] 1 & 3 \end{pmatrix}^{\bm{t}}

\displaystyle  A^{-1} = \cfrac{1}{1} \cdot \begin{pmatrix}0 & 1 \\[1.1ex] -1 & 3 \end{pmatrix}

\displaystyle  A^{-1} = \begin{pmatrix} 0 & 1 \\[1.1ex] -1 & 3\end{pmatrix}

现在我们代入方程中的所有矩阵来计算矩阵

X :

\displaystyle X=A^{-1} \cdot B

\displaystyle X= \begin{pmatrix} 0 & 1 \\[1.1ex] -1 & 3\end{pmatrix}\cdot \begin{pmatrix} 4 & 2 \\[1.1ex] -1 & 3 \end{pmatrix}

最后,我们进行矩阵乘法:

\displaystyle \bm{X=} \begin{pmatrix}\bm{ -1} & \bm{3} \\[1.1ex] \bm{-7} & \bm{7}\end{pmatrix}

练习2

\displaystyle A

,

\displaystyle B

\displaystyle C

以下 2 阶矩阵:

\displaystyle A =\begin{pmatrix} 3 & 6 \\[1.1ex] 2 & -1 \end{pmatrix} \qquad B = \begin{pmatrix} -2 & 1 \\[1.1ex] 3 & -3 \end{pmatrix}\qquad C = \begin{pmatrix} 6 & 4 \\[1.1ex] 3 & -2 \end{pmatrix}

计算矩阵

X

满足以下矩阵方程:

\displaystyle A+ XB=C

我们需要做的第一件事就是清空矩阵。

X

矩阵方程:

\displaystyle A+ XB=C

\displaystyle  XB=C-A

\displaystyle XB \cdot B^{-1}=\left(C-A\right)\cdot B^{-1}

\displaystyle XI=\left(C-A\right)\cdot B^{-1}

\displaystyle X = \left(C-A\right)\cdot B^{-1}

一旦我们分离出矩阵

X

,需要用矩阵进行运算。因此我们首先计算 B 的逆矩阵:

\displaystyle  B =\begin{pmatrix} -2 & 1 \\[1.1ex] 3 & -3 \end{pmatrix}

\displaystyle B^{-1} = \cfrac{1}{\vert B \vert } \cdot \Bigl( \text{Adj}(B)\Bigr)^{\bm{t}}

\displaystyle  B^{-1} = \cfrac{1}{3} \cdot \begin{pmatrix} -3 & -3 \\[1.1ex] -1 & -2 \end{pmatrix}^{\bm{t}}

\displaystyle  B^{-1} = \cfrac{1}{3} \cdot \begin{pmatrix} -3 & -1 \\[1.1ex] -3 & -2 \end{pmatrix}

\displaystyle  B^{-1} = \begin{pmatrix} -1 & -\frac{1}{3} \\[1.3ex] -1 & -\frac{2}{3} \end{pmatrix}

现在我们代入方程中的所有矩阵来计算矩阵

X :

\displaystyle X=\left(C-A\right)\cdot B^{-1}

\displaystyle  X=\left(\begin{pmatrix} 6 & 4 \\[1.3ex] 3 & -2 \end{pmatrix}-\begin{pmatrix} 3 & 6 \\[1.3ex] 2 & -1 \end{pmatrix}\right)\cdot \begin{pmatrix} -1 & -\frac{1}{3} \\[1.3ex] -1 & -\frac{2}{3} \end{pmatrix}

我们通过矩阵相减来求解括号:

\displaystyle X=\begin{pmatrix} 3 & -2 \\[1.3ex] 1 & -1 \end{pmatrix}\cdot \begin{pmatrix} -1 & -\frac{1}{3} \\[1.3ex] -1 & -\frac{2}{3} \end{pmatrix}

最后,我们将矩阵相乘:

\displaystyle X=\begin{pmatrix} -3+2 & -1+\frac{4}{3} \\[1.3ex] -1+1 & -\frac{1}{3}+\frac{2}{3} \end{pmatrix}

\displaystyle \bm{X=} \begin{pmatrix}\bm{ -1} & \frac{\bm{1}}{\bm{3}} \\[1.3ex] \bm{0} & \frac{\bm{1}}{\bm{3}} \end{pmatrix}

练习3

\displaystyle A

,

\displaystyle B

\displaystyle C

以下二阶矩阵:

\displaystyle A =\begin{pmatrix} -1 & 1 \\[1.1ex] 1 & 0 \end{pmatrix} \qquad B = \begin{pmatrix} 4 & -2 \\[1.1ex] 1 & 0 \end{pmatrix}\qquad C = \begin{pmatrix} 6 & 4 \\[1.1ex] 22 & 14 \end{pmatrix}

找到矩阵

X

满足以下矩阵方程:

\displaystyle AXB=C

首先我们需要清理矩阵

X

矩阵方程:

\displaystyle AXB=C

\displaystyle A^{-1}\cdot AXB\cdot B^{-1}=A^{-1}\cdot C\cdot B^{-1}

\displastyle IXI=A^{-1}\cdot C\cdot B^{-1}

\displastyle X=A^{-1}\cdot C\cdot B^{-1}

一旦我们清空了矩阵

X

,需要用矩阵进行运算。因此我们首先计算 A 的逆矩阵:

\displaystyle  A =\begin{pmatrix} -1 & 1 \\[1.1ex] 1 & 0 \end{pmatrix}

\displaystyle A^{-1} = \cfrac{1}{\vert A \vert } \cdot \Bigl( \text{Adj}(A)\Bigr)^{\bm{t}}

\displaystyle  A^{-1} = \cfrac{1}{-1} \cdot \begin{pmatrix} 0 & -1 \\[1.1ex] -1 & -1 \end{pmatrix}^{\bm{t}}

\displaystyle  A^{-1} = \cfrac{1}{-1} \cdot \begin{pmatrix} 0 & -1 \\[1.1ex] -1 & -1 \end{pmatrix}

\displaystyle  A^{-1} = \begin{pmatrix} 0 & 1 \\[1.1ex] 1 & 1 \end{pmatrix}

我们还反转矩阵 B:

\displaystyle  B =\begin{pmatrix} 4 & -2 \\[1.1ex] 1 & 0 \end{pmatrix}

\displaystyle B^{-1} = \cfrac{1}{\vert B \vert } \cdot \Bigl( \text{Adj}(B)\Bigr)^{\bm{t}}

\displaystyle  B^{-1} = \cfrac{1}{2} \cdot \begin{pmatrix} 0 & -1 \\[1.1ex] 2 & 4 \end{pmatrix}^{\bm{t}}

\displaystyle  B^{-1} = \cfrac{1}{2} \cdot \begin{pmatrix} 0 & 2 \\[1.1ex] -1 & 4 \end{pmatrix}

\displaystyle  B^{-1} = \begin{pmatrix} 0 & 1 \\[1.3ex] -\frac{1}{2} & 2 \end{pmatrix}

现在我们将所有矩阵代入表达式来计算矩阵

X :

\displaystyle X=A^{-1}\cdot C\cdot B^{-1}

\displaystyle X=\begin{pmatrix} 0 & 1 \\[1.3ex] 1 & 1 \end{pmatrix}\cdot\begin{pmatrix} 6 & 4 \\[1.3ex] 22 & 14 \end{pmatrix}\cdot \begin{pmatrix} 0 & 1 \\[1.3ex] -\frac{1}{2} & 2 \end{pmatrix}

我们先解左边的乘法

\displaystyle X=\begin{pmatrix} 0+22 & 0+14 \\[1.3ex] 6+22 & 4+14 \end{pmatrix}\cdot \begin{pmatrix} 0 & 1 \\[1.3ex] -\frac{1}{2} & 2 \end{pmatrix}

\displaystyle X=\begin{pmatrix} 22 & 14 \\[1.3ex] 28 & 18 \end{pmatrix}\cdot \begin{pmatrix} 0 & 1 \\[1.3ex] -\frac{1}{2} & 2 \end{pmatrix}

最后,我们进行剩余的乘法:

\displaystyle X=\begin{pmatrix} 0-7 & 22+28 \\[1.3ex] 0-9 & 28+36 \end{pmatrix}

\displaystyle \bm{X=} \begin{pmatrix}\bm{-7} & \bm{50} \\[1.3ex] \bm{-9} & \bm{64} \end{pmatrix}

练习4

\displaystyle A

\displaystyle B

以下维度为 3×3 的矩阵:

\displaystyle A =\begin{pmatrix}1 & 0 & 1\\[1.1ex] 0 & -1 & 0 \\[1.1ex] 1 & 2 & 2 \end{pmatrix} \qquad B = \begin{pmatrix} 1 & -1 & 0 \\[1.1ex] 2 & 3 & -2 \\[1.1ex] -3 & 1 & -1 \end{pmatrix}

计算矩阵

X

满足以下矩阵方程:

\displaystyle B^{t}- AX=B

首先我们清除矩阵

X

矩阵方程:

\displaystyle B^t- AX=B

\displaystyle B^t- B=AX

\displaystyle A^{-1}\cdot \left(B^t- B \right)=A^{-1}\cdot AX

\displaystyle A^{-1}\cdot \left(B^t- B \right)=IX

\displaystyle A^{-1}\cdot \left(B^t- B \right)=X

\displaystyle X=A^{-1}\cdot \left(B^t- B \right)

一旦我们分离出矩阵

X

,需要用矩阵进行运算。因此我们首先计算 A 的逆矩阵:

\displaystyle  A =\begin{pmatrix} 1 & 0 & 1\\[1.1ex] 0 & -1 & 0 \\[1.1ex] 1 & 2 & 2 \end{pmatrix}

\displaystyle A^{-1} = \cfrac{1}{\vert A \vert } \cdot \Bigl( \text{Adj}(A)\Bigr)^{\bm{t}}

\displaystyle  A^{-1} = \cfrac{1}{-1} \cdot \begin{pmatrix} \begin{vmatrix} -1 & 0 \\ 2 & 2 \end{vmatrix} & -\begin{vmatrix} 0 & 0 \\  1 & 2 \end{vmatrix} & \begin{vmatrix}  0 & -1  \\ 1 & 2 \end{vmatrix}\\[4ex] -\begin{vmatrix}  0 & 1 \\ 2 & 2 \end{vmatrix} & \begin{vmatrix} 1  & 1\\ 1 & 2 \end{vmatrix} & -\begin{vmatrix} 1 & 0 \\ 1 & 2  \end{vmatrix} \\[4ex] \begin{vmatrix} 0 & 1\\  -1 & 0 \end{vmatrix} & -\begin{vmatrix} 1  & 1\\ 0 & 0  \end{vmatrix} & \begin{vmatrix} 1 & 0 \\ 0 & -1 \end{vmatrix} \end{pmatrix}^{\bm{t}}

\displaystyle  A^{-1} = \cfrac{1}{-1} \cdot \begin{pmatrix} -2 & 0 & 1 \\[1.1ex] 2 & 1 & -2 \\[1.1ex] 1  & 0 & -1 \end{pmatrix}^{\bm{t}}

\displaystyle  A^{-1} = -1 \cdot \begin{pmatrix} -2 & 2 & 1 \\[1.1ex] 0 & 1 & 0 \\[1.1ex] 1  & -2 & -1 \end{pmatrix}

\displaystyle  A^{-1} = \begin{pmatrix} 2 & -2 & -1 \\[1.1ex] 0 & -1 & 0 \\[1.1ex] -1  & 2 & 1 \end{pmatrix}

现在我们将所有矩阵代入表达式来计算 X:

\displaystyle X=A^{-1}\cdot \left(B^t- B \right)

\displaystyle X=\begin{pmatrix} 2 & -2 & -1 \\[1.1ex] 0 & -1 & 0 \\[1.1ex] -1  & 2 & 1 \end{pmatrix}\cdot \left(\begin{pmatrix} 1 & -1 & 0 \\[1.1ex] 2 & 3 & -2 \\[1.1ex] -3 & 1 & -1 \end{pmatrix}^t- \begin{pmatrix} 1 & -1 & 0 \\[1.1ex] 2 & 3 & -2 \\[1.1ex] -3 & 1 & -1 \end{pmatrix} \right)

我们转置矩阵 B:

\displaystyle X=\begin{pmatrix} 2 & -2 & -1 \\[1.1ex] 0 & -1 & 0 \\[1.1ex] -1  & 2 & 1 \end{pmatrix}\cdot \left(\begin{pmatrix} 1 & 2 & -3 \\[1.1ex] -1 & 3 & 1 \\[1.1ex] 0 & -2 & -1 \end{pmatrix}- \begin{pmatrix} 1 & -1 & 0 \\[1.1ex] 2 & 3 & -2 \\[1.1ex] -3 & 1 & -1 \end{pmatrix} \right)

我们通过矩阵相减来求解括号:

\displaystyle X=\begin{pmatrix} 2 & -2 & -1 \\[1.1ex] 0 & -1 & 0 \\[1.1ex] -1  & 2 & 1 \end{pmatrix}\cdot \begin{pmatrix} 0 & 3 & -3 \\[1.1ex] -3 & 0 & 3 \\[1.1ex] 3 & -3 & 0 \end{pmatrix}

最后,我们进行矩阵乘法:

\displaystyle \bm{X=}\begin{pmatrix} \bm{3} & \bm{9} & \bm{-12} \\[1.1ex] \bm{3} & \bm{0} & \bm{-3} \\[1.1ex] \bm{-3}  & \bm{-6} & \bm{9} \end{pmatrix}

发表评论

您的电子邮箱地址不会被公开。 必填项已用 * 标注

Scroll to Top