4.5.27 · D3Linear Algebra (Full)

Worked examples — Linear transformations — definition, kernel, image

2,691 words12 min readBack to topic

The scenario matrix

Every linear-map problem lands in one of these cells. Read this table like a checklist — each row is a shape of behaviour. Recall (input dimension) and (output dimension), just defined above.

# Case class What's special Nullity / Rank Example
A Injective, not onto (: fewer input than output dims) maps up a dimension, crushes nothing null , rank Ex 1
B Onto, not injective (: more input than output dims) maps down, must crush something null , rank Ex 2
C Bijective (square, , invertible) perfect one-to-one, both directions null , rank Ex 3
D The zero map (degenerate) crushes everything null , rank Ex 4
E Projection (idempotent, kernel = a line/plane) keeps a subspace, kills the rest null , rank Ex 5
F Rank-deficient square ( but ) square but NOT invertible null , rank Ex 6
G Non- space (polynomials, the derivative) vectors aren't columns null , rank Ex 7
H Word problem (real world) translate first, then compute depends Ex 8
I Exam twist (find so a vector is reachable) image-membership test Ex 9

The Injective surjective bijective properties are just cells A, B, C read off the nullity/rank.


Example 1 — Cell A: injective, not onto ()

  1. Kernel: set the output to zero: , , . The first two already force . Why this step? Kernel = inputs sent to ; solve directly.
  2. So , nullity is injective. Why this step? Injective (parent's rule, no exceptions).
  3. Image: the matrix is ; columns and . They aren't multiples of each other, so they're independent → rank . Why this step? For , the image is the column space; its dimension is the number of independent columns.
  4. Since rank , the image is a plane inside 3D, not all of it → not onto.
Figure — Linear transformations — definition, kernel, image

Example 2 — Cell B: onto, not injective ()

  1. Kernel: and , so and . Let : . Why this step? Solve ; one free parameter remains.
  2. , nullity . A nonzero kernel → not injective. Why this step? One free variable = a whole line of inputs crushed to .
  3. Image: matrix ; columns . The first two already span all of rank , image onto. Why this step? Two independent columns fill the 2D output space.
Figure — Linear transformations — definition, kernel, image

Example 3 — Cell C: bijective (invertible, )

  1. Matrix , determinant . Why this step? A nonzero determinant means the columns are independent — no collapse.
  2. Kernel: , . Subtract: , then . So , nullity , injective. Why this step? Solve ; the unique solution being confirms .
  3. Image: rank (two independent columns) → onto. Injective + onto = bijective.
Figure — Linear transformations — definition, kernel, image

Example 4 — Cell D: the zero map (degenerate)

  1. Kernel: every input gives , so , nullity . Why this step? Kernel is the set sent to — here that's the whole space.
  2. Image: the only output is , so , rank . Why this step? Nothing else can come out.
  3. Not injective (kernel ), not onto (image ).

Example 5 — Cell E: projection (idempotent)

  1. Kernel: needs ; is free. So , the -axis, nullity . Why this step? Points directly above/below origin cast their shadow onto .
  2. Image: outputs are = the whole -axis, rank . Why this step? Every shadow lands on the -axis; nothing above it is reachable.
  3. Idempotent check: . Projecting twice = projecting once. ✓ Why this step? A projection fixes what's already in its image (that's the definition of idempotent above).
Figure — Linear transformations — definition, kernel, image

Example 6 — Cell F: rank-deficient square (, )

  1. . Not invertible. Why this step? Zero determinant flags dependent columns → a collapse.
  2. Kernel: (both rows give this), so . . , nullity . Why this step? The two equations are secretly one equation → one free variable.
  3. Image: columns and ; the second is the first → only one independent column. , rank — a line, not the plane. Why this step? Dependent columns span a lower-dimensional space.
Figure — Linear transformations — definition, kernel, image

Example 7 — Cell G: the derivative on polynomials

  1. Kernel: forces and ; is free. So constants, nullity . Why this step? Only constant functions have zero slope everywhere.
  2. Image: , which is any polynomial of degree = , rank . Why this step? Differentiating drops the degree by one, so outputs live in .

Example 8 — Cell H: word problem

  1. Write , matrix . Why this step? Read the coefficients straight off the two recipe formulas.
  2. (i) Kernel: and . Subtract the first from the second: . Then . So . Why this step? Eliminate one variable to expose the free parameter.
  3. : blends along this direction cancel to zero volume and zero sugar (algebraically). Nullity .
  4. (ii) Image: columns and are independent → rank = . Every (volume, sugar) pair is reachable → onto.

Example 9 — Cell I: exam twist (image membership)

  1. We need for some . From the first two: , → add: , , then . Why this step? Solve the two "free" coordinates first; they pin down uniquely.
  2. The third coordinate is forced: . So we need . Why this step? Once is fixed, the third output can't be chosen independently — the plane's constraint.
  3. Therefore .

Active recall

Recall Which cell is each map? (hide answers)

, onto ::: Cell B — onto, not injective (nullity ). ::: Cell D — the zero map (nullity = dim , rank ). with ::: Cell F — rank-deficient square. Derivative on ::: Cell G — non-; nullity , rank . injective ::: Cell A — injective, not onto. What does idempotent mean? ::: — applying twice equals applying once (projections).


Connections