Warm up Find the dimensions of the following matrices:Find the dimensions of the following matrices: 1. 2.1. 2. 3. For the first matrix find a 213. For.

Slides:



Advertisements
Similar presentations
Linear Systems COS 323. Linear Systems Solve Ax=b, where A is an n  n matrix and b is an n  1 column vectorSolve Ax=b, where A is an n  n matrix and.
Advertisements

1.5 Elementary Matrices and a Method for Finding
Inverses of n x n Matrices. The Inverse Matrix If A is an n x n matrix, the inverse of A (call it A -1 ) is the matrix such that A * A -1 is equal to.
Objectives  Represent systems of equations with matrices  Find dimensions of matrices  Identify square matrices  Identify an identity matrix  Form.
Objectives  Represent systems of equations with matrices  Find dimensions of matrices  Identify square matrices  Identify an identity matrix  Form.
Solving systems using matrices
Chapter 1 Systems of Linear Equations
Linear Systems and Matrices
10.1 Gaussian Elimination Method
Lesson 8.1, page 782 Matrix Solutions to Linear Systems
Chapter 1 Section 1.2 Echelon Form and Gauss-Jordan Elimination.
Section 8.1 – Systems of Linear Equations
Systems of linear equations. Simple system Solution.
Multivariate Linear Systems and Row Operations.
Matrix Solution of Linear Systems The Gauss-Jordan Method Special Systems.
SYSTEMS OF LINEAR EQUATIONS
8.1 Matrix Solutions to Linear Systems Veronica Fangzhu Xing 3 rd period.
Copyright © 2014, 2010, 2007 Pearson Education, Inc.
Notes 7.3 – Multivariate Linear Systems and Row Operations.
 Row and Reduced Row Echelon  Elementary Matrices.
Barnett/Ziegler/Byleen Finite Mathematics 11e1 Review for Chapter 4 Important Terms, Symbols, Concepts 4.1. Systems of Linear Equations in Two Variables.
Sect 8.1 Systems of Linear Equations A system of linear equations is where all the equations in a system are linear ( variables raised to the first power).
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 © Cengage Learning. All rights reserved. 7.4 Matrices and Systems of Equations.
Slide Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley.
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.
Euclidean m-Space & Linear Equations Row Reduction of Linear Systems.
Three variables Systems of Equations and Inequalities.
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.
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.
F UNDAMENTALS OF E NGINEERING A NALYSIS Eng. Hassan S. Migdadi Inverse of Matrix. Gauss-Jordan Elimination Part 1.
Chapter 6 Matrices and Determinants Copyright © 2014, 2010, 2007 Pearson Education, Inc Matrix Solutions to Linear Systems.
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.
Matrix Solutions to Linear Systems. 1. Write the augmented matrix for each system of linear equations.
Using Matrices A matrix is a rectangular array that can help us to streamline the solving of a system of equations The order of this matrix is 2 × 3 If.
Chapter 11 Section 11.4 Solving Larger Systems of Equations.
Lesson 13-1: Matrices & Systems Objective: Students will: State the dimensions of a matrix Solve systems using matrices.
We will use Gauss-Jordan elimination to determine the solution set of this linear system.
Chapter 1 Section 1.1 Introduction to Matrices and systems of Linear Equations.
10.4 Matrix Algebra 1.Matrix Notation 2.Sum/Difference of 2 matrices 3.Scalar multiple 4.Product of 2 matrices 5.Identity Matrix 6.Inverse of a matrix.
Algebra 3: Section 5.5 Objectives of this Section Find the Sum and Difference of Two Matrices Find Scalar Multiples of a Matrix Find the Product of Two.
MCV4U1 Matrices and Gaussian Elimination Matrix: A rectangular array (Rows x Columns) of real numbers. Examples: (3 x 3 Matrix) (3 x 2 Matrix) (2 x 2 Matrix)
Matrices and Systems of Equations
Matrices and Systems of Linear Equations
Linear Equation System Pertemuan 4 Matakuliah: S0262-Analisis Numerik Tahun: 2010.
Solve a system of linear equations By reducing a matrix Pamela Leutwyler.
 SOLVE SYSTEMS OF EQUATIONS USING MATRICES. Copyright © 2012 Pearson Education, Inc. Publishing as Addison Wesley 9.3 Matrices and Systems of Equations.
Algebra II Honors Problem of the Day Homework page eoo The following system has been solved and there are infinite solutions in the form of (
Chapter 1: Systems of Linear Equations and Matrices
Chapter 1 Linear Algebra S 2 Systems of Linear Equations.
10.2 Systems of Linear Equations: Matrices Objectives Objectives 1.Write the Augmented Matrix 2.Write the System from the Augmented matrix 3.Perform Row.
Matrices and Systems of Equations
Meeting 19 System of Linear Equations. Linear Equations A solution of a linear equation in n variables is a sequence of n real numbers s 1, s 2,..., s.
Linear Systems Numerical Methods. Linear equations N unknowns, M equations N unknowns, M equations where coefficient matrix.
7.3 & 7.4 – MATRICES AND SYSTEMS OF EQUATIONS. I N THIS SECTION, YOU WILL LEARN TO  Write a matrix and identify its order  Perform elementary row operations.
Chapter 1 Systems of Linear Equations Linear Algebra.
Def: A matrix A in reduced-row-echelon form if 1)A is row-echelon form 2)All leading entries = 1 3)A column containing a leading entry 1 has 0’s everywhere.
Chapter 5: Matrices and Determinants Section 5.5: Augmented Matrix Solutions.
Def: A matrix A in reduced-row-echelon form if 1)A is row-echelon form 2)All leading entries = 1 3)A column containing a leading entry 1 has 0’s everywhere.
Ch. 7 – Matrices and Systems of Equations 7.3 – Multivariable Linear Systems.
Ch. 7 – Matrices and Systems of Equations
Copyright © 2014, 2010, 2007 Pearson Education, Inc.
Gaussian Elimination and Gauss-Jordan Elimination
L9Matrix and linear equation
Chapter 8: Lesson 8.1 Matrices & Systems of Equations
Gaussian Elimination and Gauss-Jordan Elimination
Section 8.1 – Systems of Linear Equations
Matrices are identified by their size.
Presentation transcript:

Warm up Find the dimensions of the following matrices:Find the dimensions of the following matrices: For the first matrix find a 213. For the first matrix find a 21

Gauss-Jordan Elimination Objective: To solve system of equations using Gauss-Jordan elimination of an augmented matrix.

3 Augmented Matrix for a System of Equations Given a system of equations we can talk about its coefficient matrix and its augmented matrix.Given a system of equations we can talk about its coefficient matrix and its augmented matrix. To solve the system we can now use row operations instead of equation operations to put the augmented matrix in row echelon form.To solve the system we can now use row operations instead of equation operations to put the augmented matrix in row echelon form.

4 Row-Echelon Form A matrix is in row-echelon form if:A matrix is in row-echelon form if: The lower left quadrant of the matrix has all zero entries.The lower left quadrant of the matrix has all zero entries. In each row that is not all zeros the first entry is a 1.In each row that is not all zeros the first entry is a 1. The diagonal elements of the coefficient matrix are all 1The diagonal elements of the coefficient matrix are all 1

Gauss-Jordan Elimination Solve:Solve: Only care about numbers – form “tableau” or “augmented matrix”:Only care about numbers – form “tableau” or “augmented matrix”:

Gauss-Jordan Elimination Given:Given: Goal: reduce this to trivial system and read off answer from right columnGoal: reduce this to trivial system and read off answer from right column

Gauss-Jordan Elimination Basic operation 1: replace any row by linear combination with any other rowBasic operation 1: replace any row by linear combination with any other row Here, replace row1 with 1 / 2 * row1 + 0 * row2Here, replace row1 with 1 / 2 * row1 + 0 * row2

Gauss-Jordan Elimination Replace row2 with row2 – 4 * row1Replace row2 with row2 – 4 * row1 Negate row2Negate row2

Gauss-Jordan Elimination Replace row1 with row1 – 3 / 2 * row2Replace row1 with row1 – 3 / 2 * row2 Read off solution: x= 2, y = 1Read off solution: x= 2, y = 1

Gauss-Jordan Elimination For each row i:For each row i: Multiply row i by 1/a iiMultiply row i by 1/a ii For each other row j:For each other row j: Add –a ji times row i to row jAdd –a ji times row i to row j At the end, left part of matrix is identity, answer in right partAt the end, left part of matrix is identity, answer in right part

11 Gauss-Jordan Elimination In Gauss-Jordan elimination, we reduce the augmented matrix until we get a row equivalent matrix in reduced row-echelon form. (r-e form where every column with a leading 1 has rest zeros)In Gauss-Jordan elimination, we reduce the augmented matrix until we get a row equivalent matrix in reduced row-echelon form. (r-e form where every column with a leading 1 has rest zeros)

12 Gauss-Jordan Elimination Let us consider the set of linearly independent equations. Augmented matrix for the set is:

13 Gauss-Jordan Elimination Step 1: make the first x = 1. -(R1 + R2)

14 Gauss-Jordan Elimination Step 2: Eliminate the other 2 x’s from the first column. 3R 1 + R 2 R 3 -5 R 1

15 Gauss-Jordan Elimination Step 3: Create the 1 in the second row second column R 1 + R 2 R 2 /2 Step 4: Eliminate the other y’s 8R 2 – R 3

16 Gauss-Jordan Elimination Step 5: Create the 1 in the 3 rd row 3 rd column. R 3 /-168

17 Gauss-Jordan Elimination Step 6: Eliminate the other z’s. (53/2)R 3 + R 1 (29/2)R 3 + R 2 x=2 y=-3 z=4

Practice x + 2y = -2x + 2y = -2 2x +6y = 22x +6y = 2

Practice x + y + z = 4x + y + z = 4 2x – y +2z = 112x – y +2z = 11 x + 2y + 2z =6x + 2y + 2z =6

Sources e05_linsys.pptwww.cs.princeton.edu/.../cos323_s06_lectur e05_linsys.ppt