Matrix Analysis and Application
- Chap 1: Linear Equations and Matrix
- Linear equations
- Gaussian elimination
- Pivot;
- Triangularize;
- Back substitution;
- Coefficient matrix, augmented matrix, row vector & column vector;
- the meaning of Ai*, A*j;
- 3 situations of solution existence (under the view of linear equations): 0,1 or infinite;
- Computational complexity: n^3/3+...;
- Gaussian-Jordan Method
- Computational complexity: n^3/2+...;
- Roundoff error
- Form of floating number: f=± .d1 d2 ... dt * b^n (d1≠0);
- Roundoff error: caused by the different magnitudes between the different columns;
- Partial pivoting: search the position BELOW the pivotal position for the coefficient in maximum magnitude;
- Complete pivoting: search the position BELOW and on the RIGHT of the pivotal position for the max coefficient;
- Partial & Complete pivoting: whether using elementary column operation. The partial one is used more frequently because the elementary column operation is not easy to use;
- the ill-conditioned system
- the solution of an ill-conditioned system is extremely sensitive to a small perturbation on the coefficients;
- Geometrical view: two linear systems are almost parallel so that their cross point will move sensitively when any one system moved;
- How to notice the ill-condition of a linear system: enumerating ( it's not easy to find whether a system is ill-conditioned);
- 2 way to solve the problem: bite the bullet and compute the accurate solution, or redesign the experiment setup to avoid producing the ill-conditioned system. The latter one is better empirically. Finding a system is an ill-conditioned one as early as possible will save much time;
- Row echelon form
- Notation: E;
- Cause: linear correlation between different column vectors and modified Gaussian elimination;
- The echelon form (namely the position of pivots) is uniquely determined by the entries in A. However, the entries in E is not uniquely determined by A.
- Basic column: the columns in A which contain the pivotal position;
- Rank: the number of pivots = the number of nonzero rows in E = the number of basic columns in A;
- Reduced row echelon form: produced by Gaussian-Jordan Method( [0 0 1 0]T ), notated by EA;
- Both form and entries of EA is uniquely determined by A;
- EA can show the hidden relationships among the different columns of A;
- Consistency of linear system
- A system is consistent if it has at least one solution. Otherwise, it is inconsistent.
- When n (the number of equations) is two or three, the consistency of the system can be shown geometrically, the common point.
- If n>3, we can judge through the following method:
- In the augmented matrix [A|b], 0=a≠0 does not exist;
- In [A|b], b is the nonbasic column;
- rank(A|b)=rank(A);
- b is the combination of the basic column in A.
- Homogeneous system
- Homogeneous and nonhomogeneous;
- Trivial solution;
- A homogeneous system must be a consistent system;
- General solution: basic variable, free variable;
- Nonhomogeneous system
- General solution;
- The system possesses a unique solution if and only if:
- rank(A) = the number of the unknowns;
- no free variable;
- the associated homogeneous system only has a trivial solution;
- Chap 2: Matrix Algebra
- Addition
- Addition and addition inversion;
- Addition properties;
- Scalar multiplication
- Transpose
- Transpose and conjugate transpose;
- Properties;
- Symmetry;
- Symmetric matrix, skew-symmetric matrix, hermitian matrix, skew-hermitian matrix;
- Multiplication
- Linear function: f(x1+x2)=f(x1)+f(x2), f(kx)=kf(x) <=> f(kx+y)=kf(x)+f(y);
- Affine function: translation of linear function;
- Matrix multiplication;
- Properties: distributive law(left one or tight one) and associative law, but no commutative law;
- Trace
- Definition: the sum of diagonal entries;
- Properties: trace(AB) = trace(BA), trace(ABC) = trace(BCA) = trace(CAB) ≠ trace(ACB);
- Meaning of rows and columns in a product
- [AB]i* = linear combination of row vectors in B based on i-th row vector in A;
- [AB]*j = linear combination of column vectors in A based on j-th column vector in B;
- column vector * row vector = a matrix whose rank is 1 ( outer product);
- row vector * column vector <=> inner product;
- Identity matrix;
- Power: nonnegative;
- Block matrix multiplication;
- Inversion
- Only square matrices have matrix inversion;
- AB=I and BA=I ( When only square matrix involved, any one of the two equations is sufficing);
- Nonsingular matrix and singular matrix;
- When an inversion exists, it is unique. That means:
- If A is nonsingular, the equation Ax=b has the unique solution x=A'b;
- If A is nonsingular, rank(A) =n (full rank);
- If A is nonsingular, the unknown x has no free variable;
- If A is nonsingular, the associated homogeneous system has a trivial solution only;
- Existence of matrix inversion: A' exists <=> rank(A)=n <=> A can be transformed to I via Gauss-Jordan Method <=> Ax=0 only has a trivial solution;
- Computing an inversion: transforming [A|I] to [I|A'] via Gauss-Jordan Method;
- Complexity(x=A'b) > Complexity(Gaussian Elimination):
- C(GE) ≈ n^3/3;
- C(x=A'b) = C(computing A') + C(A'b) ≈ 2*(n^3/2) + n*n*n = 2n^3;
- Properties:
- (A')' = A;
- A, B are nonsingular, AB is also nonsingular;
- (AB)' = B'A';
- (A')T = (AT)' as well as (A')* = (A*)';
- Inversion of sum and sensitivity:
- Directly discuss the relationship of (A+B)' and A', B' is meaningless;
- Sherman-Morrison Formula: a small perturbation;
- Neumann Series:
- If limn->infiniteAn=0 and (I-A) is nonsingular, (I-A)'=I + A + A2 + ... =ΣiAi;
- To solve (A+B)', the expression can be transformed into A(I-(-A'B))';
- (A+B)' ≈ A' + A'BA': A perturbation B on A, will make inversion change by A'BA'. When A' is large, a small perturbation will change the result a lot;
- Condition number;
- Elementary Matrices and Equivalence
- Elementary matrix: I-uv^T, u and v are column vectors;
- The inversion of an elementary matrix is also an elementary matrix;
- Elementary matrices associated with three types of elementary row (or column) operation;
- A is a nonsingular matrix <=> A is the product of elementary matrices of Type I, II and III row (or column) operation;
- Equivalence: A~B <=> PAQ=B for nonsingular P and Q;
- Row equivalence and column equivalence;
- Rank normal form: if A is an m*n matrix such that rank(A)=r, then A~Nr=[[Ir, 0]^T, [0, 0]^T], Nr is called rank normal form for A;
- A~B <=> rank(A)=rank(B);
- Corollary: Multiplication by nonsingular matrices cannot change rank;
- rank(A^T)=rank(A);
- rank(A*)=rank(A);
- LU factorization
- Origin: Gaussian Elimination;
- LU factorization: A=LU, L: lower triangular matrix, U: upper triangular matrix;
- Observation of LU: Advantages of LU factorization:
- L:
- a lower triangular matrix;
- 1's on the diagonal: means itself row plus other rows' multiplication with a scalar;
- the entries below the diagonal record the multipliers used to eliminate;
- U:
- an upper triangular matrix;
- the result of the elimination on A;
- L:
- *L and U are unique;
- proof: A=L1U1=L2U2 => L2'L1=U2U1', L2'L1 is a lower triangular matrix, U2U1' is an upper triangular matrix. They are equal to each other. So I=I => L2'L1=U2U1'=I.
- *If exchanging of two rows is emerging during LU factorizing, the consistency of triangular form will be destroyed;
- Advantages of LU factorization:
- If only one system Ax=b need to be solved, the Gaussian Elimination is enough;
- If more then one systems which coefficient matrices are the same need to be solved, the LU factorization is better;
- Once the LU factors of A are known, any other system Ax=b can be solved in n^2 multiplications and n^2-n additions;
- Existence of LU:
- No zero pivot emerges during row reduction to upper triangular form with type III operation;
- Another characterization method associated with principle submatrix: each leading principle submatrices is nonsingular;
- PLU factorization: PA=LU;
- LDU factorization: A=LDU, D=diag(u11, u22, ..., unn);
- Addition
- Vector Spaces
- Spaces and subspaces
- Vector space;
- Scalar field F: R for real numbers and C for complex numbers;
- null
- Spaces and subspaces
Matrix Analysis and Application的更多相关文章
- [Bhatia.Matrix Analysis.Solutions to Exercises and Problems]ExI.4.1
Let $x,y,z$ be linearly independent vectors in $\scrH$. Find a necessary and sufficient condition th ...
- [Bhatia.Matrix Analysis.Solutions to Exercises and Problems]Contents
I find it may cost me so much time in doing such solutions to exercises and problems....I am sorry t ...
- [Bhatia.Matrix Analysis.Solutions to Exercises and Problems]ExI.3.7
For every matrix $A$, the matrix $$\bex \sex{\ba{cc} I&A\\ 0&I \ea} \eex$$ is invertible and ...
- [Bhatia.Matrix Analysis.Solutions to Exercises and Problems]ExI.5.10
Every $k\times k$ positive matrix $A=(a_{ij})$ can be realised as a Gram matrix, i.e., vectors $x_j$ ...
- [Bhatia.Matrix Analysis.Solutions to Exercises and Problems]ExI.5.5
Show that the inner product $$\bex \sef{x_1\vee \cdots \vee x_k,y_1\vee \cdots\vee y_k} \eex$$ is eq ...
- [Bhatia.Matrix Analysis.Solutions to Exercises and Problems]ExI.5.1
Show that the inner product $$\bex \sef{x_1\wedge \cdots \wedge x_k,y_1\wedge \cdots\wedge y_k} \eex ...
- [Bhatia.Matrix Analysis.Solutions to Exercises and Problems]ExI.4.6
Let $A$ and $B$ be two matrices (not necessarily of the same size). Relative to the lexicographicall ...
- [Bhatia.Matrix Analysis.Solutions to Exercises and Problems]ExI.4.4
(1). There is a natural isomorphism between the spaces $\scrH\otimes \scrH^*$ and $\scrL(\scrH,\scrK ...
- [Bhatia.Matrix Analysis.Solutions to Exercises and Problems]ExI.2.8
For any matrix $A$ the series $$\bex \exp A=I+A+\frac{A^2}{2!}+\cdots+\frac{A^n}{n!}+\cdots \eex$$ c ...
随机推荐
- 2018.7.31-2018.8.2记:关于maven
maven的使用,用得好,则省力省事,但是用不好则会造成一堆莫名其妙的错误,maven在使用的时候,jar包下载异常终止尤为需要注意,很容易就终止了,并且会出现一些下载出空jar包的情况,即:jar包 ...
- 快速排序的Partition函数
1 //数组中两个数的交换 2 static void swap(int[] nums, int pos1, int pos2){ 3 int temp = nums[pos1]; 4 nums[po ...
- promise的信任问题&控制反转
//信任问题 //第三方的某个库 function method(cb){ setTimeout(function(){ cb && cb(); //这个库的bug:函数被多调用了一次 ...
- Ansible基础使用
原文转自:https://www.cnblogs.com/itzgr/p/10233932.html作者:木二 目录 一 Ansible命令用法 1.1 免密钥 1.2 Ad-Hoc基础命令 1.3 ...
- for循环练习之打印三角形
public class TestDemo01 { /** * 打印三角形 * 1.打印空格 * 2.打印三角形 */ public static void main(String[] args) { ...
- 简单C++线程池
简单C++线程池 Java 中有一个很方便的 ThreadPoolExecutor,可以用做线程池.想找一下 C++ 的类似设施,尤其是能方便理解底层原理可上手的.网上找到的 demo,基本都是介绍的 ...
- MyBatis-Plus 代码生成器模板
MyBatis-Plus 代码生成器模板 maven 依赖 <!--Mysql--> <dependency> <groupId>mysql</groupId ...
- IKEv2协议关键知识点总结整理
文章目录 @[toc] 1. IKEv2基本原理 2. IKEv2协议重点注意事项 2.1 情景一:==IKEv2协商密钥逻辑== ①密钥协商流程 ②函数调用关系 ③流程简述 2.2 情景二:==使用 ...
- SQL-UPDATE触发器练习
&练习一 如下所示三张表( student,grade,student_updata_before ): student表 grade表 Student_update_before表 # 触发 ...
- IDEA weblogic远程调试
weblogic远程调试 这里我们使用vulhub的镜像作为初始构建镜像搭建漏洞环境 1. 搭建docker环境 新建一个目录,创建两个文件 DockerFile FROM vulhub/weblog ...