1. 线性方程组的几何解释

线性代数的中心问题就是解决一个方程组,这些方程都是线性的,也就是未知数都是乘以一个数字的。

<mstyle displaystyle="true" scriptlevel="0"> </mstyle> <mstyle displaystyle="true" scriptlevel="0"> x <mtext>   </mtext> <mtext>   </mtext> </mstyle> <mstyle displaystyle="true" scriptlevel="0"> 2 </mstyle> <mstyle displaystyle="true" scriptlevel="0"> y <mtext>   </mtext> = <mtext>   </mtext> 1 </mstyle> <mstyle displaystyle="true" scriptlevel="0"> 3 </mstyle> <mstyle displaystyle="true" scriptlevel="0"> x <mtext>   </mtext> + <mtext>   </mtext> </mstyle> <mstyle displaystyle="true" scriptlevel="0"> 2 </mstyle> <mstyle displaystyle="true" scriptlevel="0"> y <mtext>   </mtext> = <mtext>   </mtext> 11 </mstyle> \begin{alignedat}{2} &amp;x \space- \space&amp;2&amp;y \space=\space 1 \\ 3&amp;x\space+\space&amp;2&amp;y \space=\space 11 \end{alignedat} 3x  x + 22y = 1y = 11

针对上面的方程组,如果我们一行一行来看的话,那么第一个方程 x 2 y = 1 \boldsymbol{x-2y=1} x2y=1 表示二维平面的一条直线。点 (1, 0) 是方程的一个解,点 (3, 1) 也是方程的一个解,因此它们都位于这条直线上。

同理,第二个方程 3 x + 2 y = 11 \boldsymbol{3x+2y=11} 3x+2y=11 也表示二维平面的一条直线,这两条直线的交点也就是上述方程组的解,因为它同时满足了方程一和方程二 。

另外,我们也可以将上述方程写成向量的形式:

x [ <mstyle displaystyle="false" scriptlevel="0"> 1 </mstyle> <mstyle displaystyle="false" scriptlevel="0"> 3 </mstyle> ] + y [ <mstyle displaystyle="false" scriptlevel="0"> 2 </mstyle> <mstyle displaystyle="false" scriptlevel="0"> 2 </mstyle> ] = [ <mstyle displaystyle="false" scriptlevel="0"> 1 </mstyle> <mstyle displaystyle="false" scriptlevel="0"> 11 </mstyle> ] = b x \begin{bmatrix} 1 \\ 3 \end{bmatrix} + y \begin{bmatrix} -2 \\ 2 \end{bmatrix} = \begin{bmatrix} 1 \\ 11 \end{bmatrix} = \boldsymbol b x[13]+y[22]=[111]=b

问题就变成了寻找左边两个向量的一个特定线性组合来产生右边的向量。

若将上述方程组表示成矩阵的形式,就是:

A x = b [ <mstyle displaystyle="false" scriptlevel="0"> 1 </mstyle> <mstyle displaystyle="false" scriptlevel="0"> 2 </mstyle> <mstyle displaystyle="false" scriptlevel="0"> 3 </mstyle> <mstyle displaystyle="false" scriptlevel="0"> 2 </mstyle> ] [ <mstyle displaystyle="false" scriptlevel="0"> x </mstyle> <mstyle displaystyle="false" scriptlevel="0"> y </mstyle> ] = [ <mstyle displaystyle="false" scriptlevel="0"> 1 </mstyle> <mstyle displaystyle="false" scriptlevel="0"> 11 </mstyle> ] Ax=b \leftrightarrow \begin{bmatrix} 1&amp;-2 \\ 3 &amp; 2\end{bmatrix} \begin{bmatrix} x \\ y\end{bmatrix} = \begin{bmatrix} 1 \\ 11\end{bmatrix} Ax=b[1322][xy]=[111]

行图像就是对矩阵 A A A 的行进行处理,而列图像则是矩阵 A A A 的列的线性组合。

2. 三个未知数三个方程

针对三个未知数 x , y , z x, y, z x,y,z,我们有三个线性方程:

KaTeX parse error: Too many math in a row: expected 2, but got 3

在行图像中,每个方程产生一个三维空间中的平面。第一个平面和第二个平面相交于一条直线 L L L,然后第三个平面和这条直线又相交于一点,也就是方程组的解。

在列图像中,我们要寻找左边向量的一个线性组合。在这里,我们可以非常容易地看到方程组的解,(6, 4, 2) 为 (3, 2, 1) 的 2 倍,因此解就为 (0, 0, 2)。

x [ <mstyle displaystyle="false" scriptlevel="0"> 1 </mstyle> <mstyle displaystyle="false" scriptlevel="0"> 2 </mstyle> <mstyle displaystyle="false" scriptlevel="0"> 6 </mstyle> ] + y [ <mstyle displaystyle="false" scriptlevel="0"> 2 </mstyle> <mstyle displaystyle="false" scriptlevel="0"> 5 </mstyle> <mstyle displaystyle="false" scriptlevel="0"> 3 </mstyle> ] + z [ <mstyle displaystyle="false" scriptlevel="0"> 3 </mstyle> <mstyle displaystyle="false" scriptlevel="0"> 2 </mstyle> <mstyle displaystyle="false" scriptlevel="0"> 1 </mstyle> ] = [ <mstyle displaystyle="false" scriptlevel="0"> 6 </mstyle> <mstyle displaystyle="false" scriptlevel="0"> 4 </mstyle> <mstyle displaystyle="false" scriptlevel="0"> 2 </mstyle> ] x \begin{bmatrix} 1 \\ 2\\6 \end{bmatrix} + y \begin{bmatrix} 2 \\ 5\\-3 \end{bmatrix} +z \begin{bmatrix} 3 \\ 2\\1 \end{bmatrix}= \begin{bmatrix} 6 \\ 4\\2 \end{bmatrix} x126+y253+z321=642

表示成矩阵的形式,就是

A x = b [ <mstyle displaystyle="false" scriptlevel="0"> 1 </mstyle> <mstyle displaystyle="false" scriptlevel="0"> 2 </mstyle> <mstyle displaystyle="false" scriptlevel="0"> 3 </mstyle> <mstyle displaystyle="false" scriptlevel="0"> 2 </mstyle> <mstyle displaystyle="false" scriptlevel="0"> 5 </mstyle> <mstyle displaystyle="false" scriptlevel="0"> 2 </mstyle> <mstyle displaystyle="false" scriptlevel="0"> 6 </mstyle> <mstyle displaystyle="false" scriptlevel="0"> 3 </mstyle> <mstyle displaystyle="false" scriptlevel="0"> 1 </mstyle> ] [ <mstyle displaystyle="false" scriptlevel="0"> x </mstyle> <mstyle displaystyle="false" scriptlevel="0"> y </mstyle> <mstyle displaystyle="false" scriptlevel="0"> z </mstyle> ] = [ <mstyle displaystyle="false" scriptlevel="0"> 6 </mstyle> <mstyle displaystyle="false" scriptlevel="0"> 4 </mstyle> <mstyle displaystyle="false" scriptlevel="0"> 2 </mstyle> ] Ax = b \leftrightarrow \begin{bmatrix} 1&amp;2&amp;3 \\ 2&amp;5&amp;2\\6&amp;-3&amp;1 \end{bmatrix}\begin{bmatrix}x \\ y \\ z \end{bmatrix} = \begin{bmatrix}6 \\ 4\\ 2\end{bmatrix} Ax=b126253321xyz=642

A A A 乘以 x x x 可以看成是 x x x 和矩阵的行的点积

A x = [ <mstyle displaystyle="false" scriptlevel="0"> ( r o w 1 ) x </mstyle> <mstyle displaystyle="false" scriptlevel="0"> ( r o w 2 ) x </mstyle> <mstyle displaystyle="false" scriptlevel="0"> ( r o w 3 ) x </mstyle> ] Ax =\begin{bmatrix} \boldsymbol{(row1) \cdot x} \\ \boldsymbol{(row2) \cdot x}\\\boldsymbol{(row3) \cdot x} \end{bmatrix} Ax=(row1)x(row2)x(row3)x

也可以看成是矩阵的列的线性组合

A x = x ( c o l u m n 1 ) + y ( c o l u m n 2 ) + z ( c o l u m n 3 ) Ax = x\boldsymbol{(column1)} + y\boldsymbol{(column2)}+z\boldsymbol{(column3)} Ax=x(column1)+y(column2)+z(column3)

获取更多精彩,请关注「seniusen」!