Matrix Addition and Subtraction
If two matrices have the same size, they can be added or subtracted. The operations are performed on corresponding entries.
Given the matrices
,
,
and
, below
Find, if possible.
-
-
-
.
As we mentioned earlier, matrix addition and subtraction involves performing these operations entry by entry.
-
We add each element of
to the corresponding entry of
.
-
Just like the problem above, we perform the subtraction entry by entry.
-
The sum
cannot be found because the two matrices have different sizes.
Got questions? Get instant answers now! Got questions? Get instant answers now!
Two matrices can only be added or subtracted if they have the same dimension.
Multiplying a Matrix by a Scalar
If a matrix is multiplied by a scalar (a constant number), each entry is multiplied by that scalar.
Given the matrix
and
in
[link] , find
and
.
To find
, we multiply each entry of matrix
by
, and to find
, we multiply each entry of
by
. The results are given below.
-
We multiply each entry of
by
.
-
We multiply each entry of
by
.
Got questions? Get instant answers now! Got questions? Get instant answers now!
Multiplication of Two Matrices
To multiply a matrix by another is not as easy as the addition, subtraction, or scalar multiplication of matrices. Because of its wide use in application problems, it is important that we learn it well. Therefore, we will try to learn the process in a step by step manner. We first begin by finding a product of a row matrix and a column matrix.
Given
and
, find the product
.
The product is a
matrix whose entry is obtained by multiplying the corresponding entries and then forming the sum.
Note that
is a
matrix, and its only entry is
.
Got questions? Get instant answers now! Got questions? Get instant answers now!
Given
and
, find the product
.
Again, we multiply the corresponding entries and add.
Got questions? Get instant answers now! Got questions? Get instant answers now!
In order for a product of a row matrix and a column matrix to exist, the number of entries in the row matrix must be the same as the number of entries in the column matrix.
Given
and
, find the product
.
We already know how to multiply a row matrix by a column matrix. To find the product
, in this example, we will be multiplying the row matrix
to both the first and second columns of matrix
, resulting in a
matrix.
We have just multiplied a
matrix by a matrix whose size is
. So unlike addition and subtraction, it is possible to multiply two matrices with different dimensions as long as the number of entries in the rows of the first matrix are the same as the number of entries in columns of the second matrix.
Got questions? Get instant answers now! Got questions? Get instant answers now!
Given
and
, find the product
.
This time we are multiplying two rows of the matrix
with two columns of the matrix
. Since the number of entries in each row of
are the same as the number of entries in each column of
, the product is possible. We do exactly what we did in
[link] . The only difference is that the matrix
has one more row.
We multiply the first row of the matrix
with the two columns of
, one at a time, and then repeat the process with the second row of
. We get
Got questions? Get instant answers now! Got questions? Get instant answers now!