Matrices 4B 4C 4D
Matrices 4B 4C 4D
matrices
Addition of Matrices
• Matrices are added by adding corresponding
elements.
A + B = B + A
Rules
•
We can only multiply matrices
•
if the number of columns in the first matrix
[ ] [ ] [ ]
is equal to the number of rows in the second one. 1 2
[ ]
•
1 2 5 5 1 1
1 2
1 2
× [ ]
1 1
2 2
=5 5
5 5
2 2
× 1 2 = No solution
1 2
(3 x 2) (2 x 2) ( 3 x 2) (2 x 2) (3 x 2)
If A is of order (m × n) and B is of order (n × p)
then A × B exists only if the number of columns
of the first matrix is the same as the number of
rows of the second.
A x B = C
(m x n) (n x p) (m x p)
Elements of the Product
Matrix
When you multiply a row of the first matrix A, by a column of the
second matrix B, the numbers of the row and the column give the
position of the number in the product matrix C.
when you multiply the first row by the first column, you will find
element 1,1 in matrix C
Take the second element in the row, and multiply by the second
element in the column.
3
[]
[ 1 2 ] × =[ 1×32×4 ] =[11]
4
To multiply one matrix by another, multiply
all rows of the first matrix by all columns of
the second one.
Properties of matrix
multiplication
In general, for two matrices A and B,
A× B≠ B× A
The order of multiplication does matter!!!
Compare:
[ ][ ][ ]
1 2 0 1 2 1
× =
3 4 1 0 4 3
[ ][ ][ ]
0 1 1 2 3 4
× =
1 0 3 4 1 2
Example
i) AB is (2 x 3) (3 x 2) AB does exist
ii) BA is (3 x 2) (2 x 3) BA does exist
The summing matrix
A row or column matrix in which all the elements are 1 is called a
summing matrix.