Linear Algebra › Matrix-Matrix Product
Let and
.
Find .
is undefined.
First, it must be established that is defined. This is the case if and only if
has as many columns as
has rows. Since
has two columns and
has two rows,
is defined.
Matrices are multiplied by multiplying each row of the first matrix by each column of the second - that is, by adding the products of the entries in corresponding positions. Thus,
.
Let and
.
Find .
is undefined.
First, it must be established that is defined. This is the case if and only if
has as many columns as
has rows. Since
has two columns and
has two rows,
is defined.
Matrices are multiplied by multiplying each row of the first matrix by each column of the second - that is, by adding the products of the entries in corresponding positions. Thus,
What is dimension criteria to multiply two matrices ?
can only be multiplied if the number of columns in
equals the number of rows in
can only be multiplied if the number of rows in
equals the number of rows in
can only be multiplied if the number of columns in
equals the number of columns in
can only be multiplied if the number of rows in
equals the number of columns in
If is an
matrix and
is an
matrix,
can only be multiplied if
, or the number of columns in
equals the number of rows in
. Otherwise there is a mismatch, and the two matrices can not be multiplied.
True or false: A matrix whose determinant is neither 0 nor 1 cannot be an idempotent matrix.
True
False
is an idempotent matrix, by definition, if
. Since the determinant of the product of two matrices is equal to the product of their determinants, it follows that
and, since ,
.
By transitivity,
.
The only two numbers equal to their own squares are 0 and 1, so
or
.
This makes the statement true.
For any given value , how many
nonsingular idempotent matrices exist?
One
Zero
Two
Infinitely many
is nonsingular, by definition, if it has an inverse - that is, if
exists.
is an idempotent matrix, by definition, if
Premultiplying both sides of the equation by , we get
,
where is the
identity matrix.
Matrix multiplication is associative, so
.
Therefore, the only nonsingular idempotent matrix of a given dimension is the identity.
Compute , where
Not Possible
In order to be able to multiply matrices, the number of columns of the 1st matrix must equal the number of rows in the second matrix. Here, the first matrix has dimensions of (3x2). This means it has three rows and two columns. The second matrix has dimensions of (3x2), also three rows and two columns. Since , we cannot multiply these two matrices together
is a
nonsingular matrix;
is a
matrix;
is a
singular matrix.
Which of the following is defined?
can be eliminated as a choice;
is not a square matrix, so its inverse,
, is undefined.
can be eliminated as a choice, since it is given that
is singular - that is,
does not exist.
For the product of three matrices to be defined, they must be, in order, an matrix, an
matrix, and a
matrix. We examine the three remaining choices.
:
is a
matrix, so
is as well;
is a
matrix, so its transpose
is a
matrix;
is a
matrix. These are incompatible, so
is undefined.
:
is a
matrix;
is a
matrix;
is a
matrix; These are also incompatible, so
is undefined.
:
is a
matrix;
is a
matrix, as stated before;
is a
matrix. These are compatible, so
is defined. This is the correct choice.
True or false:
is an example of an idempotent matrix.
True
False
is an idempotent matrix, by definition, if
. Multiply
by itself by multiplying rows by columns - multiplying elements in corresponding positions and adding the products:
.
, making
idempotent.
Your friend Hector wants to multiply two matrices and
as follows:
. Unfortunately, Hector knows nothing about matrix dimensions. Which of the following statements will help Hector figure out whether it is possible for him to multiply
?
The number of columns in matrix must be equal to the number of rows in matrix
.
The number of rows in matrix must be equal to the number of rows in matrix
.
The number of rows in matrix must be equal to the number of columns in matrix
.
The number of columns in matrix must be equal to the number of columns in matrix
.
and
must both be square matrices, otherwise you cannot multiply them.
Whenever we multiple two matrices together we must always check first that the number of columns in the first matrix is equal to the number of rows in the second matrix. For example, consider these two matrices
The first matrix has 3 columns, and the second matrix has 3 rows. We can multiple these two matrices together in this order. However, if we switch the order around, we will not be able to multiply these two matrices.
Now the first matrix has 4 columns and the second matrix has 2 rows. We cannot multiply these two matrices in this order.
Calculate .
This is not as daunting a task as it seems.
First, find :
Multiply rows of by columns of
by adding the products of corresponding elements, as follows:
Find similarly:
This suggests a pattern:
for any
.
This can be confirmed by mathematical induction as follows:
Suppose .
Then
Setting :
.