(Completed instruction page of multiplying matrices.)
Line 31: Line 31:
  
 
Question: What are the dimensions of BA, BC, and CA?
 
Question: What are the dimensions of BA, BC, and CA?
 +
 +
  
 
Answers:
 
Answers:
Line 39: Line 41:
 
'''Step 3: Multiplying the Matrices'''
 
'''Step 3: Multiplying the Matrices'''
  
To multiply compatible matrices such as AB, multiply B's individual rows by all of A's columns.  Every row of B multiplied by all of A's columns will give us our (2x2) resultant matrix
+
To multiply compatible matrices such as AB, multiply B's individual rows by all of A's columns.  Every row of B multiplied by all of A's columns will give us our (2x2) resultant matrix.  So row row 1, column 1 of the the new matrix will be: 1(1)+2(5)+1(2)+2(6)+1(3)+2(7)+1(4)+2(8) = 62 (multiply 1 the 1st row of A and 2 by the 2nd row of A) 
 +
 
 +
Next use B's second row (5 and 6) and multiply 5 across A's 1st row and 6 across A's 2nd row adding the resultants to get the 1st row and 2nd column value of the new matrix.  (The resultant value you should get is 206.)
 +
 
 +
 
 +
Question: What are the values of the 2nd row, 1st column and 2nd row, 2nd column?
 +
 
 +
 
 +
 
 +
Answers:
 +
 
 +
2nd row, 1st column: 134
 +
2nd row, 2nd column: 278
 +
 
 +
 
 +
'''Step 4: The Resultant'''
 +
 
 +
The resulting matrix of AB is :
 +
<math>C=\left[\begin{array}{cccc}62&206\\134&278\end{array}\right]</math>
 +
 
 +
Congratulations! :)

Revision as of 13:05, 13 December 2012

Matrix Multiplication and coordinate systems:


$ A=\left[\begin{array}{cccc}1&2&3&4\\5&6&7&8\end{array}\right] $ $ B=\left[\begin{array}{cccc}1&2\\5&6\\3&4\\7&8\end{array}\right] $ $ C=\left[\begin{array}{cccc}1&2\\3&4\end{array}\right] $


Within this section and given the matrices A, B, and C, you will be shown how to multiply matricies.

Step 1: Determining if Two Matrices Can Be Multiplied

To determine if two matrices can be multiplied, you must first look the dimension of each matrix. For instance, if we wanted to perform the operation AB, we need to look at the dimensions of A and B.

A is a 2x4 matrix and B is a 4x2 matrix. To see if you can multiply these matrices, place their dimensions next to each other in the order of the operation: AB = (2x4)(4x2). Now look at the inside dimension. If the inside dimension is the same, then you can multiply the matrices. So, in our case, we can perform the operation AB.

Question: Can you perform the operations BA, BC, CB, AC, or CA?


Answers:

BA: (4x2)(2x4), YES BC: (4x2)(2x2), YES CB: (2x2)(4x2), NO AC: (2x4)(2x2), NO CA: (2x2)(2x4), YES

Step 2: Determining Size of the Resultant

To determine the size of the resultant matrix multiplication, look at the dimensions of the matrices in the order of the operation. As an example, we will continue to look at the operation AB: (2x4)(4x2). Now look at the outside dimensions for the dimensions of the resultant matrix. Our new matrix will have dimensions (2x2)

Question: What are the dimensions of BA, BC, and CA?


Answers: BA: (4x2)(2x4), (4x4) BC: (4x2)(2x2), (4x2) CA: (2x2)(2x4), (2x4)

Step 3: Multiplying the Matrices

To multiply compatible matrices such as AB, multiply B's individual rows by all of A's columns. Every row of B multiplied by all of A's columns will give us our (2x2) resultant matrix. So row row 1, column 1 of the the new matrix will be: 1(1)+2(5)+1(2)+2(6)+1(3)+2(7)+1(4)+2(8) = 62 (multiply 1 the 1st row of A and 2 by the 2nd row of A)

Next use B's second row (5 and 6) and multiply 5 across A's 1st row and 6 across A's 2nd row adding the resultants to get the 1st row and 2nd column value of the new matrix. (The resultant value you should get is 206.)


Question: What are the values of the 2nd row, 1st column and 2nd row, 2nd column?


Answers:

2nd row, 1st column: 134 2nd row, 2nd column: 278


Step 4: The Resultant

The resulting matrix of AB is : $ C=\left[\begin{array}{cccc}62&206\\134&278\end{array}\right] $

Congratulations! :)

Alumni Liaison

Ph.D. 2007, working on developing cool imaging technologies for digital cameras, camera phones, and video surveillance cameras.

Buyue Zhang