Linear Algebra : Matrix-Matrix Product

Study concepts, example questions & explanations for Linear Algebra

varsity tutors app store varsity tutors android store

Example Questions

Example Question #11 : Matrices

Compute , where 

  

Possible Answers:

Not Possible

Correct answer:

Not Possible

Explanation:

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

Example Question #11 : Matrices

.

Evaluate .

Possible Answers:

Correct answer:

Explanation:

The transpose of a matrix switches the rows and the columns. Therefore, the first column of  has the same entries, in order, as the first row of , and so forth. Since 

,

.

The entry in column , row  of the product  is the product of row  of  and column  of  - the sum of the products of the numbers that appear in the corresponding positions of the row and the column.  can consequently be calculated as follows:

,

the correct choice.

Example Question #11 : Matrix Matrix Product

Evaluate .

Possible Answers:

 is an undefined product. 

Correct answer:

Explanation:

The transpose of a matrix switches the rows and the columns. Therefore, the first column of  has the same entries, in order, as the first row of , and so forth. Since 

,

it follows that

The entry in column , row  of the product  is the product of row  of  and column  of  - the sum of the products of the numbers that appear in the corresponding positions of the row and the column. Therefore, 

Example Question #11 : Matrix Matrix Product

Evaluate .

Possible Answers:

 is an undefined product.

Correct answer:

 is an undefined product.

Explanation:

Two matrices can be multiplied if and only if the number of columns in the first matrix is equal to the number of rows in the second matrix. Therefore, for the square of a matrix to be defined, the number of rows and columns in that matrix must be the same; that is, it must be a square matrix. , having two rows and three columns, is not square, so  cannot exist.

Example Question #12 : Matrices

Markov

The Markov triplets are playing a game whose board comprises three spaces, marked "A", "B", and "C", as shown above. For each turn, one player rolls a fair six-sided die, then moves to the space indicated based on where the player is already and what the player rolls. For example, if the player is on space "B" and rolls a "2", he moves to space "A", since one of the numbers on the arrow going from "B" to 'A" is "2"; similarly, if he is on space "B" and rolls a "4", he will stay where he is.

It is agreed that each player will start on a different space. If Mickey Markov starts at space "B", what is the probability that Mickey will be on space "A" after two rolls?

(Hint: think about that name "Markov")

Possible Answers:

Correct answer:

Explanation:

We can set up a stochastic matrix, or Markov chain, using the probabilities that, given a beginning space, a player will wind up on each other space.

If a player starts on space "A", the probabilities are:

 (zero rolls out of six)

 (three rolls out of six)

 (three rolls out of six)

If a player starts on space "B", the probabilities are:

  (three rolls out of six)

 (one roll out of six)

 (two rolls out of six)

If a player starts on space "C", the probabilities are:

  (three rolls out of six)

 (zero rolls out of six)

 (two rolls out of six)

Let the three states be spaces "A", "B", and "C", represented by rows/columns 1, 2, and 3, respectively. We can form a stochastic matrix from these probabilities, as follows:

This is the matrix of probabilities for one move. For the matrix of probabilities for two moves, square this matrix. The entry in column , row  of the product  is the product of row  of  and column  of  - the sum of the products of the numbers that appear in the corresponding positions of the row and the column. 

We are only concerned with the probability that a player on space "B" will end up back at space "A", so we will only multiply the second row of  by the first column of , as follows:

Example Question #11 : Matrices

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 ?

Possible Answers:

The number of columns in matrix  must be equal to the number of columns 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 rows in matrix .

 and  must both be square matrices, otherwise you cannot multiply them.

The number of rows in matrix  must be equal to the number of rows in matrix .

Correct answer:

The number of columns in matrix  must be equal to the number of rows in matrix .

Explanation:

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.

 

Example Question #12 : Matrices

Find the product of these two matrices, if it exists.

Possible Answers:

The product does not exist because the dimensions do not match.

Correct answer:

Explanation:

First we check that the dimensions match. The first matrix has 4 columns, and the second matrix has 4 rows. So the matrix product does exist. We find the product by taking the dot product of rows and columns.

We fill in the rest of the entries in the product matrix in the same way.

Example Question #12 : Matrix Matrix Product

Find the product of these two matrices, if it exists.

Possible Answers:

The product does not exist because the dimensions do not match.

Correct answer:

The product does not exist because the dimensions do not match.

Explanation:

The product does not exist because there are 3 columns in the first matrix and 2 rows in the second matrix. The dimensions do not match.

Example Question #11 : Matrix Matrix Product

Find the product of these two matrices, if it exists.

Possible Answers:

The product does not exist because the dimensions do not match.

Correct answer:

Explanation:

First we check the dimensions of the matrices. The first matrix has 3 columns and the second matrix has 3 rows. The product exists. We find the product by taking the dot product of rows and columns.

.

We fill in the rest of the matrix entries in the same way.

.

Example Question #15 : Matrices

Your friend Hector found your advice incredibly helpful and he is back for more. He would like to multiply two matrices  and  He would like to multiply  and . Which statement below gives Hector all of the information he needs to pick appropriate matrices?

Possible Answers:

it is impossible to find two matrices such that  and  both exist.

The number of columns in matrix  must equal the number of rows in matrix and the number of rows in matrix  must equal the number of columns in matrix .

The number of columns in matrix  must equal the number of rows in matrix .

For all matrices, .

The matrices  and  must both be square matrices.

Correct answer:

The number of columns in matrix  must equal the number of rows in matrix and the number of rows in matrix  must equal the number of columns in matrix .

Explanation:

Hector wishes to multiply  so we know that the number of columns in matrix  must equal the number of rows in matrix . He also wishes to multiply the  so we know that the number of columns in matrix  must equal the number of rows in matrix .

Learning Tools by Varsity Tutors