1 / 22

7.4 Matrix Properties and Operations

7.4 Matrix Properties and Operations. A matrix is classified by its dimension -that is, by the number of rows and columns it contains. A matrix with m rows and n columns has dimension m × n . e.g. The matrix has dimension 2 ×3.

fruma
Télécharger la présentation

7.4 Matrix Properties and Operations

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. 7.4 Matrix Properties and Operations • A matrix is classified by its dimension-that is, by the number of rows and columns it contains. • A matrix with m rows and n columns has dimension m× n. e.g. The matrix has dimension 2×3. • A square matrix has the same number of rows as columns. The dimension of a square matrix is n× n.

  2. 7.4 Classifying Matrices by Dimension Example Find the dimension of each matrix. (a) The matrix is a 3 × 2 matrix. (b) The matrix is a 3 × 3 square matrix. • The matrix is a 1 × 5 row matrix.

  3. 7.4 Determining Equality of Matrices Example Solution Two matrices are equal if they have the same dimension and if corresponding elements, position by position, are equal. This is true in this case if 2 = x, 1 = y, p = –1, and q = 0.

  4. 7.4 Matrix Addition The sum of two m× n matrices A and B is the m× n matrixA + B in which each element is the sum of the corresponding elements of A and B. Example Find each sum.

  5. 7.4 Matrix Addition Analytic Solution Graphing Calculator Solution

  6. 7.4 Matrix Addition Analytic Solution Graphing Calculator Solution The calculator returns a dimension mismatch error.

  7. 7.4 The Zero Matrix • A matrix with only zero elements is called a zero matrix. For example, [0 0 0] is the 1 × 3 zero matrix while is the 2 × 3 zero matrix. • The elements of matrix –A are the additive inverses of the elements of matrix A. For example, if

  8. 7.4 Matrix Subtraction If A and B are matrices with the same dimension, then A–B = A + (–B). Example Find the difference of Solution

  9. 7.4 Matrix Multiplication by a Scalar • If a matrix A is added to itself, each element is twice as large as the corresponding element of A. • In the last expression, the 2 in front of the matrix is called a scalar. • A scalar is a special name for a real number.

  10. 7.4 Matrix Multiplication by a Scalar The product of a scalar k and a matrix A is the matrix kA, each of whose elements is k times the corresponding elements of A. Example Perform the multiplication Solution

  11. 7.4 Matrix Multiplication Example Suppose you are the manager of a video store and receive the following order from two distributors: from Wholesale Enterprises, 2 videotapes, 7 DVDs, and 5 video games; from Discount Distributors, 4 videotapes, 6 DVDs, and 9 video games. We can organize the information in table format and convert it to a matrix. or

  12. 7.4 Matrix Multiplication Suppose each videotape costs the store $12, each DVD costs $18, and each video game costs $9. To find the total cost of the products from Wholesale Enterprises, we multiply as follows. The products from Wholesale Enterprises cost a total of $195.

  13. 7.4 Matrix Multiplication • The result is the sum of three products: 2($12) + 7($18) + 5($9) = $195. • In the same way, using the second row of the matrix and the three costs gives the total from Discount Distributors: 4($12) + 6($18) + 9($9) = $237. • The total costs from the distributors can be written as a column matrix . The product of matrices can be written as

  14. 7.4 Matrix Multiplication The product AB of an m× n matrix A and an n× k matrix B is an m × k matrix and is found as follows: To find the ith row, jth column element of AB, multiply each element in the ith row of A by the corresponding element in the jth column of B. The sum of these products gives the element of row i, column j of AB. The product AB can be found only if the number of columns of A is the same as the number of rows of B. The final product will have as many rows as A and as many columns as B.

  15. 7.4 Matrix Multiplication Example Find the product AB of the two matrices Analytic SolutionA has dimension 2 × 3 and B has dimension3 × 2, so they are compatible for multiplication. The product AB has dimension 2 × 2.

  16. 7.4 Matrix Multiplication

  17. 7.4 Matrix Multiplication Example Use the graphing calculator to find the product BA of the two matrices from the previous problem. Graphing Calculator Solution Notice AB  BA.

  18. 7.4 Applying Matrix Algebra Example A contractor builds three kinds of houses, models X, Y,and Z, with a choice of two styles, colonial or ranch. Matrix A below shows the number of each kind of house the contractor is planning to build for a new 100-home subdivision. The amounts are shown in matrix B, while matrix C gives the cost in dollars for each kind of material. Concrete is measured in cubic yards, lumber in 1000 board feet, brick in 1000s, and shingles in 100 square feet. Ranch Colonial

  19. 7.4 Applying Matrix Algebra Brick Lumber Shingles Concrete • What is the total cost of materials for all houses of each model? • How much of each of the four kinds of material must be ordered? • Use a graphing calculator to find the total cost of the materials. Cost per Unit

  20. 7.4 Applying Matrix Algebra Solution • To find the materials cost for each model, first find AB, the total amount of each material needed for all the houses of each model. Brick Lumber Shingles Concrete

  21. 7.4 Applying Matrix Algebra Multiplying the total amount of materials matrix AB and the cost matrix C gives the total cost of materials. Cost

  22. 7.4 Applying Matrix Algebra • The totals of the columns of matrix AB will give a matrix whose elements represent the total amounts of each material needed for the subdivision. Call this matrix D, and write it as a row matrix. • The total cost of all materials is given by the product of matrix C, the cost matrix, and matrix D, the total amounts matrix. The total cost of the materials is $188,400.

More Related