Line 1: Line 1:
== Matrix Multiplication and Coordinate Systems ==
+
== Matrix Multiplication and Coordinate Systems ==
  
 +
== 1. Matrix Multiplication  ==
  
 +
'''1.1 Definition'''
  
==  1. Matrix Multiplication ==
+
A matrix multiplication is the production of a new matrix from a pair of matrices.  
  
 +
Matrices can only multiply if the number of columns for the first matrix equals the number of rows for the second matrix.
  
'''1.1 Definition'''
+
''For example''  
  
A matrix multiplication is the production of a new matrix from a pair of matrices.
+
Multiplying AB
  
Matrices can only multiply if the number of columns for the first matrix equals the number of rows for the second matrix.
+
A ---> 3x2 matrix (3 is the # of rows, and 2 is the # of columns)
  
''For example''
+
B ---> 2x3 matrix (2 is the # of rows, and 3 is the # of columns)
  
Multiplying AB
+
THEY DO CAN MULTIPLY!
  
A ---> 3x2 matrix (3 is the # of rows, and 2 is the # of columns)
+
<br> The new matrix will have the rows of the first matrix and the columns of the second matrix.
  
B ---> 2x3 matrix  (2 is the # of rows, and 3 is the # of columns)
+
''For example''
  
THEY DO CAN MULTIPLY!
+
AB = C
  
 +
A ---&gt; "m x p"
  
The new matrix will have the rows of the first matrix and the columns of the second matrix.
+
B ---&gt; "p x n"
  
''For example''
+
Then C will be "m x n"
  
AB = C
+
----
 +
'''1.2 Dot Product''' <br>
  
A ---> "m x p"
+
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<math>A= \left(\begin{array}{cccc}a1\\a2\\.\\.\\.\\an\end{array}\right)</math>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<math>B= \left(\begin{array}{cccc}b1\\b2\\.\\.\\.\\bn\end{array}\right)</math>  
  
B ---> "p x n"
+
A*B = a1b1 + a2b2 + ... + anbn
  
Then C will be "m x n"
+
Matrix multiplication is a way to combine two matrices and get a third matrix. To find this third matrix, you have to compute each entry in the third matrix one at a time. So to find the entry (a,b) in the third matrix, you take the sum of the products of the elements in the ath row in the first matrix and the bth column in second matrix. Suppose the ath row equals [a1,a2,...,an] and the bth column equals [b1,b2,...,bn]. Then we can compute every entry (a,b) of the third matrix as (a,b) = a1*b1 + a2*b2 + ... + an*bn.
 
+
1.2 Properties
+
 
+
a) B A
+

Revision as of 18:58, 7 December 2011

Matrix Multiplication and Coordinate Systems

1. Matrix Multiplication

1.1 Definition

A matrix multiplication is the production of a new matrix from a pair of matrices.

Matrices can only multiply if the number of columns for the first matrix equals the number of rows for the second matrix.

For example

Multiplying AB

A ---> 3x2 matrix (3 is the # of rows, and 2 is the # of columns)

B ---> 2x3 matrix (2 is the # of rows, and 3 is the # of columns)

THEY DO CAN MULTIPLY!


The new matrix will have the rows of the first matrix and the columns of the second matrix.

For example

AB = C

A ---> "m x p"

B ---> "p x n"

Then C will be "m x n"


1.2 Dot Product

                  $ A= \left(\begin{array}{cccc}a1\\a2\\.\\.\\.\\an\end{array}\right) $        $ B= \left(\begin{array}{cccc}b1\\b2\\.\\.\\.\\bn\end{array}\right) $

A*B = a1b1 + a2b2 + ... + anbn

Matrix multiplication is a way to combine two matrices and get a third matrix. To find this third matrix, you have to compute each entry in the third matrix one at a time. So to find the entry (a,b) in the third matrix, you take the sum of the products of the elements in the ath row in the first matrix and the bth column in second matrix. Suppose the ath row equals [a1,a2,...,an] and the bth column equals [b1,b2,...,bn]. Then we can compute every entry (a,b) of the third matrix as (a,b) = a1*b1 + a2*b2 + ... + an*bn.

Alumni Liaison

Correspondence Chess Grandmaster and Purdue Alumni

Prof. Dan Fleetwood