“矩阵代数初步”(Introduction to MATRIX ALGEBRA)课程由Prof. A.K.Kaw(University of South Florida)设计并讲授。
PDF格式学习笔记下载(Academia.edu)
第6章课程讲义下载(PDF)

Summary

  • Gaussian elimination consists of two steps:

    • Forward Elimination of Unknowns
      In this step, the unknown is eliminated in each equation starting with the first equation. This way, the equations are reduced to one equation and one unknown in each equation.
    • Back Substitution
      In this step, starting from the last equation, each of the unknowns is found.
  • More about determinant
    • Let $[A]$ be a $n\times n$ matrix. Then if $[B]$ is a $n\times n$ matrix that results from adding or subtracting a multiple of one row (column) to another row (column), then $\det(A) = \det(B)$.
    • Let $[A]$ be a $n\times n$ matrix that is upper triangular, lower triangular or diagonal, then $$\det(A) = a_{11}\times a_{22}\times\cdots\times a_{nn} = \prod_{i=1}^{n}a_{ii}$$ This implies that if we apply the forward elimination steps of Gaussian elimination method, the determinant of the matrix stays the same according to the previous result. Then since at the end of the forward elimination steps, the resulting matrix is upper triangular, the determinant will be given by the above result.

Selected Problems

1. Using Gaussian elimination to solve $$\begin{cases}4x_1+x_2-x_3=-2\\ 5x_1+x_2+2x_3=4\\ 6x_1+x_2+x_3=6\end{cases}$$

Solution:

Forward elimination: $$\begin{bmatrix}4& 1& -1& -2\\ 5& 1& 2& 4\\ 6& 1& 1& 6\end{bmatrix}\Rightarrow \begin{cases} R_2-{5\over4}R_1\\ R_3-{3\over2}R_1\end{cases}\begin{bmatrix}4& 1& -1& -2\\ 0& -{1\over4}& {13\over4}& {13\over2}\\ 0& -{1\over2}& {5\over2}& 9\end{bmatrix}$$ $$\Rightarrow R_3-2R_2\begin{bmatrix}4& 1& -1& -2\\ 0& -{1\over4}& {13\over4}& {13\over2}\\ 0& 0& -4& -4\end{bmatrix}$$ Back substitution: $$\begin{cases}-4x_3=-4\\ -{1\over4}x_2+{13\over4}x_3={13\over2}\\ 4x_1+x_2-x_3=-2\end{cases} \Rightarrow \begin{cases}x_3=1\\ -{1\over4}x_2+{13\over4}={13\over2}\\ 4x_1+x_2-1=-2\end{cases}$$ $$\Rightarrow \begin{cases}x_3=1\\ x_2 = -13\\ 4x_1-13=-1 \end{cases}\Rightarrow \begin{cases}x_1 = 3\\ x_2=-13\\ x_3=1 \end{cases}$$

2. Find the determinant of $$[A] = \begin{bmatrix}25& 5& 1\\ 64& 8& 1\\ 144& 12& 1\end{bmatrix}$$

Solution:

Forward elimination $$[A] = \begin{bmatrix}25& 5& 1\\ 64& 8& 1\\ 144& 12& 1\end{bmatrix}\Rightarrow\begin{cases}R_2 - {64\over25}R_1\\ R_3-{144\over25}R_1\end{cases} \begin{bmatrix}25& 5& 1\\ 0& -{24\over5}& -{39\over25}\\ 0& -{84\over5}& -{119\over25} \end{bmatrix}$$ $$\Rightarrow R_3-{7\over2}R_2 \begin{bmatrix}25& 5& 1\\ 0& -{24\over5}& -{39\over25}\\ 0& 0 & {7\over10} \end{bmatrix}$$ This is an upper triangular matrix and its determinant is the product of the diagonal elements $$\det(A) = 25\times(-{24\over5})\times{7\over10}=-84 $$

3. Find the determinant of $$[A] = \begin{bmatrix}10& -7& 0\\ -3& 2.099& 6\\ 5& -1& 5\end{bmatrix}$$

Solution:

Forward elimination $$[A] = \begin{bmatrix}10& -7& 0\\ -3& 2.099& 6\\ 5& -1& 5 \end{bmatrix}\Rightarrow\begin{cases}R_2 + {3\over 10}R_1\\ R_3-{1\over2}R_1\end{cases} \begin{bmatrix}10& -7& 0\\ 0& -{1\over1000}& 6\\ 0& {5\over2}& 5 \end{bmatrix}$$ $$\Rightarrow R_3+2500R_2 \begin{bmatrix}10& -7& 0\\ 0& -{1\over1000}& 6\\ 0& 0 & 15005 \end{bmatrix}$$ This is an upper triangular matrix and its determinant is the product of the diagonal elements $$\det(A) = 10 \times(-{1\over1000})\times15005=-150.05$$

4. Using Gaussian elimination to solve $$\begin{cases}3x_1-x_2 - 5x_3 = 9\\ x_2-10x_3=0\\ -2x_1+x_2=-6\end{cases}$$

Solution:

Forward elimination: $$\begin{bmatrix}3& -1& -5& 9\\ 0& 1& -10& 0\\ -2& 1& 0& -6\end{bmatrix}\Rightarrow R_3+{2\over3}R_1 \begin{bmatrix}3& -1& -5& 9\\ 0& 1& -10& 0\\ 0& {1\over3}& -{10\over3}& 0\end{bmatrix}$$ $$\Rightarrow R_3-{1\over3}R_2 \begin{bmatrix}3& -1& -5& 9\\ 0& 1& -10& 0\\ 0& 0 & 0 & 0\end{bmatrix}$$ Back substitution: $$\begin{cases}x_2-10x_3=0\\ 3x_1-x_2-5x_3=9\end{cases} \Rightarrow \begin{cases}x_2 = 10x_3\\ 3x_1-15x_3 = 9\end{cases} \Rightarrow \begin{cases}x_1 = 5x_3+3\\ x_2 = 10x_3\end{cases}$$ where $x_3$ is arbitrary.

最新文章

  1. .NET 集合类型性能分析
  2. ABAP之声母韵母
  3. 20155301-滕树晨 第二次随笔作业--从现有技能获取的经验应用于JAVA中
  4. 如何将cmd中命令输出保存为TXT文本文件
  5. 用 React 编写SVG图表
  6. OpenCV例程实现人脸检测
  7. 用python随机生成数据,再插入到postgresql中
  8. JAVA并发,后台线程
  9. HDU2539:点球大战
  10. Docker 更新镜像
  11. Visual Studio Code 使用 Git插件报错 - Permission denied (publickey)
  12. TensorFlow——循环神经网络基本结构
  13. FreeMarker example all in one
  14. Spark安装与介绍
  15. 前端菜鸟起飞之学会ps切图
  16. Oracle2MySQL注意事项
  17. 612.1.004 ALGS4 | Elementary Sorts - 基础排序算法
  18. nodejs 剪切图像在上传,并保存到指定路径下(./public/img/' + req.session.token + '.jpg‘)
  19. EXCEPTION-JS
  20. flask内置session原理

热门文章

  1. 轻量级iOS蓝牙库:LGBluetooth(项目中用过的)
  2. 不得不玩玩NHibernate
  3. <实训|第十三天>linux中ACL权限控制以及磁盘配额,附编译属于自己的linux内核
  4. 使用markdown编辑evernote(印象笔记)的常用方法汇总
  5. keepalived+LVS 实现双机热备、负载均衡、失效转移 高性能 高可用 高伸缩性 服务器集群
  6. List<T>与Dictionary<string,T>频繁检索的性能差距
  7. iOS- -安装cocopods
  8. jq 修改input 标签的值
  9. MySQL中的insert ignore into, replace into等的一些用法总结
  10. Angularjs做的一个小页面