2 Transformation

Mathematics II · Unit 2 · 4 hrs

Transformation

Exam-focused notes for Transformation (Mathematics II, MTH168): what the TU syllabus asks and how it has actually been tested, with 9 solved past questions from this unit.

Transformation in short

This chapter treats a linear system from a different angle: not as a set of equations to solve, but as a transformation that carries one vector to another, and asks when that transformation can itself be represented by a matrix.

Transformation: notes

Introduction to linear transformations

A transformation (or function, or mapping) $T$ from $\mathbb{R}^n$ to $\mathbb{R}^m$ is a rule that assigns to every vector $\mathbf{x} \in \mathbb{R}^n$ a unique vector $T(\mathbf{x}) \in \mathbb{R}^m$. Here $\mathbb{R}^n$ is called the domain of $T$, $\mathbb{R}^m$ the codomain, and the set of all images $T(\mathbf{x})$ is the range of $T$. A transformation is linear if $$T(c\mathbf{v}) = cT(\mathbf{v}) \qquad \text{and} \qquad T(\mathbf{u} + \mathbf{v}) = T(\mathbf{u}) + T(\mathbf{v})$$ for all vectors $\mathbf{u}, \mathbf{v}$ in the domain and every scalar $c$. Every matrix $A$ of size $m \times n$ defines a linear transformation $T(\mathbf{x}) = A\mathbf{x}$ from $\mathbb{R}^n$ to $\mathbb{R}^m$, since $A(c\mathbf{v}) = cA\mathbf{v}$ and $A(\mathbf{u}+\mathbf{v}) = A\mathbf{u} + A\mathbf{v}$ by the properties of matrix multiplication. A useful consequence of linearity is that every linear transformation sends the zero vector to the zero vector, $T(\mathbf{0}) = \mathbf{0}$.

What this unit covers

  • Introduction to linear transformations
  • the matrix of a linear Transformation
  • Linear models in business, science, and engineering

Introduction to linear transformations

2080 · 10 marks

Define Linear Transformation with an Example

Let $A = \begin{bmatrix} 1 & -3 \ 3 & 5 \ -1 & 7 \end{bmatrix}$, $v = \begin{bmatrix} -2 \ 1 \end{bmatrix}$, $b = \begin{bmatrix} 3 \ 2 \ 1 \end{bmatrix}$, $x = \begin{bmatrix} x_1 \ x_2 \end{bmatrix}$, $T(x) = Ax$

a. Find $T(v)$

b. Find $x \in \mathbb{R}^2$ whose image under $T$ is $b$ [10]

Show solved answer

Linear Transformation: Definition, Example, and Solution

Given

$$A = \begin{bmatrix} 1 & -3 \ 3 & 5 \ -1 & 7 \end{bmatrix}, \quad v = \begin{bmatrix} -2 \ 1 \end{bmatrix}, \quad b = \begin{bmatrix} 3 \ 2 \ 1 \end{bmatrix}, \quad x = \begin{bmatrix} x_1 \ x_2 \end{bmatrix}, \quad T(x) = Ax$$


Definition of Linear Transformation

A transformation $T: \mathbb{R}^n \to \mathbb{R}^m$ is a linear transformation if for all $\mathbf{u}, \mathbf{v} \in \mathbb{R}^n$ and all scalars $c$:

  1. Additivity: $T(\mathbf{u} + \mathbf{v}) = T(\mathbf{u}) + T(\mathbf{v})$
  2. Homogeneity: $T(c\mathbf{v}) = c,T(\mathbf{v})$

Example: For any $m \times n$ matrix $A$, the map $T(\mathbf{x}) = A\mathbf{x}$ is a linear transformation (a matrix transformation).


Solution

Part (a): Find $T(v)$

$$T(v) = Av = \begin{bmatrix} 1 & -3 \ 3 & 5 \ -1 & 7 \end{bmatrix} \begin{bmatrix} -2 \ 1 \end{bmatrix}$$

  • Row 1: $(1)(-2) + (-3)(1) = -2 - 3 = -5$
  • Row 2: $(3)(-2) + (5)(1) = -6 + 5 = -1$
  • Row 3: $(-1)(-2) + (7)(1) = 2 + 7 = 9$

$$\boxed{T(v) = \begin{bmatrix} -5 \ -1 \ 9 \end{bmatrix}}$$


Part (b): Find $x \in \mathbb{R}^2$ with $T(x) = b$

Solve $Ax = b$:

$$\begin{bmatrix} 1 & -3 \ 3 & 5 \ -1 & 7 \end{bmatrix}\begin{bmatrix} x_1 \ x_2 \end{bmatrix} = \begin{bmatrix} 3 \ 2 \ 1 \end{bmatrix}$$

Augmented matrix:

$$\left[\begin{array}{cc|c} 1 & -3 & 3 \ 3 & 5 & 2 \ -1 & 7 & 1 \end{array}\right]$$

$R_2 \to R_2 - 3R_1$: $(0,\ 5+9,\ 2-9) = (0, 14, -7)$

$R_3 \to R_3 + R_1$: $(0,\ 7-3,\ 1+3) = (0, 4, 4)$

$$\left[\begin{array}{cc|c} 1 & -3 & 3 \ 0 & 14 & -7 \ 0 & 4 & 4 \end{array}\right]$$

$R_2 \to \tfrac{1}{14}R_2$: $(0, 1, -0.5)$

$R_3 \to R_3 - 4R_2$:

  • Col 2: $4 - 4(1) = 0$
  • Col 3 (RHS): $4 - 4(-0.5) = 4 + 2 = 6$

$$\left[\begin{array}{cc|c} 1 & -3 & 3 \ 0 & 1 & -0.5 \ 0 & 0 & 6 \end{array}\right]$$

The last row states $0 = 6$, which is impossible.

Verification of consistency using $R_3 - \frac{4}{14}R_2$ (before scaling): $$4 - \tfrac{4}{14}(-7) = 4 + 2 = 6 \neq 0$$

Same contradiction.

Conclusion: The system $Ax = b$ is inconsistent. There is no $x \in \mathbb{R}^2$ whose image under $T$ is $b = \begin{bmatrix} 3 \ 2 \ 1 \end{bmatrix}$.

Geometric reason: The columns of $A$ span at most a 2-dimensional subspace (plane) of $\mathbb{R}^3$. The vector $b$ does not lie in $\text{Col}(A)$, so $b$ is not in the range of $T$.

$$\boxed{\text{No solution: } b \text{ is not in the range of } T.}$$


State the conclusion: part (a) gives $T(v) = [-5, -1, 9]^T$, and the row reduction in part (b) reaches the contradiction $0 = 6$, so no such $x$ exists and the system is inconsistent.

Open this answer on its own page →

2079 · 10 marks

Define linear transformation with an example. Let $$A = \begin{bmatrix} 1 & -3 \ 3 & 5 \ -1 & 7 \end{bmatrix}, \quad v = \begin{bmatrix} 2 \ -1 \end{bmatrix}, \quad b = \begin{bmatrix} 3 \ 2 \ 4 \end{bmatrix}, \quad x = \begin{bmatrix} x_1 \ x_2 \end{bmatrix}$$

and define a transformation $T: \mathbb{R}^2 \to \mathbb{R}^3$ by $T(x) = Ax$ then

a. find $T(v)$

b. find $x \in \mathbb{R}^2$ whose image under $T$ is $b$ [10]

Show solved answer

Linear Transformation

Definition

A mapping $T: V \to W$ (where $V, W$ are vector spaces) is a linear transformation if for all vectors $\mathbf{u}, \mathbf{v}$ in $V$ and all scalars $c$:

  1. $T(\mathbf{u} + \mathbf{v}) = T(\mathbf{u}) + T(\mathbf{v})$
  2. $T(c\mathbf{v}) = c,T(\mathbf{v})$

Example: For any $m \times n$ matrix $A$, define $T(\mathbf{x}) = A\mathbf{x}$. This is linear since $A(\mathbf{u}+\mathbf{v}) = A\mathbf{u}+A\mathbf{v}$ and $A(c\mathbf{u}) = c(A\mathbf{u})$.

Given Data

$$A = \begin{bmatrix} 1 & -3 \ 3 & 5 \ -1 & 7 \end{bmatrix},\quad v = \begin{bmatrix} 2 \ -1 \end{bmatrix},\quad b = \begin{bmatrix} 3 \ 2 \ 4 \end{bmatrix},\quad x = \begin{bmatrix} x_1 \ x_2 \end{bmatrix}$$

Note: Since $A$ is $3\times 2$, the transformation is actually $T:\mathbb{R}^2 \to \mathbb{R}^3$ (the problem statement's $\mathbb{R}^2 \to \mathbb{R}^2$ is a typo).

Part (a): Find $T(v)$

$$T(v) = Av = \begin{bmatrix} 1 & -3 \ 3 & 5 \ -1 & 7 \end{bmatrix}\begin{bmatrix} 2 \ -1 \end{bmatrix}$$

  • Row 1: $(1)(2)+(-3)(-1) = 2+3 = 5$
  • Row 2: $(3)(2)+(5)(-1) = 6-5 = 1$
  • Row 3: $(-1)(2)+(7)(-1) = -2-7 = -9$

$$\boxed{T(v) = \begin{bmatrix} 5 \ 1 \ -9 \end{bmatrix}}$$

Part (b): Find $x$ with $T(x) = b$

Solve $Ax = b$ via the augmented matrix:

$$\left[\begin{array}{cc|c} 1 & -3 & 3 \ 3 & 5 & 2 \ -1 & 7 & 4 \end{array}\right]$$

$R_2 \to R_2 - 3R_1$: $[0,\ 14,\ -7]$ $R_3 \to R_3 + R_1$: $[0,\ 4,\ 7]$

$$\left[\begin{array}{cc|c} 1 & -3 & 3 \ 0 & 14 & -7 \ 0 & 4 & 7 \end{array}\right]$$

$R_2 \to \tfrac{1}{14}R_2$: $[0,\ 1,\ -\tfrac12]$

$R_3 \to R_3 - 4R_2$:

  • Column 2: $4 - 4(1) = 0$
  • RHS: $7 - 4(-\tfrac12) = 7 + 2 = 9$

$$\left[\begin{array}{cc|c} 1 & -3 & 3 \ 0 & 1 & -\frac{1}{2} \ 0 & 0 & 9 \end{array}\right]$$

The last row reads $0 = 9$, which is a contradiction.

Conclusion: The system $Ax = b$ is inconsistent. There is no $x \in \mathbb{R}^2$ whose image under $T$ equals $b = \begin{bmatrix}3\2\4\end{bmatrix}$; that is, $b$ is not in the range (column space) of $T$.

(Remark: A textbook-consistent version of this classic problem uses $b = \begin{bmatrix}3\2\-5\end{bmatrix}$, giving $x_1 = \tfrac32,\ x_2 = -\tfrac12$. With the stated $b = \begin{bmatrix}3\2\4\end{bmatrix}$, the system has no solution.)

Open this answer on its own page →

2078 · 10 marks

Define linear transformation with an example. Let $A = \begin{bmatrix} 1 & -3 \ 3 & 5 \ -1 & 7 \end{bmatrix}$, $v = \begin{bmatrix} 2 \ -1 \end{bmatrix}$, $b = \begin{bmatrix} 3 \ 2 \ 4 \end{bmatrix}$, $x = \begin{bmatrix} x_1 \ x_2 \end{bmatrix}$ and define a transformation $T: \mathbb{R}^2 \to \mathbb{R}^3$ by $T(x) = Ax$ then

a. find $T(v)$

b. find $x \in \mathbb{R}^2$ whose image under $T$ is $b$ [10+0]

Show solved answer

Linear Transformation: Definition, Example, and Solution

Definition

A transformation $T: \mathbb{R}^n \to \mathbb{R}^m$ is a linear transformation if for all vectors $\mathbf{u}, \mathbf{v} \in \mathbb{R}^n$ and all scalars $c$:

  1. $T(\mathbf{u} + \mathbf{v}) = T(\mathbf{u}) + T(\mathbf{v})$
  2. $T(c\mathbf{u}) = c,T(\mathbf{u})$

Example: For any $m \times n$ matrix $A$, the map $T(\mathbf{x}) = A\mathbf{x}$ is a linear transformation.


Given

$$A = \begin{bmatrix} 1 & -3 \ 3 & 5 \ -1 & 7 \end{bmatrix}, \quad v = \begin{bmatrix} 2 \ -1 \end{bmatrix}, \quad b = \begin{bmatrix} 3 \ 2 \ 4 \end{bmatrix}, \quad x = \begin{bmatrix} x_1 \ x_2 \end{bmatrix}$$

$T(\mathbf{x}) = A\mathbf{x}$.

Note: Since $A$ is $3 \times 2$, the map is actually $T:\mathbb{R}^2 \to \mathbb{R}^3$ (the problem statement's "$\mathbb{R}^2$" codomain is a typo). I use $\mathbb{R}^3$ as the codomain.


Solution

Part (a): $T(v) = Av$

$$T(v) = \begin{bmatrix} 1 & -3 \ 3 & 5 \ -1 & 7 \end{bmatrix}\begin{bmatrix} 2 \ -1 \end{bmatrix}$$

  • Row 1: $(1)(2) + (-3)(-1) = 2 + 3 = 5$
  • Row 2: $(3)(2) + (5)(-1) = 6 - 5 = 1$
  • Row 3: $(-1)(2) + (7)(-1) = -2 - 7 = -9$

$$\boxed{T(v) = \begin{bmatrix} 5 \ 1 \ -9 \end{bmatrix}}$$

Part (b): Solve $Ax = b$

$$\left[\begin{array}{cc|c} 1 & -3 & 3 \ 3 & 5 & 2 \ -1 & 7 & 4 \end{array}\right]$$

$R_2 \to R_2 - 3R_1$, $R_3 \to R_3 + R_1$:

$$\left[\begin{array}{cc|c} 1 & -3 & 3 \ 0 & 14 & -7 \ 0 & 4 & 7 \end{array}\right]$$

$R_2 \to \tfrac{1}{14}R_2$:

$$\left[\begin{array}{cc|c} 1 & -3 & 3 \ 0 & 1 & -\tfrac{1}{2} \ 0 & 4 & 7 \end{array}\right]$$

$R_3 \to R_3 - 4R_2$:

$$R_3 = \left[0,; 4 - 4(1),; 7 - 4\left(-\tfrac{1}{2}\right)\right] = \left[0,; 0,; 7 + 2\right] = [0,;0,;9]$$

$$\left[\begin{array}{cc|c} 1 & -3 & 3 \ 0 & 1 & -\tfrac{1}{2} \ 0 & 0 & 9 \end{array}\right]$$

The last row states $0 = 9$, which is impossible.

Conclusion: The system $Ax = b$ is inconsistent. There is no $x \in \mathbb{R}^2$ whose image under $T$ equals $b = [3,;2,;4]^T$. Equivalently, $b$ is not in the range (column space) of $A$.

Verification. A candidate sometimes quoted for this system is $x_1 = 1.5,\ x_2 = -0.5$. Testing it: $$A\begin{bmatrix}1.5\-0.5\end{bmatrix} = \begin{bmatrix}(1)(1.5)+(-3)(-0.5)\(3)(1.5)+(5)(-0.5)\(-1)(1.5)+(7)(-0.5)\end{bmatrix} = \begin{bmatrix}3\2\-5\end{bmatrix} \neq \begin{bmatrix}3\2\4\end{bmatrix}.$$

The first two equations are satisfied but the third gives $-5 \ne 4$, confirming there is no solution.


Final Answers

  • (a) $T(v) = [5,\ 1,\ -9]^T$
  • (b) No solution exists; $Ax = b$ is inconsistent ($b$ is not in the column space of $A$).
Open this answer on its own page →

2078 · 5 marks

Let $A = \begin{bmatrix} 0 & 1 \ -1 & 0 \end{bmatrix}$ and define $T: \mathbb{R}^2 \to \mathbb{R}^2$ by $T(x) = Ax$. Find the image under $T$ of $u = \begin{bmatrix} 1 \ -3 \end{bmatrix}$ and $v = \begin{bmatrix} 1 \ 5 \end{bmatrix}$. [5]

Show solved answer

Image of Vectors Under Linear Transformation $T(x) = Ax$

Given

$$A = \begin{bmatrix} 0 & 1 \ -1 & 0 \end{bmatrix}, \quad u = \begin{bmatrix} 1 \ -3 \end{bmatrix}, \quad v = \begin{bmatrix} 1 \ 5 \end{bmatrix}$$

Transformation: $T(x) = Ax$, with $T:\mathbb{R}^2 \to \mathbb{R}^2$.


Solution

Finding $T(u)$

$$T(u) = Au = \begin{bmatrix} 0 & 1 \ -1 & 0 \end{bmatrix} \begin{bmatrix} 1 \ -3 \end{bmatrix}$$

  • Row 1: $(0)(1) + (1)(-3) = -3$
  • Row 2: $(-1)(1) + (0)(-3) = -1$

$$T(u) = \begin{bmatrix} -3 \ -1 \end{bmatrix}$$

Finding $T(v)$

$$T(v) = Av = \begin{bmatrix} 0 & 1 \ -1 & 0 \end{bmatrix} \begin{bmatrix} 1 \ 5 \end{bmatrix}$$

  • Row 1: $(0)(1) + (1)(5) = 5$
  • Row 2: $(-1)(1) + (0)(5) = -1$

$$T(v) = \begin{bmatrix} 5 \ -1 \end{bmatrix}$$


Summary

VectorImage under $T$
$u = \begin{bmatrix} 1 \ -3 \end{bmatrix}$$T(u) = \begin{bmatrix} -3 \ -1 \end{bmatrix}$
$v = \begin{bmatrix} 1 \ 5 \end{bmatrix}$$T(v) = \begin{bmatrix} 5 \ -1 \end{bmatrix}$

Note on geometry: The matrix $A = \begin{bmatrix} 0 & 1 \ -1 & 0 \end{bmatrix}$ rotates each vector by $90°$ clockwise. (A standard $90°$ counterclockwise rotation matrix is $\begin{bmatrix} 0 & -1 \ 1 & 0 \end{bmatrix}$; the transpose form here gives clockwise rotation.)

Open this answer on its own page →

2075 · 5 marks

Define linear transformation with an example. Is a transformation T(x, y) = (3x + y, 5x + 7y, x+3y) linear? Justify. [5]

A transformation T: V → W is called a linear transformation if it satisfies the following two properties for all vectors u, v in the domain and all scalars c: 1. Additivity: T(u + v) = T(u) + T(v) 2. Homogeneity: T(cv) = c · T(v) The set ℝⁿ is called the domain of T, ℝᵐ is called the codomain, an...

Open this answer on its own page →

the matrix of a linear Transformation

2079 · 5 marks

The columns of $I_2 = \begin{bmatrix} 1 & 0 \ 0 & 1 \end{bmatrix}$ are $e_1 = \begin{bmatrix} 1 \ 0 \end{bmatrix}$ and $e_2 = \begin{bmatrix} 0 \ 1 \end{bmatrix}$. Suppose $T$ is a linear transformation from $\mathbb{R}^2$ into $\mathbb{R}^3$ such that $T(e_1) = \begin{bmatrix} 5 \ 1 \ -2 \end{bmatrix}$, $T(e_2) = \begin{bmatrix} 0 \ -1 \ 8 \end{bmatrix}$

Find a formula for the image of an arbitrary $x$ in $\mathbb{R}^2$. That is, find $T(x)$ for $x$ in $\mathbb{R}^2$. [2.5+2.5]

  • Standard basis vectors: $e1 = \begin{bmatrix} 1 \ 0 \end{bmatrix}$, $e2 = \begin{bmatrix} 0 \ 1 \end{bmatrix}$ - $T: \mathbb{R}^2 \to \mathbb{R}^3$ linear - $T(e1) = \begin{bmatrix} 5 \ 1 \ -2 \end{bmatrix}$ - $T(e2) = \begin{bmatrix} 0 \ -1 \ 8 \end{bmatrix}$ Required: formula for $T(x)$...
Open this answer on its own page →

2076 · 10 marks

Finding Standard Matrices of Linear Transformations

The problem has three separate parts (the codomain labels for parts 2 and 3 are printed as $\mathbb{R}^4$, but the descriptions are the standard $2\times2$ transformations; see notes below). Part 1: $T:\mathbb{R}^2\to\mathbb{R}^4$, with - $T(\mathbf{e}1)=(3,1,3,1)$ - $T(\mathbf{e}2)=(-5,2,0,0)$ -...

Open this answer on its own page →

2076 · 5 marks

Let us define a linear transformation $T: \mathbb{R}^2 \to \mathbb{R}^2$ by $T(x) = \begin{bmatrix} 0 & -1 \ 1 & 0 \end{bmatrix} \begin{bmatrix} x_1 \ x_2 \end{bmatrix} = \begin{bmatrix} -x_2 \ x_1 \end{bmatrix}$. Find the image under $T$ of $u = \begin{bmatrix} 4 \ 1 \end{bmatrix}$, $v = \begin{bmatrix} 2 \ 3 \end{bmatrix}$ and $u + v = \begin{bmatrix} 6 \ 4 \end{bmatrix}$. [5]

Show solved answer

Given Data

Linear transformation $T:\mathbb{R}^2 \to \mathbb{R}^2$: $$T(x) = \begin{bmatrix} 0 & -1 \ 1 & 0 \end{bmatrix}\begin{bmatrix} x_1 \ x_2 \end{bmatrix} = \begin{bmatrix} -x_2 \ x_1 \end{bmatrix}$$

Vectors:

  • $u = \begin{bmatrix} 4 \ 1 \end{bmatrix}$
  • $v = \begin{bmatrix} 2 \ 3 \end{bmatrix}$
  • $u+v = \begin{bmatrix} 6 \ 4 \end{bmatrix}$

Step 1: Image of $u$

With $x_1 = 4$, $x_2 = 1$: $$T(u) = \begin{bmatrix} -x_2 \ x_1 \end{bmatrix} = \begin{bmatrix} -1 \ 4 \end{bmatrix}$$

Step 2: Image of $v$

With $x_1 = 2$, $x_2 = 3$: $$T(v) = \begin{bmatrix} -3 \ 2 \end{bmatrix}$$

Step 3: Image of $u+v$

With $x_1 = 6$, $x_2 = 4$: $$T(u+v) = \begin{bmatrix} -4 \ 6 \end{bmatrix}$$


Verification (Linearity)

$$T(u) + T(v) = \begin{bmatrix} -1 \ 4 \end{bmatrix} + \begin{bmatrix} -3 \ 2 \end{bmatrix} = \begin{bmatrix} -4 \ 6 \end{bmatrix} = T(u+v)\ \checkmark$$

Summary

VectorImage
$u$$\begin{bmatrix} -1 \ 4 \end{bmatrix}$
$v$$\begin{bmatrix} -3 \ 2 \end{bmatrix}$
$u+v$$\begin{bmatrix} -4 \ 6 \end{bmatrix}$

This matrix effects a $90^\circ$ counterclockwise rotation.

Open this answer on its own page →

2080.1 · 10 marks

define a transformation $T:\mathbb{R}^3 \to \mathbb{R}^2$ by $T(x) = Ax$ where

$$A = \begin{bmatrix} 1 & -5 & -7 \ -3 & 7 & 5 \end{bmatrix}, \quad u = \begin{bmatrix} 1 \ 2 \ 3 \end{bmatrix}, \quad b = \begin{bmatrix} -2 \ -2 \end{bmatrix}, \quad T(x) = Ax$$

a. Find $T(u)$

b. Find $x \in \mathbb{R}^3$ whose image under $T$ is $b$

c. Is $x$ unique?

[10]

$$A = \begin{bmatrix} 1 & -5 & -7 \ -3 & 7 & 5 \end{bmatrix}, \quad u = \begin{bmatrix} 1 \ 2 \ 3 \end{bmatrix}, \quad b = \begin{bmatrix} -2 \ -2 \end{bmatrix}, \quad T(x) = Ax$$ --- $$T(u) = Au = \begin{bmatrix} 1 & -5 & -7 \ -3 & 7 & 5 \end{bmatrix} \begin{bmatrix} 1 \ 2 \ 3 \end{bmatri...

Open this answer on its own page →