Gauss-Jordan Method. How To complete Problem 2.2 # 57 Produced by E. Gretchen Gascon.

Slides:



Advertisements
Similar presentations
1 Gauss-Jordan Method. How To complete Problem 2.2 # 29 Produced by E. Gretchen Gascon.
Advertisements

Adding & Subtracting Matrices
Minimize Problems Produced by E. Gretchen Gascon.
Simplex Method Example 4.2 # 17 Produced by E. Gretchen Gascon.
Chapter 2 Solutions of Systems of Linear Equations / Matrix Inversion
§ 3.4 Matrix Solutions to Linear Systems.
Gauss – Jordan Elimination Method: Example 2 Solve the following system of linear equations using the Gauss - Jordan elimination method Slide 1.
5.4 Simplex method: maximization with problem constraints of the form
Solving systems using matrices
Solve an equation with variables on both sides
Solving Simultaneous Equations by Matrix Inverse Problem 2.5 # 37 Presented by E. G. Gascon.
EXAMPLE 2 Solve a matrix equation SOLUTION Begin by finding the inverse of A = Solve the matrix equation AX = B for the 2 × 2 matrix X. 2 –7 –1.
Copyright © Cengage Learning. All rights reserved. 7.6 The Inverse of a Square Matrix.
Solving a System of Equations by ELIMINATION. Elimination Solving systems by Elimination: 1.Line up like terms in standard form x + y = # (you may have.
§ 3.5 Determinants and Cramer’s Rule.
3.5 Solving systems of equations in 3 variables
7.3B – Solving with Gauss Elimination GOAL: Create Row echelon form and solve with back substitution. Row operations to create Row echelon form – 1.) Switch.
Solving Linear Systems by Linear Combinations
Solving Systems of Equations by matrices
Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall.
Row Reduction Method Lesson 6.4.
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.
Chapter 1 Section 1.1 Introduction to Matrices and systems of Linear Equations.
4.7 Identity and Inverse Matrices and Solving Systems of Equations Objectives: 1.Determine whether two matrices are inverses. 2.Find the inverse of a 2x2.
Solving Compound inequalities with OR. Equation 2k-5>7 OR -3k-1>8.
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,
Evaluating a Variable Expression To evaluate a variable expression:
Class Opener:. Identifying Matrices Student Check:
Solving Linear Systems Using Linear Combinations There are two methods of solving a system of equations algebraically: Elimination (Linear Combinations)
Section 7-3 Solving 3 x 3 systems of equations. Solving 3 x 3 Systems  substitution (triangular form)  Gaussian elimination  using an augmented matrix.
Solving by Elimination Example 1: STEP 2: Look for opposite terms. STEP 1: Write both equations in Standard Form to line up like variables. STEP 5: Solve.
5.4 Third Order Determinants and Cramer’s Rule. Third Order Determinants To solve a linear system in three variables, we can use third order determinants.
BELL-WORK Solve the system of equations using matrices:
 Recall that when you wanted to solve a system of equations, you used to use two different methods.  Substitution Method  Addition Method.
Elimination using Multiplication Honors Math – Grade 8.
1.7 Intro to Solving Equations Objective(s): 1.) to determine whether an equation is true, false, or open 2.)to find solutions sets of an equation 3.)to.
Notes 2.1 Order of Operations PEMDAS If an expression has only numbers and symbols, it is a numerical expression. If it has a variable it is a variable.
Do Now: Perform the indicated operation. 1.). Algebra II Elements 11.1: Matrix Operations HW: HW: p.590 (16-36 even, 37, 44, 46)
3-2: Solving Systems of Equations using Elimination
Elimination Method - Systems. Elimination Method  With the elimination method, you create like terms that add to zero.
Solving a System of Equations by ELIMINATION. Elimination Solving systems by Elimination: 1.Line up like terms in standard form x + y = # (you may have.
Warm Up Find the solution to linear system using the substitution method. 1) 2x = 82) x = 3y - 11 x + y = 2 2x – 5y = 33 x + y = 2 2x – 5y = 33.
Section 6.1 Systems of Linear Equations
Solve Linear Systems By Multiplying First
Copyright © 2014, 2010, 2007 Pearson Education, Inc.
Gaussian Elimination and Gauss-Jordan Elimination
Gaussian Elimination and Gauss-Jordan Elimination
Solving Systems of Equations Using Matrices
Warmups – solve using substitution
The Inverse of a Square Matrix
Solve Systems of Equations by Elimination
Solving Systems of Linear Equations in 3 Variables.
MATRICES AND DETERMINANTS
Solving Systems using Substitution
REVIEW: Solving Linear Systems by Elimination
3.5 Solving systems of equations in 3 variables
Solve an equation by combining like terms
( ) ( ) ( ) ( ) Matrices Order of matrices
8.1 Matrices and System of Linear Equations
Matrix Solutions to Linear Systems
Simultaneous Equations
Notes Solving a System by Elimination
Notes Solving a System by Elimination
You replace it with its simplest name
Gaussian Elimination.
Solving a System of Equations in Two Variables by the Addition Method
Solving Systems of Linear Equations in 3 Variables.
Animation of the Gauss-Jordan Elimination Algorithm
Presentation transcript:

Gauss-Jordan Method. How To complete Problem 2.2 # 57 Produced by E. Gretchen Gascon

1. Set up the Matrix in a Spread sheet. Problem 2.2 #57 : R1 = Fiber, R2 = Protein, R3 = Fat C1 = Brand A, C2 = Brand B, C3 = Brand C, C4= Brand D, C5 = Totals While this problem has more variables than equations, it will be started like any other problem.

2. Keep Row1 fixed Focus on the first row-first column element 25. We want to make the rest of the column #1 into 0’s. To accomplish that we will perform the various row operation. What would be a LCM of 25 and 30? Ans: 150. Therefore you multiply 25 times 6 = 150, and 30 times 5 = 150.

3. Replace Each Element of Row Add 5*R2C1 -6*R1C1  R2C1, this would be 5(30) -6(25)  0 Replace all the cells in Row 2 with this formula, just change the column you are working in. 5*R2C2 -6*R1C1  R2C2, 5*R2C3 -6*R1C3  R2C3, 5(30) - 6(50)  -1505(30) -6(75)  *R2C4 -6*R1C4  R2C4, 5*R2C5 -6*R1C5  R2C5 5(60) -6(100)  (600) -6(1200) 

4. Replace Each Element of Row Add 5*R3C1 -6*R1C1  R3C1, this would be 5(30) -6(25)  0 Replace all the cells in Row 2 with this formula, just change the column you are working in. 5*R3C2 -6*R1C1  R3C2, 5*R3C3 -6*R1C3  R3C3, 5*R3C4 -6*R1C4  R3C4, 5*R3C5 -6*R1C5  R3C

Column 1 Complete Column 1 – row 1 has a value and the rest of the column values are 0.

5. Keep Row 2 fixed Focus on the second row-second column element We want to make the rest of the second column into 0’s. To accomplish that we will perform the various row operation.

Column in column 2 is the pivot element. We want to make the rest of the column 0’s

6. Replace Each Element of Row Add 3*R1C1 +R2C1  R1C1, this would be 3(25) +0  75 Replace all the cells in Row 1 with this formula, just change the column you are working in. Add 3*R1C2 +R2C2  R1C2, Add 3*R1C3 +R2C3  R1C3, Add 3*R1C4 +R2C4  R1C4, Add 3*R1C5 +R2C5  R1C

7. Replace Each Element of Row Add 3*R3C1 -4R2C1  R3C1, this would be 3(0) +0  0 Replace all the cells in Row 1 with this formula, just change the column you are working in. Add 3*R3C2 -4R2C2  R3C2, Add 3*R3C3 -4R2C3  R3C3, Add 3*R3C4 +-4R2C4  R3C4, Add 3*R3C5 -4R2C5  R3C

Column 2 Complete Column 2 – row 2 has a value and the rest of the column values are 0.

Work on column in column 3 remains, we want all the other elements in column 3 0’s. We will accomplish this by using row operations.

8 Replace Each Element of Row Add 2*R1C1 +R3C1  R1C1, this would be 2(75) +0  150 Replace all the cells in Row 1 with this formula, just change the column you are working in. Add 2*R1C2 +R3C2  R1C2, Add 2*R1C3 +R3C3  R1C3, Add 2*R1C4 +R3C4  R1C4, Add 2*R1C5 +R3C5  R1C

9 Replace Each Element of Row Add R2C1 +2*R3C1  R1C1, this would be (0) +2(0)  0 Replace all the cells in Row 1 with this formula, just change the column you are working in. Add R2C2 +2*R3C2  R1C2, Add R2C3 +2*R3C3  R1C3, Add R2C4 +2*R3C4  R1C4, Add R2C5 +2*R3C5  R1C

Column 3 Complete Column 3 – row 3 has a value and the rest of the column values are 0.

Done with + - rows You have the diagonal elements with values and 0’s in the rest of those columns

Divide through by the left most element in each row R1/r1c1  r1/150 R2/r2c2  r2/(-150) R3/r3c3  r3/(150) 150/ / / / / / / /150 8

You are finished At this point you can read the answer from the matrix. A – D = 0 B + 4D = 12 C – D = 8 ABCD Unfortunately with this problem there is not a unique solution

Solution Because this problem does not have a unique solution we solve all variables in terms of D

Evaluate the Findings All variables must be >= 0 Substitute various values for D If D = 0, then A=0, B=12, C=8, D =0 If D = 1, then A=1, B=8, C=9, D =1 If D = 2, then A=2, B=4, C=10, D =2 If D = 3, then A=3, B=0, C=11, D =3 If D = 4, then A=4, B=-4, C=12, D =4 There is no use to go further, because All the variables must be >= 0 and at D=4, B is negative.