Gaussian Elimination Matrices Solutions By Dr. Julia Arnold.

Slides:



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

Matrices are identified by their size.
Further Pure 1 Matrices Introduction. Definitions A matrix is just a rectangle of numbers. It’s a bit like a two-way table. You meet this concept in D1.
§ 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.
Chapter 4 Systems of Linear Equations; Matrices Section 2 Systems of Linear Equations and Augmented Matrics.
East Los Angeles College
Matrices: Inverse Matrix
1 Copyright © 2015, 2011, 2007 Pearson Education, Inc. Chapter 4-1 Systems of Equations and Inequalities Chapter 4.
Lesson 8 Gauss Jordan Elimination
Matrices. Special Matrices Matrix Addition and Subtraction Example.
Solving systems using matrices
Chapter 2 Section 1 Solving a System of Linear Equations (using Matrices)
Systems of Linear Equations Examples Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB.
TRIVIA Click for Question What kind of matrix contains the coefficients and constants of a system of linear equations? An augmented matrix Click for:
Introduction Solving inequalities is similar to solving equations. To find the solution to an inequality, use methods similar to those used in solving.
Chapter 1 Section 1.2 Echelon Form and Gauss-Jordan Elimination.
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.
Table of Contents Solving Systems of Linear Equations - Gaussian Elimination The method of solving a linear system of equations by Gaussian Elimination.
Linear Algebra – Linear Equations
Multivariate Linear Systems and Row Operations.
SYSTEMS OF LINEAR EQUATIONS
1 1.1 © 2012 Pearson Education, Inc. Linear Equations in Linear Algebra SYSTEMS OF LINEAR EQUATIONS.
Section 8.1/8.2 Matrix Solutions to Linear Systems Inconsistent and Dependent Systems.
Solving Systems of Linear Equations
MATRICES AND DETERMINANTS
Slide Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley.
Solving Systems of Equations by matrices
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.
Splash Screen Lesson 3 Contents Example 1Elimination Using Addition Example 2Write and Solve a System of Equations Example 3Elimination Using Subtraction.
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.
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.
Inconsistent Systems By Dr. Julia Arnold. An inconsistent system is one which has either no solutions, or has infinitely many solutions. Example of No.
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.
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,
Triangular Form and Gaussian Elimination Boldly on to Sec. 7.3a… HW: p odd.
1. Copyright © 2006 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Solving Systems of Linear Equations in Three Variables 4 1.Determine.
4.5 Inverse of a Square Matrix
Copyright © 2011 Pearson Education, Inc. Solving Linear Systems Using Matrices Section 6.1 Matrices and Determinants.
Matrices and Systems of Linear Equations
Chapter 8 Matrices and Determinants Matrix Solutions to Linear Systems.
Hello Mr. Anderson… We’ve been waiting for you.. Hello Mr. Anderson… We’ve been waiting for you.
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
3 x 3 Determinants A Short Cut Method By Dr. Julia Arnold.
Matrices Digital Lesson. Copyright © by Houghton Mifflin Company, Inc. All rights reserved. 2 A matrix is a rectangular array of real numbers. Each entry.
Copyright ©2015 Pearson Education, Inc. All rights reserved.
H.Melikian/12101 System of Linear Equations and Augmented Matrices Dr.Hayk Melikyan Departmen of Mathematics and CS
Revision on Matrices Finding the order of, Addition, Subtraction and the Inverse of Matices.
 Recall that when you wanted to solve a system of equations, you used to use two different methods.  Substitution Method  Addition Method.
Adding two numbers together which have the same absolute value but are opposite in sign results in a value of zero. This same principle can be applied.
Slide Copyright © 2009 Pearson Education, Inc. 7.4 Solving Systems of Equations by Using Matrices.
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
Section 6.1 Systems of Linear Equations
Chapter 4 Systems of Linear Equations; Matrices
Copyright © 2014, 2010, 2007 Pearson Education, Inc.
Systems of linear equations
Solving Systems of Equations Using Matrices
Chapter 8: Lesson 8.1 Matrices & Systems of Equations
Multiplying Matrices.
8.1 Matrices and System of Linear Equations
Gaussian Elimination.
Matrices are identified by their size.
Presentation transcript:

Gaussian Elimination Matrices Solutions By Dr. Julia Arnold

Definition of Augmented Matrix:Augmented Matrix x - 2y - 2z = -3 2x + y - z = 7 3x - 2y + 5z = 10 Definition of Coefficient Matrix: x - 2y - 2z = -3 2x + y - z = 7 3x - 2y + 5z = 10 These are the coefficients of x, y and z Adding the constant column creates the augmented matrix. Do not click on the link. This will take you to slide 8.

The Gaussian elimination method is manipulating the matrix so that we have zeros below the main diagonal as explained in the last lesson. Zeroes needed here only.

Since each row of the matrix represents an equation, it follows that we can interchange rows. x - 2y - 2z = -3 2x + y - z = 7 3x - 2y + 5z = 10 x - 2y - 2z = -3 2x + y - z = 7 Interchanging rows does not disrupt the solution of the system. 3x - 2y + 5z = 10

Since each row of the matrix represents an equation, it follows that we can interchange rows. x - 2y - 2z = -3 2x + y - z = 7 3x - 2y + 5z = 10 x - 2y - 2z = -3 2x + y - z = 7 3x - 2y + 5z = 10 Interchanging rows does not disrupt the solution of the system.

We can also multiply any row by any number (not 0 of course) that we wish. x - 2y - 2z = -3 2x + y - z = 7 3x - 2y + 5z = 10 x + 1/2 y - 1/2 z = 7/2 3x - 2y +5z = 10 -3x + 6y + 6z = 9 Row 1 multiplied by -3 Row 2 multiplied by 1/2 Row 3 multiplied by 1

After multiplying by a number we can add two equations together or two rows of a matrix and replace the added row. x + 1/2 y - 1/2 z = 7/2 3x - 2y + 5z = 10 -3x + 6y + 6z = 9 Row 1 multiplied by -3 Row 2 multiplied by 1/2 Row 3 multiplied by 1 Let’s add equation 1 and equation 3 together: -3x + 6y + 6z = 9 3x - 2y + 5z = 10 0 x +4y +11z = 19 The sum replaces one of the rows in the system. I also showed you how we can get a zero.

2x + y - z = 7 3x - 2y + 5z = 10 x - 2y - 2z = -3 Now let’s return to our original system and show how I got the new system. It’s helpful to have a coefficient of 1 for the first element in the matrix. So look in the x column of your system and see if there is a coefficient of 1. If there is, make that equation #1. Change this 2x + y - z = 7 3x - 2y + 5z = 10 x - 2y - 2z = -3 To This x - 2y - 2z = -3 2x + y - z = 7 3x - 2y + 5z = 10 Next, write the augmented matrix.augmented matrix This is the final result we want. For definition click on link, then click on link there to return to this slide.

x - 2y - 2z = -3 2x + y - z = 7 3x - 2y + 5z = 10 This is the final result we want. The first task is to make column 1 match the final result. Row 1 matches already. Since we have a 1 in row 1 we can multiply by any number that appears below in row 2 or row 3 to create a sum of 0. Multiply row 1 by -2 and add row Now multiply row 1 by -3 and add row The result: Row 1 and 2 match the final result.

This is the final result we want. Now we move to column 2. Notice, to make it match the final result we only need to change the 4 to a 0. However, to do that will be a little more complicated. Since we are working on column 2 we can only use row 2 to help us get the job done. Above the 4 in row 2 is a 5. What do you think we could do? How about multiply row 2 by -4 and multiply row 3 by 5 and then add them The sum will replace row 3 in the matrix.

This is the final result we want. How can we make them match? How about multiplying row 3 by 1/43 (or just say divide the row by 43).

First, look in the x column for a coefficient of 1. (None) Is their anyway to get a 1 without creating fractions? (Yes) Divide equation 3 by 4 and make it equation 1. Write the augmented matrix. Which is the correct augmented matrix? Now you should try this problem and let me guide you through the steps: 2x - 3y - z = 7 5x - 2y + 4z = -13 4x + 4y + 4z = -24

First, look in the x column for a coefficient of 1. (None) Is their anyway to get a 1 without creating fractions? (Yes) Divide equation 3 by 4 and make it equation 1. Write the augmented matrix. Which is the correct augmented matrix? Now you should try this problem and let me guide you through the steps: 2x - 3y - z = 7 5x - 2y + 4z = -13 4x + 4y + 4z = -24 While this is also correct, it did not reflect the directions given above. This is what you want to start with.

Step 1: Get column 1 to look like this Row 1 will (now and forever) be) the same throughout. What action will get you a 0 in the 2nd row, 1st column? Add Row 1 to Row 2 and replace Row 2. Multiply Row 1 by -2 and add row 2 then replace row 2.

Let’s short hand this to -2R1 +R2 = NewR New R2 To get the 0 in row 3 do the following: -5R1 +R3 = NewR3 -5R2 +R3 = NewR3

-5R1 +R3 = NewR = New R New R = New R3 Step 1 is complete. Now we move on to step 2 which is to get column 2 looking like

Step 1 Step 2 Since we have coefficients of -5 and -7 we will need to: R2(-7)= R3( 5)= Divide the row by multiply the -5 by -7 and the -7 by 5 multiply the -5 by 7 and the -7 by -5 Correct: either will work. However, doing the first suggestion:

Step 1 Step 2 Since we have coefficients of -5 and -7 we will need to multiply the -5 by -7 and the -7 by 5 (or the equivalent) which will create 0 when added. R2(-7)= R3( 5)= Divide the row by Now for back substitution.

z = -3 y = --2 x = -1 z = -3 y = -8 x = -3

1z = -3 or z = -3 -5y -3z = -5y - (3)(-3) = 19 -5y + 9 = 19, -5y = 10 y = -2 x + y + z = -6 x = -6 x - 5 = -6 x = -1 (-1, -2, -3)

Practice Problems will be found on a separate power point presentation.