4.3 Matrix Approach to Solving Linear Systems 1 Linear systems were solved using substitution and elimination in the two previous section. This section.

Slides:



Advertisements
Similar presentations
Chapter 4 Systems of Linear Equations; Matrices
Advertisements

§ 3.4 Matrix Solutions to Linear Systems.
Chapter 4 Systems of Linear Equations; Matrices Section 2 Systems of Linear Equations and Augmented Matrics.
1 Copyright © 2015, 2011, 2007 Pearson Education, Inc. Chapter 4-1 Systems of Equations and Inequalities Chapter 4.
1.2 Row Reduction and Echelon Forms
Linear Equations in Linear Algebra
Matrices. Special Matrices Matrix Addition and Subtraction Example.
LIAL HORNSBY SCHNEIDER
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
HAWKES LEARNING SYSTEMS math courseware specialists Copyright © 2011 Hawkes Learning Systems. All rights reserved. Hawkes Learning Systems College Algebra.
TH EDITION LIAL HORNSBY SCHNEIDER COLLEGE ALGEBRA.
Introduction Information in science, business, and mathematics is often organized into rows and columns to form rectangular arrays called “matrices” (plural.
Linear Algebra – Linear Equations
Chapter 4 Systems of Linear Equations; Matrices
Multivariate Linear Systems and Row Operations.
Matrix Solution of Linear Systems The Gauss-Jordan Method Special Systems.
Systems of Linear Equations and Row Echelon Form.
1 1.1 © 2012 Pearson Education, Inc. Linear Equations in Linear Algebra SYSTEMS OF LINEAR EQUATIONS.
Systems and Matrices (Chapter5)
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.
Solving Systems of Equations by matrices
Euclidean m-Space & Linear Equations Row Reduction of Linear Systems.
Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall.
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
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.
Copyright © 2013, 2009, 2005 Pearson Education, Inc. 1 5 Systems and Matrices Copyright © 2013, 2009, 2005 Pearson Education, Inc.
4.3 Gauss Jordan Elimination Any linear system must have exactly one solution, no solution, or an infinite number of solutions. Just as in the 2X2 case,
1. Copyright © 2006 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Solving Systems of Linear Equations in Three Variables 4 1.Determine.
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
Copyright © 2009 Pearson Education, Inc. CHAPTER 9: Systems of Equations and Matrices 9.1 Systems of Equations in Two Variables 9.2 Systems of Equations.
Sullivan Algebra and Trigonometry: Section 12.3 Objectives of this Section Write the Augmented Matrix of a System of Linear Equations Write the System.
Section 7-3 Solving 3 x 3 systems of equations. Solving 3 x 3 Systems  substitution (triangular form)  Gaussian elimination  using an augmented matrix.
Linear Equation System Pertemuan 4 Matakuliah: S0262-Analisis Numerik Tahun: 2010.
Section 8.6 Elimination using Matrices. Matrix Method The method computers use. The equations need to be in standard form. The coefficients and constants.
Section 4Chapter 4. 1 Copyright © 2012, 2008, 2004 Pearson Education, Inc. Objectives Solving Systems of Linear Equations by Matrix Methods Define.
10.3 Systems of Linear Equations: Matrices. A matrix is defined as a rectangular array of numbers, Column 1Column 2 Column jColumn n Row 1 Row 2 Row 3.
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.
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.
Matrices Digital Lesson. Copyright © by Houghton Mifflin Company, Inc. All rights reserved. 2 A matrix is a rectangular array of real numbers. Each entry.
H.Melikian/12101 Gauss-Jordan Elimination Dr.Hayk Melikyan Departhmen of Mathematics and CS Any linear system must have exactly one solution,
H.Melikian/12101 System of Linear Equations and Augmented Matrices Dr.Hayk Melikyan Departmen of Mathematics and CS
Copyright © 2010 Pearson Education, Inc. Publishing as Pearson Addison- Wesley Systems of Equations in Three Variables Identifying Solutions Solving Systems.
Section 5.3 MatricesAnd Systems of Equations. Systems of Equations in Two Variables.
Slide Copyright © 2009 Pearson Education, Inc. 7.4 Solving Systems of Equations by Using Matrices.
College Algebra Chapter 6 Matrices and Determinants and Applications
Linear Equations in Linear Algebra
Section 6.1 Systems of Linear Equations
Chapter 4 Systems of Linear Equations; Matrices
Solving Systems of Equations Using Matrices
Chapter 4 Systems of Linear Equations; Matrices
Chapter 8: Lesson 8.1 Matrices & Systems of Equations
Matrices and Systems of Equations
Elementary Row Operations Gaussian Elimination Method
Linear Equations in Linear Algebra
Section 8.1 – Systems of Linear Equations
Warm-up: Solve the system: 2x – 0.4y = -2 3x – 1 2 y = -2
Matrices are identified by their size.
Presentation transcript:

4.3 Matrix Approach to Solving Linear Systems 1 Linear systems were solved using substitution and elimination in the two previous section. This section describes how to solve these systems by a matrix approach. Using matrices are particularly suitable for large systems having many unknowns. A matrix is a rectangular array of numbers arranged in horizontal rows and vertical columns and enclosed by brackets. Each number in the array is an element of the matrix. Example: Rows Columns This matrix has 2 rows and three columns. It is called a 2 x 3 matrix (“2 by 3”). A matrix with m rows and n columns is an m x n matrix. The number of rows is always given first. Examples of matrices: 3 x 2 matrix 3 x 3 matrix1 x 3 matrix Next Slide

4.3 Matrix Approach to Solving Linear Systems 2 With every system of linear equations, we can associate a matrix that consists of the coefficients and constant terms. This is called the augmented matrix of the system. Examples: The rows of the augmented matrix can be treated just like the equations of a system of linear equations. Since the augmented matrix is nothing more than a short form of the system, any transformation of the matrix that results in an equivalent system can be performed. 1.Any two rows may be interchanged. 2.Any row of the matrix can be multiplied by a nonzero real number. 3.Any row of the matrix can be replaced by the sum of a nonzero multiple of another row plus that row. Elementary row operations. Next Slide The goal is to transform the augmented matrix into one in which the variables will be easy to see. Since each column in the matrix represents the coefficients of one variable, it should be transformed so that it is of the form Once the augmented matrix is in this form, the matrix can be rewritten as a linear system to get x = a and y = b (two equations with two unknowns). for real numbers a and b.

4.3 Matrix Approach to Solving Linear Systems 3 These matrices are called reduced echelon form. The dashed vertical line is optional. to get x = a and y = b and z = c. If the system is three equations with three unknowns, the augmented matrix should be transformed so that it is of the form Steps to obtaining reduced echelon form of a 2 x 2 augmented matrix using elementary row operations. 1. Get a 1 in the upper left hand column. * 2. Get a 0 in the lower left hand column. 3. Get a 1 in the lower middle column. 4. Get a 0 in the upper middle column. This is the reduced echelon form of the augmented matrix. Next Slide *Note: getting a 1 in the upper left hand column can be done by multiplying by the reciprocal of that entry. This often involves fractions and can get messy. Using row operations is often easier.

4.3 Matrix Approach to Solving Linear Systems 4 1. Get a 1 in the upper left hand column by interchanging columns. 2. Get a 0 in the lower left hand column. (multiply row 1 by -2 and add it to row 2) 3. Get a 1 in the lower middle column. (multiply row 2 by 1/9) 4. Get a 0 in the upper middlecolumn. (multiply row 2 by 3 and add it to row 1.) Solution: Example 1. Solve the system using a matrix approach: x=4 and y=-2 Solve the system by a matrix approach: Your Turn Problem #1 Answer:

4.3 Matrix Approach to Solving Linear Systems 5 1. Get a 1 in the upper left hand column. (multiplying by 1/3 will result in fractions, easier to multiply row 1 by 2 and subtract row 2) 2. Get a 0 in the lower left hand column. (multiply row 1 by -5 and add it to row 2) 3. Get a 1 in the lower middle column. (multiply row 2 by 1/52) 4. Get a 0 in the upper middlecolumn. (multiply row 2 by 10 and add it to row 1.) Solution: Example 2. Solve the system using a matrix approach: x=3 and y= Solve the system by a matrix approach: Your Turn Problem #2 Answer:

4.3 Matrix Approach to Solving Linear Systems 6 Steps to obtaining reduced echelon form of a 3 x 3 augmented matrix. 1. Get a 1 in the upper left hand column. 2. Get a 0’s in the first column beneath the Get a 1 in the second row, second column. 4. Get 0’s above and below the 1 in the second column. 5. Get a 1 in the third row, third column. 6. Get 0’s above the 1 in the third column. Then we have the solution x=a, y=b, and z=c. Next Slide

4.3 Matrix Approach to Solving Linear Systems 7 Solution: Example 3. Solve the system using a matrix approach: 1. Get a 1 in the upper left hand column. 2. Get a 0’s in the first column beneath the Get a 1 in the second row, second column. 4. Get 0’s above and below the 1 in the second column. 5. Get a 1 in the third row, third column. 6. Get 0’s above the 1 in the third column. -2R1+R2 -5R1+R3 -1R2+R1 6R2+R3 -2R3+R2 3R3+R2 Then we have the solution x=3, y=-4, and z=2, (3,-4,2). Be sure to check answer in the system. Solve the system by a matrix approach: Your Turn Problem #3 Answer:

4.3 Matrix Approach to Solving Linear Systems 8 The matrix approach on inconsistent systems Instead of going through another example, suppose we have the following augmented matrix after row operations. The last row is 0x +0y +0z =11. Since this is impossible, the system is inconsistent, . Get rid of the 2 by multiplying row 2 by -2 and adding it to row 1. The top two rows are equivalent to x-10z=21 and y +7z=-8 which can be rewritten as x=10z+21 and y=-7z-8. Again, suppose we have the following augmented matrix after row operations. The bottom row is equivalent to 0x+0y+0z =0 which is true for all x, y and z. Therefore, if we let z = k, where k is any real number, the solution set of infinitely many ordered triples can be represented by {(10k+21, -7k-8, k)  k is a real number} If we wanted to find specific solutions, let k be any number, for example, let k=2 and simplify: Then (41,-22,2) is a member of the solution set. The End. B.R