1 / 53

C ollege A lgebra

University of Palestine IT-College. C ollege A lgebra. Systems and Matrices (Chapter5) L:20. 1. Cramer’s Rule for Two Equations in Two Variables. Use Cramer’s Rule to solve the system. 7 x + 3 y = 15 2 x + 9 y = 12

Download Presentation

C ollege A lgebra

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. University of Palestine IT-College College Algebra Systems and Matrices(Chapter5) L:20 1

  2. Cramer’s Rule for Two Equations in Two Variables

  3. Use Cramer’s Rule to solve the system. 7x + 3y = 15 2x + 9y = 12 Find D first, since if D = 0, Cramer’s Rule does not apply. The solution set is {(3, 2)}. Example

  4. General Form of Cramer’s Rule

  5. Use Cramer’s Rule to solve the system. Example

  6. Example continued • Thus: • The solution set is

  7. Example

  8. Solution: x = 2, y = -1, z = 3

  9. 5.4 Properties of Matrices

  10. Basic Definitions • It is customary to use capital letters to name matrices. Also, subscript notation is often used to name elements of a matrix, as shown. • A n n matrix is a square matrix. • A matrix with just one row is a row matrix. • A matrix with just one column is a column matrix. • Two matrices are equal if they are the same size and if corresponding elements, position by position, are equal.

  11. Example • Find the values of the variables which makes the statement true. • From the definition of equality, the only way that the statement can be true is if a = 3, b = 4, x = 2 and y = 7.

  12. Addition and Subtraction of Matrices • To add two matrices of the same size, add corresponding elements. Only matrices of the same size can be added. • If A and B are two matrices of the same size, then A B = A + (B).

  13. Examples • Add and subtract the following. • AddSubtract

  14. Examples continued • Add or subtract, if possible. • a) • b) The matrices have different sizes so they cannot be added or subtracted.

  15. Properties of Scalar Multiplication • If A and B are matrices of the same size and c and d are scalars, then (c + d)A = cA + dAc(A)d = cd(A) c(A + B) = cA + cB (cd)A = c(dA) Example: Find the product.

  16. Matrix Multiplication • If the number of columns of an m n matrix A is the same as the number of rows of an n p matrix B (i.e., both n). The element cij of the product matrix C = AB is found as follows: • Matrix AB will be an m p matrix.

  17. Example • Suppose A is a 3  4 matrix, while B is a 4 2 matrix. • a) Can the product AB be calculated? • b) If AB can be calculated, what size is it? • c) Can BA be calculated? • d) If BA can be calculated, what size is it?

  18. must match Size of AB Solutions • a) AB can be calculated, because the number of columns of A is equal to the number of rows of B. 3  4 4 2 • b) The product is a 3  2 matrix. • c) BA cannot be calculated, the number of columns and rows do not match. • d) Since BA cannot be calculated we cannot determine the size.

  19. Multiply the Matrices • For find each of the following. a) AB b) BA c) AC

  20. Solution AB • A is a 2  3 matrix and Bis a 3  2 matrix, so ABwill be a 2  2 matrix.

  21. Solution BA • Bis a 3  2 matrix and A is a 2  3 matrix, so BA will be a 3  3 matrix.

  22. Solution AC • The product AC is not defined because the number of columns of A, 3, is not equal to the number of rows of C, 2. • Note that AB  BA. Multiplication of matrices is generally not commutative.

  23. Properties of Matrix Multiplication • If A, B, and C are matrices such that all of the following products and sums exist, then • (AB)C = A(BC) • A(B + C) = AB + AC • (B + C)A = BA + CA.

  24. A matrix with m rows and n columns is called an m by n matrix.

  25. Note that in order for two matrices to be combined with addition or subtraction, they must have the same number of rows and columns.

  26. If k is a real number and A is an m by n matrix, the matrix kA is

  27. Let A denote an m by r matrix and let B denote an r by n matrix. The productAB is defined as the m by n matrix whose entry in row i, column j is the product of the ith row of A and the jth column of B.

  28. 5.6 Matrix Inverses

  29. Identity Matrices • By the identity property for real numbers, a 1 = a and 1  a = a for any real number a. If there is to be a multiplicative identity matrix I, such that AI = A and IA = A for any matrix A, then A and I must be square matrices of the same size.

  30. Identity Matrices 2  2 Identity Matrix If I2 represents the 2  2 identity matrix, then

  31. Identity Matrices

  32. Stating and Verifying the 3  3 Identity Matrix Example: Let Give the 3  3 identity matrix I and show that AI = A. Solution: By the definition of matrix multiplication,

  33. Multiplicative Inverses • If A is an n n matrix, then its multiplicative inverse, written A1, must satisfy both AA1 = In and A1A = In • This means that only a square matrix can have a multiplicative inverse. Caution: Although for any nonzero real number a, if A is matrix, .

  34. Finding an Inverse Matrix • To obtain A1 for any n n matrix A for which A1 exists, follow these steps. Step 1 Form the augmented matrix where Inis then nidentity matrix.. Step 2 Perform row transformations on to obtain a matrix of the Step 3 Matrix B is A1.

  35. Example Find A1 if A = Solution: Use row transformations as follows. Step 1 Write the augmented matrix Step 2 Since 1 is already in the upper left hand corner, we begin by using row transformation that will result in 0 for the first element in the second row.

  36. The following is done to obtain 0 as the first element in the third row. The following is done to obtain 1 as the third element in the third row. The following is done to obtain 0 for the third element in the first row. Example continued R2  2R1 R3  R3 R1  R3 R3 + R1

  37. The following is done to obtain 0 for the third element in the second row. Step 3The last transformation shows that the inverse is Example continued R2  R3

  38. Solution of the Matrix Equation AX = B • If A is an n n matrix with inverse A1, X is an n 1 matrix of variables, and B is an n 1 matrix, then the matrix equation AX = B has the solution GX = A1B.

  39. Solving Systems of Equations Using Matrix Inverses Example: 3x + 4y = 5 5x + 7y = 9 Solution: To represent the system as a matrix equation, use one matrix for the coefficients, one for the variables, and one for the constants, as follows The system can then be written in matrix form as the equation AX = B, since

  40. Solving Systems of Equations Using Matrix Inverses continued To solve the system, first find A1. Then find A1B. Since X = A1B, • The final matrix shows the solution set of the system is {(1, 2)}

  41. Continue performing row operations on the augmented matrix until the matrix on the left is the identity matrix.

  42. If a matrix represents the coefficients of a linear system of equations, the inverse matrix can be used to solve the system.

More Related