MATRICES AND DETERMINANTS

Slides:



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

Chapter 2 Solutions of Systems of Linear Equations / Matrix Inversion
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.
Lesson 8 Gauss Jordan Elimination
Chapter 2 Section 1 Solving a System of Linear Equations (using Matrices)
MATRICES Using matrices to solve Systems of Equations.
3.5 Solving Systems of Equations in Three Variables
LIAL HORNSBY SCHNEIDER
Copyright © Cengage Learning. All rights reserved. 7.6 The Inverse of a Square Matrix.
HAWKES LEARNING SYSTEMS math courseware specialists Copyright © 2011 Hawkes Learning Systems. All rights reserved. Hawkes Learning Systems College Algebra.
5  Systems of Linear Equations: ✦ An Introduction ✦ Unique Solutions ✦ Underdetermined and Overdetermined Systems  Matrices  Multiplication of Matrices.
Linear Algebra – Linear Equations
Recall that a square matrix is one in which there are the same amount of rows as columns. A square matrix must exist in order to evaluate a determinant.
Matrix Solution of Linear Systems The Gauss-Jordan Method Special Systems.
Precalculus – MAT 129 Instructor: Rachel Graham Location: BETTS Rm. 107 Time: 8 – 11:20 a.m. MWF.
1. Copyright © 2006 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Systems of Equations CHAPTER 9.1Solving Systems of Linear Equations Graphically.
Solving Systems of Equations and Inequalities
1 1.1 © 2012 Pearson Education, Inc. Linear Equations in Linear Algebra SYSTEMS OF LINEAR EQUATIONS.
Algebra 2: Lesson 5 Using Matrices to Organize Data and Solve Problems.
Systems and Matrices (Chapter5)
SECTION 6.1 SYSTEMS OF LINEAR EQUATIONS: SYSTEMS OF LINEAR EQUATIONS: SUBSTITUTION AND ELIMINATION SUBSTITUTION AND ELIMINATION.
ECON 1150 Matrix Operations Special Matrices
Solving Systems of Equations and Inequalities Section 3.1A-B Two variable linear equations Section 3.1C Matrices Resolution of linear systems Section 3.1D.
Barnett/Ziegler/Byleen Finite Mathematics 11e1 Review for Chapter 4 Important Terms, Symbols, Concepts 4.1. Systems of Linear Equations in Two Variables.
Rev.S08 MAC 1140 Module 10 System of Equations and Inequalities II.
Needs Work Need to add –HW Quizzes Chapter 13 Matrices and Determinants.
Sect 8.1 Systems of Linear Equations A system of linear equations is where all the equations in a system are linear ( variables raised to the first power).
Slide Chapter 7 Systems and Matrices 7.1 Solving Systems of Two Equations.
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.
Chapter 7 Notes Honors Pre-Calculus. 7.1/7.2 Solving Systems Methods to solve: EXAMPLES: Possible intersections: 1 point, 2 points, none Elimination,
CHAPTER 2 MATRIX. CHAPTER OUTLINE 2.1 Introduction 2.2 Types of Matrices 2.3 Determinants 2.4 The Inverse of a Square Matrix 2.5 Types of Solutions to.
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.
Copyright © 2013, 2009, 2005 Pearson Education, Inc. 1 5 Systems and Matrices Copyright © 2013, 2009, 2005 Pearson Education, Inc.
8.1 Matrices & Systems of Equations
Matrices Addition & Subtraction Scalar Multiplication & Multiplication Determinants Inverses Solving Systems – 2x2 & 3x3 Cramer’s Rule.
1 C ollege A lgebra Systems and Matrices (Chapter5) 1.
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.
Chapter 8 Matrices and Determinants Matrix Solutions to Linear Systems.
Slide Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley A set of equations is called a system of equations. The solution.
Systems of Equations and Inequalities Ryan Morris Josh Broughton.
RECOGNIZING INCONSISTENT LINEAR SYSTEMS. What is an Inconsistent Linear System?  An inconsistent linear system is a system of equations that has no solutions.
Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall Chapter 5 More Work with Matrices
 Recall that when you wanted to solve a system of equations, you used to use two different methods.  Substitution Method  Addition Method.
Copyright © 2010 Pearson Education, Inc. Publishing as Pearson Addison- Wesley Systems of Equations in Three Variables Identifying Solutions Solving Systems.
LEARNING OUTCOMES At the end of this topic, student should be able to :  D efination of matrix  Identify the different types of matrices such as rectangular,
Solving Systems of Linear equations with 3 Variables To solve for three variables, we need a system of three independent equations.
Determinants Every n  n matrix A is associated with a real number called the determinant of A, written  A . The determinant of a 2  2 matrix.
2.3 MODELING REAL WORLD DATA WITH MATRICES By the end of the section students will be able to add, subtract, and multiply matrices of various sizes. Students.
10.4 Matrix Algebra. 1. Matrix Notation A matrix is an array of numbers. Definition Definition: The Dimension of a matrix is m x n “m by n” where m =
Chapter 2 Lesson 3 Systems of Linear Equations in Two Variables.
Downhill product – Uphill product.
Chapter 4 Systems of Linear Equations; Matrices
Section 4.1 Systems With Two Variables.
Mr. Hartzer, Hamtramck High School
5 Systems of Linear Equations and Matrices
MATRICES AND DETERMINANTS
Chapter 4 Systems of Linear Equations; Matrices
Using matrices to solve Systems of Equations
Unit 3: Matrices
Elimination Using Multiplication.
Chapter 4 Systems of Linear Equations; Matrices
1.8 Matrices.
Warm-up: Solve the system: 2x – 0.4y = -2 3x – 1 2 y = -2
1.8 Matrices.
Matrices are identified by their size.
Using matrices to solve Systems of Equations
Presentation transcript:

MATRICES AND DETERMINANTS CHAPTER 8 MATRICES AND DETERMINANTS

8.1 Matrix Solutions to Linear Systems Objectives Write the augmented matrix for a linear system Perform matrix row operations Use matrices & Gaussian elimination to solve systems Use matrices & Gauss-Jordan elimination to solve systems

Solving a system of 3 equations with 3 variables Graphically, you are attempting to find where 3 planes intersect. If you find 3 numeric values for (x,y,z), this indicates the 3 planes intersect at that point.

Representing a system of equations in a matrix If a linear system of 3 equations involved 3 variables, each column represents the different variables & constant, and each row represents a separate equation. Example: Write the following system as a matrix 2x + 3y – 3z = 7 5x + y – 4z = 2 4x + 2y - z = 6

Solving linear systems using Gaussian elimination Use techniques learned previously to solve equations (addition & substitution) to solve the system Variables are eliminated, but each column represents a different variable Perform addition &/or multiplication to simplify rows. Have one row contain 2 zeros, a one, and a constant. This allows you to solve for one variable. Work up the matrix and solve for the remaining variables.

A matrix should look like this after Gaussian elimination is applied

Examples 3 & 4 (p. 541-543) These examples outline a stepwise approach to use Gaussian elimination. One row (often the bottom row) will contain (0 0 0 1 constant) using this method. After the last variable is solved in the bottom equation, substitute in for that variable in the remaining equations. GO THROUGH EXAMPLES CAREFULLY

Question: Must the last row contain (0 0 0 1 constant)? Yes, in Gaussian elimination, but there are other options. Look again at example 3, page 539. If you multiply the first row by (-1) and add it to the 2nd row, the result is (-2 0 0 -12) What does this mean? -2x = -12, x=6 By making an informed decision as to what variables to eliminate, we solved for a variable much more quickly! Next, multiply row 1 by (-1) & add to 3rd row: (-2 2 0 6). Recall x=-6, therefore this becomes -2(6)+2y=6, y=3 Now knowing x & y, solve for z in any row (row 2?) 6 + 3 + 2z = 19, z=5 Solution: (6,3,5)

If this method is quicker, why would we use Gaussian elimination? Using a matrix to solve a system by Gaussian elimination provides a standard, programmable approach. When computer programs (may be contained in calculators) solve systems. This is the method utilized!

8.2 Inconsistent & Dependent Systems & Their Applications Objectives Apply Gaussian elimination to systems without unique solutions Apply Gaussian elimination to systems with more variables than equations Solve problems involving systems without unique solutions.

How would you know, with Gaussian elimination, that there are no solutions to your system? When reducing your matrix (attempting to have rows contain only 0’s, 1’s & the constant) a row becomes 0 0 0 0 k What does that mean? Can you have 0 times anything equal to a non-zero constant? NO! No solution! Inconsistent system – no solution

Graphically, what is happening with an inconsistent system? Recall, with 3 variables, the equation represents a plane, therefore we are considering the intersection of 3 planes. If a system is inconsistent, 2 or more of the planes may be parallel OR 2 planes could intersect forming 1 line and a different pair of planes intersect at a different line, therefore there is nothing in common to all three planes.

Could there be more than one solution? Yes! If the planes intersect to form a line, rather than a point, there would be infinitely many solutions. All pts. lying on the line would be solutions. You can’t state infinitely many points, so you state the general form of all points on the line, in terms of one of the variables.

What if your system has 3 variables but only 2 equations? Graphically, this is the intersection of 2 planes. 2 planes cannot intersect in 1 point, rather they intersect in 1 line. (or are parallel, thus no solution) The solution is all points on that line. The ordered triple is represented as one of the variables (usually z) and the other 2 as functions of that variable: ex: (z+2,3z,z)

Dependent system Notice when there were infinitely many solutions, two variables were stated in terms of the 3rd. In other words, the x & y values are dependent on the value selected for z. If there are infinitely many solutions, the system is considered to be dependent.

8.3 Matrix Operations & Their Applications Objectives Use matrix notation Understand what is meant by equal matrices Perform scalar multiplication Solve matrix equations Multiply matrices Describe applied situations with matrix operations

What is a matrix? A set of numbers in rows & columns m x n describes the dimensions of the matrix (m rows & n columns) The matrix is contained within brackets. Example of a 3 x 3 matrix:

Add & Subtract matrices Only if they are of the same dimensions Add (or subtract) position by position (i.e. the term in the 3rd row 2nd column of the 1st matrix + the term in the 3rd row 2nd column of the 2nd matrix)

Scalar Multiplication When the multiplier is on the outside of the matrix, every term in the matrix is multiplied by that constant. You can combine multiplication and addition of matrices (PRS on next slide)

Find 3A + B if

Multiplication of matrices When multiplying matrices, order matters! The first row of the 1st matrix is multiplied (term by term) by the 1st column of the 2nd matrix. The sum of these products is the new term for the element in the 1st row, 1st column of the new product matrix. The # columns in 1st matrix MUST equal # rows in 2nd matrix (otherwise terms won’t match up in the term by term multiplication)

Multiply: 1)1st row of 1st by 1st column of 2nd (3(3)+4(4)=25) 2) 1st row of 1st by 2nd column of 2nd (3(1)+4(-2)=-5) 3)1st row of 1st by 3rd column of 2nd (3(-1)+4(1)=1) 4)1st row of 1st by 4th column of 2nd (3(2)+4(0)=6) 5)2nd row of 1st by 1st column of 2nd (-2(3)+5(4)=14) 6)2nd row of 1st by 2nd column of 2nd (-2(1)+5(-2)=-12) 7)2nd row of 1st by 3rd column of 2nd (-2(-1)+5(1)=7) 8)2nd row of 1st by 4th column of 2nd (-2(2)+5(0)=-4) (continue on next slide)

New matrix is created Multiplying 1st row by 1st column fills position 11, multiplying 1st row by 2nd column fills position 12, etc Result: Compare this matrix with the results from the previous slide

8.4 Multiplicative Inverses of Matrices & Matrix Equations Objectives Find the multiplicative inverse of a square matrix Use inverses to solve matrix equations Encode & decode messages

What is the multiplicative inverse of a matrix? It’s the matrix that you must multiply another matrix by to result in the identity matrix. What is the identity matrix? It’s the matrix that you would multiply another matrix by that would not change the value of the original matrix. The identity matrix of a 3x3 matrix is:

How do we find the multiplicative inverse of a matrix? Example 2, p. 574, outlines the steps. In general, if it’s a 2x2 matrix, you’re finding the value of 4 unknowns using 2systems of equations, each with 2 variables. Example on next slide for finding a multiplicative inverse of a matrix ( ), which means the multiplicative inverse, NOT 1/A.

Find the multiplicative inverse of Multiplicative inverse is:

Quick method for finding the multiplicative inverse of a 2x2 matrix If

What if the matrix is greater than a 2x2? Form an augmented matrix where A is the original matrix & I is the identity matrix. Perform elimination and substitution until the original matrix (A) appears as the identity matrix. The resulting matrix left where the identity matrix began is the multiplicative inverse matrix.

8.5 Determinants & Cramer’s Rule Objectives Evaluate a 2nd-order determinant Solve a system of linear equations in 2 variables using Cramer’s rule Evaluate a 3rd-order determinant Solve a system of linear equations in 3 variables using Cramer’s rule Use determinants to identify inconsistent & dependent systems Evaluate higher-order determinants

Determinant of a 2x2 matrix If A is a matrix, the determinant is

When are determinants useful? They can be used to solve a system of equations Cramer’s Rule

Finding a determinant of a 3x3 matrix More complicated, but it can be done! It’s often easier to pick your “home row/column” (the one with the multipliers) to be a row/column that has one or more zeros in it.

Determinants can be used to solve a linear system in 3 variables CRAMER’S RULE

What is D and D is the determinant that results from the coefficients of all variables. is the determinant that results when each x coefficient is replaced with the given constants. is the determinant that results when each y coefficient is replaced with the given constants. is the determinant that results when the z coefficients are replaced with the given constants.

Find z, given 2x + y = 7 -x + 3y + z = 5 3x + 2y – 4z = 10