LINEAR-ALGEBRA

Columns Tell the Story: How Any Linear Transformation Becomes a Matrix

IKey Formulas

Formula Name Description
ColumnΒ jΒ ofΒ A=[T(vj)]w\text{Column } j \text{ of } A = [T(v_j)]_w Column rule Apply TT to input basis vector vjv_j, write in output basis ww
Ax=[T(x)]wA \mathbf{x} = [T(\mathbf{x})]_w Matrix-transformation link The matrix reproduces TT on coordinates
Matrix(S∘T)=BA\text{Matrix}(S \circ T) = B A Composition rule Composing transformations = multiplying matrices
P2=PP^2 = P Projection property Any projection matrix satisfies this

Shape rule: A matrix representing T:Rn→RmT : \mathbb{R}^n \to \mathbb{R}^m has mm rows (output dim) and nn columns (input dim).

IIVisualization 1 β€” Columns Are the Images of the Basis Vectors

A 2Γ—22\times 2 matrix is just the two places TT sends e1e_1 and e2e_2, stacked as columns.

IIIVisualization 2 β€” One Projection, Two Matrices

Projecting onto a line is a single operation, yet its matrix depends on the basis you write it in.

πŸ’‘ The eigenvector-basis matrix stays diag(1,0)\text{diag}(1, 0) at every angle β€” that fixed, diagonal form is exactly what diagonalization buys you.

IVVisualization 3 β€” Differentiation Is a Matrix

Differentiation is linear, so on the basis {1,x,x2}\{1, x, x^2\} it acts as a fixed matrix on coefficient vectors.

πŸ’‘ The columns of DD are ddx\tfrac{d}{dx} applied to each basis vector: 1β†’01 \to 0, xβ†’1x \to 1, x2β†’2xx^2 \to 2x.

VQuiz Questions

Test your understanding of the column rule for building matrices.

Question 1

Suppose a linear transformation T:R2β†’R2T: \mathbb{R}^2 \to \mathbb{R}^2 satisfies T(e1)=[3βˆ’2],T(e2)=[14].T(e_1) = \begin{bmatrix} 3 \\ -2 \end{bmatrix}, \quad T(e_2) = \begin{bmatrix} 1 \\ 4 \end{bmatrix}.

What is the matrix of TT in the standard basis?

Select the matrix (entries shown row-by-row):

βœ… Correct! The output vectors become the columns of the matrix.

❌ Not quite. Remember: T(e1)T(e_1) and T(e2)T(e_2) become the columns of the matrix, not the rows.

Show solution

Solution:

The column rule says: column jj of the matrix is T(ej)T(e_j) written in the output basis. So:

  • Column 1 is T(e1)=(3,βˆ’2)TT(e_1) = (3, -2)^T
  • Column 2 is T(e2)=(1,4)TT(e_2) = (1, 4)^T

Stacking these as columns gives: A=[31βˆ’24]A = \begin{bmatrix} 3 & 1 \\ -2 & 4 \end{bmatrix}

Reading row-by-row: [[3,1],[βˆ’2,4]][[3, 1], [-2, 4]].

The common mistake [[3,βˆ’2],[1,4]][[3, -2], [1, 4]] puts the output vectors as rows instead of columns.

Question 2

Consider the projection TT onto the xx-axis (the horizontal line y=0y=0) in R2\mathbb{R}^2.

Which matrix represents TT in the standard basis {e1,e2}\{e_1, e_2\}?

Select the matrix:

βœ… Correct! T(e1)=e1T(e_1) = e_1 (unchanged) and T(e2)=0T(e_2) = 0 (crushed), giving columns (1,0)(1,0) and (0,0)(0,0).

❌ Not quite. Apply TT to each standard basis vector: where does e1=(1,0)e_1=(1,0) go under projection onto the x-axis? Where does e2=(0,1)e_2=(0,1) go?

Show solution

Solution:

Apply the column rule. Projection onto the xx-axis sends a point (x,y)(x, y) to (x,0)(x, 0).

  • T(e1)=T(1,0)=(1,0)T(e_1) = T(1, 0) = (1, 0) β€” already on the xx-axis, unchanged. Column 1 is (1,0)T(1, 0)^T.
  • T(e2)=T(0,1)=(0,0)T(e_2) = T(0, 1) = (0, 0) β€” gets crushed to the origin. Column 2 is (0,0)T(0, 0)^T.

So the matrix is: P=[1000]P = \begin{bmatrix} 1 & 0 \\ 0 & 0 \end{bmatrix}

Notice this happens to be the same as the projection onto the 45Β° line in the eigenvector basis β€” because the xx-axis IS the eigenvector basis for projecting onto the xx-axis. The standard basis already lines up with the line.

  • [[0,0],[0,1]][[0,0],[0,1]] would project onto the yy-axis.
  • [[1,0],[0,1]][[1,0],[0,1]] is the identity (no projection).
  • [[1/2,1/2],[1/2,1/2]][[1/2, 1/2], [1/2, 1/2]] is the projection onto the 45Β° line in the standard basis.

Question 3

True or False: If two matrices look different (have different entries), they must represent different linear transformations.

True or False?

βœ… Correct! Different matrices can represent the same transformation when expressed in different bases.

❌ Not quite. Recall the video's opening: two different-looking matrices both represented the same projection onto the 45° line.

Show solution

Solution: False.

A matrix is a transformation expressed in a chosen basis. Change the basis, and the matrix entries change β€” but the underlying transformation stays the same.

The video's central example: projection onto the 45Β° line is represented by [1/21/21/21/2](standardΒ basis)\begin{bmatrix} 1/2 & 1/2 \\ 1/2 & 1/2 \end{bmatrix} \quad \text{(standard basis)} but also by [1000](eigenvectorΒ basis).\begin{bmatrix} 1 & 0 \\ 0 & 0 \end{bmatrix} \quad \text{(eigenvector basis)}.

Both matrices describe the same geometric projection. They are related by a change-of-basis transformation.

Key takeaway: Matrix = transformation + choice of basis. Neither matrix is more "correct" than the other.

Question 4

Let DD be the derivative as a linear map from polynomials of degree ≀2\leq 2 to polynomials of degree ≀1\leq 1, using bases {1,x,x2}\{1, x, x^2\} and {1,x}\{1, x\}. So D=[010002].D = \begin{bmatrix} 0 & 1 & 0 \\ 0 & 0 & 2 \end{bmatrix}.

Apply DD to the polynomial p(x)=7+2xβˆ’3x2p(x) = 7 + 2x - 3x^2. The coordinate vector of pp is (7,2,βˆ’3)T(7, 2, -3)^T. What is pβ€²(x)p'(x)?

Select the derivative:

βœ… Correct! Matrix multiplication gives (2,βˆ’6)(2, -6), which translates back to 2βˆ’6x2 - 6x.

❌ Not quite. Compute Dβ‹…(7,2,βˆ’3)TD \cdot (7, 2, -3)^T row by row, then translate the output coordinates back to a polynomial in basis {1,x}\{1, x\}.

Show solution

Solution:

Multiply the matrix by the coordinate vector: D[72βˆ’3]=[0β‹…7+1β‹…2+0β‹…(βˆ’3)0β‹…7+0β‹…2+2β‹…(βˆ’3)]=[2βˆ’6].D \begin{bmatrix} 7 \\ 2 \\ -3 \end{bmatrix} = \begin{bmatrix} 0 \cdot 7 + 1 \cdot 2 + 0 \cdot (-3) \\ 0 \cdot 7 + 0 \cdot 2 + 2 \cdot (-3) \end{bmatrix} = \begin{bmatrix} 2 \\ -6 \end{bmatrix}.

Output coordinates (2,βˆ’6)(2, -6) in the basis {1,x}\{1, x\} mean: pβ€²(x)=2β‹…1+(βˆ’6)β‹…x=2βˆ’6x.p'(x) = 2 \cdot 1 + (-6) \cdot x = 2 - 6x.

Direct check: ddx(7+2xβˆ’3x2)=2βˆ’6x\frac{d}{dx}(7 + 2x - 3x^2) = 2 - 6x. They agree.

  • pβ€²(x)=βˆ’6+2xp'(x) = -6 + 2x has the right coefficients but in the wrong order (you mixed up the constant and linear terms).
  • pβ€²(x)=2βˆ’3xp'(x) = 2 - 3x forgot the factor of 2 from differentiating x2x^2.

VISummary

One rule, three lessons:

  1. Matrix = transformation + basis choice. A matrix is what a transformation looks like once you pick coordinates. Change the basis, change the matrix.

  2. Eigenvector basis β†’ diagonal matrix. The cleanest representation puts eigenvalues on the diagonal and reveals what the transformation truly does.

  3. Calculus is linear algebra in disguise. Differentiation acts linearly on polynomials, so it has a matrix β€” once you know its action on the basis, you know everything.

The mantra: Apply TT to the basis vectors. Write the results in output coordinates. Stack them as columns.

Solved: 0 / 4