We can do the same thing for the 2nd row and 1st column:

(4, 5, 6) • (7, 9, 11) = 4×7 + 5×9 + 6×11
= 139

And for the 2nd row and 2nd column:

(4, 5, 6) • (8, 10, 12) = 4×8 + 5×10 + 6×12
= 154

DONE!

Why Do It This Way?

This may seem an odd and complicated way of multiplying, but it is necessary!
I can give you a real-life example to illustrate why we multiply matrices in this way.

Example: The local shop sells 3 types of pies.

And this is how many they sold in 4 days:

Focus Matrix 1 3 3 X 2

Now think about this .. the value of sales for Monday is calculated this way:
Apple pie value + Cherry pie value + Blueberry pie value
So it is, in fact, the 'dot product' of prices and how many were sold:

($3, $4, $2) • (13, 8, 6) = $3×13 + $4×8 + $2×6
= $83

We match the price to how many sold, multiply each, then sum the result.
In other words:
So it is important to match each price to each quantity.

Now you know why we use the 'dot product'.

And here is the full result in Matrix form:
They sold $83 worth of pies on Monday, $63 on Tuesday, etc.
(You can put those values into the Matrix Calculator to see if they work.)

Rows and Columns

Proencryptor 1 6. To show how many rows and columns a matrix has we often write rows×columns.
Example: This matrix is 2×3 (2 rows by 3 columns):
When we do multiplication:

Example:

In that example we multiplied a 1×3 matrix by a 3×4 matrix (note the 3s are the same), and the result was a 1×4 matrix.

In General:

To multiply an m×n matrix by an n×p matrix, the ns must be the same,
and the result is an m×p matrix.

So .. multiplying a 1×3 by a 3×1 gets a 1×1 result:
2
5

Focus Matrix 1 3 3 X 2

=
=
But multiplying a 3×1 by a 1×3 gets a 3×3 result:
5
2
=
4×2
5×1
5×3
6×2
=
8
5
15
12

Identity Matrix

The 'Identity Matrix' is the matrix equivalent of the number '1':


A 3×3 Identity Matrix

It is a special matrix, because when we multiply by it, the original is unchanged:

A × I = A

I × A = A

Order of Multiplication

In arithmetic we are used to:

3 × 5 = 5 × 3
(The Commutative Law of Multiplication)

But this is not generally true for matrices (matrix multiplication is not commutative):

AB ≠ BA

When we change the order of multiplication, the answer is (usually) different.

Example:

See how changing the order affects this multiplication:
2
4
0
2
1×0+2×2
3×0+4×2
4
8

0
2
2
4
2×2+0×4
1×2+2×4
4
10

The answers are different!

It can have the same result (such as when one matrix is the Identity Matrix) but not usually.