线性代数-01-方程组的几何解释

  • 字母表示:大写字母表示矩阵,小写字母矢量表示列向量

一、方程组的几何解法

  • 使用矩阵和列向量表示一个方程组

{ 2 x + y = 1 3 x − 4 y = 5   ⟹   [ 2 1 3 − 4 ] [ x y ] = [ 1 5 ]   ⟹   A x ⃗ = b \left\{ \begin{array}{rcl} & 2x + y = 1 \\ & 3x - 4y = 5 \end{array} \right. {~\Longrightarrow~} \left[ \begin{matrix} 2 & 1 \\ 3 & -4 \end{matrix} \right] \left[ \begin{matrix} x \\ y \end{matrix} \right] = \left[ \begin{matrix} 1 \\ 5 \end{matrix} \right] {~\Longrightarrow~} A\vec{x} = b {2x+y=13x4y=5  [2314][xy]=[15]  Ax =b

1、用行向量画图

{ 直 线 l 1 : 2 x + y = 1 直 线 l 2 : 3 x − 4 y = 5   ⟹   两 条 直 线 若 有 交 点 , 则 交 点 的 坐 标 ( x 0 , y 0 ) 为 解 \left\{ \begin{array}{rcl} &直线l_1: 2x + y = 1 \\ &直线l_2: 3x - 4y = 5 \end{array} \right. {~\Longrightarrow~} 两条直线若有交点,则交点的坐标(x_0, y_0)为解 {线l1:2x+y=1线l2:3x4y=5  线(x0,y0)

2、用列向量画图

[ 2 1 3 − 4 ] [ x y ] = x [ 2 3 ] + y [ 1 − 4 ]   ⟹   线 性 组 合 ( L i n e a r   C o m b i n a t i o n ) \left[ \begin{matrix} 2 & 1 \\ 3 & -4 \end{matrix} \right] \left[ \begin{matrix} x \\ y \end{matrix} \right] =x \left[ \begin{matrix} 2 \\ 3 \end{matrix} \right] + y \left[ \begin{matrix} 1 \\ -4 \end{matrix} \right] {~\Longrightarrow~} 线性组合(Linear \ Combination) [2314][xy]=x[23]+y[14]  线(Linear Combination)

  • 即找到合适的 x , y x, y x,y 让向量 [ 2 3 ] \left[\begin{matrix} 2 \\ 3 \end{matrix}\right] [23] [ 1 − 4 ] \left[\begin{matrix} 1 \\ -4 \end{matrix}\right] [14] 线性组合后结果为 [ 1 5 ] \left[\begin{matrix} 1 \\ 5 \end{matrix}\right] [15]
  • 假设有一个n元一次方程组,该方程组有n个方程
    • 那么这个问题可以看成是n个n维列向量的线性组合问题
    • 若这n个列向量中,有一个列向量可以由其它任意几个列向量的线性组合表示,则该n个列向量的线性组合只能构成(n-1)维空间里的列向量

二、矩阵乘法计算

  • 一个计算矩阵乘法的例子如下
    [ 3 4 5 1 6 2 2 7 6 ] [ x a y b z c ] \left[\begin{matrix} 3 & 4 & 5 \\ 1 & 6 & 2 \\ 2 & 7 & 6 \end{matrix}\right] \left[\begin{matrix} x & a \\ y & b \\ z & c \end{matrix}\right] 312467526xyzabc

  • 矩阵相乘的结果可以从两个角度计算:行向量或者列向量

    • 行向量角度计算
      上 式 = [ ( 3 , 4 , 5 ) ⋅ [ ( x , y , z ) + ( a , b , c ) ] ( 1 , 6 , 2 ) ⋅ [ ( x , y , z ) + ( a , b , c ) ] ( 2 , 7 , 6 ) ⋅ [ ( x , y , z ) + ( a , b , c ) ] ] = [ 3 x + 3 a 4 y + 4 b 5 z + 5 c x + a 6 y + 6 b 2 z + 2 c 2 x + 2 a 7 y + 7 b 6 z + 6 c ] 上式 = \left[\begin{matrix} (3, 4, 5) \cdot [(x, y, z) + (a, b, c)] \\ (1, 6, 2) \cdot [(x, y, z) + (a, b, c)] \\ (2, 7, 6) \cdot [(x, y, z) + (a, b, c)] \end{matrix}\right] = \left[\begin{matrix} 3x+3a & 4y+4b & 5z+5c \\ x+a & 6y+6b & 2z+2c \\ 2x+2a & 7y+7b & 6z+6c \end{matrix}\right] =(3,4,5)[(x,y,z)+(a,b,c)](1,6,2)[(x,y,z)+(a,b,c)](2,7,6)[(x,y,z)+(a,b,c)]=3x+3ax+a2x+2a4y+4b6y+6b7y+7b5z+5c2z+2c6z+6c

    • 列向量角度计算(推荐)
      上 式 = [ x [ 3 1 2 ] + y [ 4 6 7 ] + z [ 5 2 6 ] a [ 3 1 2 ] + b [ 4 6 7 ] + c [ 5 2 6 ] ] 上式 = \left[\begin{matrix} x \left[\begin{matrix} 3 \\ 1 \\ 2 \end{matrix}\right] + y \left[\begin{matrix} 4 \\ 6 \\ 7 \end{matrix}\right] + z \left[\begin{matrix} 5 \\ 2 \\ 6 \end{matrix}\right] & \quad a \left[\begin{matrix} 3 \\ 1 \\ 2 \end{matrix}\right] + b \left[\begin{matrix} 4 \\ 6 \\ 7 \end{matrix}\right] + c \left[\begin{matrix} 5 \\ 2 \\ 6 \end{matrix}\right] \end{matrix}\right] =x312+y467+z526a312+b467+c526

      • 列向量角度计算的解释
        • 第一个列向量是左边的矩阵的列向量 [ 3 1 2 ] , [ 4 6 7 ] , [ 5 2 6 ] \left[\begin{matrix} 3\\1\\2 \end{matrix}\right] ,\left[\begin{matrix} 4\\6\\7 \end{matrix}\right] ,\left[\begin{matrix} 5\\2\\6 \end{matrix}\right] 312,467,526 以右边的矩阵第一列 [ x y z ] \left[\begin{matrix} x\\y\\z \end{matrix}\right] xyz 作为系数的线性组合结果
        • 第二个列向量是左边的矩阵的列向量 [ 3 1 2 ] , [ 4 6 7 ] , [ 5 2 6 ] \left[\begin{matrix} 3\\1\\2 \end{matrix}\right] ,\left[\begin{matrix} 4\\6\\7 \end{matrix}\right] ,\left[\begin{matrix} 5\\2\\6 \end{matrix}\right] 312,467,526 以右边的矩阵第二列 [ a b c ] \left[\begin{matrix} a\\b\\c \end{matrix}\right] abc 作为系数的线性组合结果
  • 为什么推荐从列向量的角度思考矩阵乘法:(个人认为)这种角度更能体现线性代数中的“线性”

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值