Solving Systems of Equations by matrices

Slides:



Advertisements
Similar presentations
Copyright © Cengage Learning. All rights reserved.
Advertisements

§ 3.4 Matrix Solutions to Linear Systems.
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 – Jordan Elimination Method: Example 2 Solve the following system of linear equations using the Gauss - Jordan elimination method Slide 1.
1 Copyright © 2015, 2011, 2007 Pearson Education, Inc. Chapter 4-1 Systems of Equations and Inequalities Chapter 4.
Solving systems using matrices
Chapter 1 Systems of Linear Equations
Linear Systems and Matrices
10.1 Gaussian Elimination Method
Section 4.1 – Matrix Operations Day 1
LIAL HORNSBY SCHNEIDER
Lesson 8.1, page 782 Matrix Solutions to Linear Systems
Section 8.1 – Systems of Linear Equations
Matrices Write and Augmented Matrix of a system of Linear Equations Write the system from the augmented matrix Solve Systems of Linear Equations using.
Matrix Solution of Linear Systems The Gauss-Jordan Method Special Systems.
1. Copyright © 2006 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Systems of Equations CHAPTER 9.1Solving Systems of Linear Equations Graphically.
Copyright © 2014, 2010, 2007 Pearson Education, Inc.
Systems and Matrices (Chapter5)
Copyright © 2007 Pearson Education, Inc. Slide 7-1.
Barnett/Ziegler/Byleen Finite Mathematics 11e1 Review for Chapter 4 Important Terms, Symbols, Concepts 4.1. Systems of Linear Equations in Two Variables.
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.
Euclidean m-Space & Linear Equations Row Reduction of Linear Systems.
Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall.
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.
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.
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.
Copyright © 2013, 2009, 2005 Pearson Education, Inc. 1 5 Systems and Matrices Copyright © 2013, 2009, 2005 Pearson Education, Inc.
Copyright © 2013, 2009, 2005 Pearson Education, Inc. 1 5 Systems and Matrices Copyright © 2013, 2009, 2005 Pearson Education, Inc.
Unit 3: Matrices.
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.
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.
 SOLVE SYSTEMS OF EQUATIONS USING MATRICES. Copyright © 2012 Pearson Education, Inc. Publishing as Addison Wesley 9.3 Matrices and Systems of Equations.
Section 4Chapter 4. 1 Copyright © 2012, 2008, 2004 Pearson Education, Inc. Objectives Solving Systems of Linear Equations by Matrix Methods Define.
Matrices and Systems of Equations
1 Section 5.3 Linear Systems of Equations. 2 THREE EQUATIONS WITH THREE VARIABLES Consider the linear system of three equations below with three unknowns.
3.6 Solving Systems Using Matrices You can use a matrix to represent and solve a system of equations without writing the variables. A matrix is a rectangular.
Chapter 1 Systems of Linear Equations Linear Algebra.
H.Melikian/12101 Gauss-Jordan Elimination Dr.Hayk Melikyan Departhmen of Mathematics and CS Any linear system must have exactly one solution,
TH EDITION LIAL HORNSBY SCHNEIDER COLLEGE ALGEBRA.
 Recall that when you wanted to solve a system of equations, you used to use two different methods.  Substitution Method  Addition Method.
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.
Unit 3: Matrices. Matrix: A rectangular arrangement of data into rows and columns, identified by capital letters. Matrix Dimensions: Number of rows, m,
Multivariable linear systems.  The following system is said to be in row-echelon form, which means that it has a “stair-step” pattern with leading coefficients.
College Algebra Chapter 6 Matrices and Determinants and Applications
College Algebra Chapter 6 Matrices and Determinants and Applications
Chapter 7: Systems of Equations and Inequalities; Matrices
Copyright © 2014, 2010, 2007 Pearson Education, Inc.
Gaussian Elimination and Gauss-Jordan Elimination
Solving Systems of Equations Using Matrices
Chapter 8: Lesson 8.1 Matrices & Systems of Equations
Matrices and Systems of Equations 8.1
Systems of Linear Equations
Matrices and Systems of Equations
[MATRICES ].
1.8 Matrices.
Section 8.1 – Systems of Linear Equations
1.8 Matrices.
Matrices are identified by their size.
[MATRICES ].
Presentation transcript:

Solving Systems of Equations by matrices Chapter 4.4 Solving Systems of Equations by matrices

Objectives Use matrices to solve a system of two equations. Use matrices to solve a system of three equations.

What is a matrix? A matrix (plural: matrices) is a rectangular array of numbers. The following are examples of matrices:

Matrices The numbers aligned horizontally in a matrix are in the same row. The numbers aligned vertically are in the same column. This matrix has 2 rows and 3 columns. It is called a 2 X 3 (read “two by three”) matrix. row 1 row 2 column 1 column 2 column 3

How do equations and matrices relate? System of Equations Corresponding (in standard form) Matrix The rows of the matrix correspond to the equations in the system. The Coefficients of each variable are placed to the left of the vertical dashed line. Matrices are a shorthand notation for representing systems of equations.

Elementary Row Operations Any two rows in a matrix may be interchanged. The elements of any row may be multiplied (or divided) by the same nonzero number. The elements of any row may be multiplied (or divided) by a nonzero number and added to their corresponding elements in any other row. Notice that these row operations are the same operations that we can perform on equations in a system.

Solving a system of 2 equations by matrices Matrix System of Equations In the second equation, we have y = 5. Substituting this in the first equation, we have x + 2(5) = -3 or x = - 13. The solution of the system in ordered pair is ( -13, 5)

Example 1: Use matrices to solve the system: Step 1: Set up the corresponding matrix

Example 1: Continued Step 2: Use elementary row operations to write an equivalent matrix that looks like: In the given matrix, the element in the first row is already 1, as desired. Next we write an equivalent matrix with a 0 below the 1. To do this, we multiply row 1 by -2 and add to row 2. We will change only row 2. Simplifies to: Row 2 element Row 1 element Row 2 element Row 1 element Row 2 element Row 1 element

Example 1: Continued Step 3: Now we change -7 to a 1 by use of an elementary row operation. We dived row 2 by -7

Example 1: Continued The last matrix corresponds to the system: To find x, we let y = 2 in the first equation. x + 3(2) = 5 x = -1 The ordered pair solution is (-1, 2). Check to see that this ordered pair satisfies the equations.

Use matrices to solve: Step 1: Set up matrix Let’s try another one!  Use matrices to solve: Step 1: Set up matrix Step 2: Write an equivalent matrix that looks like: To do this, multiply the first row by -2 and add to row 2. Leave row 1 the same! Simply take the coefficient from each variable…

Step 4: Write the system that corresponds to the matrix: Let’s try another one!  Step 3: Now change the -7 to 1 by using elementary row operation. We divide row 2 by -7 Step 4: Write the system that corresponds to the matrix: Step 5: Substitute to find the unknown variable. x + 2y = -4 x + 2 (-3) = -4 x – 6 = -4 x = 2 The ordered pair solution is (2, -3)

Give it a try!  Use matrices to solve: Solution: (2, -1)

Example 2: Use matrices to solve the system: Step 1: Set up a corresponding matrix Step 2: To get 1 in the row 1, column 1 position, we divide the elements of row 1 by 2.

Example 2 Continued Step 3: To get 0 under 1, we multiply the elements of row 1 by -4 and add the new elements to the elements of row 2. Step 4: Write a corresponding system: The equation 0 = -1 is false for all y or x values; hence the system has no solution!

Concept Check: Consider the system What is wrong with the corresponding matrix shown below? Answer bottom left on page 251

Give it a try!  Use matrices to solve: Solution: Null Set

Solving a system of three equation in three variables using matrices The matrix must be written in the following form:

Example 3 Use matrices to solve the system: Step 1: Set up a corresponding matrix Our goal is to write an equivalent matrix with 1’s along the diagonal…see the numbers in red and 0’s below the 1’s. The element in row 1, column 1 is already 1. Next we get 0’s for each element in the rest of column 1. The numbers in blue need to get changed to zeros.

Example 3: Continued Step 2: Multiply the elements in row 1 by 2 and add the new elements to row 2. Multiply the elements of row 1 by -1 and add the new elements to the elements of row 3. We do not change row 1! Green = Row 1 Pink = # multiplied by

Example 3 Continued Step 4: We continue down the diagonal and use elementary row operations to get 1 where the element 3 is now. To do this, we interchange rows 2 and 3. is equivalent to

Example 3: Continued Step 5: Next we want the new row 3, column 2 element to be 0. We multiply the elements of row 2 by -3 and add the result to the elements of row 3. Green = Row 2 Pink = # multiplied by

Example 3: Continued Step 6: Finally, we divide the elements of row 3 by 13 so that the final diagonal element is 1. Step 7: Write the system that corresponds to the matrix. Step 8: Substitute z = 3 into the 2nd equation y – 3(3) = -10 y – 9 = -10 y = -1 Step 9: Substitute z =3 and y = -1 into the 1st equation x + 2(-1) + 3 = 2 x – 2 + 3 = 2 x + 1 = 2 x = 1 Ordered triple solution: (1, -1, 3)

Give it a try!  Use matrices to solve: Ordered triple solution: (1, 2, -2)