PDF
MATRICES
![](Intro.png)
Unit Overview
A matrix is a system of rows and columns that is used to organize numbers or data. In this unit you will learn how to add and subtract matrices, multiply a matrix by a constant and finally multiply two matrices.
Using Matrices to Represent Data
matrix: a system of rows and columns that is used as a tool for organizing numbers or data so that each position in the matrix has a purpose.
element: each value in a matrix, the numbers below
Example #1: ![](Example1_1.png)
*Matrices are named using their dimensions (rows × columns) therefore the matrix above would be known as a 2 × 3 matrix and would look something like this:
Each element of a matrix has a special location. For example –2 is in the first row, second column and would be represented as a12, –4 would be represented as a23. |
|
In Matrix A, what number is located at a21?
The number in row two column one is 2.
"Click here" to check the answer.
Special Matrices
Two matrices are considered equal if they have the same dimensions and each element of one matrix is equal to the corresponding element of the other.
Example #2: Solve for x and y. ![](2x31.gif)
*Since the matrices have the same dimensions and they are equal, the corresponding elements are equal. When you write the sentences that show this equality, two linear equations are formed. To solve for x and y use either substitution or elimination.
Substitute 7 for x in either of the original equations to solve for y.
2(7) + y = 6
14 + y = 6
y = –8
The solution to the system of equations is (7, –8).
|
Stop! Go to Questions #1-7 about this section, then return to continue on to the next section.
Adding or Subtracting Matrices
Matrices must have the same dimensions in order to add or subtract them. Combine the elements that have the corresponding location in the matrices.
Let's take a look a few examples.
Example #1: Add the matrices: ![](218.gif)
![](red218.gif)
= ![](135.gif) |
Example #2: Add the matrices: ![](573.gif)
![](thinking.png) |
![](red573.gif)
This problem is not possible! The first matrix is a 2 × 3 and the second matrix is a 3 × 2. |
|
To add or subtract matrices, what must be true about their size?
To add matrices the number of rows and columns must be the same.
"Click here" to check the answer.
Just like operations on real numbers, matrix addition follows some of the same properties.
The zero matrix, or additive identity matrix is a matrix with all elements zero. Adding a zero matrix to a matrix leaves the matrix unchanged.
Example #3: Add: ![](250.gif)
This is an example of the Additive Identity Property in matrix addition. |
What is true about the elements of the additive identity matrix?
"Click here" to check the answer.
The opposite, or additive inverse of a m × n matrix A is –A, where each element is the opposite of the corresponding element of A. When the two matrices are added, the result is the zero matrix.
Example #4: Add: ![](235.gif)
This is an example of the Additive Inverse Property in matrix addition. |
What is true about the elements in the second matrix when comparing the
elements in the same position of the first matrix?
Each element is the additive inverse of its counterpart in the first matrix.
"Click here" to check the answer.
Let's take a look at how to apply matrices to everyday problems.
Example #5: The employees at Kennedy’s Bakery record the number of each type of cookie sold in the two stores for Monday, Tuesday and Wednesday. The sales are shown in the following table.
a) Write a matrix for each store’s sales.
b) Find the sum of each type of cookie sold each day expressed as a matrix.
c) Find the difference in cookie sales from Store 1 to Store 2 expressed as a matrix.
a) Write a matrix for each store’s sales.
b) Find the sum of each type of cookie sold each day expressed as a matrix.
Add the corresponding elements in each matrix.
c) Find the difference in cookie sales from Store 1 to Store 2 expressed as a matrix.
|
Matrices provide a useful way to organize and calculate data.
Tables without Labels -- Football (02:30)
Stop! Go to Questions #8-13 about this section, then return to continue on to the next section.
Scalar Multiplication
Multiplying a matrix by a constant, each element of the matrix is multiplied.
Example #1: Multiply matrix A by 3. (This is represented as 3A.)
A = 3A = ![](639.gif)
*Notice that each element of matrix A was multiplied by three.
|
If scalar multiplication and addition or subtraction occurs in a problem, do the scalar multiplication first.
Example #2: Use scalar multiplication to simplify: ![](3432.gif)
*Notice that the last matrix was multiplied by a (–5); therefore, it changes to addition (+ –5), and then all of the multiplications by –5 are within the matrix.
|
As in operations on real numbers, matrix scalar multiplication follows some of the same properties.
In the next example, we will explore the Associative Property of Scalar Multiplication.
Example #3: Show that 2(3)(A) = 2(3A) using scalar multiplication.
A = ![](426.gif) |
Solution:
Thus, 2(3)(A) = 2(3A), illustrating the associative property of scalar multiplication with matrices. |
Stop! Go to Questions #14-16 about this section, then return to continue on to the next section.
Matrix Multiplication
Matrix multiplication involves multiplication and addition.
To multiply any two matrices, the number of columns in the first matrix must be the same as the number of rows in the second matrix.
Example #1: Multiply the matrices: ![](542a.gif)
*Notice that a 1 × 3 matrix multiplied by a 3 × 1 matrix results in a 1 × 1 matrix. |
To multiply any two matrices,
(a) the inner dimensions must be the same,
(b) then the outer dimensions become the dimensions of the resulting product matrix.
Example #2: Multiply the matrices: ![](530.gif)
The first matrix is a 2 × 2 matrix and the second matrix is a 2 × 3 matrix.
*Notice that you are taking the first row [5 3] and multiplying each column, then picking up the second row and multiplying each column. |
Example #3: Multiply the matrices: ![](1013a.gif)
*Notice that if we attempted to multiply, there would be no number in the first column of the second matrix to multiply the 3 that is located in the first row of the first matrix.
![](1013b.gif)
Since the inner dimensions are not the same, these two matrices cannot be multiplied. The number of columns in the first matrix must be the same as the number of rows in the second matrix. |
Now let's take another look at how to apply matrices to everyday problems.
Example #4: The attendance for three basketball games is shown in the table below. Student tickets cost $3.00 each and adult tickets cost $5.00 each.
(a) Write matrices to represent the attendance and the ticket cost.
(b) Use matrix multiplication to show the revenue for ticket sales at each of the three games.
(c) Find the total revenue for the three games.
(a) Set up the matrices so that the number of columns in the attendance matrix is equal to the number of rows in the cost matrix.
Attendance Matrix × Cost Matrix = Total Ticket Revenue
*In the cost matrix, include the cost of the student ticket ($3) and the cost of the adult ticket ($5). The cost of the student ticket is listed first because the number of ticket sales for student tickets is listed in the first column. |
(b) Use matrix multiplication to show the revenue for ticket sales at each of the three games.
= = ![](175250c.gif)
The revenue for Game 1 is $1775.
The revenue for Game 2 is $2200.
The revenue for Game 3 is $2330. |
(c) Find the total revenue for the three games.
1775 + 2200 + 2330 = 6305
The total revenue is $6305. |
|
Matrix Arithmetic (03:27)
Multiplication of square (n × n) matrices has some of the properties of real number multiplication.
In the next example, we will explore the Distributive Property of Matrix Multiplication.
Example #2: Show that A(B + C) = AB + AC.
First, A(B + C) = ![](example2b.gif)
= ![](example2c.gif)
= ![](example2d.gif)
= ![](example2e.gif)
Second, AB + AC = ![](example2f.gif)
= ![](example2g.gif)
= ![](example2h.gif)
= ![](example2i.gif)
Thus, A(B + C) = AB + BC illustrating the distributive property of matrix multiplication.
|
Stop! Go to Questions #17-30 to complete this unit.
|