线性代数-MIT-第2讲

本文是线性代数的第二讲,重点介绍了矩阵消元法,包括成功消元的条件(主元不能为零),失败的情况(如3x3矩阵中缺乏主元)以及如何通过行交换来解决。接着讨论了回代过程,从最下面的变量开始逐步求解。最后,探讨了消元矩阵的概念,它是通过行向量和列向量的线性组合,以及如何利用初等矩阵进行消元。
摘要由CSDN通过智能技术生成

第二讲.矩阵消元

更多文章请关注微信公众号:SLAM之路

 

1.消元:成功or失败

                解方程组的有效方法,基础;

成功:

\left\{\begin{matrix} x+2y+z=2\\3x+8y+z=12 \\ \, \, \, \, \, \, \, \, \, \, 4y+z=2 \end{matrix}\right.\Rightarrow \begin{bmatrix} 1 &2 &1 \\ 3& 8 & 1\\ 0 & 4 & 1 \end{bmatrix}\begin{bmatrix} x\\y \\ z \end{bmatrix}=\begin{bmatrix} 2\\12 \\ 2 \end{bmatrix}\Rightarrow Ax=b

\begin{bmatrix} 1 &2 &1 \\ 3& 8 & 1\\ 0 & 4 & 1 \end{bmatrix}\xrightarrow[(2,1)]{-3\times 1st\, row\,to\,2nd}{\rightarrow}\begin{bmatrix} \boldsymbol{​{\color{Red} }{\color{Red} 1}} &2 &1 \\ 0&{\color{Red} \boldsymbol{}2} &-2 \\ 0&4 &1 \end{bmatrix}\begin{bmatrix} 2\\6 \\ 2 \end{bmatrix}\xrightarrow[(3,2)]{-2\times 2nd\,row\,to\,3th}\begin{bmatrix} {\color{Red} \boldsymbol{}1 }& 2 &1 \\ 0& {\color{Red} \boldsymbol{}2} &-2 \\ 0& 0 &{\color{Red} \boldsymbol{}5} \end{bmatrix}\begin{bmatrix} 2\\6 \\ -10 \end{bmatrix}(红色为主元)

 主元不能为零

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值