Vocabulary multivariable linear system row-echelon form Gaussian elimination augmented matrix coefficient matrix reduced row-echelon form Gauss-Jordan.

Slides:



Advertisements
Similar presentations
Lecture 7 Intersection of Hyperplanes and Matrix Inverse Shang-Hua Teng.
Advertisements

1 Copyright © 2015, 2011, 2007 Pearson Education, Inc. Chapter 4-1 Systems of Equations and Inequalities Chapter 4.
Solving Systems of Linear Equations Part Pivot a Matrix 2. Gaussian Elimination Method 3. Infinitely Many Solutions 4. Inconsistent System 5. Geometric.
Linear Systems and Matrices
ENGG2013 Unit 2 Linear Equations Jan, Linear Equation in n variables a 1 x 1 + a 2 x 2 + … + a n x n = c – a 1, a 2, …, a n are called coefficients.
Solving Systems of Linear Equations and Circles Adapted from Walch Education.
Copyright © Cengage Learning. All rights reserved. 7.6 The Inverse of a Square Matrix.
Lesson 8.1, page 782 Matrix Solutions to Linear Systems
Table of Contents Solving Systems of Linear Equations - Gaussian Elimination The method of solving a linear system of equations by Gaussian Elimination.
SYSTEMS OF LINEAR EQUATIONS
Multivariable Linear Systems
Copyright © 2014, 2010, 2007 Pearson Education, Inc.
3.2 Solving Systems Algebraically
Copyright © Cengage Learning. All rights reserved.
4-6 Row Operations and Augmented Matrices Warm Up Lesson Presentation
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.
SYSTEMS OF EQUATIONS MATRIX SOLUTIONS TO LINEAR SYSTEMS
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.
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.
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.
9.2 Solving Systems of Linear Equations by Addition BobsMathClass.Com Copyright © 2010 All Rights Reserved. 1 Step 1.Write both equations in the form Ax.
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.
EXAMPLE 1 Write a quadratic function in vertex form Write a quadratic function for the parabola shown. SOLUTION Use vertex form because the vertex is given.
Vocabulary identity matrix inverse matrix inverse invertible singular matrix determinant.
Solve x x + 49 = 64 by using the Square Root Property.
Splash Screen. Example 1 Solve a Logarithmic Equation Answer: x = 16 Original equation Definition of logarithm 8 = 2 3 Power of a Power Solve.
Splash Screen. Lesson Menu Five-Minute Check (over Lesson 8–3) Then/Now New Vocabulary Example 1: Solve a Logarithmic Equation Key Concept: Property of.
Splash Screen. Then/Now You solved systems of linear equations by using tables and graphs. Solve systems of linear equations by using substitution. Solve.
Another method for solving systems of equations is elimination
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)
Example 1 Solve an Equation with Variables on Each Side Solve 8 + 5c = 7c – 2. Check your solution c = 7c – 2Original equation Answer: c = 5Simplify.
1. Copyright © 2006 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Solving Systems of Linear Equations in Three Variables 4 1.Determine.
Five-Minute Check (over Lesson 6-1) Then/Now New Vocabulary
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.
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.
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.
Bell Ringer: Simplify each expression
GUIDED PRACTICE for Example – – 2 12 – 4 – 6 A = Use a graphing calculator to find the inverse of the matrix A. Check the result by showing.
Copyright © Cengage Learning. All rights reserved. 7.3 Multivariable Linear Systems.
SOLUTION EXAMPLE 3 Write an equation of a line Write an equation of the specified line. The y- coordinate of the given point on the blue line is –4. This.
Section 8.1 Systems of Linear Equations; Substitution and Elimination.
Lesson Menu Five-Minute Check (over Lesson 6-2) Then/Now New Vocabulary Key Concept:Invertible Square Linear Systems Example 1:Solve a 2 × 2 System Using.
Chapter 6 Matrices and Determinants Copyright © 2014, 2010, 2007 Pearson Education, Inc Inconsistent and Dependent Systems and Their Applications.
EXAMPLE 4 Solve linear systems with many or no solutions Solve the linear system. a.x – 2y = 4 3x – 6y = 8 b.4x – 10y = 8 – 14x + 35y = – 28 SOLUTION a.
Section 5.3 MatricesAnd Systems of Equations. Systems of Equations in Two Variables.
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.
1 © 2010 Pearson Education, Inc. All rights reserved © 2010 Pearson Education, Inc. All rights reserved Chapter 8 Systems of Equations and Inequalities.
Chapter 3 Section 2. EXAMPLE 1 Use the substitution method Solve the system using the substitution method. 2x + 5y = –5 x + 3y = 3 Equation 1 Equation.
Solving Linear Systems Using Substitution There are two methods of solving a system of equations algebraically: Elimination Substitution - usually used.
Section 6-1: Multivariate Linear Systems and Row Operations A multivariate linear system (also multivariable linear system) is a system of linear equations.
Multivariable Linear Systems and Row Operations
Write a quadratic function in vertex form
Solve a system of linear equation in two variables
Splash Screen.
Methods to Solving Systems of Equations
Matrix Solutions to Linear Systems
Multivariable Linear Systems and Row Operations
Solving Linear Systems Using Inverses and Cramer’s Rule
Systems of Linear Equations; Substitution and Elimination
Presentation transcript:

Vocabulary multivariable linear system row-echelon form Gaussian elimination augmented matrix coefficient matrix reduced row-echelon form Gauss-Jordan elimination

Key Concept 1

Example 1 Gaussian Elimination with a System Write the system of equations in triangular form using Gaussian elimination. Then solve the system. x + 3y + 2z = 5 3x + y – 2z = 7 2x + 2y + 3z = 3 Step 1Eliminate the x-term in Equation 2. [–3(Equation 1) + Equation 2] (–3)(x + 3y + 2z= 5) →  3x  9y  6z =  15 (+) 3x + y  2z= 7  8y  8z=  8

Example 1 Gaussian Elimination with a System x + 3y + 2z= 5 –8y – 8z = –8 2x + 2y + 3z= 3 Step 2 Eliminate the x-term in Equation 3. [  2(Equation 1) + Equation 3] (–2)(x + 3y + 2z = 5) →–2x – 6y  4z= –10 (+) 2x + 2y + 3z = 3 –4y – z = –7 x + 3y + 2z= 5 –8y – 8z = –8 4y – z= –7

Example 1 Gaussian Elimination with a System Step 3 Eliminate the y-term in Equation 3. [–2(Equation 3) + Equation 2] (  2)(  4y  z =  7) → 8y + 2z = 14 (+)  8y  8z=  8  6z= 6 x + 3y + 2z = 5  8y  8z =  8  6z = 6

Example 1 Answer: x – y – 2z = 1 y + z = 1 z = –1; (1, 2, –1) Gaussian Elimination with a System Step 4 Simplify Equations 2 and 3. Divide Equation 2 by  8 and divide Equation 3 by  6. x + 3y + 2z = 5 y + z = 1 z=  1 You can use substitution to find that y = 2 and x = 1. So, the solution of the system is x = 1, y = 2, and z = –1.

Example 1 Write the system of equations in triangular form using Gaussian elimination. Then solve the system. x – 2y + z = 3 2x – 3y + z = 3 x – 2y + 2z = 5 A.x –2y + z = 3 y – 2z = –3 z = 2; (–1, –1, 2) B.x + 2y  z = 3 y – 2z = –5 z = 2; (–1, –1, 2) C.x + 2y  z = 3 y – 2z = –5 z = 2; (7, –1, 2) D.x – 2y + z = 3 y + 2z = –5 z = 2; (–17, –9, 2)

Example 2 Write an Augmented Matrix Write the augmented matrix for the system of linear equations. x + y – z = 5 2w + 3x – z = –2 2w – x + y = 6 While each linear equation is in standard form, each of the four variables of the system is not represented in each equation, so the like terms do not align. Rewrite the system, using the coefficient 0 for the missing terms. Then write the augmented matrix.

Example 2 Write an Augmented Matrix System of EquationsAugmented Matrix 0w + x + y – z = 5 2w + 3x + 0y – z = –2 2w – x + y + 0z = 6 Answer:

Example 2 Write the augmented matrix for the system of linear equations. w + 2x + z = 2 x + y – z = 1 2w – 3x + y + 2z = –2 w + 3y – z = 5 A. B. C. D.

Key Concept 3

Example 3 Identify an Augmented Matrix in Row-Echelon Form There is a zero below the leading one in the first row. The second row also contains a leading 1. The matrix is in row-echelon form. A. Determine whether is in row-echelon form. Answer:yes

Example 3 Identify an Augmented Matrix in Row-Echelon Form The second row, which contains all zeros, needs be the last row in the matrix. The matrix is not in row-echelon form. B. Determine whether is in row-echelon form. Answer: no

Example 3 Identify an Augmented Matrix in Row-Echelon Form There is a zero below the leading one in the first row and the leading one in the second row. The row containing all zeros is the last row. The matrix is in row-echelon form. C. Determine whether is in row-echelon form. Answer: yes

Example 3 A.A B.B C.C D.D Which matrix is not in row-echelon form? A.B. C.D.

Example 4 Gaussian Elimination with a Matrix RESTAURANTS Three families ordered meals of hamburgers (HB), French fries (FF), and drinks (DR). The items they ordered and their total bills are shown below. Write and solve a system of equations to determine the cost of each item.

Example 4 Gaussian Elimination with a Matrix Write the information as a system of equations. Let x, y, and z represent hamburgers, French fries, and drinks, respectively. 6x + 5y + 5z = 55 2x + y + z = 15 x + 3y + 2z = 18 Next, write the augmented matrix and apply elementary row operations to obtain a row-echelon form of the matrix.

Example 4 Gaussian Elimination with a Matrix Augmented Matrix Switch R 3 with R 1. 3R 2 – R 3 

Example 4 Gaussian Elimination with a Matrix R 3 – 6R 1  13R 2 + R 3  R 2 

Example 4 Gaussian Elimination with a Matrix You can use substitution to find that y = 3 and x = 5. Therefore, the solution of the system is that hamburgers cost $5, French fries cost $3, and drinks cost $2. Answer:hamburgers: $5, French fries: $3, drinks: $2 R 3 

Example 4 MOVIES A movie theater sells three kinds of tickets: senior citizen (SC), adult (A), and children (C). The table shows the number of each kind of ticket purchased by three different families and their total bills. Write and solve a system of equations to determine the cost of each kind of ticket. A.senior citizen: $5, adult: $8, children: $2 B.senior citizen: $5, adult: $7, children: $4 C.senior citizen: $6, adult: $8, children: $2 D.senior citizen: $4, adult: $7, children: $6

Example 5 Use Gauss-Jordan Elimination Solve the system of equations. x – y + z = 3 –x + 2y – z = 2 2x – 3y + 3z = 8 R 1 + R 2  Augmented Matrix

Example 5 Use Gauss-Jordan Elimination R 1 + R 2  R 3 – 2R 1  3R 2 + R 3 

Example 5 Answer:x = 1, y = 5, z = 7 Use Gauss-Jordan Elimination R 1 – R 3  The solution of the system is x = 1, y = 5, and z = 7. Check this solution in the original system of equations.

Example 5 Solve the system of equations. 2x – y + z = 7 x + y – z = –4 y + 2z = 4 A.x = 1, y = 2, z = 3 B.x = –1, y = –2, z = –3 C.x = –1, y = 2, z = –3 D.x = 1, y = –2, z = 3

Example 6 A. Solve the system of equations. x + 2y + z = 8 2x + 3y – z = 13 x + y – 2z = 5 Write the augmented matrix. Then apply elementary row operations to obtain a reduced row-echelon matrix. No Solution and Infinitely Many Solutions Augmented Matrix

Example 6 No Solution and Infinitely Many Solutions R 2 – 2R 3  R 3 – R 1  R 3 + R 2 

Example 6 Answer: (5z + 2, –3z + 3, z) No Solution and Infinitely Many Solutions Because the value of z is not determined, this system has infinitely many solutions. Solving for x and y in terms of z, you have x = 5z + 2 and y = –3z + 3. So, a solution of the system can be expressed as (5z + 2, –3z + 3, z), where z is any real number. Write the corresponding system of linear equations for the reduced row-echelon form of the augmented matrix. x + 2y + z= 8 y + 3z= 3

Example 6 B. Solve the system of equations. 2x + 3y – z = 1 x + y – 2z = 5 x + 2y + z = 8 Write the augmented matrix. Then apply elementary row operations to obtain a reduced row-echelon matrix. No Solution and Infinitely Many Solutions Augmented Matrix

Example 6 Because 0 ≠ –12, the system has no solution. Answer: no solution No Solution and Infinitely Many Solutions R 1 – R 3  R 1 – R 2 

Example 6 Solve the system of equations. x + 2y + z = 2 x + y – 2z = 0 2y + 6z = 8 A.(–2, 0, 4) B.no solution C.(–3z, 2z, z) D.(–5, 5, –3)

Example 7 Infinitely Many Solutions Solve the system of equations. 4w + x + 2y – 3z = 10 3w + 4x + 2y + 8z = 3 w + 3x + 4y + 11z = 11 Write the augmented matrix. Then apply elementary row operations to obtain leading 1s in each row and zeros below these 1s in each column. Augmented Matrix

Example 7 Infinitely Many Solutions Interchange R 1 with R 3. R 2 – 3R 1  R 2 

Example 7 Infinitely Many Solutions R 3 – 4R 1  R R 2  R 3 

Example 7 Infinitely Many Solutions R 2 – 2R 3  R 1 – 3R 2  R 1 – 4R 3 

Example 7 Infinitely Many Solutions Write the corresponding system of linear equations for the reduced row-echelon form of the augmented matrix. w – 2z = 1 x + 3z = 2 y + z = 4 This system of equations has infinitely many solutions because for every value of z there are three equations that can be used to find the corresponding values of w, x, and y. Solving for w, x, and y in terms of z, you have w = 2z + 1, x = –3z – 2, and y = –z + 4.

Example 7 Infinitely Many Solutions Answer: (2z + 1, –3z – 2, –z + 4, z) So, a solution of the system can be expressed as (2z + 1, –3z – 2, –z + 4, z), where z is any real number. Check Using different values for z, calculate a few solutions and check them in the original system of equation. For example, if z = 1, a solution of the system is (3, –5, 3, 1). This solution checks in each equation of the original system. 4(3) + (–5) + 2(3) – 3(1) = 10 3(3) + 4(–5) + 2(3) + 8(1) = (–5) + 4(3) + 11(1) = 11

Example 7 Solve the system of equations. –w – x + y – z = 2 2w – x + 2y – z = 7 w – 2x – y – 2z = 1 A.(1, –z – 1, 2, z) B.(–1, z + 1, –2, –z) C.(z + 2, z + 1, z, z) D.no solution