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格式学习笔 ...
随机推荐
- Java的注解(Annotation)
1.什么是注解 Annotation is code about the code, that is metadata about the program itself. Java注解,是Java5. ...
- opencv6.1-imgproc图像处理模块之平滑与形态学操作
这个部分是<opencv-tutorials.pdf>的部分,这部分也是几大部分中例子最多的,其实这个教程的例子都很不错,不过有些看得出来还是c接口的例子,说明例子有些年头了,其实在&qu ...
- sql基本命令
--------------------------------------------------------SQL基本命令开始----------------------------------- ...
- 转载:SQL 递归树 子父节点相互查询
if object_id('[tb]') is not null drop table [tb] go create table [tb]([modeid] int,modename varchar( ...
- android服务之MP3播放(2)
该播放器将会直接从网络上获取资源进行播放,并提供进度条显示的功能 布局文件 布局文件中使用Seekbar组件来显示进度条 <?xml version="1.0" encodi ...
- vim 插件管理
1 进入自己的vim mkdir ./bundle/vundle 2 在vimrc同级中执行 git clone https://github.com/gmarik/vundle.git ./bund ...
- mybatis resultMap映射学习笔记
这几天,百度mybatis突然看不到官网了,不知道百度怎么整的.特此贴出mybatis中文官网: http://www.mybatis.org/mybatis-3/zh/index.html 一个学习 ...
- void与void之间没有隐式转换(纯属恶搞,请勿在意)
强大的vs弹出了这个提示:.有没有觉得强大的vs不应该出现该提示. 但就是出现了. 看客,您知道怎么让vs弹出这个提示吗^~^
- html+js实现图片预览
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/ ...
- this Activity.this Activity.class
1. this 与 Activity.this this是你当前对象的引用,在你的例子中你肯定在内部类ClickEvent里面实现intent,他指向的是ClickEvent,而不是你要传入的Acti ...