The past few sections introduced us to vectors and linear combinations as a means of thinking geometrically about the solutions to a linear system. Using matrix-vector multiplication, we rewrote a linear system as a matrix equation $A\xvec = \bvec$ and used the concepts of span and linear independence to understand when solutions exist and when they are unique.

In this section, we will explore how matrix-vector multiplication defines certain types of functions, which we call matrix transformations, similar to those encountered in previous algebra courses. In particular, we will develop some algebraic tools for thinking about matrix transformations and look at some motivating examples. In the next section, we will see how matrix transformations describe important geometric operations and how they are used in computer animation.

##### Preview Activity2.5.1

We will begin by considering a more familiar situation; namely, the function $f(x) = x^2\text{,}$ which takes a real number $x$ as an input and produces its square $x^2$ as its output.

1. What is the value of $f(3)\text{?}$

2. Can we solve the equation $f(x) = 4\text{?}$ If so, is the solution unique?

3. Can we solve the equation $f(x) = -10\text{?}$ If so, is the solution unique?

4. Sketch a graph of the function $f(x)=x^2$ in Figure 1

5. Remember that the range of a function is the set of all possible outputs. What is the range of the function $f\text{?}$

6. We will now consider functions having the form $g(x)=mx\text{.}$ Draw a graph of the function $g(x) = 2x$ on the left in Figure 2.

7. Draw a graph of the funcion $h(x) = -\frac13 x$ on the right of Figure 2.

8. Remember that composing two functions means we use the output from one function as the input into the other. That is, $g\circ h(x) = g(h(x))\text{.}$ What function results from composing $g\circ h(x)\text{?}$ How is the composite function related to the two functions $g$ and $h\text{?}$

# Subsection2.5.1Matrix transformations

In the preview activity, we considered simple linear functions, such as $g(x) = \frac12 x$ whose graph is the line shown in Figure 3. We construct a function like this by choosing a number $m\text{;}$ when given an input $x\text{,}$ the output $g(x) = mx$ is formed by multiplying $x$ by $m\text{.}$

In this section, we will consider functions defined through matrix-vector multiplication. That is, we will choose a matrix $A\text{;}$ when given an input $\xvec\text{,}$ the function $T(\xvec) = A\xvec$ produces the product $A\xvec$ as its output. Such a function is called a matrix transformation.

##### Activity2.5.2

In this activity, we will look at some examples of matrix transformations.

1. To begin, suppose that $A$ is the matrix

\begin{equation*} A = \left[\begin{array}{rr} 2 \amp 1 \\ 1 \amp 2 \\ \end{array}\right] \text{.} \end{equation*}

We define the matrix transformation $T(\xvec) = A\xvec$ so that

\begin{equation*} T\left(\twovec{-2}{3}\right) = A\twovec{-2}{3} = \left[\begin{array}{rr} 2 \amp 1 \\ 1 \amp 2 \\ \end{array}\right] \twovec{-2}{3} = \twovec{-1}{4} \text{.} \end{equation*}

The function $T$ takes the vector $\twovec{-2}{3}$ as an input and gives us $\twovec{-1}{4}$ as the output.

1. What is $T\left(\twovec{1}{-2}\right)\text{?}$

2. What is $T\left(\twovec{1}{0}\right)\text{?}$

3. What is $T\left(\twovec{0}{1}\right)\text{?}$

4. Is there a vector $\xvec$ such that $T(\xvec) = \twovec{3}{0}\text{?}$

2. Suppose that $T(\xvec) = A\xvec$ where

\begin{equation*} A=\left[\begin{array}{rrrr} 3 \amp 3 \amp -2 \amp 1 \\ 0 \amp 2 \amp 1 \amp -3 \\ -2 \amp 1 \amp 4 \amp -4 \end{array}\right] \text{.} \end{equation*}
1. What is the dimension of the vectors $\xvec$ that are inputs for $T\text{?}$

2. What is the dimension of the vectors $T(\xvec)=A\xvec$ that are outputs?

3. Describe the vectors $\xvec$ for which $T(\xvec) = \zerovec\text{.}$

3. If $A$ is the matrix $A=\left[\begin{array}{rr} \vvec_1 \amp \vvec_2 \end{array}\right]\text{,}$ what is $T\left(\twovec{0}{1}\right)$ in terms of the vectors $\vvec_1$ and $\vvec_2\text{?}$

4. Suppose that $A$ is a $3\times 2$ matrix and that $T(\xvec)=A\xvec\text{.}$ If

\begin{equation*} T\left(\twovec{1}{0}\right) = \threevec{3}{-1}{1}, T\left(\twovec{0}{1}\right) = \threevec{2}{2}{-1} \text{,} \end{equation*}

what is the matrix $A\text{?}$

Let's discuss a few of the issues that appear in this activity. First, if $A$ is an $m\times n$ matrix, we can form the matrix product $A\xvec$ when $\xvec$ is an $n$-dimensional vector in $\real^n\text{.}$ The product $A\xvec$ is an $m$-dimensional vector in $\real^m\text{.}$ To indicate this fact, if $T(\xvec) = A\xvec\text{,}$ then we write $T:\real^n\to\real^m$ meaning $T$ takes vectors in $\real^n$ as inputs and produces vectors in $\real^m$ as outputs. For instance, if

\begin{equation*} A=\left[\begin{array}{rrrr} 4 \amp 0 \amp -3 \amp 2 \\ 0 \amp 1 \amp 3 \amp 1 \\ \end{array}\right] \text{,} \end{equation*}

then $T:\real^4\to\real^2\text{.}$

If we know the matrix $A\text{,}$ then we can form the matrix transformation $T(\xvec) = A\xvec\text{.}$ However, if we only know the values of the matrix transformation $T\text{,}$ we can reconstruct the matrix $A\text{.}$ The key is to remember that matrix-vector multiplication constructs a linear combination. For instance, if $A$ is a $m\times2$ matrix $A=\left[\begin{array}{rr} \vvec_1 \amp \vvec_2 \end{array}\right]\text{,}$ then

\begin{equation*} T\left(\twovec{1}{0}\right) = \left[\begin{array}{rr} \vvec_1 \amp \vvec_2 \end{array}\right]\twovec{1}{0} = 1\vvec_1 + 0\vvec_2 = \vvec_1 \text{.} \end{equation*}

That is, we can find the first column of $A$ by evaluating $T\left(\twovec{1}{0}\right)\text{.}$ Similarly, the second column of $A$ is found by evaluating $T\left(\twovec{0}{1}\right)\text{.}$

More generally, we will write

\begin{equation*} \evec_1 = \left[\begin{array}{r} 1 \\ 0 \\ \vdots \\ 0 \end{array}\right], \evec_2 = \left[\begin{array}{r} 0 \\ 1 \\ \vdots \\ 0 \end{array}\right], \ldots, \evec_n = \left[\begin{array}{r} 0 \\ 0 \\ \vdots \\ 1 \end{array}\right] \end{equation*}

so that

\begin{equation*} T(\evec_j) = \left[\begin{array}{rrrr} \vvec_1 \amp \vvec_2 \amp \ldots \amp \vvec_n \end{array}\right] \evec_j = \vvec_j \text{.} \end{equation*}

This means that the $j^{th}$ column of $A$ is found by evaluating $T(\evec_j)\text{.}$ We record this fact in the following proposition.

We will look at some examples of matrix transformations in the following activity.

##### Activity2.5.3

Suppose that we work for a company that produces baked goods, including cakes, donuts, and eclairs. Our company operates two plants, called Plant 1 and Plant 2. In one hour of operation,

• Plant 1 produces 10 cakes, 50 donuts, and 30 eclairs.

• Plant 2 produces 20 cakes, 30 donuts, and 30 eclairs.

1. If plant 1 operates for $x_1$ hours and Plant 2 for $x_2$ hours, how many cakes $C$ does the company produce? How many donuts $D\text{?}$ How many eclairs $E\text{?}$

2. We define a matrix transformation $T(\xvec) = \threevec{C}{D}{E}$ where $\threevec{C}{D}{E}$ represents the number of baked goods produced when the plants are operated for times $\xvec=\twovec{x_1}{x_2}\text{.}$ If $T(\xvec) = A\xvec\text{,}$ what are the dimensions of the matrix $A\text{?}$

3. Find the vector $T\left(\twovec{1}{0}\right)$ and the vector $T\left(\twovec{0}{1}\right)$ and use your results to write the matrix $A\text{.}$

4. If we operate Plant 1 for 40 hours and Plant 2 for 50 hours, how many baked goods have we produced?

5. Suppose the marketing department says we need to produce 1500 cakes, 4700 donuts, and 3300 eclairs. Is it possible to meet this order? If so, how long should the two plants operate?

6. Let's now consider the needed ingredients:

• Each cake requires 4 units of flour and and 2 units of sugar.

• Each donut requires 1 unit of flour and 1 unit of sugar.

• Each eclair requires 1 units of flour and 2 units of sugar.

Suppose we make $C$ cakes, $D$ donuts, and $E$ eclairs. How many units of flour $F$ are required? How many units of sugar $S\text{?}$

7. Write a matrix $B$ that defines the matrix transformation $R\left(\threevec{C}{D}{E}\right) = \twovec{F}{S}\text{.}$

8. If Plant 1 operates for 30 hours and Plant 2 operates for 20 hours, how many units of flour and sugar are required?

9. We can consider the matrix transformation $P(\xvec) = \twovec{F}{S}$ that tells us how many units of flour and sugar are required when we operate the plants for $x_1$ and $x_2$ hours. Find the matrix that defines the transformation $P\text{.}$

In this activity, we considered two matrix transformations and constructed a third using composition. We began with the matrix transformation $T$ that tells us the number of baked goods produced when the plants are operated for a certain amount of time. If we write the times as $\xvec = \twovec{x_1}{x_2}\text{,}$ then $\twovec{1}{0}$ represents the situation where Plant 1 operates for one hour and Plant 2 is not operated. We are told that, in this one hour, Plant 1 produces 10 cakes, 50 donuts, and 30 eclairs. We therefore have

\begin{equation*} T\left(\twovec{1}{0}\right) = \threevec{10}{50}{30} \text{.} \end{equation*}

Similarly,

\begin{equation*} T\left(\twovec{0}{1}\right) = \threevec{20}{30}{30} \text{,} \end{equation*}

which tells us that the matrix $A$ that defines $T$ is

\begin{equation*} A=\left[\begin{array}{rr} 10 \amp 20 \\ 50 \amp 30 \\ 30 \amp 30 \\ \end{array}\right]\text{.} \end{equation*}

In the same way, we use the matrix transformation $R\left(\threevec{C}{D}{E}\right) = \twovec{F}{S}$ to describe the ingredients required to make a certain number of cakes, donuts, and eclairs. We see that

which means that the matrix defining $R$ is

\begin{equation*} B = \left[\begin{array}{rrr} 4 \amp 1 \amp 1 \\ 2 \amp 1 \amp 2 \\ \end{array}\right]\text{.} \end{equation*}

Finally, we wish to compose these two matrix transformations. For instance, if we operate the plants for times given by the vector $\xvec\text{,}$ we would like to know the required amounts of the ingredients. To determine this, notice that $T(\xvec) = A\xvec$ tells us how many cakes, donuts, and eclairs we produce. The ingredients required are then given by

\begin{equation*} R(T(\xvec)) = R(A\xvec) = B(A\xvec) = BA\xvec\text{.} \end{equation*}

Notice that the matrix that defines the composition is given by the product of the two matrices defining the matrix transformations.

In this case, we have

\begin{equation*} BA = \left[\begin{array}{rrr} 4 \amp 1 \amp 1 \\ 2 \amp 1 \amp 2 \\ \end{array}\right] \left[\begin{array}{rr} 10 \amp 20 \\ 50 \amp 30 \\ 30 \amp 30 \\ \end{array}\right] = \left[\begin{array}{rr} 120 \amp 140 \\ 130 \amp 130 \\ \end{array}\right] \text{.} \end{equation*}

This means that the matrix transformation that tells us the required amount of ingredients given the amount of time that the plants are operated is described by

\begin{equation*} P(\xvec) = R\circ T(\xvec)= \left[\begin{array} 120 \amp 140 \\ 130 \amp 130 \\ \end{array}\right] \twovec{x_1}{x_2} = \twovec{F}{S}\text{.} \end{equation*}

For instance, if we Plant 1 operates for 30 hours and Plant 2 for 20 hours, we have

\begin{equation*} P\left(\twovec{30}{20}\right) = \left[\begin{array}{rr} 120 \amp 140 \\ 130 \amp 130 \\ \end{array}\right] \twovec{30}{20} = \twovec{6400}{6500}\text{.} \end{equation*}

In other words, we need 6400 units of flour and 6500 units of sugar.

This activity shows that the composition of matrix transformations corresponds to the product of matrices, an important observation that we summarize in the following proposition.

# Subsection2.5.2Discrete Dynamical Systems

In Chapter 4, we will give considerable attention to a specific type of matrix transformation, which is illustrated in the next activity.

##### Activity2.5.4

Suppose we run a company that has two warehouses, which we will call $P$ and $Q\text{,}$ and a fleet of 1000 delivery trucks. Every day, a delivery truck goes out from one of the warehouses and returns every evening to one of the warehouses. Every evening,

• 70% of the trucks that leave $P$ return to $P\text{.}$ The other 30% return to $Q\text{.}$

• 50% of the trucks that leave $Q$ return to $Q$ and 50% return to $P\text{.}$

We will use the vector $\xvec=\twovec{P}{Q}$ to represent the number of trucks at location $P$ and $Q$ in the morning. We consider the matrix transformation $T(\xvec) = \twovec{P'}{Q'}$ that describes the number of trucks at location $P$ and $Q$ in the evening.

1. Suppose that all 1000 trucks begin the day at location $P$ and none at $Q\text{.}$ How many trucks are at each location at the end of the day? Therefore, what is the vector $T\left(\ctwovec{1000}{0}\right)\text{?}$

Using this result, what is $T\left(\twovec{1}{0}\right)\text{?}$

2. In the same way, suppose that all 1000 trucks begin the day at location $Q$ and none at $P\text{.}$ How many trucks are at each location at the end of the day? What is the result $T\left(\ctwovec{0}{1000}\right)\text{?}$

3. Find the matrix $A$ such that $T(\xvec) = A\xvec\text{.}$

4. Suppose that there are 100 trucks at $P$ and 900 at $Q$ at the beginning of the day. How many are there at the two locations at the end of the day?

5. Suppose that there are 550 trucks at $P$ and 450 at $Q$ at the end of the day. How many trucks were there at the two locations at the beginning of the day?

6. Suppose that all of the trucks are at location $Q$ on Monday morning?

1. How many trucks are at each location Monday evening?

2. How many trucks are at each location Tuesday evening?

3. How many trucks are at each location Wednesday evening?

7. Suppose that $S$ is the matrix transformation that transforms the distribution of trucks $\xvec$ one morning into the distribution of trucks two mornings later. What is the matrix that defines the transformation $S\text{?}$

8. Suppose that $R$ is the matrix transformation that transforms the distribution of trucks $\xvec$ one morning into the distribution of trucks one week later. What is the matrix that defines the transformation $R\text{?}$

9. What happens to the distribution of trucks after a very long time?

This is kind of situation occurs quite frequently. We have a vector $\xvec$ that describes the state of some system; in this case, $\xvec$ describes the distribution of trucks between the two locations. Then we have a matrix $A$ that defines a matrix transformation such that $T(\xvec) = A\xvec$ describes the state at some later time. We will sometimes call $\xvec$ the state vector and $T$ the transition function, as it describes the transition of the state vector from one time to the next.

We begin in an initial state $\xvec_0= \ctwovec{0}{1000}\text{.}$ The state one day later will be the vector $\xvec_1 = T(\xvec_0) = A\xvec_0\text{.}$ In the example from our activity, we have

\begin{equation*} A = \left[\begin{array}{rr} 0.7 \amp 0.5 \\ 0.3 \amp 0.5 \\ \end{array}\right] \text{.} \end{equation*}

Therefore,

\begin{equation*} \xvec_1 = A\xvec_0 = \left[\begin{array}{rr} 0.7 \amp 0.5 \\ 0.3 \amp 0.5 \\ \end{array}\right] \ctwovec{0}{1000} =\ctwovec{500}{500}\text{.} \end{equation*}

We can, of course, repeat this process. The vector $\xvec_1$ describes the state after one day. After a second day, we have the state vector

\begin{equation*} \xvec_2 = T(\xvec_1) = A\xvec_1 = A^2\xvec_0 = \ctwovec{600}{400}\text{.} \end{equation*}

We can continue this process finding $\xvec_k\text{,}$ the state after $k$ days using $\xvec_k = A\xvec_{k-1} = A^k\xvec_0\text{.}$ In this way, we see that the long-term behavior of the state vector is determined by the powers of the matrix $A\text{.}$

Using Sage, we can compute $A^k$ for some very large powers of $A\text{.}$ For instance,

\begin{equation*} A^{100} \approx \left[\begin{array}{rr} 0.625 \amp 0.625 \\ 0.375 \amp 0.375 \\ \end{array}\right]\text{.} \end{equation*}

In fact, all large powers of $A$ look very close to this matrix. Therefore, after a very long time, the state vector is very close to

\begin{equation*} \left[\begin{array}{rr} 0.625 \amp 0.625 \\ 0.375 \amp 0.375 \\ \end{array}\right] \ctwovec{0}{1000} = \ctwovec{625}{375}\text{.} \end{equation*}

This means that, eventually, 625 cars are at location $P$ every day and 375 are at $Q\text{.}$

In Chapter 4, we will develop a theory that enables us to easily make long-term predictions like this without needing to compute large powers of the matrix.

# Subsection2.5.3Summary

This section introduced matrix transformations, functions that are defined by matrix-vector multiplication, such as $T(\xvec) = A\xvec$ for some matrix $A\text{.}$

• If $A$ is an $m\times n$ matrix, then $T:\real^n\to\real^m\text{.}$

• The columns of the matrix $A$ are given by evaluating the transformation $T$ on the vectors $\evec_j\text{;}$ that is,

\begin{equation*} A=\left[\begin{array}{rrrr} T(\evec_1) \amp T(\evec_2) \amp \ldots \amp T(\evec_n) \end{array}\right] \text{.} \end{equation*}
• The composition of matrix transformations corresponds to matrix multiplication.

• A dynamical system consists of a state vector $\xvec$ along with a transition function $T(\xvec) = A\xvec$ that describes how the state vector evolves from one time to the next. Powers of the matrix $A$ determine the long-term behavior of the state vector.

# Subsection2.5.4Exercises

##### 1

Suppose that $T:\real^3\to\real^2$ and $S:\real^2\to\real^2$ are defined by the matrices $A$ and $B$ where

\begin{equation*} A = \left[\begin{array}{rrr} 3 \amp -1 \amp 0 \\ 1 \amp 2 \amp 2 \\ -1 \amp 3 \amp 2 \\ \end{array}\right], \qquad B = \left[\begin{array}{rr} 1 \amp -1 \amp 0 \\ 2 \amp 1 \amp 2 \\ \end{array}\right] \text{.} \end{equation*}
1. Evaluate the matrix transformation $T\left(\threevec{1}{-3}{2}\right)\text{.}$

2. Evaluate the matrix transformation $S\left(\twovec{-2}{2}\right)\text{.}$

3. Evaluate the matrix transformation $S\circ T\left(\threevec{1}{-3}{2}\right)\text{.}$

4. Find the matrix $C$ that defines the matrix transformation $S\circ T\text{.}$

##### 2

Determine whether the following statements are true or false and provide a justification for your response.

1. A matrix transformation $T:\real^4\to\real^5$ is defined by $T(\xvec) = A\xvec$ where $A$ is a $4\times5$ matrix.

2. If $T:\real^3\to\real^2$ is a matrix transformation, then there are infinitely many vectors $\xvec$ such that $T(\xvec) = \zerovec\text{.}$

3. If $T:\real^2\to\real^3$ is a matrix transformation, then it is possible that every equation $T(\xvec) = \bvec$ has a solution for every vector $\bvec\text{.}$

4. If $T:\real^n\to\real^m$ is a matrix transformation, then the equation $T(\xvec) = \zerovec$ always has a solution.

5. If $T:\real^n\to\real^m$ is a matrix transformation and $\vvec$ and $\wvec$ two vectors in $\real^n\text{,}$ then the vectors $T(\vvec + t\wvec)$ form a line in $\real^m\text{.}$

##### 3

This problem concerns the identification of matrix transformations.

1. Check that the following function $T:\real^3\to\real^2$ is a matrix transformation by finding a matrix $A$ such that $T(\xvec) = A\xvec\text{.}$

\begin{equation*} T\left(\threevec{x_1}{x_2}{x_3}\right) = \left[\begin{array}{c} 3x_1 - x_2 + 4x_3 \\ 5x_2 - x_3 \\ \end{array}\right] \text{.} \end{equation*}
2. Explain why

\begin{equation*} T\left(\threevec{x_1}{x_2}{x_3}\right) = \left[\begin{array}{c} 3x_1^4 - x_2 + 4x_3 \\ 5x_2 - x_3 \\ \end{array}\right] \end{equation*}

is not a matrix transformation.

##### 4

Suppose that the matrix

\begin{equation*} A = \left[\begin{array}{rrr} 1 \amp 3 \amp 1 \\ -2 \amp 1 \amp 5 \\ 0 \amp 2 \amp 2 \\ \end{array}\right] \end{equation*}

defines the matrix transformation $T:\real^3\to\real^3\text{.}$

1. Describe the vectors $\xvec$ that satisfy $T(\xvec) = \zerovec\text{.}$

2. Describe the vectors $\xvec$ that satisfy $T(\xvec) = \threevec{-8}{9}{2}\text{.}$

3. Describe the vectors $\xvec$ that satisfy $T(\xvec) = \threevec{8}{1}{4}\text{.}$

##### 5

Suppose $T:\real^3\to\real^2$ is a matrix transformation with $T(\evec_j) = \vvec_j$ where $\vvec_1\text{,}$ $\vvec_2\text{,}$ and $\vvec_3$ are as shown in Figure 6.

1. Sketch the vector $T\left(\threevec{2}{1}{2}\right)\text{.}$

2. What is the vector $T\left(\threevec{0}{1}{0}\right)\text{?}$

3. Find all the vectors $\xvec$ such that $T(\xvec) = \zerovec\text{.}$

##### 6

Suppose that a company has three plants, called Plants 1, 2, and 3, that produce milk $M$ and yogurt $Y\text{.}$ For every hour of operation,

• Plant $P$ produces 20 units of milk and 15 units of yogurt.

• Plant $Q$ produces 30 units of milk and 5 units of yogurt.

• Plant $R$ produces 0 units of milk and 40 units of yogurt.

1. Suppose that $x_1\text{,}$ $x_2\text{,}$ and $x_3$ record the amounts of time that the three plants are operated. Find expressions for the number of units of milk $M$ and yogurt $Y$ produced.

2. If we write $\xvec=\threevec{x_1}{x_2}{x_3}$ and $\yvec = \twovec{M}{Y}\text{,}$ find the matrix $A$ that defines the matrix transformation $T(\xvec) = \yvec\text{.}$

3. Furthermore, suppose that producing each unit of

• milk requires 5 units of electricity and 8 units of labor.

• yogurt requires 6 units of electricity and 10 units of labor.

Write expressions for the required amounts of electricity $E$ and labor $L$ in terms of $M$ and $Y\text{.}$

4. If we write the vector $\zvec = \twovec{E}{L}$ to record the required amounts of electricity and labor, find the matrix $B$ that defines the matrix transformation $S(\yvec) = \zvec\text{.}$

5. If $\xvec = \threevec{30}{20}{10}$ describes the amounts of time that the three plants are operated, how much milk and yogurt is produced? How much electricity and labor are required?

6. Find the matrix $C$ that describes the matrix transformation $R(\xvec)=\zvec$ that gives the required amounts of electricity and labor when the plants are operated times given by vector $\xvec\text{.}$

##### 7

Suppose that $T:\real^2\to\real^2$ is a matrix transformation and that

\begin{equation*} T\left(\twovec{1}{1}\right) = \twovec{3}{-2}, \qquad T\left(\twovec{-1}{1}\right) = \twovec{1}{2} \text{.} \end{equation*}
1. Find the vector $T\left(\twovec{1}{0}\right)\text{.}$

2. Find the matrix $A$ that defines $T\text{.}$

3. Find the vector $T\left(\twovec{4}{-5}\right)\text{.}$

##### 8

Suppose that two species $P$ and $Q$ interact with one another and that we measure their populations every month. We record their populations in a state vector $\xvec = \twovec{p}{q}\text{,}$ where $p$ and $q$ are the populations of $P$ and $Q\text{,}$ respectively. We observe that there is a matrix

\begin{equation*} A = \left[\begin{array}{rr} 0.8 \amp 0.3 \\ 0.7 \amp 1.2 \\ \end{array}\right] \end{equation*}

such that the matrix transformation $T(\xvec)=A\xvec$ is the transition function describing how the state vector evolves from month to month. We also observe that, at the beginning of July, the populations are described by the state vector $\xvec={1,2}\text{.}$

1. What will the populations be at the beginning of August?

2. What were the populations at the beginning of June?

3. What will the populations be at the beginning of December?

4. What will the populations be at the beginning of July in the following year?

##### 9

Students in a school are sometimes absent due to an illness. Suppose that

• 95% of the students who attend school will attend school the next day.

• 50% of the students are absent one day will be absent the next day.

We will record the number of present students $p$ and the number of absent students $a$ in a state vector $\xvec=\twovec{p}{a}\text{.}$ On Tuesday, the state vector is $\xvec=\ctwovec{1700}{100}\text{.}$ The state vector evolves from one day to the next according to the transition function $T:\real^2\to\real^2\text{.}$

1. Suppose we initially have 1000 students who are present and none absent. Find $T\left(\ctwovec{1000}{0}\right)\text{.}$

2. Suppose we initially have 1000 students who are absent and none present. Find $T\left(\ctwovec{0}{1000}\right)\text{.}$

3. Use the results of parts a and b to find the matrix $A$ that defines the matrix transformation $T\text{.}$

4. If $\xvec=\ctwovec{1700}{100}$ on Tuesday, how many students are on Wednesday?

5. How many students were present on Monday?

6. How many students are present on the following Tuesday?

7. What happens to the number of students who are present after a very long time?