Presentation is loading. Please wait.

Presentation is loading. Please wait.

nhaa/imk/sem /eqt101/rk12/32

Similar presentations


Presentation on theme: "nhaa/imk/sem /eqt101/rk12/32"— Presentation transcript:

1 nhaa/imk/sem120162017/eqt101/rk12/32
CHAPTER 2: MATRICES Systems of Linear Equations nhaa/imk/sem /eqt101/rk12/32 nhaa/imk/sem /eqt101/rk12/32

2 TYPES OF SOLUTIONS TO SYSTEMS OF LINEAR EQUATIONS
A SYSTEM WITH NO SOLUTION A SYSTEM WITH UNIQUE SOLUTION A SYSTEM WITH INFINITELY MANY SOLUTION TYPES OF SOLUTIONS nhaa/imk/sem /eqt101/rk12/32

3 A SYSTEMS WITH UNIQUE SOLUTION
Consider the systems: Augmented matrix: Thus, the system has a unique solution, where nhaa/imk/sem /eqt101/rk12/32

4 A SYSTEMS WITH INFINITELY MANY SOLUTIONS
Consider the systems: Augmented matrix: Thus, the system has infinitely many solutions, by letting where s is a free variable and Then the solution for is given by nhaa/imk/sem /eqt101/rk12/32

5 A SYSTEMS WITH NO SOLUTION
Consider the systems: Augmented matrix: Thus, the system has no solution, since the coefficient of is 0. nhaa/imk/sem /eqt101/rk12/32

6 METHODS OF SOLVING SYSTEMS OF EQUATIONS
There are 4 methods can be used to solve systems of linear equations: The Inverse of the Coefficient Matrix Gauss Elimination Gauss-Jordan Elimination Cramer’s Rule nhaa/imk/sem /eqt101/rk12/32

7 METHODS OF SOLVING SYSTEMS OF EQUATIONS
The Inverse of the Coefficient Matrix Consider a system of equations written in the form AX=B, where The solution of X is given by: nhaa/imk/sem /eqt101/rk12/32

8 The Inverse of the Coefficient Matrix
Example Solve the system by using the inverse of the coefficient matrix: Answer: nhaa/imk/sem /eqt101/rk12/32

9 The Inverse of the Coefficient Matrix
Solution: Write in the form AX=B Find the inverse of A, where Find the solution of X: nhaa/imk/sem /eqt101/rk12/32

10 The Inverse of the Coefficient Matrix
Example Solve the system by using the inverse of the coefficient matrix: Answer: nhaa/imk/sem /eqt101/rk12/32

11 The Inverse of the Coefficient Matrix
Example A four-ounce serving of Campbell’s® Chicken & Beans contains 5 grams of protein and 21 grams of carbohydrates. A typical slice of “lite” rye bread contains 4 grams of protein and 12 grams of carbohydrates. Sara planning a meal of “beans-on-toast” and she want it to supply 20 grams of protein and 80 grams of carbohydrates. How should she prepare her meal? Answer: nhaa/imk/sem /eqt101/rk12/32

12 METHODS OF SOLVING SYSTEMS OF EQUATIONS
B) Gauss Elimination Consider a system of linear equations: The system can be written in the augmented form [A|B]. nhaa/imk/sem /eqt101/rk12/32

13 Gauss Elimination Method
The augmented form: X=[A|B] By using ERO, A may be reduce in REF/ Upper Triangular form. (Refer Types of Matrices) nhaa/imk/sem /eqt101/rk12/32

14 Gauss Elimination Method
Example Solve the system by using the Gauss elimination method Answer: nhaa/imk/sem /eqt101/rk12/32

15 Gauss Elimination Method
Solution Write in augmented form: X=[A|B] Apply ERO, use appropriate characteristics Apply backward substitution nhaa/imk/sem /eqt101/rk12/32

16 Gauss Elimination Method
Example Solve the system by using the Gauss elimination method Answer: nhaa/imk/sem /eqt101/rk12/32

17 Gauss Elimination Method
Example You manage an ice cream factory that makes three flavors: Creamy Vanilla, Continental Mocha, and Succulent Strawberry. Into each batch of Creamy Vanilla go two eggs, one cup of milk, and two cups of cream. Into each batch of Continental Mocha go one egg, one cup of milk, and two cups of cream. Into each batch of Succulent Strawberry go one egg, two cups of milk, and one cup of cream. Your stocks of eggs, milk, and cream vary from day to day. How many batches of each flavor should you make in order to use up all of your ingredients if you have 350 eggs, 350 cups of milk and 400 cups of cream? nhaa/imk/sem /eqt101/rk12/32

18 Gauss Elimination Method
Answer: 100 Creamy Vanilla flavour 50 Continental Mocha flavour 100 Succulent Strawberry flavour nhaa/imk/sem /eqt101/rk12/32

19 METHODS OF SOLVING SYSTEMS OF EQUATIONS
C) Gauss-Jordan Elimination Consider a system of linear equations: The system can be written in the augmented form [A|B]. nhaa/imk/sem /eqt101/rk12/32

20 Gauss-Jordan Elimination Method
The augmented form: X=[A|B] By using ERO, A may be reduce in RREF/ Identity form. (Refer Types of Matrices) nhaa/imk/sem /eqt101/rk12/32

21 Gauss-Jordan Elimination Method
Example Solve the system by using the Gauss-Jordan elimination method Answer: nhaa/imk/sem /eqt101/rk12/32

22 Gauss-Jordan Elimination Method
Solution Write in augmented form: X=[A|B] Apply ERO, use appropriate characteristics: nhaa/imk/sem /eqt101/rk12/32

23 Gauss Elimination Method
Example Solve the system by using the Gauss-Jordan elimination method Answer: nhaa/imk/sem /eqt101/rk12/32

24 Gauss-Jordan Elimination Method
Example The Arctic Juice Company makes three juice blends: PineOrange, using 2 quarts of pineapple juice and 2 quarts of orange juice per gallon; PineKiwi, using 3 quarts of pineapple juice and 1 quart of kiwi juice per gallon; and OrangeKiwi, using 3 quarts of orange juice and 1 quart of kiwi juice per gallon. The amount of each kind of juice the company has on hand varies from day to day. How many gallons of each blend can it make on a day if they have 650 quarts of pineapple juice, 800 quarts of orange juice and 350 quarts of kiwi juice? nhaa/imk/sem /eqt101/rk12/32

25 Gauss-Jordan Elimination Method
Answer: 100 gallons of PineOrange 150 gallons of PineKiwi 200 gallions of OrangeKiwi nhaa/imk/sem /eqt101/rk12/32

26 METHODS OF SOLVING SYSTEMS OF EQUATIONS
D) Cramer’s Rule Given the systems of linear equation as: Where With D is the determinant of A (D=det(A)) and nhaa/imk/sem /eqt101/rk12/32

27 nhaa/imk/sem120162017/eqt101/rk12/32
Cramer’s Rule Cramer’s rule for a 3x3 system: Since Then nhaa/imk/sem /eqt101/rk12/32

28 nhaa/imk/sem120162017/eqt101/rk12/32
Cramer’s Rule The solutions for and are given by: Where nhaa/imk/sem /eqt101/rk12/32

29 nhaa/imk/sem120162017/eqt101/rk12/32
Cramer’s Rule Step of solution Compute D, determinant of A and Compute Di , i=1,2,3,…n, where Di is obtained from D by replacing the ith column of D by B Solution are given by Cramer’s rule cannot be applies if D=0. In such a case, either a unique solution to the system does not exist or there is no solution. nhaa/imk/sem /eqt101/rk12/32

30 nhaa/imk/sem120162017/eqt101/rk12/32
Cramer’s Rule Example Solve the system by using the Cramer’s rule method Answer: nhaa/imk/sem /eqt101/rk12/32

31 nhaa/imk/sem120162017/eqt101/rk12/32
Cramer’s Rule Solution Write down A, B and X. Find D (determinant of A) nhaa/imk/sem /eqt101/rk12/32

32 nhaa/imk/sem120162017/eqt101/rk12/32
Cramer’s Rule Example Solve the system by using the Crames’r rule method Answer: nhaa/imk/sem /eqt101/rk12/32

33 nhaa/imk/sem120162017/eqt101/rk12/32
Cramer’s Rule Example The Arctic Juice Company makes three juice blends: PineOrange, using 2 quarts of pineapple juice and 2 quarts of orange juice per gallon; PineKiwi, using 3 quarts of pineapple juice and 1 quart of kiwi juice per gallon; and OrangeKiwi, using 3 quarts of orange juice and 1 quart of kiwi juice per gallon. The amount of each kind of juice the company has on hand varies from day to day. How many gallons of each blend can it make on a day if they have 800 quarts of pineapple juice, 650 quarts of orange juice and 350 quarts of kiwi juice? nhaa/imk/sem /eqt101/rk12/32

34 nhaa/imk/sem120162017/eqt101/rk12/32
Cramer’s Rule Answer: 100 gallons of PineOrange 200 gallons of PineKiwi 150 gallions of OrangeKiwi nhaa/imk/sem /eqt101/rk12/32


Download ppt "nhaa/imk/sem /eqt101/rk12/32"

Similar presentations


Ads by Google