Square n-by-n Matrix.

Slides:



Advertisements
Similar presentations
Gauss Elimination.
Advertisements

Chapter 2 Simultaneous Linear Equations
Section 4.6 (Rank).
Scientific Computing Linear Systems – Gaussian Elimination.
1.5 Elementary Matrices and a Method for Finding
Lecture 7 Intersection of Hyperplanes and Matrix Inverse Shang-Hua Teng.
Lecture 9: Introduction to Matrix Inversion Gaussian Elimination Sections 2.4, 2.5, 2.6 Sections 2.2.3, 2.3.
Lecture 6 Matrix Operations and Gaussian Elimination for Solving Linear Systems Shang-Hua Teng.
Solution of linear system of equations
Linear Algebraic Equations
Eigenvalues and Eigenvectors
Lecture 6 Intersection of Hyperplanes and Matrix Inverse Shang-Hua Teng.
Lecture 9 Symmetric Matrices Subspaces and Nullspaces Shang-Hua Teng.
Linear Algebra Textbook: J. Hefferon, “Linear Algebra”
Matrices and Systems of Equations
Chapter 1 Systems of Linear Equations
Math for CSLecture 21 Solution of Linear Systems of Equations Consistency Rank Geometric Interpretation Gaussian Elimination Lecture 2. Contents.
Mujahed AlDhaifallah (Term 342) Read Chapter 9 of the textbook
Lecture 10 Dimensions, Independence, Basis and Complete Solution of Linear Systems Shang-Hua Teng.
10.1 Gaussian Elimination Method
Math Dept, Faculty of Applied Science, HCM University of Technology
ECON 1150 Matrix Operations Special Matrices
Advanced Computer Graphics Spring 2014 K. H. Ko School of Mechatronics Gwangju Institute of Science and Technology.
 Row and Reduced Row Echelon  Elementary Matrices.
Matrices King Saud University. If m and n are positive integers, then an m  n matrix is a rectangular array in which each entry a ij of the matrix is.
Copyright © 2011 Pearson, Inc. 7.3 Multivariate Linear Systems and Row Operations.
MA2213 Lecture 5 Linear Equations (Direct Solvers)
Matrix Algebra. Quick Review Quick Review Solutions.
Linear Algebra Lecture 25.
MATH 250 Linear Equations and Matrices
8.1 Matrices and Systems of Equations. Let’s do another one: we’ll keep this one Now we’ll use the 2 equations we have with y and z to eliminate the y’s.
Day 1 Eigenvalues and Eigenvectors
Chapter 2 Simultaneous Linear Equations (cont.)
We will use Gauss-Jordan elimination to determine the solution set of this linear system.
Yasser F. O. Mohammad Assiut University Egypt. Previously in NM Introduction to NM Solving single equation System of Linear Equations Vectors and Matrices.
Chapter Content Real Vector Spaces Subspaces Linear Independence
Chapter 3 Solution of Algebraic Equations 1 ChE 401: Computational Techniques for Chemical Engineers Fall 2009/2010 DRAFT SLIDES.
Computing Eigen Information for Small Matrices The eigen equation can be rearranged as follows: Ax = x  Ax = I n x  Ax - I n x = 0  (A - I n )x = 0.
Lecture 8 Matrix Inverse and LU Decomposition
Solving Linear Systems of Equations
5.5 Row Space, Column Space, and Nullspace
4.6: Rank. Definition: Let A be an mxn matrix. Then each row of A has n entries and can therefore be associated with a vector in The set of all linear.
Lesson 3 CSPP58001.
Chapter 1 Systems of Linear Equations Linear Algebra.
Arab Open University Faculty of Computer Studies M132: Linear Algebra
Linear Systems Dinesh A.
Student Handbook 1. Matrices A matrix (plural: matrices, not matrixes) is a rectangular array of numbers such as Matrices are useful when modelling a.
5 5.1 © 2016 Pearson Education, Ltd. Eigenvalues and Eigenvectors EIGENVECTORS AND EIGENVALUES.
Unit #1 Linear Systems Fall Dr. Jehad Al Dallal.
Linear Algebra Engineering Mathematics-I. Linear Systems in Two Unknowns Engineering Mathematics-I.
Matrices, Vectors, Determinants.
1 SYSTEM OF LINEAR EQUATIONS BASE OF VECTOR SPACE.
Gaussian Elimination Digital Lesson. Copyright © by Houghton Mifflin Company, Inc. All rights reserved. 2 Gaussian elimination with back-substitution.
1 Numerical Methods Solution of Systems of Linear Equations.
7.3 Linear Systems of Equations. Gauss Elimination
Gaussian Elimination and Gauss-Jordan Elimination
Part B. Linear Algebra, Vector Calculus
Simultaneous Linear Equations
Spring Dr. Jehad Al Dallal
L9Matrix and linear equation
Row Space, Column Space, and Nullspace
4.6: Rank.
Major: All Engineering Majors Author(s): Autar Kaw
Linear Algebra Lecture 21.
Linear Systems Numerical Methods.
Mathematics for Signals and Systems
Elementary Linear Algebra Anton & Rorres, 9th Edition
Lecture 8 Matrix Inverse and LU Decomposition
Lecture 9 Symmetric Matrices Subspaces and Nullspaces
Linear Algebra Lecture 28.
Presentation transcript:

Square n-by-n Matrix

Solution of Simultaneous Linear Equations

Backward Substitution Gaussian Elimination Forward Elimination 2 u + v + w = 1 (1) 4 u + v = -2 (2) -2 u + 2 v + w = 7 (3) Step 1: equation (2) – 2 x equation (1) Step 2: equation (3) – (-1) x equation (1) 2 u + v + w = 1 (4) - v - 2 w = - 4 (5) 3 v + 2 w = 8 (6) Step 3: equation (6) – (-3) x equation (5) 2 u + v + w = 1 (7) - v - 2 w = -4 (8) - 4 w = -4 (9) Backward Substitution w = 1 v = 2 u = -1

Elementary Transformation of Matrices – (i)

Elementary Transformation of Matrices – (ii)

Elementary Transformation of Matrices – (iii)

Elementary Row Operation Any row manipulation can be accomplished by pre-multiplication of elementary matrices!

Elementary Column Operation Any column manipulation can be accomplished by post-multiplication of elementary matrices!

Gaussian Elimination = Triangular Factorization

Upper triangular Lower triangular

Conclusion

Implications

Row Exchange

Elimination with Row Exchange

Round Off Error

Singular matrix

Second Point: Even a well-conditioned matrix can be ruined by a poor algorithm.

If a calculator is capable of keeping only 3 digits, then Gaussian elimination gives the wrong answer!!!

Third Point A computer program should compare each pivot with all the other possible pivots in the same column. Choosing the largest of these candidates, and exchanging the corresponding rows so as to make this largest value pivot, is called partial pivoting.

Non-square m-by-n Matrix

Solution of m Equations with n Unknowns (m<n) pivot pivot

Row Echelon Form

Solution of m Equations with n Unknowns (m<n) pivot

CONCLUSION To any m-by-n matrix A there correspond a permutation matrix R, a lower triangular matrix L with unit diagonal, and an m-by-n echelon matrix U, such that RA = LU

Homogeneous Solution pivot

Conclusions Every homogeneous system Ax=0, if it has more unknowns than equations (n>m), has a nontrivial solution. The null space is a subspace of the same “dimension” as the number of free variables. The null space is a subspace of Rⁿ.

Subspace A subspace of a vector space is a subset that satisfies two requirements: If we add any two vectors x and y in the subspace, the sum x+y is still in the subspace. If we multiply any vector x in the subspace by any scalar c, the multiple cx is still in the subspace. Note that the zero vector belongs to every subspace.

Inhomogeneous Solution

Conclusion The system Ax=b is solvable if and only if the vector b can be expressed as a linear combination of the columns of A.

Conclusions

General solution Ax=0 Particular soln

CONCLUSIONS Suppose the m×n matrix A is reduced by elementary operations and row exchanges to a matrix U in echelon form. Let there be r nonzero pivots; the last m-r rows of U are zero. Then there will be r basic variables and n-r free variables, corresponding to the columns of U with and without pivots respectively.

CONCLUSIONS The null space, formed of solutions to Ax=0, has the n-r free variables as the independent parameters. If r=n, there are no free variables and the null space contains only x=0. Solutions exist for every right side b iff r=m, then U has no zero rows, and Ux=c can be solved by back-substitution.

CONCLUSIONS If r<m, U will have m-r zero rows and there are m-r constraints on b in order for Ax=b to be solvable. If one particular solution exists, then every other solution differs from it by a vector in the null space of A. The number r is called the rank of the matrix A.