1.8 Introduction to Linear Transformations-07

Table of contents

  1. Introduction to Linear Transformations
  2. Functions and Transformations
  3. Matrix Transformations
  4. Reflection Operators
  5. Projection Operators
  6. Rotation Operators
  7. Exercise Set 1.8

1. Introduction to Linear Transformations

1.1 Vectors in RnR^n

The set of all ordered n-tuples of real numbers is denoted by RnR^n. Vectors in RnR^n can be represented in two primary forms.

  • Comma-delimited form: Vectors are written as (s1,s2,…,sn)(s_1, s_2, \dots, s_n).
  • Column-vector form: Vectors are represented as a column matrix: [s1s2⋮sn]\begin{bmatrix} s_1 \\ s_2 \\ \vdots \\ s_n \end{bmatrix} 1.

1.2 Standard basis vectors for RnR^n

The standard basis vectors for RnR^n are a set of specific vectors, e1,e2,…,ene_1, e_2, \dots, e_n, where each vector has a 1 in one position and 0s elsewhere. These vectors are fundamental because any other vector in RnR^n can be uniquely expressed as a linear combination of them.

  • Definition: For each i=1,2,…,ni = 1, 2, \dots, n, the vector eie_i has a 1 in the ii-th position and 0s in all other positions.
  • Representation: e1=[100⋮0],e2=[010⋮0],…,en=[000⋮1]e_1 = \begin{bmatrix} 1 \\ 0 \\ 0 \\ \vdots \\ 0 \end{bmatrix}, e_2 = \begin{bmatrix} 0 \\ 1 \\ 0 \\ \vdots \\ 0 \end{bmatrix}, \dots, e_n = \begin{bmatrix} 0 \\ 0 \\ 0 \\ \vdots \\ 1 \end{bmatrix}
  • Linear combination: Any vector x=[x1x2⋮xn]x = \begin{bmatrix} x_1 \\ x_2 \\ \vdots \\ x_n \end{bmatrix} can be expressed as x=x1e1+x2e2+⋯+xnenx = x_1e_1 + x_2e_2 + \dots + x_ne_n 1.

📝 For R3R^3, the standard basis vectors are e1=[100]e_1 = \begin{bmatrix} 1 \\ 0 \\ 0 \end{bmatrix}, e2=[010]e_2 = \begin{bmatrix} 0 \\ 1 \\ 0 \end{bmatrix}, and e3=[001]e_3 = \begin{bmatrix} 0 \\ 0 \\ 1 \end{bmatrix}. A vector x=[5−23]x = \begin{bmatrix} 5 \\ -2 \\ 3 \end{bmatrix} can be written as 5e1−2e2+3e35e_1 - 2e_2 + 3e_3 1.

2. Functions and Transformations

2.1 Definition of a function

A function is a rule that assigns each element of a set A to one unique element in a set B. If an element bb in set B is associated with an element aa in set A, this is written as b=f(a)b = f(a) 2.

  • Image: The element bb is the image of aa under the function ff.
  • Value of ff at aa: f(a)f(a) represents the value of the function ff when applied to aa.
  • Domain: This is set A, which contains all possible input values for the function.
  • Codomain: This is set B, which contains all possible output values for the function.
  • Range: This is a subset of the codomain, consisting only of the actual images of the elements from the domain 2.

📝 Consider a function f:Z→Zf: \mathbb{Z} \to \mathbb{Z} defined by f(x)=x2f(x) = x^2. The domain is the set of all integers (Z\mathbb{Z}), and the codomain is also the set of all integers. The range, however, would be the set of all perfect squares {0,1,4,9,… }\{0, 1, 4, 9, \dots\}, which is a subset of the codomain.

2.2 Definition of a transformation

A transformation is a specific type of function where the domain is Rn\mathbb{R}^n and the codomain is Rm\mathbb{R}^m. It is denoted as T:Rn→RmT: \mathbb{R}^n \to \mathbb{R}^m 2.

  • Mapping: A transformation TT is said to map from Rn\mathbb{R}^n to Rm\mathbb{R}^m.
  • Operator: When the domain and codomain dimensions are equal (i.e., m=nm = n), the transformation is sometimes called an operator on Rn\mathbb{R}^n 2.

📝 A function T:R2→R2T: \mathbb{R}^2 \to \mathbb{R}^2 that rotates points in a 2D plane is an operator because its domain and codomain are both R2\mathbb{R}^2.

3. Matrix Transformations

3.1 Definition of a matrix transformation

A matrix transformation is a class of transformations from RnR^n to RmR^m where a vector xx in RnR^n is mapped to a vector ww in RmR^m through multiplication by an m×nm \times n matrix AA. This relationship is expressed as w=Axw = Ax 3.

  • Matrix operator: This is a special case of a matrix transformation where m=nm = n, meaning the transformation maps RnR^n to RnR^n.
  • Mapping: The transformation TA:Rn→RmT_A: R^n \to R^m maps xx into ww, denoted as w=TA(x)w = T_A(x) 3.

📝 Consider a transformation from R4R^4 to R3R^3 defined by the equations: w1=2x1−3x2+x3−5x4w_1 = 2x_1 - 3x_2 + x_3 - 5x_4 w2=4x1+x2−2x3+x4w_2 = 4x_1 + x_2 - 2x_3 + x_4 w3=5x1−x2+4x3w_3 = 5x_1 - x_2 + 4x_3 This can be written as w=Axw = Ax where A=[2−31−541−215−140]A = \begin{bmatrix} 2 & -3 & 1 & -5 \\ 4 & 1 & -2 & 1 \\ 5 & -1 & 4 & 0 \end{bmatrix} and x=[x1x2x3x4]x = \begin{bmatrix} x_1 \\ x_2 \\ x_3 \\ x_4 \end{bmatrix}. If x=[1−302]x = \begin{bmatrix} 1 \\ -3 \\ 0 \\ 2 \end{bmatrix}, then TA(x)=Ax=[2−31−541−215−140][1−302]=[138]T_A(x) = Ax = \begin{bmatrix} 2 & -3 & 1 & -5 \\ 4 & 1 & -2 & 1 \\ 5 & -1 & 4 & 0 \end{bmatrix} \begin{bmatrix} 1 \\ -3 \\ 0 \\ 2 \end{bmatrix} = \begin{bmatrix} 1 \\ 3 \\ 8 \end{bmatrix} 3.

3.2 Properties of matrix transformations

Matrix transformations possess specific properties related to vector addition and scalar multiplication, which are fundamental to their definition 4.

PropertyDescription
TA(0)=0T_A(0) = 0The zero vector is mapped to the zero vector.
TA(ku)=kTA(u)T_A(ku) = kT_A(u)Scalar multiplication can be factored out (Homogeneity property).
TA(u+v)=TA(u)+TA(v)T_A(u + v) = T_A(u) + T_A(v)The transformation of a sum is the sum of transformations (Additivity property).
TA(u−v)=TA(u)−TA(v)T_A(u - v) = T_A(u) - T_A(v)The transformation of a difference is the difference of transformations.
  • Linearity conditions: A transformation T:Rn→RmT: R^n \to R^m is a matrix transformation if and only if it satisfies both the additivity property T(u+v)=T(u)+T(v)T(u + v) = T(u) + T(v) and the homogeneity property T(ku)=kT(u)T(ku) = kT(u) for all vectors u,vu, v in RnR^n and every scalar kk 4.

📝 The zero transformation T0(x)=0x=0T_0(x) = 0x = 0 maps every vector to the zero vector. The identity operator TI(x)=Ix=xT_I(x) = Ix = x maps every vector to itself 4.

3.3 Finding the standard matrix for a matrix transformation

For any linear transformation T:Rn→RmT: R^n \to R^m, there exists a unique m×nm \times n matrix AA, called the standard matrix, such that T(x)=AxT(x) = Ax 5.

  • Procedure for finding the standard matrix:
  1. Find the images of the standard basis vectors e1,e2,…,ene_1, e_2, \dots, e_n for RnR^n under the transformation TT.
  2. Construct the matrix AA by using these images as its successive columns: A=[T(e1)∣T(e2)∣…∣T(en)]A = [T(e_1) | T(e_2) | \dots | T(e_n)] 5.

📝 To find the standard matrix for T:R2→R3T: R^2 \to R^3 defined by T([x1x2])=[2x1+x2x1−3x2−x1+x2]T(\begin{bmatrix} x_1 \\ x_2 \end{bmatrix}) = \begin{bmatrix} 2x_1 + x_2 \\ x_1 - 3x_2 \\ -x_1 + x_2 \end{bmatrix}:

  1. Find the images of the standard basis vectors e1=[10]e_1 = \begin{bmatrix} 1 \\ 0 \end{bmatrix} and e2=[01]e_2 = \begin{bmatrix} 0 \\ 1 \end{bmatrix}. T(e1)=T([10])=[2(1)+01−3(0)−1+0]=[21−1]T(e_1) = T(\begin{bmatrix} 1 \\ 0 \end{bmatrix}) = \begin{bmatrix} 2(1) + 0 \\ 1 - 3(0) \\ -1 + 0 \end{bmatrix} = \begin{bmatrix} 2 \\ 1 \\ -1 \end{bmatrix} T(e2)=T([01])=[2(0)+10−3(1)−0+1]=[1−31]T(e_2) = T(\begin{bmatrix} 0 \\ 1 \end{bmatrix}) = \begin{bmatrix} 2(0) + 1 \\ 0 - 3(1) \\ -0 + 1 \end{bmatrix} = \begin{bmatrix} 1 \\ -3 \\ 1 \end{bmatrix}
  2. Construct the matrix A=[T(e1)∣T(e2)]=[211−3−11]A = [T(e_1) | T(e_2)] = \begin{bmatrix} 2 & 1 \\ 1 & -3 \\ -1 & 1 \end{bmatrix} 5.

4. Reflection Operators

Reflection operators are linear transformations that map a vector to its mirror image across a specific axis or line. These operators can be represented by standard matrices, which are derived by observing the transformation of the standard basis vectors e1=(1,0)e_1 = (1,0) and e2=(0,1)e_2 = (0,1) 6.

4.1 Reflection about the x-axis

A reflection about the x-axis transforms a point (x,y)(x, y) to (x,−y)(x, -y).

  • Transformation: The x-coordinate remains unchanged, while the y-coordinate is negated.
  • Standard matrix: The standard basis vector e1=(1,0)e_1 = (1,0) maps to (1,0)(1,0), and e2=(0,1)e_2 = (0,1) maps to (0,−1)(0,-1) 6.
TransformationStandard Matrix
T(x, y) = (x, -y)[100−1]\begin{bmatrix} 1 & 0 \\ 0 & -1 \end{bmatrix}

📝 Reflecting the point (2,3)(2, 3) about the x-axis results in (2,−3)(2, -3).

4.2 Reflection about the y-axis

A reflection about the y-axis transforms a point (x,y)(x, y) to (−x,y)(-x, y).

  • Transformation: The y-coordinate remains unchanged, while the x-coordinate is negated.
  • Standard matrix: The standard basis vector e1=(1,0)e_1 = (1,0) maps to (−1,0)(-1,0), and e2=(0,1)e_2 = (0,1) maps to (0,1)(0,1) 6.
TransformationStandard Matrix
T(x, y) = (-x, y)[−1001]\begin{bmatrix} -1 & 0 \\ 0 & 1 \end{bmatrix}

📝 Reflecting the point (2,3)(2, 3) about the y-axis results in (−2,3)(-2, 3).

4.3 Reflection about the line y = x

A reflection about the line y=xy = x transforms a point (x,y)(x, y) to (y,x)(y, x).

  • Transformation: The x and y coordinates are swapped.
  • Standard matrix: The standard basis vector e1=(1,0)e_1 = (1,0) maps to (0,1)(0,1), and e2=(0,1)e_2 = (0,1) maps to (1,0)(1,0) 6.
TransformationStandard Matrix
T(x, y) = (y, x)[0110]\begin{bmatrix} 0 & 1 \\ 1 & 0 \end{bmatrix}

📝 Reflecting the point (2,3)(2, 3) about the line y=xy = x results in (3,2)(3, 2).

5. Projection Operators

5.1 Definition of projection operators

Projection operators, specifically orthogonal projection operators, are matrix operators in R2\mathbb{R}^2 that map each point to its orthogonal projection onto a fixed line or plane passing through the origin 7.

5.2 Orthogonal projection onto the x-axis

This operator transforms a point (x,y)(x, y) into its projection onto the x-axis, resulting in the point (x,0)(x, 0). The standard matrix for this transformation is derived from how it acts on the standard basis vectors e1=(1,0)e_1 = (1,0) and e2=(0,1)e_2 = (0,1) 7.

Input vectorOutput vector
T(e1)=T(1,0)T(e_1) = T(1,0)(1,0)(1,0)
T(e2)=T(0,1)T(e_2) = T(0,1)(0,0)(0,0)

📝 If a point is (3,5)(3, 5), its orthogonal projection onto the x-axis is (3,0)(3, 0). The standard matrix for this operation is [1000]\begin{bmatrix} 1 & 0 \\ 0 & 0 \end{bmatrix} 7.

5.3 Orthogonal projection onto the y-axis

This operator transforms a point (x,y)(x, y) into its projection onto the y-axis, yielding the point (0,y)(0, y). Similar to the x-axis projection, its standard matrix is determined by its action on the basis vectors e1e_1 and e2e_2 7.

Input vectorOutput vector
T(e1)=T(1,0)T(e_1) = T(1,0)(0,0)(0,0)
T(e2)=T(0,1)T(e_2) = T(0,1)(0,1)(0,1)

📝 For a point (3,5)(3, 5), its orthogonal projection onto the y-axis is (0,5)(0, 5). The standard matrix for this operation is [0001]\begin{bmatrix} 0 & 0 \\ 0 & 1 \end{bmatrix} 7.

6. Rotation Operators

Rotation operators transform vectors by rotating them around the origin by a specified angle. These are linear transformations, and their effects can be represented by a standard matrix 8.

6.1 Counterclockwise rotation about the origin through an angle θ\theta 8

A rotation operator T(x)T(x) rotates a vector xx counterclockwise around the origin by an angle θ\theta. The images of the standard basis vectors e1=(1,0)e_1 = (1,0) and e2=(0,1)e_2 = (0,1) under this transformation define the rotation matrix 8.

  • Image of e1e_1: T(e1)=T(1,0)=(cos⁡θ,sin⁡θ)T(e_1) = T(1,0) = (\cos \theta, \sin \theta).
  • Image of e2e_2: T(e2)=T(0,1)=(−sin⁡θ,cos⁡θ)T(e_2) = T(0,1) = (-\sin \theta, \cos \theta).
  • Rotation matrix for R2R^2: The standard matrix RθR_\theta for a counterclockwise rotation in R2R^2 is constructed from the images of e1e_1 and e2e_2 as its columns 8.
OperatorStandard Matrix
Counterclockwise rotation about the origin through an angle θ\theta[cos⁡θ−sin⁡θsin⁡θcos⁡θ]\begin{bmatrix} \cos \theta & -\sin \theta \\ \sin \theta & \cos \theta \end{bmatrix}

📝 To find the image of vector x=(1,1)x = (1, 1) after a rotation of π/6\pi/6 radians (30°) about the origin, first determine the rotation matrix Rπ/6R_{\pi/6}. Rπ/6=[cos⁡(π/6)−sin⁡(π/6)sin⁡(π/6)cos⁡(π/6)]=[3/2−1/21/23/2]R_{\pi/6} = \begin{bmatrix} \cos(\pi/6) & -\sin(\pi/6) \\ \sin(\pi/6) & \cos(\pi/6) \end{bmatrix} = \begin{bmatrix} \sqrt{3}/2 & -1/2 \\ 1/2 & \sqrt{3}/2 \end{bmatrix} Then, multiply this matrix by the vector xx: Rπ/6x=[3/2−1/21/23/2][11]=[(3−1)/2(1+3)/2]R_{\pi/6}x = \begin{bmatrix} \sqrt{3}/2 & -1/2 \\ 1/2 & \sqrt{3}/2 \end{bmatrix} \begin{bmatrix} 1 \\ 1 \end{bmatrix} = \begin{bmatrix} (\sqrt{3}-1)/2 \\ (1+\sqrt{3})/2 \end{bmatrix} The image of x=(1,1)x = (1,1) is ((3−1)/2,(1+3)/2)((\sqrt{3}-1)/2, (1+\sqrt{3})/2) 8.

7. Exercise Set 1.8

7.1 Domain and codomain of transformations

The domain of a transformation TA(x)=AxT_A(\mathbf{x}) = A\mathbf{x} is the space from which the input vector x\mathbf{x} is drawn, and the codomain is the space where the output vector AxA\mathbf{x} resides. For a matrix AA of size m×nm \times n, the transformation TA:Rn→RmT_A: \mathbb{R}^n \to \mathbb{R}^m maps vectors from Rn\mathbb{R}^n to Rm\mathbb{R}^m 9.

Matrix sizeDomainCodomain
4×54 \times 5R5\mathbb{R}^5R4\mathbb{R}^4
5×45 \times 4R4\mathbb{R}^4R5\mathbb{R}^5
4×44 \times 4R4\mathbb{R}^4R4\mathbb{R}^4
3×13 \times 1R1\mathbb{R}^1R3\mathbb{R}^3

📝 For a transformation T(x1,x2)=(2x1−x2,x1+x2)T(\mathbf{x}_1, \mathbf{x}_2) = (2\mathbf{x}_1 - \mathbf{x}_2, \mathbf{x}_1 + \mathbf{x}_2), the input is a 2-component vector, so the domain is R2\mathbb{R}^2. The output is also a 2-component vector, making the codomain R2\mathbb{R}^2 9 11.

7.2 Standard matrix for transformations

The standard matrix AA for a linear transformation TT is constructed by applying TT to each standard basis vector and using the resulting vectors as the columns of AA. For a transformation T:Rn→RmT: \mathbb{R}^n \to \mathbb{R}^m, the standard matrix AA will be an m×nm \times n matrix 10.

Transformation equationsStandard matrix A
w1=2x1−3x2+x3w_1 = 2x_1 - 3x_2 + x_3; w2=3x1+5x2−x3w_2 = 3x_1 + 5x_2 - x_3[2−31;35−1][2 -3 1; 3 5 -1]
w1=−x1+x2w_1 = -x_1 + x_2; w2=3x1−2x2w_2 = 3x_1 - 2x_2; w3=5x1−7x2w_3 = 5x_1 - 7x_2[−11;3−2;5−7][-1 1; 3 -2; 5 -7]

📝 For the transformation T(x1,x2)=(2x1−x2,x1+x2)T(x_1, x_2) = (2x_1 - x_2, x_1 + x_2), applying TT to the standard basis vectors gives T(1,0)=(2,1)T(1,0) = (2,1) and T(0,1)=(−1,1)T(0,1) = (-1,1). The standard matrix is then A=[2−1;11]A = [2 -1; 1 1] 11.

7.3 Image of a vector under transformation

To find the image of a vector x\mathbf{x} under a transformation TAT_A, multiply the standard matrix AA by the vector x\mathbf{x}, i.e., TA(x)=AxT_A(\mathbf{x}) = A\mathbf{x} 11.

📝 Given A=[12;34]A = [1 2; 3 4] and x=[3;−2]\mathbf{x} = [3; -2], the image TA(x)T_A(\mathbf{x}) is Ax=[12;34][3;−2]=[1(3)+2(−2);3(3)+4(−2)]=[−1;1]A\mathbf{x} = [1 2; 3 4] [3; -2] = [1(3)+2(-2); 3(3)+4(-2)] = [-1; 1] 11.

7.4 Rotations about the origin

A rotation about the origin through an angle θ\theta in R2\mathbb{R}^2 is a linear transformation represented by a standard matrix RθR_\theta 12.

Angle θ\thetaRotation matrix RθR_\theta
30∘30^\circ[3/2−1/2;1/23/2][\sqrt{3}/2 -1/2; 1/2 \sqrt{3}/2]
45∘45^\circ[2/2−2/2;2/22/2][\sqrt{2}/2 -\sqrt{2}/2; \sqrt{2}/2 \sqrt{2}/2]
−60∘-60^\circ[cos⁡(−60∘)−sin⁡(−60∘);sin⁡(−60∘)cos⁡(−60∘)][\cos(-60^\circ) -\sin(-60^\circ); \sin(-60^\circ) \cos(-60^\circ)]
90∘90^\circ[cos⁡(90∘)−sin⁡(90∘);sin⁡(90∘)cos⁡(90∘)][\cos(90^\circ) -\sin(90^\circ); \sin(90^\circ) \cos(90^\circ)]

📝 To rotate the vector (3,−4)(3, -4) by 45∘45^\circ, multiply it by the rotation matrix R45∘=[2/2−2/2;2/22/2]R_{45^\circ} = [\sqrt{2}/2 -\sqrt{2}/2; \sqrt{2}/2 \sqrt{2}/2]. The image is [72/2;−2/2][7\sqrt{2}/2; -\sqrt{2}/2] 12.

7.5 True-false exercises on transformations

Linear transformations have specific properties that define them, such as T(cx)=cT(x)T(c\mathbf{x}) = cT(\mathbf{x}) and T(x+y)=T(x)+T(y)T(\mathbf{x} + \mathbf{y}) = T(\mathbf{x}) + T(\mathbf{y}) 13.

  • Domain of TAT_A: If AA is an m×nm \times n matrix, the domain of TAT_A is Rn\mathbb{R}^n, not Rm\mathbb{R}^m.
  • Codomain of TAT_A: If AA is an m×nm \times n matrix, the codomain of TAT_A is Rm\mathbb{R}^m, not Rn\mathbb{R}^n.
  • Linear transformation properties: For a linear transformation, T(cx)=cT(x)T(c\mathbf{x}) = cT(\mathbf{x}). If T(2x)=4T(x)T(2\mathbf{x}) = 4T(\mathbf{x}), it implies c=2c=2 and c=4c=4, which is a contradiction for a single linear transformation.
  • Matrix transformations: All linear transformations from Rn\mathbb{R}^n to Rm\mathbb{R}^m are matrix transformations.
  • Zero transformation: If TA(x)=0T_A(\mathbf{x}) = \mathbf{0} for every x\mathbf{x} in Rn\mathbb{R}^n, then AA must be the n×nn \times n zero matrix.
  • Property T(−x)=−T(x)T(-\mathbf{x}) = -T(\mathbf{x}): This is a fundamental property of all linear transformations.
  • Non-matrix operator: A transformation T(x)=x+bT(\mathbf{x}) = \mathbf{x} + \mathbf{b} where b\mathbf{b} is a nonzero vector is not a matrix operator because it does not map the zero vector to the zero vector (T(0)=b≠0T(\mathbf{0}) = \mathbf{b} \neq \mathbf{0}) 13.

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

See also