Linear Algebra : Linear Algebra

Study concepts, example questions & explanations for Linear Algebra

varsity tutors app store varsity tutors android store

Example Questions

Example Question #73 : Matrix Matrix Product

In terms of  and , give a necessary and sufficient condition for  to be an involutory matrix.

Possible Answers:

 cannot be an involutory matrix regardless of the values of the variables.

Correct answer:

Explanation:

A matrix  is involutory if , or, equivalently, if . Multiply  by itself by multiplying rows by columns - add the products of corresponding elements - as follows:

If we set this equal to , the equation is

The only condition required to set these matrices equal is

,

or

,

making this condition necessary and sufficient for  to be involutory.

Example Question #74 : Matrix Matrix Product

Game

It is recommended that you use a calculator with matrix arithmetic capability for this exercise. 

Above is the board for a game.

A player may start at any space. He then rolls one of four polyhedral dice, depending on the space he is on:

If he is on the pink circle, he will roll a fair six-sided die.

If he is on the blue circle, he will roll a fair eight-sided die.

If he is on the orange circle, he will roll a fair ten-sided die.

If he is on the blue circle, he will roll a fair twelve-sided die.

Each side of each die is numbered with a different whole number, beginning with 1 and increasing incrementally (i.e. the twelve-sided die will be marked with the whole numbers 1-12). The player will move according to the following rules:

1) If he rolls a 1, he will move to (or stay on) the pink circle.

2) If he rolls a prime number, he will move one space clockwise.

3) If he rolls a composite number, he will move one space counterclockwise.

After a large enough number of turns, on which circle will the player tend to spend the most time?

Possible Answers:

Orange

Pink

Yellow

Blue

Correct answer:

Pink

Explanation:

A stochastic matrix for the game can be formed from the probability that the player will land on each space given the space he is on currently.

If he is on pink, he will roll a six-sided die; his probabilities are:

Pink:  (1 only)

Blue:  (2, 3, or 5)

Yellow:  (4 or 6)

 

If he is on blue, he will roll an eight-sided die; his probabilities are:

Pink:  (1, 4, 6, 8)

Orange:  (2, 3, 5, 7)

 

If he is on orange, he will roll a ten-sided die; his probabilities are:

Pink:  (1 only)

Blue:  (4, 6, 8, 9, 10)

Yellow:  (2, 3, 5, 7)

 

If he is on yellow, he will roll a twelve-sided die; his probabilities are:

Pink:  (1, 2, 3, 5, 7, 11)

Orange:  (4, 6, 8, 9, 10, 12 )

With the rows/columns representing pink, blue, orange, and yellow states, in that order, the stochastic matrix is 

Any stochastic matrix has 1 as its dominant eigenvalue; the eigenvector corresponding to that eigenvalue is its steady-state vector. We can find this vector directly, but we can also calculate it numerically.

The matrix that shows the probabilities after  turns is . If we raise  to a sufficiently large power - say,  - we see that the result approaches the matrix , where 

This is the steady state vector of the system. The greatest value appears in the first row, which represents the pink circle. It follows that a player will tend to spend most of his time on the pink circle as the game progresses.

Example Question #75 : Matrix Matrix Product

Evaluate .

Possible Answers:

Correct answer:

Explanation:

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:

Note that 

It easily follows that

 

 can be calculated as follows:

Example Question #76 : Matrix Matrix Product

Game

It is recommended that you use a calculator with matrix arithmetic capability for this exercise. 

Above is the board for a game.

A player may start at any space. He then rolls one of four polyhedral dice, depending on the space he is on:

If he is on the pink circle, he will roll a fair six-sided die.

If he is on the blue circle, he will roll a fair eight-sided die.

If he is on the orange circle, he will roll a fair ten-sided die.

If he is on the blue circle, he will roll a fair twelve-sided die.

Each side of each die is numbered with a different whole number, beginning with 1 and increasing incrementally (i.e. the twelve-sided die will be marked with the whole numbers 1-12). The player will move according to the following rules:

1) If he rolls a 1, he will move to the opposite circle (where blue and yellow are opposite circles, and pink and orange are opposite circles).

2) If he rolls a prime number, he will move one space clockwise.

3) If he rolls a composite number, he will move one space counterclockwise.

After a large enough number of turns, on which circle will the player tend to spend the most time?

Possible Answers:

Pink 

Orange

Yellow

Blue

Correct answer:

Orange

Explanation:

A stochastic matrix for the game can be formed from the probability that the player will land on each space given the space he is on currently.

If he is on pink, he will roll a six-sided die; his probabilities are:

Blue:  (2, 3, or 5)

Orange:  (1 only)

Yellow:  (4 or 6)

 

If he is on blue, he will roll an eight-sided die; his probabilities are:

Pink:  (4, 6, 8)

Orange:  (2, 3, 5, 7)

Yellow:  (1 only)

 

If he is on orange, he will roll a ten-sided die; his probabilities are:

Pink:  (1 only)

Blue:  (4, 6, 8, 9, 10)

Yellow:  (2, 3, 5, 7)

 

If he is on yellow, he will roll a twelve-sided die; his probabilities are:

Pink:  (2, 3, 5, 7, 11)

Blue:  (1 only)

Orange:  (4, 6, 8, 9, 10, 12)

With the rows/columns representing pink, blue, orange, and yellow states, in that order, the stochastic matrix is 

Any stochastic matrix has 1 as its dominant eigenvalue; the eigenvector corresponding to that eigenvalue is its steady-state vector. We can find this vector directly, but we can also calculate it numerically.

The matrix that shows the probabilities after  turns is . If we raise  to a sufficiently large power - say,  - we see that the result approaches the matrix , where 

This is the steady state vector of the system. We see that the greatest value appears in the third row, which represents the orange circle. It follows that a player will tend to spend most of his time on the orange circle as the game progresses.

Example Question #77 : Matrix Matrix Product

Is  involutory, idempotent, or neither? 

Possible Answers:

Neither

Involutory

Idempotent

Correct answer:

Involutory

Explanation:

 is involutory if ; it is idempotent if . Therefore, to determine which, if either, describes , square . This can be done by multiplying rows of  by columns of  - adding the products of corresponding entries, as follows:

 is therefore involutory. 

Example Question #78 : Matrix Matrix Product

True or false:  is an example of an involutory matrix.

Possible Answers:

True

False

Correct answer:

True

Explanation:

 is an involutory matrix if , so square  to answer this question. 

This matrix can be squared more easily by noting that this matrix can be blocked as:

,

Where , and  is the  zero matrix. 

Now, find the squares of the two blocks:

, making  involutory.

Example Question #81 : Matrix Matrix Product

 is an idempotent matrix.

True or false: It follows that  is an idempotent matrix. 

Possible Answers:

False

True

Correct answer:

True

Explanation:

 is an idempotent matrix if 

For any  for which  is defined, . Setting , if  is idempotent, this becomes

It follows that  is idempotent.

 

Example Question #82 : Matrix Matrix Product

 is an involutory matrix.

True or false: It follows that  is an involutory matrix. 

Possible Answers:

True

False

Correct answer:

True

Explanation:

 is an involutory matrix if 

For any  for which  is defined, . Setting , if  is involutory, this becomes

Thus,  is involutory, making the statement true. 

Example Question #83 : Matrices

 is a nilpotent matrix.

True or false: It follows that  is a nilpotent matrix. 

Possible Answers:

True 

False

Correct answer:

True 

Explanation:

A matrix  is nilpotent if there exists  so that , the zero matrix. 

Suppose  is nilpotent.

Case 1: If , which is trivially nilpotent, then , which is trivially nilpotent.

Case 2: Suppose . For any  for which  is defined, . Setting , if  is nilpotent, this becomes

It follows that  is nilpotent. This reasoning can easily be extended to the case , since .

Example Question #83 : Matrix Matrix Product

It is recommended that you use a calculator with matrix capability for this problem.

A five year study of political affiliation reveals that most voters stay loyal to their political party. However, some changes of affiliation are noted over the course of a typical year, as follows:

3% of Republicans become Democrats; 5% of Republicans become independents; 1% of Republicans become Libertarians. 

4% of Democrats become Republicans; 3% of Democrats become independents; 1% of Democrats become Libertarians.

17% of Independents become Republicans; 19% of independents become Democrats; 8% become Libertarians.

1% of Libertarians become Republicans; 1% of Libertarians become Democrats; 1% of Libertarians become independents.

Which group of voters has the same affiliation after the end of a forty-year period with greatest probability: Democrats Republicans, Independents, or Libertarians? 

Possible Answers:

Republicans

Democrats

Libertarians

Independents

Correct answer:

Libertarians

Explanation:

Form a stochastic (probability) matrix for this system, where the columns represent current political affiliation (Republicans, Democrats, independents, and Libertarians, in that order), and the rows represent affiliation after one year (same order). This matrix

Raise this matrix to the power of 40 to obtain the stochastic matrix with the probabilities that political affiliations will change over 40 years. Observe the entries in the main diagonal, which represent voters who have the same party affiliation at the beginning and the end of the forty-year period:

The greatest number appears in the fourth entry - the voters who were Libertarians at the beginning and end of the forty-year period. The correct choice is Libertarians.

Learning Tools by Varsity Tutors