About

1.7-1.9 Linear Independence & Transformations

Theory: Linear Independence & Linear Transformations

Linear Independence (Lay §1.7)

An indexed set of vectors {v1,…,vp}\{\mathbf{v}_1, \dots, \mathbf{v}_p\} in Rn\mathbb{R}^n is said to be linearly independent if the vector equation:

c1v1+c2v2+⋯+cpvp=0c_1 \mathbf{v}_1 + c_2 \mathbf{v}_2 + \cdots + c_p \mathbf{v}_p = \mathbf{0}

has only the trivial solution c1=c2=⋯=cp=0c_1 = c_2 = \cdots = c_p = 0.

The set is linearly dependent if there exist weights c1,…,cpc_1, \dots, c_p, not all zero, such that the equation holds.

[!IMPORTANT] Matrix Criterion: The columns of a matrix AA are linearly independent if and only if the equation Ax=0A\mathbf{x} = \mathbf{0} has only the trivial solution — that is, if and only if AA has a pivot position in every column (no free variables).

Quick Inspection Rules

  1. Set of two vectors {u,v}\{\mathbf{u}, \mathbf{v}\}: Linearly dependent if and only if one vector is a scalar multiple of the other.
  2. Set containing the zero vector: Any set {v1,…,vp}\{\mathbf{v}_1, \dots, \mathbf{v}_p\} containing 0\mathbf{0} is always linearly dependent (Theorem 9).
  3. More vectors than dimensions (p>np > n in Rn\mathbb{R}^n): Any set of pp vectors in Rn\mathbb{R}^n with p>np > n is always linearly dependent (Theorem 8).

Linear Transformations (Lay §1.8 & §1.9)

A transformation T:Rn→RmT: \mathbb{R}^n \to \mathbb{R}^m is linear if:

  1. T(u+v)=T(u)+T(v)T(\mathbf{u} + \mathbf{v}) = T(\mathbf{u}) + T(\mathbf{v}) for all u,v∈Rn\mathbf{u}, \mathbf{v} \in \mathbb{R}^n,
  2. T(cu)=cT(u)T(c\mathbf{u}) = c T(\mathbf{u}) for all scalars cc and all u∈Rn\mathbf{u} \in \mathbb{R}^n.

Every linear transformation T:Rn→RmT: \mathbb{R}^n \to \mathbb{R}^m is a matrix transformation T(x)=AxT(\mathbf{x}) = A\mathbf{x}, where the standard matrix AA is given by:

A=[T(e1)T(e2)⋯T(en)]A = \begin{bmatrix} T(\mathbf{e}_1) & T(\mathbf{e}_2) & \cdots & T(\mathbf{e}_n) \end{bmatrix}

where ej\mathbf{e}_j is the jj-th column of the identity matrix InI_n.

One-to-One and Onto Mappings (Theorem 11 & 12)

Let T:Rn→RmT: \mathbb{R}^n \to \mathbb{R}^m be a linear transformation with standard matrix AA:


Solved Examples (Textbook Questions)

Exercise 1

(Adapted from Lay §1.7, Exercise 15 & 19)

  1. Determine all values of hh for which the following vectors are linearly dependent:
v1=[1−32],v2=[−39−6],v3=[5−7h]\mathbf{v}_1 = \begin{bmatrix} 1 \\ -3 \\ 2 \end{bmatrix}, \quad \mathbf{v}_2 = \begin{bmatrix} -3 \\ 9 \\ -6 \end{bmatrix}, \quad \mathbf{v}_3 = \begin{bmatrix} 5 \\ -7 \\ h \end{bmatrix}
  1. Explain by inspection (without row reduction) why the set S={[14],[−23],[56]}S = \left\{ \begin{bmatrix} 1 \\ 4 \end{bmatrix}, \begin{bmatrix} -2 \\ 3 \end{bmatrix}, \begin{bmatrix} 5 \\ 6 \end{bmatrix} \right\} in R2\mathbb{R}^2 must be linearly dependent.
Show solution ↓
Solution

Part 1: Notice immediately that:

v2=[−39−6]=−3[1−32]=−3v1\mathbf{v}_2 = \begin{bmatrix} -3 \\ 9 \\ -6 \end{bmatrix} = -3 \begin{bmatrix} 1 \\ -3 \\ 2 \end{bmatrix} = -3 \mathbf{v}_1

Since v2\mathbf{v}_2 is a scalar multiple of v1\mathbf{v}_1, we have:

3v1+1v2+0v3=3v1+(−3v1)+0=03\mathbf{v}_1 + 1\mathbf{v}_2 + 0\mathbf{v}_3 = 3\mathbf{v}_1 + (-3\mathbf{v}_1) + \mathbf{0} = \mathbf{0}

This provides a non-trivial linear combination with weights c1=3,c2=1,c3=0c_1 = 3, c_2 = 1, c_3 = 0. Therefore, the vectors v1,v2,v3\mathbf{v}_1, \mathbf{v}_2, \mathbf{v}_3 are linearly dependent for all real values of hh (h∈Rh \in \mathbb{R}).

Part 2: The set SS contains p=3p = 3 vectors in R2\mathbb{R}^2 (n=2n = 2). By Theorem 8 (Lay §1.7), if a set contains more vectors than there are entries in each vector (p>np > n), then the set is linearly dependent. Since 3>23 > 2, SS is linearly dependent by inspection.

Exercise 2

(Adapted from Lay §1.9, Exercise 3 & 7)

Find the standard matrix AA of the linear transformation T:R2→R2T: \mathbb{R}^2 \to \mathbb{R}^2 that first rotates points through π/2\pi/2 radians counterclockwise, and then reflects points through the horizontal x1x_1-axis.

Then, calculate the image T(u)T(\mathbf{u}) of u=[3−4]\mathbf{u} = \begin{bmatrix} 3 \\ -4 \end{bmatrix}.

Show solution ↓
Solution

The standard matrix is A=[T(e1)  T(e2)]A = [T(\mathbf{e}_1) \; T(\mathbf{e}_2)], where e1=[10]\mathbf{e}_1 = \begin{bmatrix} 1 \\ 0 \end{bmatrix} and e2=[01]\mathbf{e}_2 = \begin{bmatrix} 0 \\ 1 \end{bmatrix}.

Step 1: Track e1=[10]\mathbf{e}_1 = \begin{bmatrix} 1 \\ 0 \end{bmatrix}.

  • Rotate e1\mathbf{e}_1 counterclockwise by π/2\pi/2 (90∘90^\circ): [10]→rotate 90∘[01]\begin{bmatrix} 1 \\ 0 \end{bmatrix} \xrightarrow{\text{rotate } 90^\circ} \begin{bmatrix} 0 \\ 1 \end{bmatrix}
  • Reflect the result across the horizontal axis (x1x_1-axis, which sends (x,y)↦(x,−y)(x, y) \mapsto (x, -y)): [01]→reflect[0−1]\begin{bmatrix} 0 \\ 1 \end{bmatrix} \xrightarrow{\text{reflect}} \begin{bmatrix} 0 \\ -1 \end{bmatrix}

Therefore, T(e1)=[0−1]T(\mathbf{e}_1) = \begin{bmatrix} 0 \\ -1 \end{bmatrix}.

Step 2: Track e2=[01]\mathbf{e}_2 = \begin{bmatrix} 0 \\ 1 \end{bmatrix}.

  • Rotate e2\mathbf{e}_2 counterclockwise by π/2\pi/2: [01]→rotate 90∘[−10]\begin{bmatrix} 0 \\ 1 \end{bmatrix} \xrightarrow{\text{rotate } 90^\circ} \begin{bmatrix} -1 \\ 0 \end{bmatrix}
  • Reflect across the horizontal axis: [−10]→reflect[−10]\begin{bmatrix} -1 \\ 0 \end{bmatrix} \xrightarrow{\text{reflect}} \begin{bmatrix} -1 \\ 0 \end{bmatrix}

Therefore, T(e2)=[−10]T(\mathbf{e}_2) = \begin{bmatrix} -1 \\ 0 \end{bmatrix}.

Step 3: Construct the standard matrix AA.

A=[T(e1)T(e2)]=[0−1−10]A = \begin{bmatrix} T(\mathbf{e}_1) & T(\mathbf{e}_2) \end{bmatrix} = \begin{bmatrix} 0 & -1 \\ -1 & 0 \end{bmatrix}

(Note: This is the reflection across the line x2=−x1x_2 = -x_1.)

Step 4: Compute T(u)T(\mathbf{u}).

T([3−4])=[0−1−10][3−4]=[0(3)+(−1)(−4)−1(3)+0(−4)]=[4−3]T\left(\begin{bmatrix} 3 \\ -4 \end{bmatrix}\right) = \begin{bmatrix} 0 & -1 \\ -1 & 0 \end{bmatrix} \begin{bmatrix} 3 \\ -4 \end{bmatrix} = \begin{bmatrix} 0(3) + (-1)(-4) \\ -1(3) + 0(-4) \end{bmatrix} = \begin{bmatrix} 4 \\ -3 \end{bmatrix}
Exercise 3

(Adapted from Lay §1.9, Exercise 25)

Let T:R3→R3T: \mathbb{R}^3 \to \mathbb{R}^3 be the linear transformation defined by:

T(x1,x2,x3)=[x1−2x2+4x32x1−3x2+5x3−3x1+5x2−7x3]T(x_1, x_2, x_3) = \begin{bmatrix} x_1 - 2x_2 + 4x_3 \\ 2x_1 - 3x_2 + 5x_3 \\ -3x_1 + 5x_2 - 7x_3 \end{bmatrix}
  1. Find the standard matrix AA of TT.
  2. Determine whether TT is one-to-one.
  3. Determine whether TT maps R3\mathbb{R}^3 onto R3\mathbb{R}^3.
Show solution ↓
Solution

Step 1: Write down the standard matrix AA. From the coefficients of x1,x2,x3x_1, x_2, x_3:

A=[1−242−35−35−7]A = \begin{bmatrix} 1 & -2 & 4 \\ 2 & -3 & 5 \\ -3 & 5 & -7 \end{bmatrix}

Step 2: Row reduce AA to echelon form.

  • R2←R2−2R1R_2 \leftarrow R_2 - 2R_1: [2,−3,5]−2[1,−2,4]=[0,1,−3][2, -3, 5] - 2[1, -2, 4] = [0, 1, -3]
  • R3←R3+3R1R_3 \leftarrow R_3 + 3R_1: [−3,5,−7]+3[1,−2,4]=[0,−1,5][-3, 5, -7] + 3[1, -2, 4] = [0, -1, 5]

Matrix:

[1−2401−30−15]\begin{bmatrix} 1 & -2 & 4 \\ 0 & 1 & -3 \\ 0 & -1 & 5 \end{bmatrix}
  • R3←R3+R2R_3 \leftarrow R_3 + R_2: [0,−1,5]+[0,1,−3]=[0,0,2][0, -1, 5] + [0, 1, -3] = [0, 0, 2]

The echelon form is:

[1−2401−3002]\begin{bmatrix} 1 & -2 & 4 \\ 0 & 1 & -3 \\ 0 & 0 & 2 \end{bmatrix}

Step 3: Analyze pivots.

  • Column 1 has a pivot (11).
  • Column 2 has a pivot (11).
  • Column 3 has a pivot (22).

Every column has a pivot, and every row has a pivot:

  1. Is TT one-to-one? Yes. Since AA has a pivot in every column, the columns of AA are linearly independent, and Ax=0A\mathbf{x} = \mathbf{0} has only the trivial solution. By Theorem 12, TT is one-to-one.
  2. Does TT map R3\mathbb{R}^3 onto R3\mathbb{R}^3? Yes. Since AA has a pivot in every row (3 pivots in 3 rows), the columns of AA span R3\mathbb{R}^3 (Theorem 4). By Theorem 12, TT maps R3\mathbb{R}^3 onto R3\mathbb{R}^3.