AM10 - Lecture - Module C - Complete
Table of contents
- LTC1: Linear maps
- LTC2: Defining Linear Maps via Their Action on a Basis
- LTC3: The Matrix of a Linear Map
- LTC4: Function Domain, Target, Range, and Kernel
- LTC5: “Onto” Functions and Rank
- LTC6: “One-to-One” Functions and Nullity
- Linear Maps on Polynomials (Skip in Lecture)
- Geometric Transformations via Linear Maps (Skip in Lecture)
1. LTC1: Linear maps
1.1 Definition of a linear function
A function f:V1→V2 between two vector spaces V1 and V2 is defined as linear if it satisfies two conditions for all vectors x,y∈V1 and any scalar s∈R:
- Additivity: f(x+y)=f(x)+f(y)
- Scalar multiplication: f(s⋅x)=s⋅f(x)
These two conditions can be combined into a single equivalent condition: for all x,y∈V1 and scalars a,b∈R, the function must satisfy f(ax+by)=af(x)+bf(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→R2 defined by T(x)=[2−1][x1x2] for any vector x=(x1,x2)∈R2 4.
1.3 Showing T is linear
To show that T is linear, we verify the two conditions:
- Additivity: For any x=(x1,x2)∈R2 and y=(y1,y2)∈R2: T(x+y)=[2−1](x+y)=[2−1]x+[2−1]y=T(x)+T(y).
- Scalar multiplication: For any x=(x1,x2)∈R2 and scalar s∈R: T(sx)=[2−1](sx)=s[2−1]x=sT(x). Since both conditions are met, T is a linear function 4.
1.4 Computing outputs of T
We can compute the output of T for specific input vectors:
- T([10])=[2−1][10]=[20]
- T([01])=[2−1][01]=[−10]
Using the linearity properties, we can compute other outputs:
- T([20])=T(2[10])=2T([10])=2[20]=[40]
- T([30])=T(3[10])=3T([10])=3[20]=[60] T([21])=T(2[10]+1[01])=2T([10])+1T([01])=2[20]+[−10]=[40]+[−10]=[30] 5.
📝 The function T(x)=[2−1][x1x2] maps the vector [21] to [30] by applying the linear transformation 5.
1.5 Matrices define linear maps
Every matrix A defines a linear map TA:Rn→Rm through the action TA(x):=Ax 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→W can be uniquely defined by specifying its action on a basis of the vector space V. If B={v1,v2,…,vn} is a basis for V, then for any vector x∈V, we can write x as a linear combination of the basis vectors: x=x1v1+x2v2+⋯+xnvn.
Due to the linearity property of T, its action on x is given by: T(x)=T(x1v1+x2v2+⋯+xnvn)=x1T(v1)+x2T(v2)+⋯+xnT(vn). This means that if we know the images of the basis vectors under T, we can compute the image of any vector in V 7 10 12.
📝 Let T:R2→R2 be a linear map defined by its action on the standard basis vectors e1 and e2: T(e1)=2e1+e2 T(e2)=−e1+2e2
To find T(x) for x=2e1+e2: T(x)=T(2e1+e2)=2T(e1)+T(e2) =2(2e1+e2)+(−e1+2e2) =4e1+2e2−e1+2e2 =3e1+4e2
So, T(x)=3e1+4e2 7.
2.2 Computing the image of a vector
Given a linear map T and a vector x expressed in terms of a basis B={v1,…,vn}, where x=x1v1+⋯+xnvn, the image T(x) can be computed by applying the linearity property: T(x)=x1T(v1)+⋯+xnT(vn). The vectors T(vi) are known from the definition of the linear map 9 10 11.
📝 Consider a linear map T acting on a basis B={[10],[01]} such that: T([10])=[35] T([01])=[−12]
To compute T([4−2]): [4−2]=4[10]+(−2)[01] T([4−2])=4T([10])−2T([01]) =4[35]−2[−12]=[1220]−[−24]=[1416] 9.
2.3 Finding the general form of T(x)
For any vector x=x1v1+⋯+xnvn, its image under a linear map T is given by T(x)=x1T(v1)+⋯+xnT(vn). By substituting the known expressions for T(vi), we can derive a general formula for T(x) in terms of the coordinates xi.
This often results in an expression where T(x) is a linear combination of the basis vectors of the codomain, with coefficients depending on xi 9 12.
📝 For the linear map and basis from the previous example, the general form of T([x1x2]) is: T([x1x2])=x1T([10])+x2T([01]) =x1[35]+x2[−12]=[3x1−x25x1+2x2] 9.
2.4 The matrix of a linear map
The matrix of a linear map T:V→W relative to a basis V={v1,…,vn} for V and a basis W={w1,…,wm} for W is an m×n matrix A. The columns of A are the coordinate vectors of the images of the basis vectors of V with respect to the basis W.
Specifically, if T(vj)=a1jw1+a2jw2+⋯+amjwm, then the j-th column of A is [T(vj)]W=a1ja2j⋮amj. This matrix A allows us to compute the coordinate vector of T(y) relative to W from the coordinate vector of y relative to V using the equation [T(y)]W=A[y]V 13.
| Basis for V | Basis for W | Matrix A of T | Relationship |
|---|---|---|---|
| V={v1,…,vn} | W={w1,…,wm} | A is an m×n matrix where the j-th column is [T(vj)]W | [T(y)]W=A[y]V for any y∈V |
📝 Consider a linear map T:V→R2 with basis V={v1,v2} and basis W={w1,w2} for R2. T(v1)=3w1−2w2 T(v2)=w1+2w2
The matrix A of T relative to V and W has columns formed by the coordinates of T(v1) and T(v2) in basis W: [T(v1)]W=[3−2] [T(v2)]W=[12]
Thus, the matrix A is: A=[3−212]
If y=y1v1+y2v2, then [y]V=[y1y2]. The coordinates of T(y) relative to W are: [T(y)]W=A[y]V=[3−212][y1y2]=[3y1+y2−2y1+2y2] 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→W relative to a basis V={v1,…,vn} for V and a basis W={w1,…,wm} for W is an m×n matrix A. This matrix is constructed by taking the coordinate vectors of the images of the basis vectors of V with respect to the basis W of W.
These coordinate vectors form the columns of the matrix A.
- Matrix of a linear map T: For T:V→W, with basis V={v1,…,vn} for V and basis W={w1,…,wm} for W, the matrix A is defined as: A=[[T(v1)]W[T(v2)]W⋯[T(vn)]W]∈Rm×n.
- [T(vi)]W represents the coordinate vector of T(vi) with respect to the basis W 14.
3.2 Transforming coordinate vectors
The matrix A of a linear map T relative to bases V and W has the property that it transforms the coordinate vector of any vector x in V with respect to V into the coordinate vector of T(x) with respect to W. This relationship is fundamental to how matrices represent linear transformations between vector spaces.
- Transformation property: The matrix A of T relative to V and W satisfies the equation: [T(x)]W=A[x]V.
- Let [x]V=(c1,c2,…,cn).
- Then T(x)=c1T(v1)+c2T(v2)+⋯+cnT(vn).
- The coordinate vector [T(x)]W is obtained by the linear combination of the coordinate vectors of T(vi) with coefficients ci.
- This results in the matrix multiplication: [T(x)]W=[[T(v1)]W⋯[T(vn)]W]c1⋮cn 15.
3.3 Example: Rotation matrix
Consider a linear map T representing a rotation by 90 degrees counter-clockwise around the origin in R2. 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 T be this rotation.
- Let the basis be B={b1,b2}.
- The transformation of the basis vectors are T(b1)=0⋅b1+1⋅b2 and T(b2)=−1⋅b1+0⋅b2.
- The coordinate vectors relative to B are [T(b1)]B=[01] and [T(b2)]B=[−10].
- The matrix A of T relative to B is A=[01−10] 16.
- Transforming a vector: Let x=1⋅b1+21⋅b2.
- The coordinate vector of x relative to B is [x]B=[11/2].
- The coordinate vector of T(x) relative to B is [T(x)]B=A[x]B=[01−10][11/2]=[−1/21].
- For a generic vector x=x1b1+x2b2, its transformed coordinate vector is [T(x)]B=[−x2x1] 17.
📝 For a rotation by 90 degrees counter-clockwise, the matrix relative to the standard basis {[10],[01]} is [01−10]. Applying this to the vector [11] yields [01−10][11]=[−11], which is the rotated vector 16 17.
4. LTC4: Function Domain, Target, Range, and Kernel
4.1 Function Definition: Domain and Target
A function f is denoted as f:D→C, where D is the set of all possible inputs, called the domain, and C is the set where the outputs reside, called the target or codomain. The domain of f is written as 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) defined for all t∈R, the domain is R and the target is R2 19.
📝 For the function f(t):=(tt) defined for all t∈[−4,1], the domain is [−4,1] and the target is span{(11)}⊂R2 20.
4.2 Range of a Function
The range of a function f:D→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} 21.
- Range: The set of all values that a function actually outputs 21.
📝 For the function f(t):=(tt), the range is the set of all possible outputs {f(t)∣t∈R}. Since f(t)=t(11), the range is the span of the vector (11), i.e., range(f)=span{(11)} 21.
4.3 Range of a Linear Map
For a linear map TA(x):=Ax, where A is an m×n matrix, the range is equal to the column space of A, denoted as C(A) 22.
- A linear equation Ax=b is consistent if and only if b is in the range of TA 22.
4.4 Kernel of a Function
The kernel of a function f:D→C is the set of all elements in the domain D that map to the zero element in the target space. It is defined as ker(f):={x∈D∣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), the kernel is found by setting f(x)=0. This occurs when x−2=0 or x+2=0, meaning x=2 or x=−2. Therefore, ker(f)={−2,2} 23.
4.5 Kernel of a Linear Map
For a linear map TA(x):=Ax, where A is an m×n matrix, the kernel is equal to the null space of A, denoted as N(A) 23.
- ker(TA)={x∈Rn∣TA(x)=0}={x∈Rn∣Ax=0}=N(A) 23.
4.6 Rank and Nullity of a Linear Map
The rank of a linear map T is the dimension of its range, and the nullity is the dimension of its kernel 27.
| Term | Definition |
|---|---|
| Rank of T | dim(range(T)) |
| Nullity of T | dim(ker(T)) |
For a linear map T with a matrix AT 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 Property | Matrix 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→C is called onto if its range is equal to its target space, meaning range(f) = C. This implies that for every element y in the target space C, there exists at least one element x in the domain D such that f(x)=y 29.
Consider two functions:
- Function f maps elements from its domain to all points in its target space. Thus, f is considered "onto".
- Function g does not map any input to a specific point in its target space. Thus, g is not "onto" 7 28.
To determine if a function f:R→R is onto, we examine its range:
- For f(x)=x3, the range is R, which equals the target space R. Therefore, f is onto.
- For g(x)=x2, the range is [0,∞), which does not equal the target space R. Therefore, g is not onto 30.
A function f:R→R2 defined by t↦[t0] is not onto. For example, the point [11] in R2 cannot be reached by any value of t, as the second component of the output is always 0 31.
5.2 Onto linear maps and rank 34
A linear map T:V→W is onto if and only if the rank of T equals the dimension of its target space W. Recall that rank(T) = dim(range(T)) = rank(AT), where AT is the matrix representing the linear map T.
Therefore, a linear map T:V→W is onto if and only if rank(AT) = dim(W). 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→R3 defined by T(x)=Ax, where A=110000.
- The range of T is the x1-x2 plane in R3.
- This map is not onto because points like (0,0,1) are not in the range of T 33.
If a linear map TA defined by a matrix A is onto, then the equation Ax=b is consistent for every vector b of the appropriate size. The rank of a matrix A is equal to the dimension of its column space (range of TA), which is the number of linearly independent columns (or rows) in A 34.
| Condition | Result |
|---|---|
| TA is onto | Ax=b is consistent for every b |
| rank(TA) = dim(range(TA)) | dim(column space of A) |
| rank(TA) = rank(A) | Number of linearly independent columns in A |
5.3 Determining if a linear map is onto
To determine if a linear map TA(x)=Ax is onto:
- Calculate the rank of matrix A.
- Determine the dimension of the target space.
- If rank(A) equals the dimension of the target space, the map is onto 35.
Consider the linear map TA(x)=Ax with A=[1−111].
- The matrix A is in row echelon form (REF) and has two leading entries, so rank(A) = 2.
- The target of TA is R2, which has dimension dim(R2) = 2.
- Since rank(TA) = rank(A) = 2 = dim(R2), the map TA is onto.
- For any b∈R2, rank(A) = rank([A∣b]) = 2, so Ax=b is consistent 35.
Consider the linear map T:R3→R2 defined by T(x)=Ax with A=100010.
- T is not onto because rank(TA) = rank(A) = 2, which is less than dim(R2) = 2 35.
Consider the linear map TA(x)=Ax with A=101011.
- The target of TA is R3, which has dimension 3.
- The rank of A cannot exceed the number of columns, which is 2.
- Therefore, rank(TA) = rank(A) ≤ 2 ≤ dim(R3) = 3.
- Thus, TA is not onto 36.
5.4 Summary of onto conditions 29 32 35
| Function Type | Condition for Being Onto |
|---|---|
| General function f:D→C | range(f) = C |
| Linear map T:V→W | rank(T) = dim(W) |
| Linear map TA:Rn→Rm via matrix A | rank(A) = m |
6. LTC6: “One-to-One” Functions and Nullity
6.1 Definition of a one-to-one function
A function f:D→R is defined as one-to-one if for every element y in its range, there is exactly one element x in its domain such that f(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)=x2. This function is not one-to-one because f(2)=4 and f(−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→W, where V and W are vector spaces and AT is its matrix representation with respect to any basis, several conditions are equivalent to T being one-to-one 39.
These conditions are:
- T is one-to-one.
- The kernel of T contains only the zero vector: ker(T)={0}.
- The dimension of the kernel of T (the nullity) is zero: dim(ker(T))=0.
- The nullity of the matrix AT is zero: null(AT)=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→R2 defined by T(x)↦Ax, where A=(1−63−2−2−2) 40.
To determine if T is onto or one-to-one, we first find the reduced row echelon form of A: A=(1−63−2−2−2)∼(103010) 40.
From this, we find that the rank of A is 1 and the nullity of A is 2 40.
- Onto: The dimension of the range of T is equal to the rank of A, which is 1. Since dim(range(T))=1<dim(R2)=2, the map T is not onto.
- One-to-one: The dimension of the kernel of T (nullity of A) is 2, which is greater than 0. Therefore, T is not one-to-one 40.
6.4 Activity 2
Consider the matrices A=(798−36−3) and B=(1324) 41.
- (a) Is x↦Ax onto? The matrix A is 2×3. The rank of A can be at most 2. The target space is R2, which has dimension 2. To be onto, the rank must equal the dimension of the target space.
We need to check the rank of A. A=(798−36−3)∼(708−99/76−81/7). The rank is 2. Since rank(A)=2=dim(R2), the map x↦Ax is onto 41.
-
(b) Is x↦Ax one-to-one? The nullity of A is dim(domain)−rank(A)=3−2=1. Since the nullity is not 0, the map x↦Ax is not one-to-one 41.
-
(c) Is x↦Bx onto? The matrix B is 2×2. The rank of B can be at most 2. The target space is R2, which has dimension 2. B=(1324)∼(102−2).
The rank is 2. Since rank(B)=2=dim(R2), the map x↦Bx is onto 41.
- (d) Is x↦Bx one-to-one? The nullity of B is dim(domain)−rank(B)=2−2=0. Since the nullity is 0, the map x↦Bx is one-to-one 41.
6.5 Summary of one-to-one and onto properties for linear maps
For a linear map T:V→W with matrix AT (relative to any bases), the properties of being onto and one-to-one can be determined by the rank and nullity of AT 42.
| Property | Condition for Linear Map T: V → W with Matrix A_T |
|---|---|
| Onto | rank(A_T) = dim(W) |
| One-to-one | null(A_T) = 0 |
7. Linear Maps on Polynomials (Skip in Lecture)
7.1 The derivative operator as a linear map
The derivative operator D transforms a polynomial p(x)=a0+a1x+a2x2 into Dp(x)=a1+2a2x. This operator can be shown to be a linear map on the vector space of polynomials P2 by verifying two conditions: additivity and scalar multiplication homogeneity 43.
- Additivity: D(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⋅Dp for any scalar s∈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+3x2, the derivative Dp(x) is found by applying the rule Dp(x)=a1+2a2x. Here, a1=−5 and a2=3.
Therefore, Dp(x)=−5+2(3)x=−5+6x 43.
📝 For p(x)=6−5x+3x2, the derivative is Dp(x)=−5+6x.
7.3 Matrix representation of the derivative operator 46
To find the matrix representation of the derivative operator D with respect to a basis B={1,x,x2} for P2, we apply D 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 1 (which is 1⋅1+0⋅x+0⋅x2), its derivative is D(1)=0. In terms of the basis, this is 0⋅1+0⋅x+0⋅x2. The coordinate vector is [D1]B=000 45.
- For the basis vector x (which is 0⋅1+1⋅x+0⋅x2), its derivative is D(x)=1. In terms of the basis, this is 1⋅1+0⋅x+0⋅x2. The coordinate vector is [Dx]B=100.
- For the basis vector x2 (which is 0⋅1+0⋅x+1⋅x2), its derivative is D(x2)=2x. In terms of the basis, this is 0⋅1+2⋅x+0⋅x2. The coordinate vector is [Dx2]B=020 46.
The matrix of D relative to the basis B is formed by these coordinate vectors as columns:
| — | — | — |
|---|---|---|
| 0 | 1 | 0 |
| 0 | 0 | 2 |
| 0 | 0 | 0 |
This matrix, when multiplied by the coordinate vector of a polynomial p(x)=a0+a1x+a2x2, which is [p]B=a0a1a2, yields the coordinate vector of its derivative Dp(x)=a1+2a2x, which is [Dp]B=a12a20 46.
📝 The matrix representation of the derivative operator D on P2 with respect to the basis B={1,x,x2} is 000100020. Applying this matrix to the coordinate vector of p(x)=a0+a1x+a2x2, which is a0a1a2, results in the coordinate vector of Dp(x), which is a12a20.
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 s1 in the direction of b1 and by s2 in the direction of b2 has the following matrix representation relative to the basis ℬ = {b1, b2}:
| Transformation | Matrix relative to ℬ |
|---|---|
| Scaling by s1 along b1 and s2 along b2 | [s100s2] |
📝 If a linear map scales vectors by 2 along b1 and by 3 along b2, its matrix representation is [2003] 48.
8.3 Rotation map 49 50
A linear map T that rotates points counter-clockwise around the origin by an angle θ can be represented by a matrix. When the basis vectors b1 and b2 are unit vectors along the horizontal and vertical axes, respectively, the matrix of T is:
| Transformation | Matrix relative to ℬ |
|---|---|
| Rotation by θ counter-clockwise | [cosθsinθ−sinθcosθ] |
📝 A rotation by 90 degrees counter-clockwise (θ=2π) has a matrix of [cos(2π)sin(2π)−sin(2π)cos(2π)]=[01−10] 49 50.
© 2026 Maeve. All rights reserved. This content is protected by copyright.