AM10 - Lecture - Module C - Complete

Table of contents

  1. LTC1: Linear maps
  2. LTC2: Defining Linear Maps via Their Action on a Basis
  3. LTC3: The Matrix of a Linear Map
  4. LTC4: Function Domain, Target, Range, and Kernel
  5. LTC5: “Onto” Functions and Rank
  6. LTC6: “One-to-One” Functions and Nullity
  7. Linear Maps on Polynomials (Skip in Lecture)
  8. Geometric Transformations via Linear Maps (Skip in Lecture)

1. LTC1: Linear maps

1.1 Definition of a linear function

A function f:V1→V2f: V_1 \rightarrow V_2 between two vector spaces V1V_1 and V2V_2 is defined as linear if it satisfies two conditions for all vectors x⃗,y⃗∈V1\vec{x}, \vec{y} \in V_1 and any scalar s∈Rs \in \mathbb{R}:

  • Additivity: f(x⃗+y⃗)=f(x⃗)+f(y⃗)f(\vec{x} + \vec{y}) = f(\vec{x}) + f(\vec{y})
  • Scalar multiplication: f(s⋅x⃗)=s⋅f(x⃗)f(s \cdot \vec{x}) = s \cdot f(\vec{x})

These two conditions can be combined into a single equivalent condition: for all x⃗,y⃗∈V1\vec{x}, \vec{y} \in V_1 and scalars a,b∈Ra, b \in \mathbb{R}, the function must satisfy f(ax⃗+by⃗)=af(x⃗)+bf(y⃗)f(a\vec{x} + b\vec{y}) = af(\vec{x}) + bf(\vec{y}). This means that linear functions preserve linear combinations of vectors 3.

1.2 Example of a linear transformation on R2

Consider the function T:R2→R2T: \mathbb{R}^2 \rightarrow \mathbb{R}^2 defined by T(x⃗)=[2−1][x1x2]T(\vec{x}) = \begin{bmatrix} 2 & -1 \end{bmatrix} \begin{bmatrix} x_1 \\ x_2 \end{bmatrix} for any vector x⃗=(x1,x2)∈R2\vec{x} = (x_1, x_2) \in \mathbb{R}^2 4.

1.3 Showing T is linear

To show that TT is linear, we verify the two conditions:

  • Additivity: For any x⃗=(x1,x2)∈R2\vec{x} = (x_1, x_2) \in \mathbb{R}^2 and y⃗=(y1,y2)∈R2\vec{y} = (y_1, y_2) \in \mathbb{R}^2: T(x⃗+y⃗)=[2−1](x⃗+y⃗)=[2−1]x⃗+[2−1]y⃗=T(x⃗)+T(y⃗)T(\vec{x} + \vec{y}) = \begin{bmatrix} 2 & -1 \end{bmatrix} (\vec{x} + \vec{y}) = \begin{bmatrix} 2 & -1 \end{bmatrix} \vec{x} + \begin{bmatrix} 2 & -1 \end{bmatrix} \vec{y} = T(\vec{x}) + T(\vec{y}).
  • Scalar multiplication: For any x⃗=(x1,x2)∈R2\vec{x} = (x_1, x_2) \in \mathbb{R}^2 and scalar s∈Rs \in \mathbb{R}: T(sx⃗)=[2−1](sx⃗)=s[2−1]x⃗=sT(x⃗)T(s\vec{x}) = \begin{bmatrix} 2 & -1 \end{bmatrix} (s\vec{x}) = s \begin{bmatrix} 2 & -1 \end{bmatrix} \vec{x} = sT(\vec{x}). Since both conditions are met, TT is a linear function 4.

1.4 Computing outputs of T

We can compute the output of TT for specific input vectors:

  • T([10])=[2−1][10]=[20]T\left(\begin{bmatrix} 1 \\ 0 \end{bmatrix}\right) = \begin{bmatrix} 2 & -1 \end{bmatrix} \begin{bmatrix} 1 \\ 0 \end{bmatrix} = \begin{bmatrix} 2 \\ 0 \end{bmatrix}
  • T([01])=[2−1][01]=[−10]T\left(\begin{bmatrix} 0 \\ 1 \end{bmatrix}\right) = \begin{bmatrix} 2 & -1 \end{bmatrix} \begin{bmatrix} 0 \\ 1 \end{bmatrix} = \begin{bmatrix} -1 \\ 0 \end{bmatrix}

Using the linearity properties, we can compute other outputs:

  • T([20])=T(2[10])=2T([10])=2[20]=[40]T\left(\begin{bmatrix} 2 \\ 0 \end{bmatrix}\right) = T\left(2 \begin{bmatrix} 1 \\ 0 \end{bmatrix}\right) = 2T\left(\begin{bmatrix} 1 \\ 0 \end{bmatrix}\right) = 2 \begin{bmatrix} 2 \\ 0 \end{bmatrix} = \begin{bmatrix} 4 \\ 0 \end{bmatrix}
  • T([30])=T(3[10])=3T([10])=3[20]=[60]T\left(\begin{bmatrix} 3 \\ 0 \end{bmatrix}\right) = T\left(3 \begin{bmatrix} 1 \\ 0 \end{bmatrix}\right) = 3T\left(\begin{bmatrix} 1 \\ 0 \end{bmatrix}\right) = 3 \begin{bmatrix} 2 \\ 0 \end{bmatrix} = \begin{bmatrix} 6 \\ 0 \end{bmatrix} T([21])=T(2[10]+1[01])=2T([10])+1T([01])=2[20]+[−10]=[40]+[−10]=[30]T\left(\begin{bmatrix} 2 \\ 1 \end{bmatrix}\right) = T\left(2 \begin{bmatrix} 1 \\ 0 \end{bmatrix} + 1 \begin{bmatrix} 0 \\ 1 \end{bmatrix}\right) = 2T\left(\begin{bmatrix} 1 \\ 0 \end{bmatrix}\right) + 1T\left(\begin{bmatrix} 0 \\ 1 \end{bmatrix}\right) = 2 \begin{bmatrix} 2 \\ 0 \end{bmatrix} + \begin{bmatrix} -1 \\ 0 \end{bmatrix} = \begin{bmatrix} 4 \\ 0 \end{bmatrix} + \begin{bmatrix} -1 \\ 0 \end{bmatrix} = \begin{bmatrix} 3 \\ 0 \end{bmatrix} 5.

📝 The function T(x⃗)=[2−1][x1x2]T(\vec{x}) = \begin{bmatrix} 2 & -1 \end{bmatrix} \begin{bmatrix} x_1 \\ x_2 \end{bmatrix} maps the vector [21]\begin{bmatrix} 2 \\ 1 \end{bmatrix} to [30]\begin{bmatrix} 3 \\ 0 \end{bmatrix} by applying the linear transformation 5.

1.5 Matrices define linear maps

Every matrix AA defines a linear map TA:Rn→RmT_A: \mathbb{R}^n \rightarrow \mathbb{R}^m through the action TA(x⃗):=Ax⃗T_A(\vec{x}):= A\vec{x} 6.

2. LTC2: Defining Linear Maps via Their Action on a Basis

2.1 Defining a linear map by its action on a basis

A linear map T:V→WT: V \to W can be uniquely defined by specifying its action on a basis of the vector space VV. If B={v1,v2,…,vn}\mathcal{B} = \{\mathbf{v}_1, \mathbf{v}_2, \dots, \mathbf{v}_n\} is a basis for VV, then for any vector x∈V\mathbf{x} \in V, we can write x\mathbf{x} as a linear combination of the basis vectors: x=x1v1+x2v2+⋯+xnvn\mathbf{x} = x_1\mathbf{v}_1 + x_2\mathbf{v}_2 + \dots + x_n\mathbf{v}_n.

Due to the linearity property of TT, its action on x\mathbf{x} is given by: T(x)=T(x1v1+x2v2+⋯+xnvn)=x1T(v1)+x2T(v2)+⋯+xnT(vn)T(\mathbf{x}) = T(x_1\mathbf{v}_1 + x_2\mathbf{v}_2 + \dots + x_n\mathbf{v}_n) = x_1T(\mathbf{v}_1) + x_2T(\mathbf{v}_2) + \dots + x_nT(\mathbf{v}_n). This means that if we know the images of the basis vectors under TT, we can compute the image of any vector in VV 7 10 12.

📝 Let T:R2→R2T: \mathbb{R}^2 \to \mathbb{R}^2 be a linear map defined by its action on the standard basis vectors e1\mathbf{e}_1 and e2\mathbf{e}_2: T(e1)=2e1+e2T(\mathbf{e}_1) = 2\mathbf{e}_1 + \mathbf{e}_2 T(e2)=−e1+2e2T(\mathbf{e}_2) = -\mathbf{e}_1 + 2\mathbf{e}_2

To find T(x)T(\mathbf{x}) for x=2e1+e2\mathbf{x} = 2\mathbf{e}_1 + \mathbf{e}_2: T(x)=T(2e1+e2)=2T(e1)+T(e2)T(\mathbf{x}) = T(2\mathbf{e}_1 + \mathbf{e}_2) = 2T(\mathbf{e}_1) + T(\mathbf{e}_2) =2(2e1+e2)+(−e1+2e2)= 2(2\mathbf{e}_1 + \mathbf{e}_2) + (-\mathbf{e}_1 + 2\mathbf{e}_2) =4e1+2e2−e1+2e2= 4\mathbf{e}_1 + 2\mathbf{e}_2 - \mathbf{e}_1 + 2\mathbf{e}_2 =3e1+4e2= 3\mathbf{e}_1 + 4\mathbf{e}_2

So, T(x)=3e1+4e2T(\mathbf{x}) = 3\mathbf{e}_1 + 4\mathbf{e}_2 7.

2.2 Computing the image of a vector

Given a linear map TT and a vector x\mathbf{x} expressed in terms of a basis B={v1,…,vn}\mathcal{B} = \{\mathbf{v}_1, \dots, \mathbf{v}_n\}, where x=x1v1+⋯+xnvn\mathbf{x} = x_1\mathbf{v}_1 + \dots + x_n\mathbf{v}_n, the image T(x)T(\mathbf{x}) can be computed by applying the linearity property: T(x)=x1T(v1)+⋯+xnT(vn)T(\mathbf{x}) = x_1T(\mathbf{v}_1) + \dots + x_nT(\mathbf{v}_n). The vectors T(vi)T(\mathbf{v}_i) are known from the definition of the linear map 9 10 11.

📝 Consider a linear map TT acting on a basis B={[10],[01]}\mathcal{B} = \{\begin{bmatrix} 1 \\ 0 \end{bmatrix}, \begin{bmatrix} 0 \\ 1 \end{bmatrix}\} such that: T([10])=[35]T\left(\begin{bmatrix} 1 \\ 0 \end{bmatrix}\right) = \begin{bmatrix} 3 \\ 5 \end{bmatrix} T([01])=[−12]T\left(\begin{bmatrix} 0 \\ 1 \end{bmatrix}\right) = \begin{bmatrix} -1 \\ 2 \end{bmatrix}

To compute T([4−2])T\left(\begin{bmatrix} 4 \\ -2 \end{bmatrix}\right): [4−2]=4[10]+(−2)[01]\begin{bmatrix} 4 \\ -2 \end{bmatrix} = 4\begin{bmatrix} 1 \\ 0 \end{bmatrix} + (-2)\begin{bmatrix} 0 \\ 1 \end{bmatrix} T([4−2])=4T([10])−2T([01])T\left(\begin{bmatrix} 4 \\ -2 \end{bmatrix}\right) = 4T\left(\begin{bmatrix} 1 \\ 0 \end{bmatrix}\right) - 2T\left(\begin{bmatrix} 0 \\ 1 \end{bmatrix}\right) =4[35]−2[−12]=[1220]−[−24]=[1416]= 4\begin{bmatrix} 3 \\ 5 \end{bmatrix} - 2\begin{bmatrix} -1 \\ 2 \end{bmatrix} = \begin{bmatrix} 12 \\ 20 \end{bmatrix} - \begin{bmatrix} -2 \\ 4 \end{bmatrix} = \begin{bmatrix} 14 \\ 16 \end{bmatrix} 9.

2.3 Finding the general form of T(x)T(\mathbf{x})

For any vector x=x1v1+⋯+xnvn\mathbf{x} = x_1\mathbf{v}_1 + \dots + x_n\mathbf{v}_n, its image under a linear map TT is given by T(x)=x1T(v1)+⋯+xnT(vn)T(\mathbf{x}) = x_1T(\mathbf{v}_1) + \dots + x_nT(\mathbf{v}_n). By substituting the known expressions for T(vi)T(\mathbf{v}_i), we can derive a general formula for T(x)T(\mathbf{x}) in terms of the coordinates xix_i.

This often results in an expression where T(x)T(\mathbf{x}) is a linear combination of the basis vectors of the codomain, with coefficients depending on xix_i 9 12.

📝 For the linear map and basis from the previous example, the general form of T([x1x2])T\left(\begin{bmatrix} x_1 \\ x_2 \end{bmatrix}\right) is: T([x1x2])=x1T([10])+x2T([01])T\left(\begin{bmatrix} x_1 \\ x_2 \end{bmatrix}\right) = x_1T\left(\begin{bmatrix} 1 \\ 0 \end{bmatrix}\right) + x_2T\left(\begin{bmatrix} 0 \\ 1 \end{bmatrix}\right) =x1[35]+x2[−12]=[3x1−x25x1+2x2]= x_1\begin{bmatrix} 3 \\ 5 \end{bmatrix} + x_2\begin{bmatrix} -1 \\ 2 \end{bmatrix} = \begin{bmatrix} 3x_1 - x_2 \\ 5x_1 + 2x_2 \end{bmatrix} 9.

2.4 The matrix of a linear map

The matrix of a linear map T:V→WT: V \to W relative to a basis V={v1,…,vn}\mathcal{V} = \{\mathbf{v}_1, \dots, \mathbf{v}_n\} for VV and a basis W={w1,…,wm}\mathcal{W} = \{\mathbf{w}_1, \dots, \mathbf{w}_m\} for WW is an m×nm \times n matrix AA. The columns of AA are the coordinate vectors of the images of the basis vectors of VV with respect to the basis W\mathcal{W}.

Specifically, if T(vj)=a1jw1+a2jw2+⋯+amjwmT(\mathbf{v}_j) = a_{1j}\mathbf{w}_1 + a_{2j}\mathbf{w}_2 + \dots + a_{mj}\mathbf{w}_m, then the jj-th column of AA is [T(vj)]W=[a1ja2j⋮amj][T(\mathbf{v}_j)]_{\mathcal{W}} = \begin{bmatrix} a_{1j} \\ a_{2j} \\ \vdots \\ a_{mj} \end{bmatrix}. This matrix AA allows us to compute the coordinate vector of T(y)T(\mathbf{y}) relative to W\mathcal{W} from the coordinate vector of y\mathbf{y} relative to V\mathcal{V} using the equation [T(y)]W=A[y]V[T(\mathbf{y})]_{\mathcal{W}} = A[\mathbf{y}]_{\mathcal{V}} 13.

Basis for VBasis for WMatrix A of TRelationship
V={v1,…,vn}\mathcal{V} = \{\mathbf{v}_1, \dots, \mathbf{v}_n\}W={w1,…,wm}\mathcal{W} = \{\mathbf{w}_1, \dots, \mathbf{w}_m\}AA is an m×nm \times n matrix where the jj-th column is [T(vj)]W[T(\mathbf{v}_j)]_{\mathcal{W}}[T(y)]W=A[y]V[T(\mathbf{y})]_{\mathcal{W}} = A[\mathbf{y}]_{\mathcal{V}} for any y∈V\mathbf{y} \in V

📝 Consider a linear map T:V→R2T: V \to \mathbb{R}^2 with basis V={v1,v2}\mathcal{V} = \{\mathbf{v}_1, \mathbf{v}_2\} and basis W={w1,w2}\mathcal{W} = \{\mathbf{w}_1, \mathbf{w}_2\} for R2\mathbb{R}^2. T(v1)=3w1−2w2T(\mathbf{v}_1) = 3\mathbf{w}_1 - 2\mathbf{w}_2 T(v2)=w1+2w2T(\mathbf{v}_2) = \mathbf{w}_1 + 2\mathbf{w}_2

The matrix AA of TT relative to V\mathcal{V} and W\mathcal{W} has columns formed by the coordinates of T(v1)T(\mathbf{v}_1) and T(v2)T(\mathbf{v}_2) in basis W\mathcal{W}: [T(v1)]W=[3−2][T(\mathbf{v}_1)]_{\mathcal{W}} = \begin{bmatrix} 3 \\ -2 \end{bmatrix} [T(v2)]W=[12][T(\mathbf{v}_2)]_{\mathcal{W}} = \begin{bmatrix} 1 \\ 2 \end{bmatrix}

Thus, the matrix AA is: A=[31−22]A = \begin{bmatrix} 3 & 1 \\ -2 & 2 \end{bmatrix}

If y=y1v1+y2v2\mathbf{y} = y_1\mathbf{v}_1 + y_2\mathbf{v}_2, then [y]V=[y1y2][\mathbf{y}]_{\mathcal{V}} = \begin{bmatrix} y_1 \\ y_2 \end{bmatrix}. The coordinates of T(y)T(\mathbf{y}) relative to W\mathcal{W} are: [T(y)]W=A[y]V=[31−22][y1y2]=[3y1+y2−2y1+2y2][T(\mathbf{y})]_{\mathcal{W}} = A[\mathbf{y}]_{\mathcal{V}} = \begin{bmatrix} 3 & 1 \\ -2 & 2 \end{bmatrix} \begin{bmatrix} y_1 \\ y_2 \end{bmatrix} = \begin{bmatrix} 3y_1 + y_2 \\ -2y_1 + 2y_2 \end{bmatrix} 13.

3. LTC3: The Matrix of a Linear Map

3.1 Definition of the matrix of a linear map

The matrix of a linear map T:V→WT: V \to W relative to a basis V={v⃗1,…,v⃗n}\mathcal{V} = \{\vec{v}_1, \dots, \vec{v}_n\} for VV and a basis W={w⃗1,…,w⃗m}\mathcal{W} = \{\vec{w}_1, \dots, \vec{w}_m\} for WW is an m×nm \times n matrix AA. This matrix is constructed by taking the coordinate vectors of the images of the basis vectors of VV with respect to the basis W\mathcal{W} of WW.

These coordinate vectors form the columns of the matrix AA.

  • Matrix of a linear map TT: For T:V→WT: V \to W, with basis V={v⃗1,…,v⃗n}\mathcal{V} = \{\vec{v}_1, \dots, \vec{v}_n\} for VV and basis W={w⃗1,…,w⃗m}\mathcal{W} = \{\vec{w}_1, \dots, \vec{w}_m\} for WW, the matrix AA is defined as: A=[[T(v⃗1)]W[T(v⃗2)]W⋯[T(v⃗n)]W]∈Rm×nA = \begin{bmatrix} [T(\vec{v}_1)]_\mathcal{W} & [T(\vec{v}_2)]_\mathcal{W} & \cdots & [T(\vec{v}_n)]_\mathcal{W} \end{bmatrix} \in \mathbb{R}^{m \times n}.
  • [T(v⃗i)]W[T(\vec{v}_i)]_\mathcal{W} represents the coordinate vector of T(v⃗i)T(\vec{v}_i) with respect to the basis W\mathcal{W} 14.

3.2 Transforming coordinate vectors

The matrix AA of a linear map TT relative to bases V\mathcal{V} and W\mathcal{W} has the property that it transforms the coordinate vector of any vector x⃗\vec{x} in VV with respect to V\mathcal{V} into the coordinate vector of T(x⃗)T(\vec{x}) with respect to W\mathcal{W}. This relationship is fundamental to how matrices represent linear transformations between vector spaces.

  • Transformation property: The matrix AA of TT relative to V\mathcal{V} and W\mathcal{W} satisfies the equation: [T(x⃗)]W=A[x⃗]V[T(\vec{x})]_\mathcal{W} = A [\vec{x}]_\mathcal{V}.
  • Let [x⃗]V=(c1,c2,…,cn)[\vec{x}]_\mathcal{V} = (c_1, c_2, \dots, c_n).
  • Then T(x⃗)=c1T(v⃗1)+c2T(v⃗2)+⋯+cnT(v⃗n)T(\vec{x}) = c_1 T(\vec{v}_1) + c_2 T(\vec{v}_2) + \dots + c_n T(\vec{v}_n).
  • The coordinate vector [T(x⃗)]W[T(\vec{x})]_\mathcal{W} is obtained by the linear combination of the coordinate vectors of T(v⃗i)T(\vec{v}_i) with coefficients cic_i.
  • This results in the matrix multiplication: [T(x⃗)]W=[[T(v⃗1)]W⋯[T(v⃗n)]W][c1⋮cn][T(\vec{x})]_{\mathcal{W}} = \begin{bmatrix} [T(\vec{v}_1)]_\mathcal{W} & \cdots & [T(\vec{v}_n)]_\mathcal{W} \end{bmatrix} \begin{bmatrix} c_1 \\ \vdots \\ c_n \end{bmatrix} 15.

3.3 Example: Rotation matrix

Consider a linear map TT representing a rotation by 90 degrees counter-clockwise around the origin in R2\mathbb{R}^2. We can find the matrix of this transformation relative to a given basis and use it to determine the coordinates of a transformed vector.

  • Rotation by 90 degrees counter-clockwise: Let TT be this rotation.
  • Let the basis be B={b⃗1,b⃗2}\mathcal{B} = \{\vec{b}_1, \vec{b}_2\}.
  • The transformation of the basis vectors are T(b⃗1)=0⋅b⃗1+1⋅b⃗2T(\vec{b}_1) = 0 \cdot \vec{b}_1 + 1 \cdot \vec{b}_2 and T(b⃗2)=−1⋅b⃗1+0⋅b⃗2T(\vec{b}_2) = -1 \cdot \vec{b}_1 + 0 \cdot \vec{b}_2.
  • The coordinate vectors relative to B\mathcal{B} are [T(b⃗1)]B=[01][T(\vec{b}_1)]_\mathcal{B} = \begin{bmatrix} 0 \\ 1 \end{bmatrix} and [T(b⃗2)]B=[−10][T(\vec{b}_2)]_\mathcal{B} = \begin{bmatrix} -1 \\ 0 \end{bmatrix}.
  • The matrix AA of TT relative to B\mathcal{B} is A=[0−110]A = \begin{bmatrix} 0 & -1 \\ 1 & 0 \end{bmatrix} 16.
  • Transforming a vector: Let x⃗=1⋅b⃗1+12⋅b⃗2\vec{x} = 1 \cdot \vec{b}_1 + \frac{1}{2} \cdot \vec{b}_2.
  • The coordinate vector of x⃗\vec{x} relative to B\mathcal{B} is [x⃗]B=[11/2][\vec{x}]_\mathcal{B} = \begin{bmatrix} 1 \\ 1/2 \end{bmatrix}.
  • The coordinate vector of T(x⃗)T(\vec{x}) relative to B\mathcal{B} is [T(x⃗)]B=A[x⃗]B=[0−110][11/2]=[−1/21][T(\vec{x})]_{\mathcal{B}} = A [\vec{x}]_{\mathcal{B}} = \begin{bmatrix} 0 & -1 \\ 1 & 0 \end{bmatrix} \begin{bmatrix} 1 \\ 1/2 \end{bmatrix} = \begin{bmatrix} -1/2 \\ 1 \end{bmatrix}.
  • For a generic vector x⃗=x1b⃗1+x2b⃗2\vec{x} = x_1 \vec{b}_1 + x_2 \vec{b}_2, its transformed coordinate vector is [T(x⃗)]B=[−x2x1][T(\vec{x})]_{\mathcal{B}} = \begin{bmatrix} -x_2 \\ x_1 \end{bmatrix} 17.

📝 For a rotation by 90 degrees counter-clockwise, the matrix relative to the standard basis {[10],[01]}\{\begin{bmatrix} 1 \\ 0 \end{bmatrix}, \begin{bmatrix} 0 \\ 1 \end{bmatrix}\} is [0−110]\begin{bmatrix} 0 & -1 \\ 1 & 0 \end{bmatrix}. Applying this to the vector [11]\begin{bmatrix} 1 \\ 1 \end{bmatrix} yields [0−110][11]=[−11]\begin{bmatrix} 0 & -1 \\ 1 & 0 \end{bmatrix} \begin{bmatrix} 1 \\ 1 \end{bmatrix} = \begin{bmatrix} -1 \\ 1 \end{bmatrix}, which is the rotated vector 16 17.

4. LTC4: Function Domain, Target, Range, and Kernel

4.1 Function Definition: Domain and Target

A function ff is denoted as f:D→Cf: D \to C, where DD is the set of all possible inputs, called the domain, and CC is the set where the outputs reside, called the target or codomain. The domain of ff is written as dom(f)=D\text{dom}(f) = D 18.

  • Domain: The set of all valid inputs for a function.
  • Target (Codomain): The set that contains all possible outputs of a function 18.

📝 For the function f(t):=(tt)f(t):= \begin{pmatrix} t \\ t \end{pmatrix} defined for all t∈Rt \in \mathbb{R}, the domain is R\mathbb{R} and the target is R2\mathbb{R}^2 19.

📝 For the function f(t):=(tt)f(t):= \begin{pmatrix} t \\ t \end{pmatrix} defined for all t∈[−4,1]t \in [-4, 1], the domain is [−4,1][-4, 1] and the target is span{(11)}⊂R2\text{span}\left\{\begin{pmatrix} 1 \\ 1 \end{pmatrix}\right\} \subset \mathbb{R}^2 20.

4.2 Range of a Function

The range of a function f:D→Cf: D \to C is the set of all actual outputs produced when the function is applied to every element in its domain. It is formally defined as range(f):={f(x)∣x∈D}\text{range}(f):= \{f(x) \mid x \in D\} 21.

  • Range: The set of all values that a function actually outputs 21.

📝 For the function f(t):=(tt)f(t):= \begin{pmatrix} t \\ t \end{pmatrix}, the range is the set of all possible outputs {f(t)∣t∈R}\{f(t) \mid t \in \mathbb{R}\}. Since f(t)=t(11)f(t) = t \begin{pmatrix} 1 \\ 1 \end{pmatrix}, the range is the span of the vector (11)\begin{pmatrix} 1 \\ 1 \end{pmatrix}, i.e., range(f)=span{(11)}\text{range}(f) = \text{span}\left\{\begin{pmatrix} 1 \\ 1 \end{pmatrix}\right\} 21.

4.3 Range of a Linear Map

For a linear map TA(x⃗):=Ax⃗T_A(\vec{x}):= A\vec{x}, where AA is an m×nm \times n matrix, the range is equal to the column space of AA, denoted as C(A)\mathcal{C}(A) 22.

  • A linear equation Ax⃗=b⃗A\vec{x} = \vec{b} is consistent if and only if b⃗\vec{b} is in the range of TAT_A 22.

4.4 Kernel of a Function

The kernel of a function f:D→Cf: D \to C is the set of all elements in the domain DD that map to the zero element in the target space. It is defined as ker(f):={x∈D∣f(x)=0}\text{ker}(f):= \{x \in D \mid f(x) = 0\}.

This is analogous to the definition of the null space 23.

  • Kernel: The set of inputs that produce a zero output 23.

📝 For the function f(x)=(x−2)(x+2)f(x) = (x-2)(x+2), the kernel is found by setting f(x)=0f(x) = 0. This occurs when x−2=0x-2=0 or x+2=0x+2=0, meaning x=2x=2 or x=−2x=-2. Therefore, ker(f)={−2,2}\text{ker}(f) = \{-2, 2\} 23.

4.5 Kernel of a Linear Map

For a linear map TA(x⃗):=Ax⃗T_A(\vec{x}):= A\vec{x}, where AA is an m×nm \times n matrix, the kernel is equal to the null space of AA, denoted as N(A)\mathcal{N}(A) 23.

  • ker(TA)={x⃗∈Rn∣TA(x⃗)=0⃗}={x⃗∈Rn∣Ax⃗=0⃗}=N(A)\text{ker}(T_A) = \{\vec{x} \in \mathbb{R}^n \mid T_A(\vec{x}) = \vec{0}\} = \{\vec{x} \in \mathbb{R}^n \mid A\vec{x} = \vec{0}\} = \mathcal{N}(A) 23.

4.6 Rank and Nullity of a Linear Map

The rank of a linear map TT is the dimension of its range, and the nullity is the dimension of its kernel 27.

TermDefinition
Rank of Tdim(range(T))
Nullity of Tdim(ker(T))

For a linear map TT with a matrix ATA_T relative to any basis, the rank and nullity of the map are equal to the rank and nullity of its matrix, respectively 27.

Linear Map PropertyMatrix Property
rank(T)rank(A_T)
null(T)null(A_T)

5. LTC5: “Onto” Functions and Rank

5.1 Onto functions

A function f:D→Cf: D \to C is called onto if its range is equal to its target space, meaning range(ff) = CC. This implies that for every element yy in the target space CC, there exists at least one element xx in the domain DD such that f(x)=yf(x) = y 29.

Consider two functions:

  • Function ff maps elements from its domain to all points in its target space. Thus, ff is considered "onto".
  • Function gg does not map any input to a specific point in its target space. Thus, gg is not "onto" 7 28.

To determine if a function f:R→Rf: \mathbb{R} \to \mathbb{R} is onto, we examine its range:

  • For f(x)=x3f(x) = x^3, the range is R\mathbb{R}, which equals the target space R\mathbb{R}. Therefore, ff is onto.
  • For g(x)=x2g(x) = x^2, the range is [0,∞)[0, \infty), which does not equal the target space R\mathbb{R}. Therefore, gg is not onto 30.

A function f:R→R2f: \mathbb{R} \to \mathbb{R}^2 defined by t↦[t0]t \mapsto \begin{bmatrix} t \\ 0 \end{bmatrix} is not onto. For example, the point [11]\begin{bmatrix} 1 \\ 1 \end{bmatrix} in R2\mathbb{R}^2 cannot be reached by any value of tt, as the second component of the output is always 0 31.

5.2 Onto linear maps and rank 34

A linear map T:V→WT: V \to W is onto if and only if the rank of TT equals the dimension of its target space WW. Recall that rank(TT) = dim(range(TT)) = rank(ATA_T), where ATA_T is the matrix representing the linear map TT.

Therefore, a linear map T:V→WT: V \to W is onto if and only if rank(ATA_T) = dim(WW). This provides a method to check if a linear map is onto by examining the rank of its matrix 32.

Consider the linear map T:R2→R3T: \mathbb{R}^2 \to \mathbb{R}^3 defined by T(x⃗)=Ax⃗T(\vec{x}) = A\vec{x}, where A=[101000]A = \begin{bmatrix} 1 & 0 \\ 1 & 0 \\ 0 & 0 \end{bmatrix}.

  • The range of TT is the x1x_1-x2x_2 plane in R3\mathbb{R}^3.
  • This map is not onto because points like (0,0,1)(0, 0, 1) are not in the range of TT 33.

If a linear map TAT_A defined by a matrix AA is onto, then the equation Ax⃗=b⃗A\vec{x} = \vec{b} is consistent for every vector b⃗\vec{b} of the appropriate size. The rank of a matrix AA is equal to the dimension of its column space (range of TAT_A), which is the number of linearly independent columns (or rows) in AA 34.

ConditionResult
TAT_A is ontoAx⃗=b⃗A\vec{x} = \vec{b} is consistent for every b⃗\vec{b}
rank(TAT_A) = dim(range(TAT_A))dim(column space of AA)
rank(TAT_A) = rank(AA)Number of linearly independent columns in AA

5.3 Determining if a linear map is onto

To determine if a linear map TA(x⃗)=Ax⃗T_A(\vec{x}) = A\vec{x} is onto:

  • Calculate the rank of matrix AA.
  • Determine the dimension of the target space.
  • If rank(AA) equals the dimension of the target space, the map is onto 35.

Consider the linear map TA(x⃗)=Ax⃗T_A(\vec{x}) = A\vec{x} with A=[11−11]A = \begin{bmatrix} 1 & 1 \\ -1 & 1 \end{bmatrix}.

  • The matrix AA is in row echelon form (REF) and has two leading entries, so rank(AA) = 2.
  • The target of TAT_A is R2\mathbb{R}^2, which has dimension dim(R2\mathbb{R}^2) = 2.
  • Since rank(TAT_A) = rank(AA) = 2 = dim(R2\mathbb{R}^2), the map TAT_A is onto.
  • For any b⃗∈R2\vec{b} \in \mathbb{R}^2, rank(AA) = rank([A∣b⃗][A|\vec{b}]) = 2, so Ax⃗=b⃗A\vec{x} = \vec{b} is consistent 35.

Consider the linear map T:R3→R2T: \mathbb{R}^3 \to \mathbb{R}^2 defined by T(x⃗)=Ax⃗T(\vec{x}) = A\vec{x} with A=[100100]A = \begin{bmatrix} 1 & 0 \\ 0 & 1 \\ 0 & 0 \end{bmatrix}.

  • TT is not onto because rank(TAT_A) = rank(AA) = 2, which is less than dim(R2\mathbb{R}^2) = 2 35.

Consider the linear map TA(x⃗)=Ax⃗T_A(\vec{x}) = A\vec{x} with A=[100111]A = \begin{bmatrix} 1 & 0 \\ 0 & 1 \\ 1 & 1 \end{bmatrix}.

  • The target of TAT_A is R3\mathbb{R}^3, which has dimension 3.
  • The rank of AA cannot exceed the number of columns, which is 2.
  • Therefore, rank(TAT_A) = rank(AA) ≤\leq 2 ≤\leq dim(R3\mathbb{R}^3) = 3.
  • Thus, TAT_A is not onto 36.

5.4 Summary of onto conditions 29 32 35

Function TypeCondition for Being Onto
General function f:D→Cf: D \to Crange(ff) = CC
Linear map T:V→WT: V \to Wrank(TT) = dim(WW)
Linear map TA:Rn→RmT_A: \mathbb{R}^n \to \mathbb{R}^m via matrix AArank(AA) = mm

6. LTC6: “One-to-One” Functions and Nullity

6.1 Definition of a one-to-one function

A function f:D→Rf: D \to R is defined as one-to-one if for every element yy in its range, there is exactly one element xx in its domain such that f(x)=yf(x) = y. This means that no two distinct inputs from the domain map to the same output in the target space 38.

The graphical test for a one-to-one function involves checking if any horizontal line intersects the function's graph more than once. If a horizontal line intersects the graph at more than one point, the function is not one-to-one 38.

📝 Consider the function f(x)=x2f(x) = x^2. This function is not one-to-one because f(2)=4f(2) = 4 and f(−2)=4f(-2) = 4. Two different inputs (2 and -2) map to the same output 4 37.

6.2 One-to-one linear maps

For a linear map T:V→WT: V \to W, where VV and WW are vector spaces and ATA_T is its matrix representation with respect to any basis, several conditions are equivalent to TT being one-to-one 39.

These conditions are:

  • TT is one-to-one.
  • The kernel of TT contains only the zero vector: ker(T)={0⃗}\text{ker}(T) = \{\vec{0}\}.
  • The dimension of the kernel of TT (the nullity) is zero: dim(ker(T))=0\text{dim}(\text{ker}(T)) = 0.
  • The nullity of the matrix ATA_T is zero: null(AT)=0\text{null}(A_T) = 0 39.

This implies that a linear map is one-to-one if and only if its nullity is zero 39.

6.3 Example of a linear map

Consider the linear map T:R3→R2T: \mathbb{R}^3 \to \mathbb{R}^2 defined by T(x)↦AxT(\mathbf{x}) \mapsto A\mathbf{x}, where A=(13−2−6−2−2)A = \begin{pmatrix} 1 & 3 & -2 \\ -6 & -2 & -2 \end{pmatrix} 40.

To determine if TT is onto or one-to-one, we first find the reduced row echelon form of AA: A=(13−2−6−2−2)∼(131000)A = \begin{pmatrix} 1 & 3 & -2 \\ -6 & -2 & -2 \end{pmatrix} \sim \begin{pmatrix} 1 & 3 & 1 \\ 0 & 0 & 0 \end{pmatrix} 40.

From this, we find that the rank of AA is 1 and the nullity of AA is 2 40.

  • Onto: The dimension of the range of TT is equal to the rank of AA, which is 1. Since dim(range(T))=1<dim(R2)=2\text{dim}(\text{range}(T)) = 1 < \text{dim}(\mathbb{R}^2) = 2, the map TT is not onto.
  • One-to-one: The dimension of the kernel of TT (nullity of AA) is 2, which is greater than 0. Therefore, TT is not one-to-one 40.

6.4 Activity 2

Consider the matrices A=(7869−3−3)A = \begin{pmatrix} 7 & 8 & 6 \\ 9 & -3 & -3 \end{pmatrix} and B=(1234)B = \begin{pmatrix} 1 & 2 \\ 3 & 4 \end{pmatrix} 41.

  • (a) Is x↦Ax\mathbf{x} \mapsto A\mathbf{x} onto? The matrix AA is 2×32 \times 3. The rank of AA can be at most 2. The target space is R2\mathbb{R}^2, which has dimension 2. To be onto, the rank must equal the dimension of the target space.

We need to check the rank of AA. A=(7869−3−3)∼(7860−99/7−81/7)A = \begin{pmatrix} 7 & 8 & 6 \\ 9 & -3 & -3 \end{pmatrix} \sim \begin{pmatrix} 7 & 8 & 6 \\ 0 & -99/7 & -81/7 \end{pmatrix}. The rank is 2. Since rank(A)=2=dim(R2)\text{rank}(A) = 2 = \text{dim}(\mathbb{R}^2), the map x↦Ax\mathbf{x} \mapsto A\mathbf{x} is onto 41.

  • (b) Is x↦Ax\mathbf{x} \mapsto A\mathbf{x} one-to-one? The nullity of AA is dim(domain)−rank(A)=3−2=1\text{dim}(\text{domain}) - \text{rank}(A) = 3 - 2 = 1. Since the nullity is not 0, the map x↦Ax\mathbf{x} \mapsto A\mathbf{x} is not one-to-one 41.

  • (c) Is x↦Bx\mathbf{x} \mapsto B\mathbf{x} onto? The matrix BB is 2×22 \times 2. The rank of BB can be at most 2. The target space is R2\mathbb{R}^2, which has dimension 2. B=(1234)∼(120−2)B = \begin{pmatrix} 1 & 2 \\ 3 & 4 \end{pmatrix} \sim \begin{pmatrix} 1 & 2 \\ 0 & -2 \end{pmatrix}.

The rank is 2. Since rank(B)=2=dim(R2)\text{rank}(B) = 2 = \text{dim}(\mathbb{R}^2), the map x↦Bx\mathbf{x} \mapsto B\mathbf{x} is onto 41.

  • (d) Is x↦Bx\mathbf{x} \mapsto B\mathbf{x} one-to-one? The nullity of BB is dim(domain)−rank(B)=2−2=0\text{dim}(\text{domain}) - \text{rank}(B) = 2 - 2 = 0. Since the nullity is 0, the map x↦Bx\mathbf{x} \mapsto B\mathbf{x} is one-to-one 41.

6.5 Summary of one-to-one and onto properties for linear maps

For a linear map T:V→WT: V \to W with matrix ATA_T (relative to any bases), the properties of being onto and one-to-one can be determined by the rank and nullity of ATA_T 42.

PropertyCondition for Linear Map T: V → W with Matrix A_T
Ontorank(A_T) = dim(W)
One-to-onenull(A_T) = 0

7. Linear Maps on Polynomials (Skip in Lecture)

7.1 The derivative operator as a linear map

The derivative operator DD transforms a polynomial p(x)=a0+a1x+a2x2p(x) = a_0 + a_1x + a_2x^2 into Dp(x)=a1+2a2xDp(x) = a_1 + 2a_2x. This operator can be shown to be a linear map on the vector space of polynomials P2\mathcal{P}_2 by verifying two conditions: additivity and scalar multiplication homogeneity 43.

  • Additivity: D(p+q)=Dp+DqD(p+q) = Dp + Dq. This means the derivative of the sum of two polynomials is equal to the sum of their derivatives.
  • Scalar multiplication homogeneity: D(s⋅p)=s⋅DpD(s \cdot p) = s \cdot Dp for any scalar s∈Rs \in \mathbb{R}. This means the derivative of a polynomial multiplied by a scalar is equal to the scalar multiplied by the derivative of the polynomial 44.

7.2 Example: Computing the derivative of a polynomial

For the polynomial p(x)=6−5x+3x2p(x) = 6 - 5x + 3x^2, the derivative Dp(x)Dp(x) is found by applying the rule Dp(x)=a1+2a2xDp(x) = a_1 + 2a_2x. Here, a1=−5a_1 = -5 and a2=3a_2 = 3.

Therefore, Dp(x)=−5+2(3)x=−5+6xDp(x) = -5 + 2(3)x = -5 + 6x 43.

📝 For p(x)=6−5x+3x2p(x) = 6 - 5x + 3x^2, the derivative is Dp(x)=−5+6xDp(x) = -5 + 6x.

7.3 Matrix representation of the derivative operator 46

To find the matrix representation of the derivative operator DD with respect to a basis B={1,x,x2}\mathcal{B} = \{1, x, x^2\} for P2\mathcal{P}_2, we apply DD to each basis vector and express the result as a linear combination of the basis vectors. The coefficients of these linear combinations form the columns of the matrix 45.

  • For the basis vector 11 (which is 1⋅1+0⋅x+0⋅x21 \cdot 1 + 0 \cdot x + 0 \cdot x^2), its derivative is D(1)=0D(1) = 0. In terms of the basis, this is 0⋅1+0⋅x+0⋅x20 \cdot 1 + 0 \cdot x + 0 \cdot x^2. The coordinate vector is [D1]B=(000)[D1]_{\mathcal{B}} = \begin{pmatrix} 0 \\ 0 \\ 0 \end{pmatrix} 45.
  • For the basis vector xx (which is 0⋅1+1⋅x+0⋅x20 \cdot 1 + 1 \cdot x + 0 \cdot x^2), its derivative is D(x)=1D(x) = 1. In terms of the basis, this is 1⋅1+0⋅x+0⋅x21 \cdot 1 + 0 \cdot x + 0 \cdot x^2. The coordinate vector is [Dx]B=(100)[Dx]_{\mathcal{B}} = \begin{pmatrix} 1 \\ 0 \\ 0 \end{pmatrix}.
  • For the basis vector x2x^2 (which is 0⋅1+0⋅x+1⋅x20 \cdot 1 + 0 \cdot x + 1 \cdot x^2), its derivative is D(x2)=2xD(x^2) = 2x. In terms of the basis, this is 0⋅1+2⋅x+0⋅x20 \cdot 1 + 2 \cdot x + 0 \cdot x^2. The coordinate vector is [Dx2]B=(020)[Dx^2]_{\mathcal{B}} = \begin{pmatrix} 0 \\ 2 \\ 0 \end{pmatrix} 46.

The matrix of DD relative to the basis B\mathcal{B} is formed by these coordinate vectors as columns:

———
010
002
000

This matrix, when multiplied by the coordinate vector of a polynomial p(x)=a0+a1x+a2x2p(x) = a_0 + a_1x + a_2x^2, which is [p]B=(a0a1a2)[p]_{\mathcal{B}} = \begin{pmatrix} a_0 \\ a_1 \\ a_2 \end{pmatrix}, yields the coordinate vector of its derivative Dp(x)=a1+2a2xDp(x) = a_1 + 2a_2x, which is [Dp]B=(a12a20)[Dp]_{\mathcal{B}} = \begin{pmatrix} a_1 \\ 2a_2 \\ 0 \end{pmatrix} 46.

📝 The matrix representation of the derivative operator DD on P2\mathcal{P}_2 with respect to the basis B={1,x,x2}\mathcal{B} = \{1, x, x^2\} is (010002000)\begin{pmatrix} 0 & 1 & 0 \\ 0 & 0 & 2 \\ 0 & 0 & 0 \end{pmatrix}. Applying this matrix to the coordinate vector of p(x)=a0+a1x+a2x2p(x) = a_0 + a_1x + a_2x^2, which is (a0a1a2)\begin{pmatrix} a_0 \\ a_1 \\ a_2 \end{pmatrix}, results in the coordinate vector of Dp(x)Dp(x), which is (a12a20)\begin{pmatrix} a_1 \\ 2a_2 \\ 0 \end{pmatrix}.

8. Geometric Transformations via Linear Maps (Skip in Lecture)

8.1 Linear maps in graphical vector spaces

A graphical vector space can be defined using perpendicular vectors of equal length, denoted as a basis ℬ = {b1, b2}, without explicit numerical coordinates. This allows for the study of linear maps between any vector spaces.

The matrix representation of a linear map T relative to a basis ℬ is constructed using the coordinate vectors of T(b1) and T(b2) with respect to ℬ 47.

8.2 Scaling map 48

A linear map T that scales a vector by s1s_1 in the direction of b1b_1 and by s2s_2 in the direction of b2b_2 has the following matrix representation relative to the basis ℬ = {b1, b2}:

TransformationMatrix relative to ℬ
Scaling by s1s_1 along b1b_1 and s2s_2 along b2b_2[s100s2]\begin{bmatrix} s_1 & 0 \\ 0 & s_2 \end{bmatrix}

📝 If a linear map scales vectors by 2 along b1b_1 and by 3 along b2b_2, its matrix representation is [2003]\begin{bmatrix} 2 & 0 \\ 0 & 3 \end{bmatrix} 48.

8.3 Rotation map 49 50

A linear map T that rotates points counter-clockwise around the origin by an angle θ\theta can be represented by a matrix. When the basis vectors b1b_1 and b2b_2 are unit vectors along the horizontal and vertical axes, respectively, the matrix of T is:

TransformationMatrix relative to ℬ
Rotation by θ\theta counter-clockwise[cos⁡θ−sin⁡θsin⁡θcos⁡θ]\begin{bmatrix} \cos \theta & -\sin \theta \\ \sin \theta & \cos \theta \end{bmatrix}

📝 A rotation by 90 degrees counter-clockwise (θ=π2\theta = \frac{\pi}{2}) has a matrix of [cos⁡(π2)−sin⁡(π2)sin⁡(π2)cos⁡(π2)]=[0−110]\begin{bmatrix} \cos(\frac{\pi}{2}) & -\sin(\frac{\pi}{2}) \\ \sin(\frac{\pi}{2}) & \cos(\frac{\pi}{2}) \end{bmatrix} = \begin{bmatrix} 0 & -1 \\ 1 & 0 \end{bmatrix} 49 50.

© 2026 Maeve. All rights reserved. This content is protected by copyright.

See also