Difference between revisions of "Matrix Algebra and Matrix Multiplication"

From Department of Mathematics at UTSA
Jump to navigation Jump to search
Line 118: Line 118:
 
</math>
 
</math>
  
Note that there is no "matrix division". Rather, we multiply one matrix by the inverse of another to obtain a "quotient" from two matrices.
+
Note that there is no "matrix division". Rather, we multiply one matrix by the inverse of another (for example, <math> AB^{-1} </math>, NOT <math> A/B </math>) to obtain a "quotient" from two matrices.
  
 
==Resources==
 
==Resources==
Line 124: Line 124:
 
* [https://www.khanacademy.org/math/algebra-home/alg-matrices/alg-multiplying-matrices-by-scalars/v/scalar-multiplication Multiplying Matrices by Scalars], Khan Academy
 
* [https://www.khanacademy.org/math/algebra-home/alg-matrices/alg-multiplying-matrices-by-scalars/v/scalar-multiplication Multiplying Matrices by Scalars], Khan Academy
 
* [https://www.khanacademy.org/math/algebra-home/alg-matrices/alg-multiplying-matrices-by-matrices/v/matrix-multiplication-intro Matrix Multiplication], Khan Academy
 
* [https://www.khanacademy.org/math/algebra-home/alg-matrices/alg-multiplying-matrices-by-matrices/v/matrix-multiplication-intro Matrix Multiplication], Khan Academy
 +
* [https://openstax.org/books/college-algebra/pages/7-5-matrices-and-matrix-operations Matrices and Matrix Operations], OpenStax
 +
* [https://www.youtube.com/watch?v=0L90Kkn90J8 Multiplying a 2-by-3 Matrix and 3-by-2 Matrix], patrickJMT

Revision as of 12:00, 17 September 2021

Matrix Operations

Adding and subtracting matrices

In order to add or subtract two matrices, they must be of the same dimension; that is, the two matrices must have the same number of rows and the same number of columns. To add two matrices together, we simply need to add every entry in one matrix to the entry in the same row and same column in the other matrix. For example:


Multiplying matrices by scalars

When multiplying a matrix by a scalar (or number), all we need to do is multiply each entry of the matrix by the scalar. For example:


Multiplying matrices

Matrix multiplication is not commutative; that is, for most matrices and , . Two matrices can only be multiplied together if the number of columns in the first matrix equals the number of rows in the second matrix. For example, we can take the product of a 3-by-2 matrix times a 2-by-5 matrix, but not a 3-by-2 matrix times a 3-by-2 matrix. The product of two matrices has the same number of rows as the first matrix and the same number of columns as the second matrix. For example, a 2-by-3 matrix times a 3-by-2 matrix will result in a 2-by-2 matrix.

The product of two 3-by-3 matrices is

where is the dot product of the i-th row of the first matrix and the j-th column of the second matrix; that is, .

Here is a 2-by-2 example of matrix multiplication:

Note that there is no "matrix division". Rather, we multiply one matrix by the inverse of another (for example, , NOT ) to obtain a "quotient" from two matrices.

Resources