A.Kaw矩阵代数初步学习笔记 6. Gaussian Elimination
“矩阵代数初步”(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.
- Forward Elimination of Unknowns
- 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.
A.Kaw矩阵代数初步学习笔记 6. Gaussian Elimination的更多相关文章
- A.Kaw矩阵代数初步学习笔记 10. Eigenvalues and Eigenvectors
“矩阵代数初步”(Introduction to MATRIX ALGEBRA)课程由Prof. A.K.Kaw(University of South Florida)设计并讲授. PDF格式学习笔 ...
- A.Kaw矩阵代数初步学习笔记 9. Adequacy of Solutions
“矩阵代数初步”(Introduction to MATRIX ALGEBRA)课程由Prof. A.K.Kaw(University of South Florida)设计并讲授. PDF格式学习笔 ...
- A.Kaw矩阵代数初步学习笔记 8. Gauss-Seidel Method
“矩阵代数初步”(Introduction to MATRIX ALGEBRA)课程由Prof. A.K.Kaw(University of South Florida)设计并讲授. PDF格式学习笔 ...
- A.Kaw矩阵代数初步学习笔记 7. LU Decomposition
“矩阵代数初步”(Introduction to MATRIX ALGEBRA)课程由Prof. A.K.Kaw(University of South Florida)设计并讲授. PDF格式学习笔 ...
- A.Kaw矩阵代数初步学习笔记 5. System of Equations
“矩阵代数初步”(Introduction to MATRIX ALGEBRA)课程由Prof. A.K.Kaw(University of South Florida)设计并讲授. PDF格式学习笔 ...
- A.Kaw矩阵代数初步学习笔记 4. Unary Matrix Operations
“矩阵代数初步”(Introduction to MATRIX ALGEBRA)课程由Prof. A.K.Kaw(University of South Florida)设计并讲授. PDF格式学习笔 ...
- A.Kaw矩阵代数初步学习笔记 3. Binary Matrix Operations
“矩阵代数初步”(Introduction to MATRIX ALGEBRA)课程由Prof. A.K.Kaw(University of South Florida)设计并讲授. PDF格式学习笔 ...
- A.Kaw矩阵代数初步学习笔记 2. Vectors
“矩阵代数初步”(Introduction to MATRIX ALGEBRA)课程由Prof. A.K.Kaw(University of South Florida)设计并讲授. PDF格式学习笔 ...
- A.Kaw矩阵代数初步学习笔记 1. Introduction
“矩阵代数初步”(Introduction to MATRIX ALGEBRA)课程由Prof. A.K.Kaw(University of South Florida)设计并讲授. PDF格式学习笔 ...
随机推荐
- opencv 中对一个像素的rgb值或像素值进行操作的几个常用小办法【转】
You can access the Image pixels in many ways:1. One using the Inbuilt macro2. One using the pointer ...
- TF400916错误修复办法
在使用TFS作为研发过程管理工具的时候,如果调整了工作项的状态信息,可能会出现下面的错误: 要解决此问题非常简单: 1.找一台安装了VS2015程序的环境.因为我们使用的是TFS2015,所以需要对应 ...
- 前端手札--meta标记篇
通用类: 声明编码 <meta charset='utf-8' /> SEO页面关键词 <meta name="keywords" content="y ...
- 发布新博客皮肤red_autumnal_leaves
感谢sevennight为大家精心设计了一款博客皮肤——red_autumnal_leaves! [名称] red_autumnal_leaves[标题] 红叶[设计者] sevennight[简介] ...
- Social Emotional Computing
from:数理情感学 http://choudh.blogchina.com/2556171.html 第五节 情感的三要素 人对于某一事物的情感,不仅取决于该事物的品质特性(如物理特性.化学特性. ...
- DIV+CSS 星号*
常常我们在DIV+CSS布局的时候会遇到2处使用星号“*”,一个为以星号*没有命名名称的CSS选择器:另外一个是在CSS选择器里以*开头的CSS属性单词样式-CSS星号-CSS *知识介绍.接下来DI ...
- c++中STL库简介及使用说明
作为C++标准不可缺少的一部分,STL应该是渗透在C++程序的角角落落里的.STL不是实验室里的宠儿,也不是程序员桌上的摆设,她的激动人心并非昙花一现.本教程旨在传播和普及STL的基础知识,若能借此机 ...
- [转]Spring注解原理的详细剖析与实现
原文地址:http://freewxy.iteye.com/blog/1149128/ 本文主要分为三部分: 一.注解的基本概念和原理及其简单实用 二.Spring中如何使用注解 三.编码剖析spri ...
- 【BZOJ 2434】【NOI 2011】阿狸的打字机 fail树
完全不会啊,看题解还看了好久,我是蒟蒻$QAQ$ $zyf$的题解挺好的:http://blog.csdn.net/clove_unique/article/details/51059425 $fai ...
- 【BZOJ 1468】Tree 点分治
点分治$O(nlogn)$ 坚持到月考结束后新校就剩下我一个OIer,其他人早已停课了,老师估计懒得为我一个人开机房门,让我跟班主任说了一声,今晚就回到了老校,开始了自己都没有想到会来的这么早的停课生 ...