Linear Algebra for Team-Based Inquiry Learning

2023 Edition

Steven Clontz Drew Lewis
University of South Alabama

August 24, 2023

Section 3.1: Linear Transformations (AT1)

Definition 3.1.1

A linear transformation (also called a linear map) is a map between vector spaces that preserves the vector space operations. More precisely, if \(V\) and \(W\) are vector spaces, a map \(T:V\rightarrow W\) is called a linear transformation if

  1. \(T(\vec{v}+\vec{w}) = T(\vec{v})+T(\vec{w})\) for any \(\vec{v},\vec{w} \in V\text{,}\) and

  2. \(T(c\vec{v}) = cT(\vec{v})\) for any \(c \in \IR,\) and \(\vec{v} \in V\text{.}\)

In other words, a map is linear when vector space operations can be applied before or after the transformation without affecting the result.

Definition 3.1.2

Given a linear transformation \(T:V\to W\text{,}\) \(V\) is called the domain of \(T\) and \(W\) is called the co-domain of \(T\text{.}\)

Figure 1. A linear transformation with a domain of \(\IR^3\) and a co-domain of \(\IR^2\)

Observation 3.1.3

One example of a linear transformation \(\IR^3\to\IR^2\) is the projection of three-dimesional data onto a two-dimensional screen, as is necessary for computer animiation in film or video games.

Figure 2. A projection of a \(3D\) teapot onto a \(2D\) screen

Activity 3.1.1

Let \(T : \IR^3 \rightarrow \IR^2\) be given by

\begin{equation*} T\left(\left[\begin{array}{c} x \\ y \\ z \end{array}\right] \right) = \left[\begin{array}{c} x-z \\ 3y \end{array}\right]. \end{equation*}

Part 1.

Compute the result of adding vectors before a \(T\) transformation:

\begin{equation*} T\left( \left[\begin{array}{c} x \\ y \\ z \end{array}\right] + \left[\begin{array}{c} u \\ v \\ w \end{array}\right] \right) = T\left( \left[\begin{array}{c} x+u \\ y+v \\ z+w \end{array}\right] \right) \end{equation*}
  1. \(\displaystyle \left[\begin{array}{c} x-u+z-w \\ 3y-3v \end{array}\right]\)

  2. \(\displaystyle \left[\begin{array}{c} x+u-z-w \\ 3y+3v \end{array}\right]\)

  3. \(\displaystyle \left[\begin{array}{c} x+u \\ 3y+3v \\ z+w \end{array}\right]\)

  4. \(\displaystyle \left[\begin{array}{c} x-u \\ 3y-3v \\ z-w \end{array}\right]\)

Activity 3.1.1

Let \(T : \IR^3 \rightarrow \IR^2\) be given by

\begin{equation*} T\left(\left[\begin{array}{c} x \\ y \\ z \end{array}\right] \right) = \left[\begin{array}{c} x-z \\ 3y \end{array}\right]. \end{equation*}

Part 2.

Compute the result of adding vectors after a \(T\) transformation:

\begin{equation*} T\left( \left[\begin{array}{c} x \\ y \\ z \end{array}\right] \right) + T\left( \left[\begin{array}{c} u \\ v \\ w \end{array}\right] \right) = \left[\begin{array}{c} x-z \\ 3y \end{array}\right] + \left[\begin{array}{c} u-w \\ 3v \end{array}\right] \end{equation*}
  1. \(\displaystyle \left[\begin{array}{c} x-u+z-w \\ 3y-3v \end{array}\right]\)

  2. \(\displaystyle \left[\begin{array}{c} x+u-z-w \\ 3y+3v \end{array}\right]\)

  3. \(\displaystyle \left[\begin{array}{c} x+u \\ 3y+3v \\ z+w \end{array}\right]\)

  4. \(\displaystyle \left[\begin{array}{c} x-u \\ 3y-3v \\ z-w \end{array}\right]\)

Activity 3.1.1

Let \(T : \IR^3 \rightarrow \IR^2\) be given by

\begin{equation*} T\left(\left[\begin{array}{c} x \\ y \\ z \end{array}\right] \right) = \left[\begin{array}{c} x-z \\ 3y \end{array}\right]. \end{equation*}

Part 3.

Is \(T\) a linear transformation?

  1. Yes.

  2. No.

  3. More work is necessary to know.

Activity 3.1.1

Let \(T : \IR^3 \rightarrow \IR^2\) be given by

\begin{equation*} T\left(\left[\begin{array}{c} x \\ y \\ z \end{array}\right] \right) = \left[\begin{array}{c} x-z \\ 3y \end{array}\right]. \end{equation*}

Part 4.

Compute the result of scalar multiplcation before a \(T\) transformation:

\begin{equation*} T\left(c\left[\begin{array}{c} x \\ y \\ z \end{array}\right] \right) = T\left(\left[\begin{array}{c} cx \\ cy \\ cz \end{array}\right] \right) \end{equation*}
  1. \(\displaystyle \left[\begin{array}{c} cx-cz\\ 3cy \end{array}\right]\)

  2. \(\displaystyle \left[\begin{array}{c} cx+cz \\ -3cy \end{array}\right]\)

  3. \(\displaystyle \left[\begin{array}{c} x+c \\ 3y+c \\ z+c \end{array}\right]\)

  4. \(\displaystyle \left[\begin{array}{c} x-c \\ 3y-c \\ z-c \end{array}\right]\)

Activity 3.1.1

Let \(T : \IR^3 \rightarrow \IR^2\) be given by

\begin{equation*} T\left(\left[\begin{array}{c} x \\ y \\ z \end{array}\right] \right) = \left[\begin{array}{c} x-z \\ 3y \end{array}\right]. \end{equation*}

Part 5.

Compute the result of scalar multiplcation after a \(T\) transformation:

\begin{equation*} cT\left(\left[\begin{array}{c} x \\ y \\ z \end{array}\right] \right) = c\left[\begin{array}{c} x-z \\ 3y \end{array}\right] \end{equation*}
  1. \(\displaystyle \left[\begin{array}{c} cx-cz\\ 3cy \end{array}\right]\)

  2. \(\displaystyle \left[\begin{array}{c} cx+cz \\ -3cy \end{array}\right]\)

  3. \(\displaystyle \left[\begin{array}{c} x+c \\ 3y+c \\ z+c \end{array}\right]\)

  4. \(\displaystyle \left[\begin{array}{c} x-c \\ 3y-c \\ z-c \end{array}\right]\)

Activity 3.1.1

Let \(T : \IR^3 \rightarrow \IR^2\) be given by

\begin{equation*} T\left(\left[\begin{array}{c} x \\ y \\ z \end{array}\right] \right) = \left[\begin{array}{c} x-z \\ 3y \end{array}\right]. \end{equation*}

Part 6.

Is \(T\) a linear transformation?

  1. Yes.

  2. No.

  3. More work is necessary to know.

Activity 3.1.2

Let \(S : \IR^2 \rightarrow \IR^4\) be given by

\begin{equation*} S\left(\left[\begin{array}{c} x \\ y \end{array}\right] \right) = \left[\begin{array}{c} x+y \\ x^2 \\ y+3 \\ y-2^x \end{array}\right] \end{equation*}

Part 1.

Compute

\begin{equation*} S\left( \left[\begin{array}{c} 0 \\ 1 \end{array}\right] + \left[\begin{array}{c} 2 \\ 3 \end{array}\right] \right) = S\left( \left[\begin{array}{c} 2 \\ 4 \end{array}\right] \right) \end{equation*}
  1. \(\displaystyle \left[\begin{array}{c} 6 \\ 4 \\ 7 \\ 0 \end{array}\right]\)

  2. \(\displaystyle \left[\begin{array}{c} -3 \\ 0 \\ 1 \\ 5 \end{array}\right]\)

  3. \(\displaystyle \left[\begin{array}{c} -3 \\ -1 \\ 7 \\ 5 \end{array}\right]\)

  4. \(\displaystyle \left[\begin{array}{c} 6 \\ 4 \\ 10 \\ -1 \end{array}\right]\)

Activity 3.1.2

Let \(S : \IR^2 \rightarrow \IR^4\) be given by

\begin{equation*} S\left(\left[\begin{array}{c} x \\ y \end{array}\right] \right) = \left[\begin{array}{c} x+y \\ x^2 \\ y+3 \\ y-2^x \end{array}\right] \end{equation*}

Part 2.

Compute

\begin{equation*} S\left( \left[\begin{array}{c} 0 \\ 1 \end{array}\right] \right) + S\left( \left[\begin{array}{c} 2 \\ 3 \end{array}\right] \right) = \left[\begin{array}{c} 0+1 \\ 0^2 \\ 1+3 \\ 1-2^0 \end{array}\right] + \left[\begin{array}{c} 2+3 \\ 2^2 \\ 3+3 \\ 3-2^2 \end{array}\right] \end{equation*}
  1. \(\displaystyle \left[\begin{array}{c} 6 \\ 4 \\ 7 \\ 0 \end{array}\right]\)

  2. \(\displaystyle \left[\begin{array}{c} -3 \\ 0 \\ 1 \\ 5 \end{array}\right]\)

  3. \(\displaystyle \left[\begin{array}{c} -3 \\ -1 \\ 7 \\ 5 \end{array}\right]\)

  4. \(\displaystyle \left[\begin{array}{c} 6 \\ 4 \\ 10 \\ -1 \end{array}\right]\)

Activity 3.1.2

Let \(S : \IR^2 \rightarrow \IR^4\) be given by

\begin{equation*} S\left(\left[\begin{array}{c} x \\ y \end{array}\right] \right) = \left[\begin{array}{c} x+y \\ x^2 \\ y+3 \\ y-2^x \end{array}\right] \end{equation*}

Part 3.

Is \(T\) a linear transformation?

  1. Yes.

  2. No.

  3. More work is necessary to know.

Activity 3.1.3

Fill in the \(\unknown\)s, assuming \(T:\mathbb R^3\to\mathbb R^3\) is linear:

\begin{equation*} T\left(\left[\begin{array}{c} 0 \\ 0 \\ 0 \end{array}\right]\right) = T\left(\unknown \left[\begin{array}{c} 1 \\ 1 \\ 1 \end{array}\right]\right) = \unknown T\left(\left[\begin{array}{c} 1 \\ 1 \\ 1 \end{array}\right]\right) = \left[\begin{array}{c} \unknown \\ \unknown \\ \unknown \end{array}\right] \end{equation*}

Remark 3.1.4

Showing \(T:V\to W\) is not a linear transformation can be done by finding an example for any one of the following.

  • Show \(T(\vec 0)\not=\vec 0\) (where \(\vec 0\) is the additive identity of \(V\) and \(W\)).

  • Find specific values for \(\vec v,\vec w\in V\) such that \(T(\vec v+\vec w)\not=T(\vec v)+T(\vec w)\text{.}\)

  • Find specific values for \(\vec v\in V\) and \(c\in \IR\) such that \(T(c\vec v)\not=cT(\vec v)\text{.}\)

Otherwise, \(T\) can be shown to be linear by proving both of the following in general.

  1. For all \(\vec v,\vec w\in V\text{,}\) \(T(\vec v+\vec w)=T(\vec v)+T(\vec w)\text{.}\)

  2. For all \(\vec v\in V\) and \(c\in \IR\text{,}\) \(T(c\vec v)=cT(\vec v)\text{.}\)

Note the similarities between this process and showing that a subset of a vector space is or is not a subspace (Remark 2.3.4 ).

Activity 3.1.4

Part 1.

Consider the following maps of Euclidean vectors \(P:\mathbb R^3\rightarrow\mathbb R^3\) and \(Q:\mathbb R^3\rightarrow\mathbb R^3\) defined by

\begin{equation*} P\left( \left[\begin{array}{c} x \\ y \\ z \end{array}\right] \right)= \left[\begin{array}{c} -2 \, x - 3 \, y - 3 \, z \\ 3 \, x + 4 \, y + 4 \, z \\ 3 \, x + 4 \, y + 5 \, z \end{array}\right] \hspace{1em} \text{and} \hspace{1em} Q\left( \left[\begin{array}{c} x \\ y \\ z \end{array}\right] \right)= \left[\begin{array}{c} x - 4 \, y + 9 \, z \\ y - 2 \, z \\ 8 \, y^{2} - 3 \, x z \end{array}\right]. \end{equation*}
Which do you suspect?
  1. \(P\) is linear, but \(Q\) is not.

  2. \(Q\) is linear, but \(P\) is not.

  3. Both maps are linear.

  4. Neither map is linear.

Activity 3.1.4

Part 2.

Consider the following map of Euclidean vectors \(S:\mathbb R^2\rightarrow\mathbb R^2\)

\begin{equation*} S\left( \left[\begin{array}{c} x \\ y \end{array}\right]\right)= \left[\begin{array}{c} x + 2 \, y \\ 9 \, x y \end{array}\right]. \end{equation*}
Prove that \(S\) is not a linear transformation.

Activity 3.1.4

Part 3.

Consider the following map of Euclidean vectors \(T:\mathbb R^2\rightarrow\mathbb R^2\)

\begin{equation*} T\left( \left[\begin{array}{c} x \\ y \end{array}\right] \right)= \left[\begin{array}{c} 8 \, x - 6 \, y \\ 6 \, x - 4 \, y \end{array}\right]. \end{equation*}
Prove that \(T\) is a linear transformation.