Algebra with Matrices
Addition and Subtraction
Two matrices of the same order can be added by summing the entries in the corresponding positions.
Two matrices of the same order can be subtracted by subtracting the entries in the corresponding positions.
You can find the product of matrix and matrix if the number of columns in matrix matches the number of rows in matrix . Another way to remember this is when you write the orders of matrix and matrix next to each other they must be connected by the same number. The resulting matrix has the number of rows from the first matrix and the number of columns from the second matrix.
To compute the first entry of the resulting matrix you should match the first row from the first matrix and the first column of the second matrix. The arithmetic operation to combine these numbers is identical to taking the dot product between two vectors.
- The entry in the first row first column of the new matrix is computed as .
- The entry in the second row first column of the new matrix is computed as .
- The entry in the first row second column of the new matrix is computed as
- The entry in the second row second column of the new matrix is computed as
Continue this pattern and you will find that the solution to this multiplication is:
Other Properties of Matrix Algebra
- Commutativity holds for matrix addition. This means that when matrices and can be added (when they have matching orders), then:
- Commutativity does not hold in general for matrix multiplication.
- Associativity holds for both multiplication and addition.
- Distribution over addition and subtraction holds.
Earlier, you were asked what the differences between matrix and regular algebra are. The main difference between matrix algebra and regular algebra with numbers is that matrices do not have the commutative property for multiplication. There are other complexities that matrices have, but many of them stem from the fact that for most matrices .
Show the commutative property does not hold by demonstrating
Compute the following matrix arithmetic: .
When a matrix is multiplied by a scalar (such as with ), multiply each entry in the matrix by the scalar.
Since the associative property holds, you can either distribute the ten or multiply by matrix next.
Use your calculator to input and compute the following matrix operations.
Most graphing calculators like the TI-84 can do operations on matrices. Find where you can enter matrices and enter the two matrices.
Then type in the appropriate operation and see the result. The TI-84 has a built in Transpose button.
The actual numbers on this guided practice are less important than the knowledge that your calculator can perform all of the matrix algebra demonstrated in this concept. It is useful to fully know the capabilities of the tools at your disposal, but it should not replace knowing why the calculator does what it does.
Matrix multiplication can be used as a transformation in the coordinate system. Consider the triangle with coordinates (0, 0) (1, 2) and (1, 0) the following matrix:
What does the new picture look like?
The matrix simplifies to become:
When applied to each point as a transformation, a new point is produced. Note that is a matrix representing each original point and is the new point. The is read as “ prime” and is a common way to refer to a result after a transformation.
Notice how the matrix transformation rotates graphs in a counterclockwise direction .
The matrix transformation applied in the following order will rotate a graph clockwise .
Do #1-#11 without your calculator.
1. Find . If not possible, explain.
2. Find . If not possible, explain.
3. Find . If not possible, explain.
4. Find . If not possible, explain.
5. Find . If not possible, explain.
6. Find . If not possible, explain.
7. Find . If not possible, explain.
8. Find . If not possible, explain.
9. Find . If not possible, explain.
10. Show that .
11. Show that .
Practice using your calculator for #12-#15.
12. Find .
13. Find .
14. Find .
15. Find .
To see the Review answers, open this PDF file and look for section 8.4.