Math for CSLecture 21 Solution of Linear Systems of Equations Consistency Rank Geometric Interpretation Gaussian Elimination Lecture 2. Contents.

Slides:



Advertisements
Similar presentations
If each equation in a system of equations is linear, then we have a system of linear equations.
Advertisements

Chapter 2 Solutions of Systems of Linear Equations / Matrix Inversion
4.3 Matrix Approach to Solving Linear Systems 1 Linear systems were solved using substitution and elimination in the two previous section. This section.
Gauss Elimination.
Chapter 2 Simultaneous Linear Equations
Chapter 4 Systems of Linear Equations; Matrices Section 2 Systems of Linear Equations and Augmented Matrics.
Lecture 7 Intersection of Hyperplanes and Matrix Inverse Shang-Hua Teng.
1 Copyright © 2015, 2011, 2007 Pearson Education, Inc. Chapter 4-1 Systems of Equations and Inequalities Chapter 4.
Lecture 9: Introduction to Matrix Inversion Gaussian Elimination Sections 2.4, 2.5, 2.6 Sections 2.2.3, 2.3.
Solution of linear system of equations
Solving Systems of Linear Equations Part Pivot a Matrix 2. Gaussian Elimination Method 3. Infinitely Many Solutions 4. Inconsistent System 5. Geometric.
Lecture 4 The Gauß scheme A linear system of equations Matrix algebra deals essentially with linear linear systems. Multiplicative elements. A non-linear.
Matrices. Special Matrices Matrix Addition and Subtraction Example.
Matrices and Systems of Equations
10.1 Gaussian Elimination Method
Math for CSTutorial 2-31 Solution of Systems of Linear Equations Gaussian Elimination LU Decomposition Gram-Schmidt vector orthogonalization Tutorial 2-3.
7.1 Systems of Linear Equations: Two Equations Containing Two Variables.
Section 8.1 – Systems of Linear Equations
Solving System of Linear Equations. 1. Diagonal Form of a System of Equations 2. Elementary Row Operations 3. Elementary Row Operation 1 4. Elementary.
HAWKES LEARNING SYSTEMS math courseware specialists Copyright © 2011 Hawkes Learning Systems. All rights reserved. Hawkes Learning Systems College Algebra.
Elementary Linear Algebra Howard Anton Copyright © 2010 by John Wiley & Sons, Inc. All rights reserved. Chapter 1.
Linear Algebra – Linear Equations
Multivariate Linear Systems and Row Operations.
Systems of Linear Equations and Row Echelon Form.
SYSTEMS OF LINEAR EQUATIONS
1 1.1 © 2012 Pearson Education, Inc. Linear Equations in Linear Algebra SYSTEMS OF LINEAR EQUATIONS.
Math Dept, Faculty of Applied Science, HCM University of Technology
Elementary Linear Algebra
Systems and Matrices (Chapter5)
SECTION 6.1 SYSTEMS OF LINEAR EQUATIONS: SYSTEMS OF LINEAR EQUATIONS: SUBSTITUTION AND ELIMINATION SUBSTITUTION AND ELIMINATION.
Copyright © Cengage Learning. All rights reserved. 7.4 Matrices and Systems of Equations.
Copyright © 2011 Pearson, Inc. 7.3 Multivariate Linear Systems and Row Operations.
Slide Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley.
Section 1.1 Introduction to Systems of Linear Equations.
Warm-Up Write each system as a matrix equation. Then solve the system, if possible, by using the matrix equation. 6 minutes.
Sec 3.1 Introduction to Linear System Sec 3.2 Matrices and Gaussian Elemination The graph is a line in xy-plane The graph is a line in xyz-plane.
Math 201 for Management Students
Three variables Systems of Equations and Inequalities.
How To Find The Reduced Row Echelon Form. Reduced Row Echelon Form A matrix is said to be in reduced row echelon form provided it satisfies the following.
MATH 250 Linear Equations and Matrices
Systems of Linear Equations Let’s say you need to solve the following for x, y, & z: 2x + y – 2z = 10 3x + 2y + 2z = 1 5x + 4y + 3z = 4 Two methods –Gaussian.
Row Reduction Method Lesson 6.4.
Row rows A matrix is a rectangular array of numbers. We subscript entries to tell their location in the array Matrices are identified by their size.
Sec 3.2 Matrices and Gaussian Elemination Coefficient Matrix 3 x 3 Coefficient Matrix 3 x 3 Augmented Coefficient Matrix 3 x 4 Augmented Coefficient Matrix.
Matrices CHAPTER 8.1 ~ 8.8. Ch _2 Contents  8.1 Matrix Algebra 8.1 Matrix Algebra  8.2 Systems of Linear Algebra Equations 8.2 Systems of Linear.
Systems of Equations and Inequalities Systems of Linear Equations: Substitution and Elimination Matrices Determinants Systems of Non-linear Equations Systems.
Chapter 1 Section 1. Examples: 2 x 2 system 2 x 3 system 3 x 2 system.
Triangular Form and Gaussian Elimination Boldly on to Sec. 7.3a… HW: p odd.
Copyright © 2011 Pearson Education, Inc. Solving Linear Systems Using Matrices Section 6.1 Matrices and Determinants.
Matrices and Systems of Equations
Matrices and Systems of Linear Equations
How To Find The Reduced Row Echelon Form. Reduced Row Echelon Form A matrix is said to be in reduced row echelon form provided it satisfies the following.
Matrices and Systems of Equations
Slide Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley A set of equations is called a system of equations. The solution.
Introduction and Definitions
Linear Algebra Engineering Mathematics-I. Linear Systems in Two Unknowns Engineering Mathematics-I.
Multivariable Linear Systems and Row Operations
Linear Equations in Linear Algebra
Section 6.1 Systems of Linear Equations
Chapter 4 Systems of Linear Equations; Matrices
Systems of linear equations
Solving Systems of Equations Using Matrices
5 Systems of Linear Equations and Matrices
Linear independence and matrix rank
Chapter 8: Lesson 8.1 Matrices & Systems of Equations
Matrices and Systems of Equations 8.1
Chapter 1: Linear Equations in Linear Algebra
Linear Equations in Linear Algebra
Matrices are identified by their size.
Presentation transcript:

Math for CSLecture 21 Solution of Linear Systems of Equations Consistency Rank Geometric Interpretation Gaussian Elimination Lecture 2. Contents

Math for CSLecture 22 Systems of linear equations In Linear equations the unknowns appear raised to the power one. If the variables in the equation are ordered as x 1, … x n and the missing variables x i are written as … + 0·x i + …, then the linear equation can be written in the matrix notation, according to the matrix multiplication rules. Solution of linear equations was one of the reasons, for matrix notation invention.

Math for CSLecture 23 Linear Systems in Matrix Form  (1)

Math for CSLecture 24 Each side of the equation Can be multiplied by A -1 : Due to the definition of A -1 : Therefore the solution of (2) is: (2) Solution of Linear Systems

Math for CSLecture 25 Consistency (Solvability) A -1 does not exist for every A The linear system of equations A · x=b has a solution, or said to be consistent IFF Rank{A}=Rank{A|b} A system is inconsistent when Rank{A}<Rank{A|b} Rank{A} is the maximum number of linearly independent columns or rows of A. Rank can be found by using ERO (Elementary Row Oparations) or ECO (Elementary column operations).

Math for CSLecture 26 Elementary row and column operations The following operations applied to the augmented matrix [A|b], yield an equivalent linear system –Interchanges: The order of two rows/columns can be changed –Scaling: Multiplying a row/column by a nonzero constant –Sum: The row can be replaced by the sum of that row and a nonzero multiple of any other row. One can use ERO and ECO to find the Rank as follows: ERO  minimum # of rows with at least one nonzero entry or ECO  minimum # of columns with at least one nonzero entry

Math for CSLecture 27 An inconsistent example: Geometric interpretation Rank{A}=1 Rank{A|b}=2 > Rank{A} ERO:Multiply the first row with -2 and add to the second row

Math for CSLecture 28 Uniqueness of solutions The system has a unique solution IFF Rank{A}=Rank{A|b}=n n is the order of the system Such systems are called full-rank systems

Math for CSLecture 29 Full-rank systems If Rank{A}=n Det{A}  0  A -1 exists  Unique solution

Math for CSLecture 210 Rank deficient matrices If Rank{A}=m<n Det{A} = 0  A is singular so not invertible infinite number of solutions (n-m free variables) under-determined system Consistent so solvable Rank{A}=Rank{A|b}=1

Math for CSLecture 211 Ill-conditioned system of equations A small deviation in the entries of A matrix, causes a large deviation in the solution.  

Math for CSLecture 212 Ill-conditioned continued..... A linear system of equations is said to be “ill- conditioned” if the coefficient matrix tends to be singular

Math for CSLecture 213 Gaussian Elimination –By using ERO, matrix A is transformed into an upper triangular matrix (all elements below diagonal 0) –Back substitution is used to solve the upper- triangular system  ERO Back substitution

Math for CSLecture 214 Pivotal Element Pivotal element The first coefficient of the first row (pivot) is used to zero out first coefficients of Other rows.

Math for CSLecture 215 First step of elimination First row, multiplied by appropriate factor is subtracted from other rows.

Math for CSLecture 216 Second step of elimination Pivotal element The second coefficient (pivot) of the second row is used to zero out second coefficients of other rows.

Math for CSLecture 217 Second step of elimination Second row, multiplied by appropriate factor is subtracted from other rows (ERO).

Math for CSLecture 218 Gaussion elimination algorithm For c=p+1 to n

Math for CSLecture 219 Back substitution algorithm Finally, the following system is obtained:

Math for CSLecture 220 Back substitution algorithm The answer is obtained as following: