1 / 22

Lesson 12.2

Lesson 12.2. Matrix Multiplication. Row and Column Order. The rows in a matrix are usually indexed 1 to m from top to bottom. The columns are usually indexed 1 to n from left to right. Elements are indexed by row, then column. Scalar Multiplication of Matrices.

dai
Download Presentation

Lesson 12.2

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. Lesson 12.2 Matrix Multiplication

  2. Row and Column Order The rows in a matrix are usually indexed 1 to m from top to bottom. The columns are usually indexed 1 to n from left to right. Elements are indexed by row, then column.

  3. Scalar Multiplication of Matrices If A is an m×n matrix and s is a scalar, then we let kA denote the matrix obtained by multiplying every element of A by k. This procedure is called scalar multiplication.

  4. Multiplying Matrices by a scalar • In matrix algebra, a real number is often called a SCALAR. To multiply a matrix by a scalar, you multiply each entry in the matrix by that scalar.

  5. Scalar Multiplication - each element in a matrix is multiplied by a constant.

  6. Example PEMDAS – parenthesis first, do the matrix addition -3 3 -2 Do the scalar multiplication -5 6 6 -6 -2(-3) -2(3) -12 10 -2(6) -2(-5)

  7. Multiplication of Matrices The multiplication of matrices is easier shown than put into words. You multiply the rows of the first matrix with the columns of the second adding products Find AB Multiply across the first row and down the first column adding products. Put the answer in the first row, first column of the answer matrix.

  8. Con’t Find AB Notice the sizes of A and B and the size of the product AB. Now we multiply across the first row and down the second column and we’ll put the answer in the first row, second column. Now we multiply across the second row and down the first column and we’ll put the answer in the second row, first column. Now we multiply across the second row and down the second column and we’ll put the answer in the second row, second column. We multiplied across first row and down first column so we put the answer in the first row, first column.

  9. You can multiply two matrices A and B only if the number of columns of A is equal to the number of rows of B.

  10. Examples: 2(3) + -1(5) 2(-9) + -1(7) 2(2) + -1(-6) 3(-9) + 4(7) 3(2) + 4(-6) 3(3) + 4(5)

  11. Dimensions: 2 x 3 2 x 2 *They don’t match so can’t be multiplied together.*

  12. 2 x 2 2 x 2 *Answer should be a 2 x 2 0(4) + (-1)(-2) 0(-3) + (-1)(5) 1(4) + 0(-2) 1(-3) +0(5)

More Related