Exercises — Linear transformations — definition, kernel, image
Level 1 — Recognition
Exercise 1.1
Which of these maps are linear?
- (a)
- (b)
- (c)
Recall Solution
What "linear" demands: the map must send , and it must respect adding and scaling (see the definition). The fastest first filter is the free sanity check .
(a) ✓. Now check homogeneity and additivity — but notice every output is a sum of constant-multiples of and , i.e. degree-1 with no constants. ✓, and expanding a sum splits cleanly. Linear. ✓
(b) . Why it fails: the is a constant shift (affine), and shifting moves the origin. Not linear.
(c) ✓ — but this passes the cheap test and still fails. Try homogeneity: , whereas . These differ ( for e.g. ). Not linear — the product is degree 2.
Exercise 1.2
For , write down the matrix with .
Recall Solution
What we do: feed the standard basis vectors in and stack the outputs as columns — this is how a linear map becomes a matrix (parent note §1). , , . Why columns: any gives , exactly matrix-times-vector. This connects to Matrix multiplication.
Level 2 — Application
Exercise 2.1
Find and its dimension (the nullity) for
Recall Solution
What the kernel is: all inputs squashed to (parent §2). So solve Why look before solving: the second equation is exactly twice the first, so it carries no new information — one honest equation, three unknowns. Set . Two free choices : These two vectors are independent (neither is a multiple of the other), so the dimension really is . See Column space and null space.
Exercise 2.2
For the same , find and the rank.
Recall Solution
What the image is: everything can output = the column space of its matrix. Columns of are . Why this shortcut works: , so outputs are exactly combinations of columns. All three columns are multiples of . So they span a single line: Check with Rank–Nullity Theorem: , nullity + rank ✓.

Level 3 — Analysis
Exercise 3.1
A linear map has . Is injective? Is it surjective? Justify.
Recall Solution
Injective? is injective (parent §2). Here , so the kernel contains nonzero vectors. Not injective — see Injective surjective bijective.
Surjective? Use Rank–Nullity Theorem: , so . The image sits in but has dimension only . Why that settles it: a 2-dimensional image cannot fill a 3-dimensional space. Not surjective.
Exercise 3.2
The projection , , flattens space onto the -plane. Find , , and verify rank–nullity.
Recall Solution
Kernel — what gets crushed to : solve , giving , free. What it looks like: the whole vertical -axis is the shadow-line that lands on the origin — every point directly above/below the origin collapses onto it.
Image — what can come out: every output has third coordinate , and any is reachable via . Rank–nullity: ✓.

Level 4 — Synthesis
Exercise 4.1
Let be differentiation on polynomials of degree , i.e. . Using the basis , find the matrix of , then , , and check rank–nullity.
Recall Solution
Why differentiation is linear: and — exactly additivity and homogeneity. So is a genuine linear transformation on the vector space of polynomials.
Matrix (via basis images): feed each basis polynomial in. , , . Writing outputs in coordinates for : Kernel: means for all , forcing ; free. Why: the derivative of a constant is zero — constants are exactly the information a derivative loses. Image: outputs range over all polynomials of degree . Rank–nullity: ✓.
Exercise 4.2
Build a linear map whose kernel is the line and whose image is the plane . Give an explicit matrix, or explain why impossible.
Recall Solution
Feasibility first (rank–nullity): we want nullity and rank ; ✓, so it is possible. Strategy: we need a matrix with (i) and (ii) column space , i.e. all outputs have third coordinate → the whole bottom row of is zero. Try Check kernel: ✓. Solving : , so ✓, nullity 1. Check image: top two rows are independent, third row zero, so outputs are all = the plane ✓, rank 2. Done. (Many valid answers exist; connects to Change of basis if you build by choosing where basis vectors go.)
Level 5 — Mastery
Exercise 5.1
Let be linear on a finite-dimensional space with (a projection, or idempotent map). Prove that — i.e. every splits uniquely as (kernel part) + (image part).
Recall Solution
What "" means: two subspaces satisfy when (1) and (2) (every vector is a sum of one from each). We must show both for , .
Step 1 — spanning (). For any , write the clever identity Why this split: is manifestly in the image. Check : apply and use : So with , . Every vector splits.
Step 2 — trivial intersection (). Take . Being in the image, for some . Being in the kernel, . Then Why the middle equality: collapses to . Hence , so the only shared vector is .
Both conditions hold, therefore . (This is why a projection cleanly separates "what it keeps" from "what it kills" — echoing Exercise 3.2. Linked idea: Eigenvalues and eigenvectors, since idempotents have eigenvalues only and .)
Exercise 5.2
Suppose is linear and injective. Prove it is automatically surjective (hence bijective). Then give a counterexample showing this fails when the map goes with .
Recall Solution
Why the tool: rank–nullity. Injective means (parent §2), so nullity . Then The image is an -dimensional subspace of , and the only -dimensional subspace of an -dimensional space is the whole space. So → surjective, hence bijective (see Injective surjective bijective).
Why it needs equal dimensions: the argument used . Break that and it collapses. Counterexample , (injective), yet (rank 2 < 3), so not surjective. Injectivity does not force surjectivity when the spaces differ in size.
Recap
Recall One-line takeaways per level
L1 — is necessary, not sufficient; always test scaling. L2 — image = column space; repeated columns don't raise rank. L3 — decide inject/surject by comparing kernel to and rank to . L4 — kernel and image are chained by rank–nullity; construct with both in view. L5 — "injective ⇒ surjective" needs equal dimensions; projections split .