Linear Programming Solving Systems of Equations with 3 Variables Inverses & Determinants of Matrices Cramer’s Rule.

Slides:



Advertisements
Similar presentations
Linear Programming Unit 2, Lesson 4 10/13.
Advertisements

Systems. Day 1 Systems of Linear Equations System of Linear Equations: two or more linear equations together The solution of the system of equations.
4.7 Inverse Matrices and Systems. 1) Inverse Matrices and Systems of Equations You have solved systems of equations using graphing, substitution, elimination…oh.
Using Matrices to Solve a System of Equations. Multiplicative Identity Matrix The product of a square matrix A and its identity matrix I, on the left.
4.5, x 2 and 3 x 3 Matrices, Determinants, and Inverses Date: _____________.
Systems of Equations and Inequalities
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
3.5 Solution by Determinants. The Determinant of a Matrix The determinant of a matrix A is denoted by |A|. Determinants exist only for square matrices.
Linear Systems of Equations
Systems and Matrices (Chapter5)
Algebra 2 Chapter 3 Notes Systems of Linear Equalities and Inequalities Algebra 2 Chapter 3 Notes Systems of Linear Equalities and Inequalities.
Algebra 2 Chapter 3 Notes Systems of Linear Equalities and Inequalities Algebra 2 Chapter 3 Notes Systems of Linear Equalities and Inequalities.
Chapter 3 Linear Systems.
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.
Chapter 8 Matrices and Determinants By Richard Warner, Nate Huyser, Anastasia Sanderson, Bailey Grote.
Linear Systems Two or more unknown quantities that are related to each other can be described by a “system of equations”. If the equations are linear,
5 Systems and Matrices © 2008 Pearson Addison-Wesley. All rights reserved Sections 5.6–5.8.
Inverses and Systems Section Warm – up:
Using Matrices to Solve Systems of Equations Matrix Equations l We have solved systems using graphing, but now we learn how to do it using matrices.
Copyright © 2007 Pearson Education, Inc. Slide 7-1.
4-7 Inverse Matrices & Systems
Copyright © 2011 Pearson Education, Inc. Systems of Linear Equations and Inequalities CHAPTER 9.1Solving Systems of Linear Equations Graphically 9.2Solving.
Copyright 2013, 2010, 2007, Pearson, Education, Inc. Section 7.6 Linear Programming.
Solve problems by using linear programming.
Class Opener:. Example: Guided Notes: Word Problem Suppose you are selling cases of mixed nuts and roasted peanuts. You can order no more than a total.
Systems of Inequalities in Two Variables Sec. 7.5a.
Matrices Addition & Subtraction Scalar Multiplication & Multiplication Determinants Inverses Solving Systems – 2x2 & 3x3 Cramer’s Rule.
Ch X 2 Matrices, Determinants, and Inverses.
Warm Up. Inverse Matrices Three main topics today Identity Matrix Determinant Inverse Matrix.
Identity & Inverse Matrices
4.3 Determinants and Cramer’s rule How do you find the determinant of a matrix? How do you find the area of a triangle given 3 sets of coordinates? How.
Systems of Equations and Inequalities Systems of Linear Equations: Substitution and Elimination Matrices Determinants Systems of Non-linear Equations Systems.
Monday WARM-UP: TrueFalseStatementCorrected Statement F 1. Constraints are conditions written as a system of equations Constraints are conditions written.
3.4: Linear Programming Objectives: Students will be able to… Use linear inequalities to optimize the value of some quantity To solve linear programming.
Class Opener: Solve each equation for Y: 1.3x + y = y = 2x 3.x + 2y = 5 4. x – y = x + 3y = x – 5y = -3.
Warm-up Solve each system of equations:
Constraints Feasible region Bounded/ unbound Vertices
Linear Programming-Bellwork
4.8 Using matrices to solve systems! 2 variable systems – by hand 3 or more variables – using calculator!
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.
4-5 – 2x2 Matrices, Determinants, & Inverses. Objectives Evaluating Determinants of 2x2 Matrices Using Inverse Matrices to Solve Equations.
LINEAR PROGRAMMING 3.4 Learning goals represent constraints by equations or inequalities, and by systems of equations and/or inequalities, and interpret.
2.5 – Determinants and Multiplicative Inverses of Matrices.
3.3 Linear Programming. Vocabulary Constraints: linear inequalities; boundary lines Objective Function: Equation in standard form used to determine the.
Chapter 3 Section 4 Linear Programming Algebra 2 January 29, 2009.
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 =
Copyright © 2012 Pearson Education, Inc. Publishing as Addison Wesley CHAPTER 6: Systems of Equations and Matrices 6.1 Systems of Equations in Two Variables.
16 Matrix Inverses and Solving Systems Lesson Presentation Lesson Quiz.
12-4: Matrix Methods for Square Systems
2-7 Linear Programming Pre Calc A.
The Inverse of a Square Matrix
Pre-Calculus – Chapter 2
Chapter 5 Systems and Matricies. Chapter 5 Systems and Matricies.
L9Matrix and linear equation
Matrix Equations Step 1: Write the system as a matrix equation. A three-equation system is shown below. First matrix are the coefficients of all the.
Math 1 Warm Up In the Practice Workbook… Practice 7-6 (p. 94)
Linear Systems Chapter 3.
Linear Programming Objectives: Set up a Linear Programming Problem
More about Matrices Chapter 4, Sections 5, 7.
Chapter 7: Matrices and Systems of Equations and Inequalities
Chapter 4 Systems of Linear Equations; Matrices
Use Inverse Matrices to Solve 2 Variable Linear Systems
Chapter 7: Matrices and Systems of Equations and Inequalities
Chapter 7: Systems of Equations and Inequalities; Matrices
Nature does nothing uselessly.
Chapter 4 Systems of Linear Equations; Matrices
1.6 Linear Programming Pg. 30.
L4-5/L4-6 Objective: Students will be able to evaluate determinants of matrices.
Presentation transcript:

Linear Programming Solving Systems of Equations with 3 Variables Inverses & Determinants of Matrices Cramer’s Rule

Linear Programming What is it? Technique that identifies the minimum or maximum value of a quantity Objective function Like the “parent function” Constrains (restrictions) Limits on the variables Written as inequalities What is the name of the region where our possible solutions lie? Feasible region Contains all of the points which satisfy the constraints

Vertex Principle of Linear Programming If there is a max or a min value of the linear objective function, it occurs at one or more vertices of the feasible region

Testing Vertices Find the values of x and y that maximize and minimize P? What is the value of P at each vertex?

1. Graph the constraints 2. Find coordinates of each vertex 3. Evaluate P at each vertex when x=4 and y=3 P has a max value of 18

Furniture Manufacturing A furniture manufacturer can make from 30 to 60 tables a day and from 40 to 100 chairs a day. It can make at most 120 units in one day. The profit on a table is $150, and the profit on a chair is $65. How many tables and chairs should they make per day to maximize profit? How much is the maximum profit? Define our variables: X: number of tables Y: number of chairs

Practice Problem Teams chosen from 30 forest rangers and 16 trainees are planting trees. An experienced team consisting of two rangers can plant 500 trees per week. A training team consisting of one ranger and two trainees can plant 200 trees per week. 1. Write an objective function and constraints for a linear program that models the problem. 2. How many of each type of team should be formed to maximize the number of trees planted? How many trainees are used in this solution? How many trees are planted? 3. Find a solution that uses all the trainees. How many trees will be planted in this case? Experie nced Teams Training Teams Total # of Teams xyx+y # of Rangers 2xy30 # of Trainees 02y16 # of trees planted 500x200y500x+200y

Ranger Problem 1. Write an objective function and constraints for a linear program that models the problem. 2. How many of each type of team should be formed to maximize the number of trees planted? How many trainees are used in this solution? How many trees are planted? 3. Find a solution that uses all the trainees. How many trees will be planted in this case? 15 experienced teams, 0 training teams none7500 trees 11 experienced teams, 8 training teams 7100 trees

Homework due Wednesday Unit 3 Test on Tuesday 10/8

Solving Systems of Equations with 3 Variables We are going to focus on solving in two ways Solving by Elimination Solving by Substitution

Elimination Ensure all variables in all equations are written in the same order Steps: 1. Pair the equations to eliminate a variable (ex: y) 2. Write the two new equations as a system and solve for final two variables (ex: x and z) 3. Substitute values for x and z into an original equation and solve for y Always write solutions as: (x,y,z)

Example

Practice

Substitution 1. Choose one equation and solve for the variable 2. Substitute the expression for x into each of the other two equations 3. Write the two new equations as a system. Solve for y and x 4. Substitute the values for y and z into one of the original equations. Solve for x

Example

Practice

Working with Matrices

Inverses and Determinates (2x2) Square matrix Same number of rows and columns Identity Matrix (I) Square matrix with 1’s along the main diagonal and 0’s everywhere else Inverse Matrix AA -1 =I If B is the multiplicative inverse of A then A is the inverse of B To show they are inverses AB=I

Verifying Inverses for 2x2 A=B= AB= =

Determinates for 2x2 Determinate of a 2x2 matrix is ad-bc Symbols: detA Ex: Find the determinate of = -3*-5-(4*2) =15-8 =7

Inverse of a 2x2 Matrix Let If det A≠0, then A has an inverse. A -1 = If det A=0 then there is NOT a unique solution

Ex: Determine if the matrix has an inverse. Find the inverse if it exists. Since det M does not equal 0 an inverse exists!

Systems with Matrices System of EquationsMatrix equation Coefficient matrix A Variable matrix X Constant matrix B

Solving a System of Equations with Matrices 1. Write the system as a matrix equation 2. Find A Solve for the variable matrix

Practice Problems P. 48 # 1, 4, 7, 11, 14, 17

p. 48 Check your answers!! #1 #4 #7 #11det=0 so no unique solution #14det=-1 #17det=-29

Determinates for 3x3 Determinate of a 3x3 On the calculator Enter the matrix 2 nd => Matrix => MATH => det( => Matrix => Choose the matrix

Verifying Inverses Multiply the matrices to ensure result is I If not then the two matrices are not inverses A=B= AB= = AB=

Solving a System of Equations with Matrices (4, -10, 1)

Practice Problems (5,-3) (5,0,1)(1,0,3)

Practice Solving Systems with Matrices Suppose you want to fill nine 1-lb tins with a snack mix. You plan to buy almonds for $2.45/lb, peanuts for $1.85/lb, and raisins for $.80/lb. You have $15 and want the mix to contain twice as much of the nuts as of the raisins by weight. How much of each ingredient should you buy? Let x represent almonds Let y represent peanuts Let z represent raisins

Calculator How To!! To input a matrix: 2 nd, Matrix, Edit Be sure to define the size of your matrix!! To find the inverse of a matrix 2 nd, Matrix, 1, x -1, enter

Homework P. 50 # 1, 2, 6, 9, 10, 11, 13, 14