Skip to main content
Logo image

Section 2.5 Matrix transformations

The past few sections introduced us to matrix-vector multiplication as a means of thinking geometrically about the solutions to a linear system. In particular, we rewrote a linear system as a matrix equation \(A\xvec = \bvec\) and developed the concepts of span and linear independence in response to our two fundamental questions.
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 Activity 2.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 2.5.1
    Figure 2.5.1. Graph the function \(f(x)=x^2\) above.
  5. 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.5.2.
    Figure 2.5.2. Graphs of the function \(g(x)=2x\) and \(h(x) = -\frac13 x\text{.}\)
  6. Draw a graph of the function \(h(x) = -\frac13 x\) on the right of Figure 2.5.2.
  7. 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{?}\)

Subsection 2.5.1 Matrix transformations

In the preview activity, we considered familiar linear functions of a single variable, such as \(g(x) = 2x\text{.}\) 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 whose inputs are vectors and whose outputs are vectors defined through matrix-vector multiplication. That is, if \(A\) is a matrix and \(\xvec\) is a vector, the function \(T(\xvec) = A\xvec\) forms the product \(A\xvec\) as its output. Such a function is called a matrix transformation.

Definition 2.5.3.

The matrix transformation associated to the matrix \(A\) is the function that assigns to the vector \(\xvec\) the vector \(A\xvec\text{;}\) that is, \(T(\xvec) = A\xvec\text{.}\)

Example 2.5.4.

The matrix \(A = \begin{bmatrix} 3 \amp -2 \\ 1 \amp 2 \\ 0 \amp 3 \end{bmatrix}\) defines a matrix transformation \(T(\xvec) = A\xvec\) in the following way:
\begin{equation*} T\left(\twovec{x_1}{x_2}\right) = \begin{bmatrix} 3 \amp -2 \\ 1 \amp 2 \\ 0 \amp 3 \end{bmatrix} \twovec{x_1}{x_2} = \cthreevec{3x_1 - 2x_2}{x_1 + 2x_2}{3x_2}. \end{equation*}
Notice that the input to \(T\) is a two-dimensional vector \(\twovec{x_1}{x_2}\) and the output is a three-dimensional vector \(\cthreevec{3x_1 - 2x_2}{x_1 + 2x_2}{3x_2}\text{.}\) As a shorthand, we will write
\begin{equation*} T:\real^2\to\real^3 \end{equation*}
to indicate that the inputs are two-dimensional vectors and the outputs are three-dimensional vectors.

Example 2.5.5.

Suppose we have a function \(T:\real^3\to\real^2\) that has the form
\begin{equation*} T\left(\threevec{x_1}{x_2}{x_3}\right) = \begin{bmatrix} -4x_1 -x_2 + 2x_3 \\ x_1 + 2x_2 - x_3 \\ \end{bmatrix}. \end{equation*}
We may write
\begin{equation*} \begin{aligned} T\left(\threevec{x_1}{x_2}{x_3}\right) \amp {}={} \begin{bmatrix} -4x_1 -x_2 + 2x_3 \\ x_1 + 2x_2 - x_3 \\ \end{bmatrix} \\ \amp {}={} \twovec{-4x_1}{x_1} + \twovec{-x_2}{2x_2} + \twovec{2x_3}{-x_3} \\ \amp {}={} x_1\twovec{-4}1 + x_2\twovec{-1}2 + x_3\twovec2{-1} \\ \amp{}={} \begin{bmatrix} -4 \amp -1 \amp 2 \\ 1 \amp 2 \amp -1 \\ \end{bmatrix} \threevec{x_1}{x_2}{x_3}. \end{aligned} \end{equation*}
This shows that \(T\) is a matrix transformation \(T(\xvec) = A\xvec\) associated to the matrix \(A = \begin{bmatrix} -4 \amp -1 \amp 2 \\ 1 \amp 2 \amp -1 \\ \end{bmatrix}.\)

Activity 2.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]. \end{equation*}
    with associated matrix transformation \(T(\xvec) = A\xvec\text{.}\)
    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{?}\)
    5. Write \(T\left(\twovec xy\right)\) as a two-dimensional vector.
  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. If we describe this transformation as \(T:\real^n\to\real^m\text{,}\) what are the values of \(n\) and \(m\) and how do they relate to the shape of \(A\text{?}\)
    4. 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(\twovec10\right)\) in terms of the vectors \(\vvec_1\) and \(\vvec_2\text{?}\) What about \(T\left(\twovec{0}{1}\right)\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, notice that the shape of the matrix \(A\) and the dimension of the input vector \(\xvec\) must be compatible if the product \(A\xvec\) is to be defined. In particular, if \(A\) is an \(m\times n\) matrix, \(\xvec\) needs to be an \(n\)-dimensional vector, and the resulting product \(A\xvec\) will be an \(m\)-dimensional vector. For the associated matrix transformation, we therefore 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{.}\)
Second, we can often reconstruct the matrix \(A\) if we only know some output values from its associated linear transformation \(T\) by remembering that matrix-vector multiplication constructs linear combinations. For instance, if \(A\) is an \(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 the columns of the \(n\times n\) identity matrix as
\begin{equation*} \evec_1 = \left[\begin{array}{c} 1 \\ 0 \\ \vdots \\ 0 \end{array}\right],~~~ \evec_2 = \left[\begin{array}{c} 0 \\ 1 \\ \vdots \\ 0 \end{array}\right],~~~ \ldots,~~~ \evec_n = \left[\begin{array}{c} 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.

Activity 2.5.3.

Let’s look at some examples and apply these observations.
  1. To begin, suppose that \(T\) is the matrix transformation that takes a two-dimensional vector \(\xvec\) as an input and outputs \(T(\xvec)\text{,}\) the two-dimensional vector obtained by rotating \(\xvec\) counterclockwise by \(90^\circ\text{,}\) as shown in Figure 2.5.7.
    Figure 2.5.7. The matrix transformation \(T\) takes two-dimensional vectors on the left and rotates them by \(90^\circ\) counterclockwise into the vectors on the right.
    We will see in the next section that many geometric operations like this one can be performed by matrix transformations.
    1. If we write \(T:\real^n\to\real^m\text{,}\) what are the values of \(m\) and \(n\text{,}\) and what is the shape of the associated matrix \(A\text{?}\)
    2. Determine the matrix \(A\) by applying Proposition 2.5.6.
    3. If \(\vvec=\twovec{-2}{-1}\) as shown on the left in Figure 2.5.7, use your matrix to determine \(T(\vvec)\) and verify that it agrees with that shown on the right of Figure 2.5.7.
    4. If \(\xvec=\twovec xy\text{,}\) determine the vector \(T(\xvec)\) obtained by rotating \(\xvec\) counterclockwise by \(90^\circ\text{.}\)
  2. Suppose that we work for a company that makes baked goods, including cakes, doughnuts, and eclairs. The company operates two bakeries, Bakery 1 and Bakery 2. In one hour of operation,
    • Bakery 1 produces 10 cakes, 50 doughnuts, and 30 eclairs.
    • Bakery 2 produces 20 cakes, 30 doughnuts, and 30 eclairs.
    If Bakery 1 operates for \(x_1\) hours and Bakery 2 for \(x_2\) hours, we will use the vector \(\xvec=\twovec{x_1}{x_2}\) to describe the operation of the two bakeries.
    We would like to describe a matrix transformation \(T\) where \(\xvec\) describes the number of hours the bakeries operate and \(T(\xvec)\) describes the total number of cakes, doughnuts, and eclairs produced. That is, \(T(\xvec) = \threevec{y_1}{y_2}{y_3}\) where \(y_1\) is the number of cakes, \(y_2\) is the number of doughnuts, and \(y_3\) is the number of eclairs produced.
    1. If \(T:\real^n\to\real^m\text{,}\) what are the values of \(m\) and \(n\text{,}\) and what is the shape of the associated matrix \(A\text{?}\)
    2. We can determine the matrix \(A\) using Proposition 2.5.6. For instance, \(T\left(\twovec10\right)\) will describe the number of cakes, doughnuts, and eclairs produced when Bakery 1 operates for one hour and Bakery 2 sits idle. What is this vector?
    3. In the same way, determine \(T\left(\twovec01\right)\text{.}\) What is the matrix \(A\text{?}\)
    4. If Bakery 1 operates for 120 hours and Bakery 2 for 180 hours, what is the total number of cakes, doughnuts, and eclairs produced?
    5. Suppose that in one period of time, the company produces 5060 cakes, 14310 doughnuts, and 10470 eclairs. How long did each bakery operate?
    6. Suppose that the company receives an order for a certain number of cakes, doughnuts, and eclairs. Can you guarantee that you can fill the order without having leftovers?
In these examples, we glided over an important point: how do we know these functions \(T:\real^n\to\real^m\) can be expressed as matrix transformations? We will take up this question in detail in the next section and not worry about it for now.

Subsection 2.5.2 Composing matrix transformations

It sometimes happens that we want to combine matrix transformations by performing one and then another. In the last activity, for instance, we considered the matrix transformation where \(T(\xvec)\) is the result of rotating the two-dimensional vector \(\xvec\) by \(90^\circ\text{.}\) Now suppose we are interested in rotating that vector twice; that is, we take a vector \(\xvec\text{,}\) rotate it by \(90^\circ\) to obtain \(T(\xvec)\text{,}\) and then rotate the result by \(90^\circ\) again to obtain \(T(T(\xvec))\text{.}\)
This process is called function composition and likely appeared in an earlier algebra course. For instance, if \(g(x) = 2x + 1\) and \(h(x) = x^2\text{,}\) the composition of these functions obtained by first performing \(g\) and then performing \(h\) is denoted by
\begin{equation*} (h\circ g)(x) = h(g(x)) = h(2x+1) = (2x+1)^2. \end{equation*}
Composing matrix transformations is similar. Suppose that we have two matrix transformations, \(T:\real^n\to\real^m\) and \(S:\real^m\to\real^p\text{.}\) Their associated matrices will be denoted by \(A\) and \(B\) so that \(T(\xvec) = A\xvec\) and \(S(\xvec) = B\xvec\text{.}\) If we apply \(T\) to a vector \(\xvec\) to obtain \(T(\xvec)\) and then apply \(S\) to the result, we have
\begin{equation*} (S\circ T)(\xvec) = S(T(\xvec)) = S(A\xvec) = BA\xvec = (BA)\xvec. \end{equation*}
Notice that this implies that the composition \((S\circ T)\) is itself a matrix transformation and that the associated matrix is the product \(BA\text{.}\)
Notice that the matrix transformations must be compatible if they are to be composed. In particular, the vector \(T(\xvec)\text{,}\) an \(m\)-dimensional vector, must be a suitable input vector for \(S\text{,}\) which means that the inputs to \(S\) must be \(m\)-dimensional. In fact, this is the same condition we need to form the product \(BA\) of their associated matrices, namely, that the number of columns of \(B\) is the same as the number of rows of \(A\text{.}\)

Activity 2.5.4.

We will explore the composition of matrix transformations by revisiting the matrix transformations from Activity 2.5.3.
  1. Let’s begin with the matrix transformation \(T:\real^2\to\real^2\) that rotates a two-dimensional vector \(\xvec\) by \(90^\circ\) to produce \(T(\xvec)\text{.}\) We saw in the earlier activity that the associated matrix is \(A = \begin{bmatrix} 0 \amp -1 \\ 1 \amp 0 \\ \end{bmatrix} \text{.}\) Suppose that we compose this matrix transformation with itself to obtain \((T\circ T)(\xvec) = T(T(\xvec))\text{,}\) which is the result of rotating \(\xvec\) by \(90^\circ\) twice.
    1. What is the matrix associated to the composition \((T\circ T)\text{?}\)
    2. What is the result of rotating \(\vvec=\twovec{-2}{-1}\) twice?
    3. Suppose that \(R:\real^2\to\real^2\) is the matrix transformation that rotates vectors by \(180^\circ\text{,}\) as shown in Figure 2.5.9.
      Figure 2.5.9. The matrix transformation \(R\) takes two-dimensional vectors on the left and rotates them by \(180^\circ\) into the vectors on the right.
      Use Proposition 2.5.6 to find the matrix associated to \(R\) and explain why it is the same matrix associated to \((T\circ T)\text{.}\)
    4. Write the two-dimensional vector \((T\circ T)\left(\twovec xy\right)\text{.}\) How might this vector be expressed in terms of scalar multiplication and why does this make sense geometrically?
  2. In the previous activity, we imagined a company that operates two bakeries. We found the matrix transformation \(T:\real^2\to\real^3\) where \(T\left(\twovec{x_1}{x_2}\right)\) describes the number of cakes, doughnuts, and eclairs when Bakery1 runs for \(x_1\) hours and Bakery 2 runs for \(x_2\) hours. The associated matrix is \(A = \begin{bmatrix} 10 \amp 20 \\ 50 \amp 30 \\ 30 \amp 30 \\ \end{bmatrix} \text{.}\)
    Suppose now that
    • Each cake requires 4 cups of flour and and 2 cups of sugar.
    • Each doughnut requires 1 cup of flour and 1 cup of sugar.
    • Each eclair requires 1 cup of flour and 2 cups of sugar.
    We will describe a matrix transformation \(S:\real^3\to\real^2\) where \(S\left(\threevec{y_1}{y_2}{y_3}\right)\) is a two-dimensional vector describing the number of cups of flour and sugar required to make \(y_1\) cakes, \(y_2\) doughnuts, and \(y_3\) eclairs.
    1. Use Proposition 2.5.6 to write the matrix \(B\) associated to the transformation \(S\text{.}\)
    2. If we make 1200 cakes, 2850 doughnuts, and 2250 eclairs, how many cups of flour and sugar are required?
    3. Suppose that Bakery 1 operates for 75 hours and Bakery 2 operates for 53 hours. How many cakes, doughnuts, and eclairs are produced? How many cups of flour and sugar are required?
    4. What is the meaning of the composition \((S\circ T)\) and what is its associated matrix?
    5. In a certain time interval, both bakeries use a total of 5800 cups of flour and 5980 cups of sugar. How long have the two bakeries been operating?

Subsection 2.5.3 Discrete Dynamical Systems

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

Activity 2.5.5.

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 morning, a delivery truck goes out from one of the warehouses and returns in the evening to one of the warehouses. It is observed that
  • 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{.}\)
The distribution of trucks is represented by the vector \(\xvec=\twovec{x_1}{x_2}\) when there are \(x_1\) trucks at location \(P\) and \(x_2\) trucks at \(Q\text{.}\) If \(\xvec\) describes the distribution of trucks in the morning, then the matrix transformation \(T(\xvec)\) will describe the distribution 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 that evening? Using our vector representation, what is \(T\left(\ctwovec{1000}{0}\right)\text{?}\)
    So that we can find the matrix \(A\) associated to \(T\text{,}\) what does this tell us about \(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 that evening? What is the result \(T\left(\ctwovec{0}{1000}\right)\) and what is \(T\left(\twovec01\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\) in the morning. How many are there at the two locations in the evening?
  5. Suppose that there are 550 trucks at \(P\) and 450 at \(Q\) in the evening. How many trucks were there at the two locations that morning?
  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 in the morning one week (seven days) later. What is the matrix that defines the transformation \(S\text{?}\)
As we will see later, this type of situation occurs 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 at a particular time. Then there is a matrix transformation \(T(\xvec) = A\xvec\) that describes the state at some later time. We 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.
Beginning with an initial state \(\xvec_0\text{,}\) we would like to know how the state evolves over time. For instance,
\begin{equation*} \begin{aligned} \xvec_1 \amp = T(\xvec_0)=A\xvec_0 \\ \xvec_2 \amp = T(\xvec_1) = (T\circ T)(\xvec_0)= A^2\xvec_0 \\ \xvec_3 \amp = T(\xvec_2) = A^3\xvec_0 \end{aligned} \end{equation*}
and so on.
We call this situation where the state of a system evolves from one time to the next according to the rule \(\xvec_{k+1}=A\xvec_k\) a discrete dynamical system. In Chapter 4, we will develop a theory that enables us to make long-term predictions about the evolution of the state vector.

Subsection 2.5.4 Summary

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 \cdots \amp T(\evec_n) \end{array}\right]\text{.} \end{equation*}
  • The composition of matrix transformations corresponds to matrix multiplication.
  • A discrete 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.

Exercises 2.5.5 Exercises

1.

Suppose that \(T\) is the matrix transformation defined by the matrix \(A\) and \(S\) is the matrix transformation defined by \(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}{rrr} 1 \amp -1 \amp 0 \\ 2 \amp 1 \amp 2 \\ \end{array}\right]\text{.} \end{equation*}
  1. If \(T:\real^n\to\real^m\text{,}\) what are the values of \(m\) and \(n\text{?}\) What values of \(m\) and \(n\) are appropriate for the transformation \(S\text{?}\)
  2. Evaluate \(T\left(\threevec{1}{-3}{2}\right)\text{.}\)
  3. Evaluate \(S\left(\threevec{-2}{2}{1}\right)\text{.}\)
  4. Evaluate \(S\circ T\left(\threevec{1}{-3}{2}\right)\text{.}\)
  5. Find the matrix \(C\) that defines the matrix transformation \(S\circ T\text{.}\)

2.

This problem concerns the identification of matrix transformations, about which more will be said in the next section.
  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.

3.

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}{2}{-4}\text{.}\)

4.

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 2.5.10.
Figure 2.5.10. The vectors \(T(\evec_j)=\vvec_j\text{.}\)
  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{.}\)

5.

In Example 2.5.5 and Example 2.5.4, we wrote matrix transformations in terms of the components of \(T(\xvec)\text{.}\) This exercise makes use of that form.
  1. Let’s return to the example in Activity 2.5.3 concerning the company that operates two bakeries. We used a matrix transformation with input \(\xvec\text{,}\) which recorded the amount of time the two bakeries operated, and output \(T(\xvec)\text{,}\) the number of cakes, doughnuts, and eclairs produced. The associated matrix is \(A=\begin{bmatrix} 10 \amp 20 \\ 50 \amp 30 \\ 30 \amp 30 \\ \end{bmatrix} \text{.}\)
    1. If \(\xvec=\twovec{x_1}{x_2}\text{,}\) write the output \(T(\xvec)\) as a three-dimensional vector in terms of \(x_1\) and \(x_2\text{.}\)
    2. If Bakery 1 operates for \(x_1\) hours and Bakery 2 for \(x_2\) hours, how many cakes are produced?
    3. Explain how you may have discovered this expression by considering the rates at which the two locations make cakes.
  2. Suppose that a bicycle sharing program has two locations \(P\) and \(Q\text{.}\) Bicycles are rented from some location in the morning and returned to a location in the evening. Suppose that
    • 60% of bicycles that begin at \(P\) in the morning are returned to \(P\) in the evening while the other 40% are returned to \(Q\text{.}\)
    • 30% of bicycles that begin at \(Q\) are returned to \(Q\) and the other 70% are returned to \(P\text{.}\)
    1. If \(x_1\) is the number of bicycles at location \(P\) and \(x_2\) the number at \(Q\) in the morning, write an expression for the number of bicycles at \(P\) in the evening.
    2. Write an expression for the number of bicycles at \(Q\) in the evening.
    3. Write an expression for \(T\left(\twovec{x_1}{x_2}\right)\text{,}\) the vector that describs the distribution of bicycles in the evening.
    4. Use this expression to identify the matrix \(A\) associated to the matrix transformation \(T\text{.}\)

6.

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.

7.

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 \(1\) produces 20 units of milk and 15 units of yogurt.
  • Plant \(2\) produces 30 units of milk and 5 units of yogurt.
  • Plant \(3\) 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 and that \(M\) and \(Y\) record the amount of milk and yogurt produced. 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{.}\)
  2. 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.
    If we write the vector \(\zvec = \twovec{E}{L}\) to record the required amounts of electricity \(E\) and labor \(L\text{,}\) find the matrix \(B\) that defines the matrix transformation \(S(\yvec) = \zvec\text{.}\)
  3. 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?
  4. Find the matrix \(C\) that describes the matrix transformation \(R(\xvec)=\zvec\) that gives the required amounts of electricity and labor when the each plants is operated an amount of time given by the vector \(\xvec\text{.}\)

8.

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{.}\)

9.

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=\twovec{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?

10.

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 who 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}\) and note that that state vector evolves from one day to the next according to the transition function \(T:\real^2\to\real^2\text{.}\) On Tuesday, the state vector is \(\xvec=\ctwovec{1700}{100}\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 are the students distributed 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?
You have attempted of activities on this page.