Survey of Mathematics

3.7 Dual spaces and quotient spaces

A linear functional reads one number off a vector, and all the functionals on V form a space V* of the same dimension, whose maps are given by the transpose. Dividing V by a subspace U, by treating vectors that differ by something in U as the same, gives the quotient space V/U, and the first isomorphism theorem says every linear map is "quotient, then relabel", which is rank–nullity in its deepest form.

Beyond the courseAxler, Linear Algebra Done Right, 3E (products and quotients) and 3F (duality)Strang, Introduction to Linear Algebra (the transpose and the four subspaces)Halmos, Finite-Dimensional Vector Spaces (dual spaces)MATH 540 (reference)

Chapter 2.3 studied linear maps from one space to another. This chapter takes the simplest possible target, the real numbers themselves. A linear map from VV to R\mathbb R is called a linear functional, and the set of all of them is again a vector space, the dual space of VV. It explains something you have been writing since 2.5 without a reason: why the transpose appears whenever a map is asked what it does to functionals, and why in calculus a point is a column while a derivative is a row. The second half builds the quotient space V/UV/U, the exact way to say “treat two vectors as the same when they differ by something in UU”. It reuses the machinery of equivalence relations from 0.4, and it turns rank–nullity into a statement about isomorphism.

Before you start

Chapter 2.3 (linear maps, null space, rank–nullity), 2.5 (the matrix of a map, the transpose), and 0.4 (equivalence classes and why a rule on classes must be well defined). Scalars are real numbers, as in 2.1.

Quick checkWhich of these is a linear map from R2\mathbb R^2 to R\mathbb R?
Quick checkA linear map T:R5→R3T: \mathbb R^5 \to \mathbb R^3 is onto. What is the dimension of its null space?
Quick checkOn R2\mathbb R^2 say v∼wv \sim w when vv and ww have the same yy-coordinate. What is the equivalence class of (3,5)(3, 5)?

The picture

Take the function φ(x,y)=x+2y\varphi(x, y) = x + 2y on the plane. It is linear: it sends (0,0)(0, 0) to 00, and it respects sums and multiples. It reads one number off each point. Look at where it is constant. The points with φ=0\varphi = 0 lie on the line x+2y=0x + 2y = 0. The points with φ=1\varphi = 1 lie on a second line x+2y=1x + 2y = 1, the first line moved along. Every value cc gives one more parallel line. So a functional on the plane is a family of equally spaced parallel lines, and its value at a point says which line the point is on.

The visualizer below shows the same thing for the map T(x,y)=(x+2y, 0.5x+y)T(x, y) = (x + 2y,\ 0.5x + y). Its second output is half of the first, so TT is the functional x+2yx + 2y followed by a stretch onto a line.

The red line is the null space: the vectors along (−2,1)(-2, 1) that TT sends to OO. Now take any point off the red line and look at the whole line through it that is parallel to the red line. Every point of that parallel line lands on the same point of the green line, because two points on it differ by a multiple of (−2,1)(-2, 1), and TT kills that. So TT cannot tell the points of a parallel line apart. Each of these parallel lines is a coset of the null space, and the set of all of them, with a way to add and scale them, is the quotient space. The picture says that the plane, with the red line collapsed to a point, is the green line. That sentence is the first isomorphism theorem, and the rest of the chapter makes it precise.

Where this came from· Where dual spaces came from

In finite dimensions the dual space is a tidy exercise, but it was invented for infinite-dimensional problems. Around 1900 mathematicians turned integral equations into linear algebra on spaces of functions, and there a vector is a whole function, so “read off one coordinate” has to be replaced by rules like “evaluate the function at a point” or “integrate it”. Those rules are functionals. Eduard Helly (1912 and 1921) and Hans Hahn (1927) studied the functionals on a normed space of functions, which is how the dual of such a space entered mathematics. Stefan Banach, who proved a more general extension result in 1929, wrote the book Théorie des opérations linéaires (1932) that made the dual space a central tool. The Hahn–Banach theorem says that enough functionals always exist. In finite dimensions that is the problem near the end of this chapter, which finds for each non-zero vv a functional with φ(v)=1\varphi(v) = 1 by extending a basis.

The idea, in words

Why· A functional is a question you can ask a vector

A vector in R3\mathbb R^3 is three numbers, but you often care about one number made from them: its height, its total, its dot product with a fixed direction. Each such question is a linear functional. A basis gives the most basic family of questions: “how much of v1v_1 is in vv?”, “how much of v2v_2?”, and so on. These are the coordinates of 2.2, and the dual basis is that family of questions written as functionals.

The quotient construction asks the opposite kind of question. Instead of reading something off a vector, we decide that some differences do not matter. If a map TT cannot see the vectors in N(T)N(T), then vv and v+nv + n look the same to TT for every n∈N(T)n \in N(T). Collect each vector with all its look-alikes into one object, a coset, and then TT becomes one-to-one on the cosets. Everything TT is able to do is done by the quotient, and what remains is a relabelling of the range.

Linear functionals and the dual space

Definition B

Linear functional

Let VV be a vector space. A linear functional on VV is a linear map φ:V→R\varphi: V \to \mathbb R. That is, φ(v+w)=φ(v)+φ(w)\varphi(v + w) = \varphi(v) + \varphi(w) and φ(cv)=c φ(v)\varphi(cv) = c\,\varphi(v) for all v,w∈Vv, w \in V and all scalars cc. Examples:

  • on R3\mathbb R^3: φ(x,y,z)=2x−y+7z\varphi(x, y, z) = 2x - y + 7z, and the coordinate φ(x,y,z)=y\varphi(x, y, z) = y;
  • on the polynomials of degree at most 22: evaluation at 22, p↦p(2)p \mapsto p(2); the derivative at 11, p↦p′(1)p \mapsto p'(1); and the integral, p↦∫01p(x) dxp \mapsto \int_0^1 p(x)\,dx;
  • on 2×22 \times 2 matrices: the trace, A↦a11+a22A \mapsto a_{11} + a_{22}.

Non-examples: the length v↦∥v∥v \mapsto \lVert v \rVert (it fails ∥−v∥=−∥v∥\lVert -v \rVert = -\lVert v \rVert), and p↦p(2)+1p \mapsto p(2) + 1 (it sends the zero polynomial to 11, not 00).

In one lineA linear map from a vector space V to the scalars: it takes a vector and returns a number, and respects sums and multiples.

Why it existsIt is the simplest kind of linear map, a single readout, and every coordinate of a vector is one.

How many functionals are there, and what do they look like? On Rn\mathbb R^n the answer is a row of numbers.

Proposition B

Functionals on R^n are rows

Let φ\varphi be a linear functional on Rn\mathbb R^n and put ai=φ(ei)a_i = \varphi(e_i). Then for every x=(x1,…,xn)x = (x_1, \dots, x_n),

φ(x)=a1x1+⋯+anxn=[a1⋯an][x1⋮xn].\varphi(x) = a_1x_1 + \dots + a_nx_n = \begin{bmatrix}a_1 & \cdots & a_n\end{bmatrix}\begin{bmatrix}x_1\\ \vdots\\ x_n\end{bmatrix}.

Conversely, every row [a1 ⋯ an][a_1\ \cdots\ a_n] defines a linear functional by this formula.

In one lineEvery linear functional on Rn\mathbb R^n is φ(x)=a1x1+⋯+anxn\varphi(x) = a_1x_1 + \dots + a_nx_n with ai=φ(ei)a_i = \varphi(e_i), which is the row [a1 ⋯ an][a_1\ \cdots\ a_n] times the column xx; and every such row gives a functional.

Why it is trueBy linearity, a functional is decided by its values on the standard basis, and the values are the coefficients.

ProofAxler 3.F; standard
The idea: Write x in the standard basis, apply the functional, and use linearity to pull the coordinates out. The converse is the linearity of matrix multiplication.
Write x=x1e1+⋯+xnenx = x_1e_1 + \dots + x_ne_n.
Every x∈Rnx \in \mathbb R^n is ∑xiei\sum x_ie_i (2.2, the standard basis).
φ(x)=x1φ(e1)+⋯+xnφ(en)\varphi(x) = x_1\varphi(e_1) + \dots + x_n\varphi(e_n).
φ\varphi respects sums and multiples, so it passes through the sum and pulls out each scalar.
So φ(x)=a1x1+⋯+anxn\varphi(x) = a_1x_1 + \dots + a_nx_n.
The numbers φ(ei)\varphi(e_i) are what we called aia_i. The result is a row times a column, a 1×n1 \times n matrix times an n×1n \times 1 matrix (2.5).
Every row defines a functional.
Converse: a 1×n1 \times n matrix aa gives the map x↦axx \mapsto ax, which is linear because matrix multiplication distributes over addition and commutes with scalars (2.5). ■\blacksquare

This is the reason rows and columns are different things. A column xx is a vector. A row aa is a functional, a machine that eats a column and returns a number. The two are never added to each other, and a row eats a column and not another row.

Definition B

Dual space

The dual space of VV is V∗=L(V,R)V^* = L(V, \mathbb R), the set of all linear functionals on VV, with (φ+ψ)(v)=φ(v)+ψ(v)(\varphi + \psi)(v) = \varphi(v) + \psi(v) and (cφ)(v)=c φ(v)(c\varphi)(v) = c\,\varphi(v). It is a vector space because L(V,W)L(V, W) is a vector space for any V,WV, W (2.4); here W=RW = \mathbb R. Elements of V∗V^* are also called covectors. The zero vector of V∗V^* is the zero functional.

In one lineThe set V* of all linear functionals on V, itself a vector space under adding functionals and scaling them value by value.

Why it existsFunctionals can be added and scaled, so they form a space of their own, and linear algebra can be done on it.

By the proposition, (Rn)∗(\mathbb R^n)^* is the space of 1×n1 \times n rows. It has dimension nn, like Rn\mathbb R^n. Is that a coincidence of Rn\mathbb R^n, or true for every finite-dimensional VV? To prove it for every VV we need a basis of V∗V^*, built from a basis of VV.

The dual basis

Definition B

Dual basis

Let v1,…,vnv_1, \dots, v_n be a basis of VV. The dual basis is the list φ1,…,φn\varphi_1, \dots, \varphi_n of functionals defined by

φi(vj)=δij,where δij={1i=j0i≠j\varphi_i(v_j) = \delta_{ij}, \qquad\text{where } \delta_{ij} = \begin{cases}1 & i = j\\ 0 & i \ne j\end{cases}

(δij\delta_{ij} is the Kronecker delta). Such functionals exist and are unique, because a linear map is determined by arbitrary prescribed values on a basis (2.4). If v=c1v1+⋯+cnvnv = c_1v_1 + \dots + c_nv_n, then φi(v)=ci\varphi_i(v) = c_i: the dual basis reads off coordinates.

In one lineGiven a basis v₁,…,vₙ of V, the functionals φ₁,…,φₙ with φᵢ(vⱼ) = 1 if i = j and 0 otherwise; φᵢ(v) is the i-th coordinate of v.

Why it existsThey are the coordinates of 2.2 viewed as functionals, and they turn out to be a basis of V*.

For the standard basis of Rn\mathbb R^n the dual basis is the coordinate functionals x↦xix \mapsto x_i, which are the rows e1T,…,enTe_1^{\mathsf T}, \dots, e_n^{\mathsf T}. For a different basis it is different, and computing it is the first thing to learn.

Proposition B

Dual basis from the inverse matrix

Let B=[b1 ⋯ bn]B = [b_1\ \cdots\ b_n] be invertible. Then φi(x)=(row i of B−1) x\varphi_i(x) = (\text{row } i \text{ of } B^{-1})\,x.

In one lineIf the columns of an invertible matrix B are a basis b₁,…,bₙ of Rⁿ, the dual basis functionals are the rows of B⁻¹.

Why it is trueThe statement B⁻¹B = I says, entry by entry, that row i of B⁻¹ applied to column j of B is 1 if i = j and 0 otherwise.

Proofstandard
The idea: Read the identity B⁻¹B = I one entry at a time, and match it with the definition of the dual basis.
Entry (i,j)(i, j) of B−1BB^{-1}B is (row i of B−1)⋅bj(\text{row } i \text{ of } B^{-1})\cdot b_j.
Entry (i,j)(i, j) of a product is row ii of the left factor times column jj of the right factor (2.5).
So (row i of B−1) bj=δij(\text{row } i \text{ of } B^{-1})\,b_j = \delta_{ij} for all i,ji, j.
B−1B=IB^{-1}B = I, whose (i,j)(i, j) entry is δij\delta_{ij}.
Row ii of B−1B^{-1}, as a functional, satisfies φi(bj)=δij\varphi_i(b_j) = \delta_{ij}.
That is the defining property of the dual basis, and the dual basis is unique, so the rows of B−1B^{-1} are φ1,…,φn\varphi_1, \dots, \varphi_n. ■\blacksquare
Worked example
Find the dual basis of the basis b1=(1,1)b_1 = (1, 1), b2=(1,2)b_2 = (1, 2) of R2\mathbb R^2, and use it to find the coordinates of (5,3)(5, 3).

Solution. The Steps below show each stage.

Answer. φ1=2x−y\varphi_1 = 2x - y, φ2=−x+y\varphi_2 = -x + y, and (5,3)=7b1−2b2(5, 3) = 7b_1 - 2b_2.

Your answerWith b1=(1,1)b_1 = (1,1), b2=(1,2)b_2 = (1,2) and dual basis φ1=2x−y\varphi_1 = 2x - y, φ2=−x+y\varphi_2 = -x + y, what is φ1(9,4)\varphi_1(9, 4)?
Why· The picture behind the dual basis

In the plane with b1=(1,1)b_1 = (1, 1) and b2=(1,2)b_2 = (1, 2), the set where φ1=0\varphi_1 = 0 is the line through b2b_2, because φ1(b2)=0\varphi_1(b_2) = 0. The set where φ1=1\varphi_1 = 1 is the parallel line through b1b_1. So φ1(v)\varphi_1(v) counts how many parallel lines (parallel to b2b_2) you cross going from OO to vv, which is exactly the amount of b1b_1 in vv when you slide along b2b_2 to reach it. Likewise φ2\varphi_2 uses lines parallel to b1b_1. The dual basis is the family of grid lines of the coordinate system b1,b2b_1, b_2.

Theorem B Axler 3F

The dual basis is a basis

Let VV have dimension nn and basis v1,…,vnv_1, \dots, v_n, with dual basis φ1,…,φn\varphi_1, \dots, \varphi_n. Then φ1,…,φn\varphi_1, \dots, \varphi_n is a basis of V∗V^*, and every φ∈V∗\varphi \in V^* equals ∑iφ(vi) φi\sum_{i}\varphi(v_i)\,\varphi_i. Hence dim⁡V∗=dim⁡V\dim V^* = \dim V.

In one lineIf φ₁,…,φₙ is the dual basis of a basis v₁,…,vₙ of V, it is a basis of V*. In particular dim V* = dim V, and every functional is φ = φ(v₁)φ₁ + … + φ(vₙ)φₙ.

Why it is trueIndependence: apply a combination to vⱼ and all terms but one vanish. Spanning: both sides of the claimed formula are linear and agree on the basis.

ProofAxler 3F
The idea: Independence: if a combination of the φᵢ is the zero functional, apply it to each vⱼ to get the coefficient of φⱼ equal to 0. Spanning: given φ, build the combination Σ φ(vᵢ)φᵢ and show that it agrees with φ on every basis vector, so they are equal.
Suppose c1φ1+⋯+cnφn=0c_1\varphi_1 + \dots + c_n\varphi_n = 0 in V∗V^*.
To prove independence we start from a combination equal to the zero vector of V∗V^*, which is the zero functional (2.2, definition of independent).
Then (c1φ1+⋯+cnφn)(vj)=0(c_1\varphi_1 + \dots + c_n\varphi_n)(v_j) = 0 for each jj.
The zero functional sends every vector to 00. Apply both sides to vjv_j for one fixed jj.
The left side is c1φ1(vj)+⋯+cnφn(vj)=cjc_1\varphi_1(v_j) + \dots + c_n\varphi_n(v_j) = c_j.
Functionals are added value by value, and φi(vj)=δij\varphi_i(v_j) = \delta_{ij}, so every term is 00 except i=ji = j.
So all coefficients are 00, and φ1,…,φn\varphi_1, \dots, \varphi_n are independent.
Step 3 says cj=0c_j = 0, for every jj.
Put ψ=φ(v1)φ1+⋯+φ(vn)φn\psi = \varphi(v_1)\varphi_1 + \dots + \varphi(v_n)\varphi_n.
Spanning: take any φ∈V∗\varphi \in V^* and form ψ=∑iφ(vi)φi\psi = \sum_i \varphi(v_i)\varphi_i, which lies in the span of the φi\varphi_i. We show ψ=φ\psi = \varphi.The idea of comparing two linear maps on a basis is the whole proof of spanning. It is the same trick as proving that two matrices are equal by comparing their columns.
For each jj: ψ(vj)=∑iφ(vi)φi(vj)=φ(vj)\psi(v_j) = \sum_i \varphi(v_i)\varphi_i(v_j) = \varphi(v_j).
Again φi(vj)=δij\varphi_i(v_j) = \delta_{ij} kills every term except i=ji = j.
So ψ=φ\psi = \varphi, and φ\varphi lies in the span of φ1,…,φn\varphi_1, \dots, \varphi_n.
Two linear maps that agree on a basis are equal (2.4, prescribed values: a linear map is decided by its values on a basis).
Hence φ1,…,φn\varphi_1, \dots, \varphi_n is a basis of V∗V^* and dim⁡V∗=n=dim⁡V\dim V^* = n = \dim V.
A list that is independent and spans is a basis, and a basis of nn elements gives dimension nn (2.2). ■\blacksquare
Proof workshopRebuild: the dual basis is a basisAxler 3F

Tap the lines in the order a proof would write them. Each line can only use what is already above it.

    Quick checkLet VV be the space of polynomials of degree at most 33. What is dim⁡V∗\dim V^*?
    Worked example
    Write the functional ψ(x,y)=3x+y\psi(x, y) = 3x + y as a combination of the dual basis φ1=2x−y\varphi_1 = 2x - y, φ2=−x+y\varphi_2 = -x + y of the previous example.

    Solution.

    1. Use the expansion formula. ψ=ψ(b1)φ1+ψ(b2)φ2\psi = \psi(b_1)\varphi_1 + \psi(b_2)\varphi_2. The dual basis theorem: every functional is the sum of its values on the basis, times the dual basis.
    2. Evaluate on the basis. ψ(b1)=ψ(1,1)=3+1=4\psi(b_1) = \psi(1, 1) = 3 + 1 = 4 and ψ(b2)=ψ(1,2)=3+2=5\psi(b_2) = \psi(1, 2) = 3 + 2 = 5. Apply ψ\psi to each basis vector.
    3. Assemble. ψ=4φ1+5φ2\psi = 4\varphi_1 + 5\varphi_2. Coefficients from step 2.
    4. Check. 4(2,−1)+5(−1,1)=(8−5, −4+5)=(3,1)4(2, -1) + 5(-1, 1) = (8 - 5,\ -4 + 5) = (3, 1), the row of ψ\psi. A functional is its row (the proposition on rows); the combination of rows must give the row of ψ\psi.

    Answer. ψ=4φ1+5φ2\psi = 4\varphi_1 + 5\varphi_2.

    Worked example
    Which of these are linear functionals on the polynomials of degree at most 22? (a) p↦p(2)p \mapsto p(2) (b) p↦p(0) p(1)p \mapsto p(0)\,p(1) (c) p↦∫01p(x) dxp \mapsto \int_0^1 p(x)\,dx (d) p↦p(0)+1p \mapsto p(0) + 1

    Solution.

    1. (a) Evaluation at 2. (p+q)(2)=p(2)+q(2)(p + q)(2) = p(2) + q(2) and (cp)(2)=c p(2)(cp)(2) = c\,p(2). Adding functions and scaling them happen value by value, so evaluating at a point respects both. It is linear.
    2. (b) The product. Take p=q=1p = q = 1 (constant). Then (p+q)(0) (p+q)(1)=2⋅2=4(p + q)(0)\,(p + q)(1) = 2 \cdot 2 = 4, but p(0)p(1)+q(0)q(1)=1+1=2p(0)p(1) + q(0)q(1) = 1 + 1 = 2. One failing instance of additivity is a complete disproof. A product of two linear things is not linear.
    3. (c) The integral. ∫01(p+q)=∫01p+∫01q\int_0^1 (p + q) = \int_0^1 p + \int_0^1 q and ∫01cp=c∫01p\int_0^1 cp = c\int_0^1 p. Linearity of the integral, from calculus.
    4. (d) Plus one. The zero polynomial goes to 0+1=10 + 1 = 1, not 00. A linear map sends OO to 00 (put c=0c = 0 in φ(cv)=cφ(v)\varphi(cv) = c\varphi(v)).

    Answer. (a) and (c) are linear functionals; (b) and (d) are not.

    The dual map and the transpose

    A linear map T:V→WT: V \to W turns vectors of VV into vectors of WW. What does it do to functionals? If ψ\psi is a functional on WW (it reads a number off vectors of WW), then reading ψ\psi at T(v)T(v) is a way of reading a number off v∈Vv \in V. Doing so produces a functional on VV.

    Definition B

    Dual map

    Let T:V→WT: V \to W be linear. The dual map (or transpose map) TT:W∗→V∗T^{\mathsf T}: W^* \to V^* is

    TT(ψ)=ψ∘T,that is(TTψ)(v)=ψ(T(v)).T^{\mathsf T}(\psi) = \psi \circ T, \qquad\text{that is}\qquad (T^{\mathsf T}\psi)(v) = \psi(T(v)).

    The functional ψ∘T\psi \circ T is linear because a composition of linear maps is linear (2.4), and TTT^{\mathsf T} is itself linear: (ψ+χ)∘T=ψ∘T+χ∘T(\psi + \chi)\circ T = \psi\circ T + \chi\circ T and (cψ)∘T=c(ψ∘T)(c\psi)\circ T = c(\psi\circ T).

    In one lineFor T: V → W, the map Tᵀ: W* → V* that sends a functional ψ on W to the functional ψ∘T on V: first apply T, then read with ψ.

    Why it existsIt is what T does to functionals. It runs the other way, from W* to V*, and its matrix is the transpose of the matrix of T.

    Notice the direction. TT goes from VV to WW; TTT^{\mathsf T} goes from W∗W^* back to V∗V^*. This reversal is why transposing a product reverses the order. The next theorem says that in coordinates, TTT^{\mathsf T} is the transpose matrix of 2.5.

    Theorem B Axler 3F

    The dual map has the transposed matrix

    Let A=(Akj)A = (A_{kj}) be the matrix of TT, so T(vj)=∑kAkjwkT(v_j) = \sum_k A_{kj}w_k. Let φ1,…,φn\varphi_1, \dots, \varphi_n and ψ1,…,ψm\psi_1, \dots, \psi_m be the dual bases of V∗V^* and W∗W^*. Then the matrix of TTT^{\mathsf T} with respect to ψ1,…,ψm\psi_1, \dots, \psi_m and φ1,…,φn\varphi_1, \dots, \varphi_n is ATA^{\mathsf T}.

    In one lineIf A is the matrix of T: V → W in bases v₁…vₙ and w₁…wₘ, then the matrix of Tᵀ: W* → V* in the dual bases is Aᵀ.

    Why it is trueColumn k of the matrix of Tᵀ holds the coordinates of Tᵀψₖ, and those coordinates are row k of A.

    ProofAxler 3F
    The idea: To find column k of the matrix of Tᵀ, expand Tᵀψₖ in the dual basis of V*. Its coefficients are its values on v₁,…,vₙ, and those values are the entries of row k of A.
    We need the coordinates of TTψk=ψk∘TT^{\mathsf T}\psi_k = \psi_k \circ T in the basis φ1,…,φn\varphi_1, \dots, \varphi_n.
    The kkth column of the matrix of TTT^{\mathsf T} is the coordinates of TTψkT^{\mathsf T}\psi_k in the basis φ1,…,φn\varphi_1, \dots, \varphi_n (2.5, definition of the matrix of a map).
    These coordinates are the values (ψk∘T)(vj)(\psi_k\circ T)(v_j) for j=1,…,nj = 1, \dots, n.
    The dual basis theorem: the coordinates of a functional φ\varphi in the dual basis are its values φ(vj)\varphi(v_j).
    (ψk∘T)(vj)=ψk(∑lAljwl)=∑lAlj ψk(wl)(\psi_k \circ T)(v_j) = \psi_k\big(\sum_l A_{lj}w_l\big) = \sum_l A_{lj}\,\psi_k(w_l).
    Substitute T(vj)=∑lAljwlT(v_j) = \sum_l A_{lj}w_l and use linearity of ψk\psi_k.
    =Akj= A_{kj}.
    ψk(wl)=δkl\psi_k(w_l) = \delta_{kl}, so only l=kl = k survives.
    So TTψk=∑jAkjφjT^{\mathsf T}\psi_k = \sum_j A_{kj}\varphi_j.
    Steps 2 to 4 say: the jjth coordinate of TTψkT^{\mathsf T}\psi_k is AkjA_{kj}, so column kk of the matrix of TTT^{\mathsf T} is (Ak1,…,Akn)(A_{k1}, \dots, A_{kn}), which is row kk of AA standing up as a column.
    The matrix of TTT^{\mathsf T} is ATA^{\mathsf T}.
    A matrix whose kkth column is the kkth row of AA is ATA^{\mathsf T} (2.5, definition of the transpose). ■\blacksquare
    Why· Why A^T shows up in (Ax)·y = x·(A^T y)

    On Rn\mathbb R^n the dot product with a fixed vector yy is a functional, ψy(w)=y⋅w=yTw\psi_y(w) = y\cdot w = y^{\mathsf T}w. Apply the dual map of AA to it. By the definition of the dual map, the image of ψy\psi_y is the functional x↦ψy(Ax)=yTAx=(ATy)Txx \mapsto \psi_y(Ax) = y^{\mathsf T}Ax = (A^{\mathsf T}y)^{\mathsf T}x, which is the dot product with ATyA^{\mathsf T}y. So the dual map sends “dot with yy” to “dot with ATyA^{\mathsf T}y”, and that sentence is the identity (Ax)⋅y=x⋅(ATy)(Ax)\cdot y = x\cdot(A^{\mathsf T}y) you met in 3.1. The transpose is not a mysterious flip of a table. It is what a matrix does to functionals, written in the coordinates where functionals are identified with vectors by the dot product.

    Worked example
    Check (Ax)⋅y=x⋅(ATy)(Ax)\cdot y = x \cdot (A^{\mathsf T}y) for A=[120130]A = \begin{bmatrix}1&2\\0&1\\3&0\end{bmatrix}, x=(2,−1)x = (2, -1), y=(1,−1,2)y = (1, -1, 2), and name the functional that ATA^{\mathsf T} produces.

    Solution.

    1. Apply AA to xx. Ax=(1⋅2+2⋅(−1), 0+1⋅(−1), 3⋅2+0)=(0,−1,6)Ax = (1\cdot2 + 2\cdot(-1),\ 0 + 1\cdot(-1),\ 3\cdot2 + 0) = (0, -1, 6). Row times column, three times (2.5).
    2. Read it with yy. y⋅Ax=1⋅0+(−1)(−1)+2⋅6=13y\cdot Ax = 1\cdot0 + (-1)(-1) + 2\cdot6 = 13. This is ψy(T(x))\psi_y(T(x)), the left side.
    3. Transpose, apply to yy. ATy=(1⋅1+0+3⋅2, 2⋅1+1⋅(−1)+0)=(7,1)A^{\mathsf T}y = (1\cdot1 + 0 + 3\cdot2,\ 2\cdot1 + 1\cdot(-1) + 0) = (7, 1). ATA^{\mathsf T} is 2×32\times3, so it eats the column y∈R3y\in\mathbb R^3 and returns a vector of R2\mathbb R^2: a functional on the input space.
    4. Read xx with it. x⋅ATy=2⋅7+(−1)⋅1=13x\cdot A^{\mathsf T}y = 2\cdot7 + (-1)\cdot1 = 13. The right side.

    Answer. Both sides are 1313. The dual map sends the functional “dot with (1,−1,2)(1, -1, 2)” on R3\mathbb R^3 to the functional “dot with (7,1)(7, 1)” on R2\mathbb R^2.

    Your answerLet A=[2103]A = \begin{bmatrix}2&1\\0&3\end{bmatrix} and let ψ=[1  4]\psi = [1\ \ 4] be a functional on the output space. The dual map sends ψ\psi to the row ψA\psi A. What is its second entry?
    Quick checkT:V→WT: V \to W is linear. Where does TTT^{\mathsf T} send things?
    Corollary B

    Dual of a composition

    If T:U→VT: U \to V and S:V→WS: V \to W are linear, then (S∘T)T=TT∘ST(S\circ T)^{\mathsf T} = T^{\mathsf T}\circ S^{\mathsf T}. In matrices, (AB)T=BTAT(AB)^{\mathsf T} = B^{\mathsf T}A^{\mathsf T}.

    In one line(S∘T)ᵀ = Tᵀ∘Sᵀ: the dual map of a composition is the composition of the dual maps in the opposite order.

    Why it is truePull back a functional along S∘T by pulling back along S first, then along T.

    Proofstandard
    The idea: Apply both sides to a functional ψ on W and compare, using associativity of composition.
    (S∘T)Tψ=ψ∘(S∘T)(S\circ T)^{\mathsf T}\psi = \psi\circ(S\circ T).
    Definition of the dual map for the composition S∘TS\circ T.
    =(ψ∘S)∘T= (\psi\circ S)\circ T.
    Composition of functions is associative (2.4).
    =TT(STψ)= T^{\mathsf T}(S^{\mathsf T}\psi).
    Definition of the dual map, twice: ψ∘S=STψ\psi\circ S = S^{\mathsf T}\psi, then composing with TT is TTT^{\mathsf T} of that.
    So (S∘T)T=TT∘ST(S\circ T)^{\mathsf T} = T^{\mathsf T}\circ S^{\mathsf T}.
    The two maps agree on every ψ\psi, so they are equal. For the matrix rule: the matrix of S∘TS\circ T is the product of the matrices in the same order (2.5), and the matrix of a dual map is the transpose (previous theorem), so (AB)T=BTAT(AB)^{\mathsf T} = B^{\mathsf T}A^{\mathsf T}, the rule proved entry by entry in 2.5. ■\blacksquare

    Annihilators, and a second proof that row rank equals column rank

    Definition B

    Annihilator

    For a subspace UU of VV, the annihilator of UU is U0={φ∈V∗:φ(u)=0 for all u∈U}U^0 = \{\varphi \in V^* : \varphi(u) = 0 \text{ for all } u \in U\}. It is a subspace of V∗V^*: it contains the zero functional, and a sum or multiple of functionals that vanish on UU vanishes on UU. For V=RnV = \mathbb R^n with functionals written as rows, U0U^0 is the set of rows perpendicular to UU, the orthogonal complement of 2.9 in dual disguise.

    In one lineFor a subspace U of V, the set U⁰ of functionals that are 0 on every vector of U.

    Why it existsIt is the dual of 'perpendicular to U', and it counts what is left of V after U is removed.

    Theorem B Axler 3F

    Dimension of an annihilator

    If dim⁡V=n\dim V = n and UU is a subspace of dimension mm, then dim⁡U0=n−m\dim U^0 = n - m.

    In one lineFor a subspace U of a finite-dimensional V, dim U⁰ = dim V − dim U.

    Why it is trueExtend a basis of U to a basis of V. The dual basis functionals that belong to the added vectors vanish on U and form a basis of U⁰.

    ProofAxler 3F
    The idea: Extend a basis u₁…uₘ of U to a basis u₁…uₘ, v_{m+1}…vₙ of V. Show that the last n − m dual basis functionals are a basis of U⁰.
    Extend to a basis u1,…,um,vm+1,…,vnu_1, \dots, u_m, v_{m+1}, \dots, v_n of VV, and let φ1,…,φn\varphi_1, \dots, \varphi_n be its dual basis.
    Any basis of a subspace extends to a basis of VV (2.2).
    The functionals φm+1,…,φn\varphi_{m+1}, \dots, \varphi_n lie in U0U^0.
    For i>mi > m and j≤mj \le m we have φi(uj)=0\varphi_i(u_j) = 0 (different basis vectors). A functional that is 00 on a basis of UU is 00 on all of UU (linearity).
    They are independent.
    They are part of a basis of V∗V^* (dual basis theorem), so they are independent.
    Every φ∈U0\varphi \in U^0 is a combination of φm+1,…,φn\varphi_{m+1}, \dots, \varphi_n alone: the first mm terms vanish.
    Let φ∈U0\varphi \in U^0. The dual basis theorem gives φ=∑i=1mφ(ui) φi+∑i=m+1nφ(vi) φi\varphi = \sum_{i=1}^m \varphi(u_i)\,\varphi_i + \sum_{i=m+1}^n \varphi(v_i)\,\varphi_i. Each uiu_i lies in UU, so φ(ui)=0\varphi(u_i) = 0.
    So φm+1,…,φn\varphi_{m+1}, \dots, \varphi_n is a basis of U0U^0, and dim⁡U0=n−m\dim U^0 = n - m.
    Independent and spanning U0U^0. ■\blacksquare
    Corollary B Axler 3F

    Row rank equals column rank, by duality

    For a linear map T:V→WT: V \to W between finite-dimensional spaces, rank⁡TT=rank⁡T\operatorname{rank}T^{\mathsf T} = \operatorname{rank}T. Hence rank⁡AT=rank⁡A\operatorname{rank}A^{\mathsf T} = \operatorname{rank}A for every matrix.

    In one linerank Tᵀ = rank T, so a matrix and its transpose have the same rank.

    Why it is trueThe null space of Tᵀ is the annihilator of the range of T; counting dimensions on both sides finishes it.

    ProofAxler 3F
    The idea: A functional ψ is sent to 0 by Tᵀ exactly when ψ vanishes on the range of T. So N(Tᵀ) is the annihilator of range T, and its dimension is dim W − rank T. Then rank–nullity for Tᵀ gives rank Tᵀ.
    ψ∈N(TT)\psi \in N(T^{\mathsf T}) if and only if ψ\psi is 00 on every vector T(v)T(v).
    Definition: TTψ=0T^{\mathsf T}\psi = 0 means ψ(T(v))=0\psi(T(v)) = 0 for every v∈Vv \in V.
    That says ψ∈(range⁡T)0\psi \in (\operatorname{range}T)^0, so N(TT)=(range⁡T)0N(T^{\mathsf T}) = (\operatorname{range}T)^0.
    The vectors T(v)T(v) are exactly the range of TT (2.3).
    dim⁡N(TT)=dim⁡W−rank⁡T\dim N(T^{\mathsf T}) = \dim W - \operatorname{rank}T.
    Dimension of an annihilator, applied to the subspace range⁡T\operatorname{range}T of WW.
    rank⁡TT=dim⁡W−dim⁡N(TT)=dim⁡W−(dim⁡W−rank⁡T)=rank⁡T\operatorname{rank}T^{\mathsf T} = \dim W - \dim N(T^{\mathsf T}) = \dim W - (\dim W - \operatorname{rank}T) = \operatorname{rank}T.
    Rank–nullity for TT:W∗→V∗T^{\mathsf T}: W^* \to V^*, with dim⁡W∗=dim⁡W\dim W^* = \dim W.
    So rank⁡AT=rank⁡A\operatorname{rank}A^{\mathsf T} = \operatorname{rank}A: row rank equals column rank.
    The matrix of TTT^{\mathsf T} is ATA^{\mathsf T} (previous theorem), and the rank of a matrix is the rank of its map. ■\blacksquare

    2.6 proved this fact by elimination. The proof here needs no elimination and no pivots, and it shows what is going on: the rows of AA are functionals on the input space, and the number of independent ones equals the number of independent columns, because both count the dimension of the range.

    Python labDual basis, transpose identity and rank, by computer
    import numpy as np
    
    B = np.array([[1, 1],
                  [1, 2]])               # columns are b1 = (1,1) and b2 = (1,2)
    Binv = np.linalg.inv(B)              # its rows are the dual basis
    print("dual basis, one functional per row:")
    print(np.round(Binv) + 0)
    print("B^-1 B, entry (i,j) = phi_i(b_j):")
    print(np.round(Binv @ B) + 0)
    x = np.array([5, 3])
    print("coordinates of (5,3):", np.round(Binv @ x) + 0)
    
    A = np.array([[1, 2], [0, 1], [3, 0]])
    x, y = np.array([2, -1]), np.array([1, -1, 2])
    print("(Ax).y =", (A @ x) @ y, "   x.(A^T y) =", x @ (A.T @ y))
    print("rank A =", np.linalg.matrix_rank(A), "  rank A^T =", np.linalg.matrix_rank(A.T))

    Try this. Change B to [[2, 1], [1, 1]] (the 'use' problem below): the dual basis should come out as the rows [1, -1] and [-1, 2]. Then try the singular matrix [[1, 2], [2, 4]]: its columns are not a basis, and np.linalg.inv raises an error because no dual basis exists. Finally replace A by a random 4 by 6 matrix, np.random.randint(-3, 4, (4, 6)), run it several times (first delete the two lines that define x, y and print the identity, since their sizes no longer fit), and watch rank A and rank A^T agree every time, as the theorem says they must.

    Cosets and the quotient space

    Now the second construction. The idea is the one from 0.5: in Zn\mathbb Z_n two integers count as the same when they differ by a multiple of nn. In a vector space VV, pick a subspace UU, and call two vectors the same when they differ by a vector of UU.

    Definition B

    Coset

    Let UU be a subspace of VV and v∈Vv \in V. The coset of vv is

    v+U={v+u:u∈U}.v + U = \{v + u : u \in U\}.

    The vector vv is called a representative of the coset.

    In one lineFor a subspace U and a vector v, the coset v + U is the set of all v + u with u in U: the subspace U moved by v.

    Why it existsCosets are the equivalence classes of 'differ by something in U', and they are the objects of the quotient space.

    In R2\mathbb R^2 take the line U={t(1,2):t∈R}U = \{t(1, 2) : t \in \mathbb R\}, the line y=2xy = 2x through OO. The coset (0,3)+U(0, 3) + U is the set of points (t,3+2t)(t, 3 + 2t), the line y=2x+3y = 2x + 3: the line UU moved up by 33. The coset (5,13)+U(5, 13) + U is the points (5+t,13+2t)(5 + t, 13 + 2t), which satisfy y=2x+3y = 2x + 3 as well, since 13+2t=2(5+t)+313 + 2t = 2(5 + t) + 3. So (5,13)+U=(0,3)+U(5, 13) + U = (0, 3) + U: the same line has many representatives. The cosets of a line through the origin are the lines parallel to it, and the coset of OO is the line itself, O+U=UO + U = U. In R3\mathbb R^3 the cosets of a plane through the origin are the parallel planes.

    Theorem B Axler 3E

    Cosets are the classes modulo a subspace

    Let UU be a subspace of VV. The relation v∼w  ⟺  v−w∈Uv \sim w \iff v - w \in U is an equivalence relation on VV. The equivalence class of vv is v+Uv + U. Consequently the cosets of UU form a partition of VV, and v+U=w+Uv + U = w + U exactly when v−w∈Uv - w \in U.

    In one lineDefine v ∼ w when v − w ∈ U. This is an equivalence relation whose class of v is exactly the coset v + U. So v + U = w + U iff v − w ∈ U, and any two cosets are equal or disjoint.

    Why it is trueThe three properties come from the three subspace conditions: O is in U, U is closed under negatives, and U is closed under addition. Then 0.4 gives the rest.

    ProofAxler 3E
    The idea: Check reflexive, symmetric and transitive using the subspace properties, then compute the class of v. The partition statement is the main theorem of 0.4.
    v∼vv \sim v.
    Reflexive: v−v=Ov - v = O, and every subspace contains OO.
    If v∼wv \sim w then w∼vw \sim v.
    Symmetric: if v−w∈Uv - w \in U then w−v=(−1)(v−w)∈Uw - v = (-1)(v - w) \in U, since UU is closed under scaling.
    If v∼wv \sim w and w∼xw \sim x then v∼xv \sim x.
    Transitive: if v−w∈Uv - w \in U and w−x∈Uw - x \in U then v−x=(v−w)+(w−x)∈Uv - x = (v - w) + (w - x) \in U, since UU is closed under addition.
    The class of vv is the set of xx with x−v∈Ux - v \in U.
    The class of vv is {x:x∼v}={x:x−v∈U}\{x : x \sim v\} = \{x : x - v \in U\} by the definition of the relation and of a class (0.4).
    That set is {v+u:u∈U}=v+U\{v + u : u \in U\} = v + U.
    x−v=u∈Ux - v = u \in U means x=v+ux = v + u for some u∈Uu \in U, and conversely every v+uv + u has (v+u)−v=u∈U(v + u) - v = u \in U.
    So v+U=w+U  ⟺  v−w∈Uv + U = w + U \iff v - w \in U, and cosets are equal or disjoint.
    The equal-classes lemma of 0.4 gives [v]=[w]  ⟺  v∼w[v] = [w] \iff v \sim w, and the classes of any equivalence relation partition the set. ■\blacksquare
    Quick checkLet UU be the xx-axis in R2\mathbb R^2. Which coset equals (1,1)+U(1, 1) + U?
    Quick checkIs the coset (1,1)+U(1, 1) + U for UU the xx-axis a subspace of R2\mathbb R^2?

    Now we put an algebra on the set of cosets. Take two cosets, add representatives, take the coset of the sum.

    Definition B

    Quotient space

    The quotient space V/UV/U (read ”VV mod UU”) is the set of all cosets v+Uv + U with

    (v+U)+(w+U)=(v+w)+U,c (v+U)=(cv)+U.(v + U) + (w + U) = (v + w) + U, \qquad c\,(v + U) = (cv) + U.

    In one lineV/U is the set of all cosets of U, with (v + U) + (w + U) = (v + w) + U and c(v + U) = cv + U; it is the vector space of V with U collapsed to a point.

    Why it existsIt is the precise form of 'treat vectors that differ by something in U as equal', and it keeps all the linear structure.

    These formulas define the sum using representatives vv and ww, and a coset has many representatives. The rule is only a legitimate definition if the answer does not depend on the choice. This is the same obligation as for fractions in 0.4 and for Zn\mathbb Z_n in 0.5 (“arithmetic respects congruence”).

    Theorem B Axler 3E

    The quotient space is a vector space

    Let UU be a subspace of VV. Then addition and scalar multiplication on V/UV/U are well defined, and V/UV/U is a vector space. The map π:V→V/U\pi: V \to V/U, π(v)=v+U\pi(v) = v + U (the quotient map), is linear and onto, with N(π)=UN(\pi) = U.

    In one lineThe sum and scalar multiple on V/U are well defined, V/U is a vector space with zero vector O + U = U, and v ↦ v + U is a linear map from V onto V/U whose null space is U.

    Why it is trueChanging a representative by an element of U changes the sum by an element of U, which the coset ignores; and all the axioms hold because they hold in V.

    ProofAxler 3E
    The idea: Well-defined: if representatives change by elements of U, the sum changes by an element of U, which does not change the coset. The axioms: π is onto and respects the operations by definition, so each axiom for V/U is the image under π of the same axiom in V.
    Take two other representatives v′v' and w′w' of the same cosets.
    Suppose v+U=v′+Uv + U = v' + U and w+U=w′+Uw + U = w' + U. By the cosets theorem, v−v′∈Uv - v' \in U and w−w′∈Uw - w' \in U.
    Then (v+w)−(v′+w′)∈U(v + w) - (v' + w') \in U.
    Rearrange: (v+w)−(v′+w′)=(v−v′)+(w−w′)(v + w) - (v' + w') = (v - v') + (w - w'), a sum of two elements of UU, which is in UU because UU is closed under addition.
    So (v+w)+U=(v′+w′)+U(v + w) + U = (v' + w') + U: the sum does not depend on the representatives.
    The cosets theorem again, in the other direction.
    Likewise cv+U=cv′+Ucv + U = cv' + U: scaling is well defined.
    cv−cv′=c(v−v′)∈Ucv - cv' = c(v - v') \in U, because UU is closed under scalar multiplication.
    The map π\pi is linear and onto.
    By the definition of the operations, π(v+w)=(v+w)+U=π(v)+π(w)\pi(v + w) = (v + w) + U = \pi(v) + \pi(w) and π(cv)=c π(v)\pi(cv) = c\,\pi(v). And every coset v+Uv + U equals π(v)\pi(v), so π\pi is onto.
    So every axiom of 2.1 holds in V/UV/U, because it holds in VV.
    Any vector-space axiom for V/UV/U, such as π(v)+π(w)=π(w)+π(v)\pi(v) + \pi(w) = \pi(w) + \pi(v), can be rewritten with π\pi: π(v)+π(w)=π(v+w)=π(w+v)=π(w)+π(v)\pi(v) + \pi(w) = \pi(v + w) = \pi(w + v) = \pi(w) + \pi(v), using the axiom in VV. Every axiom that is an equation between sums and multiples of elements π(v)\pi(v) is obtained by applying π\pi to the same equation in VV. The two axioms that say something exists are handled in the last step: the zero vector is π(O)\pi(O), and the negative of π(v)\pi(v) is π(−v)\pi(-v).
    The zero vector of V/UV/U is the coset UU itself, and N(π)=UN(\pi) = U.
    The zero vector of V/UV/U must be π(O)=O+U=U\pi(O) = O + U = U (check: (v+U)+U=(v+O)+U(v + U) + U = (v + O) + U). And π(v)=U\pi(v) = U means v+U=O+Uv + U = O + U, which means v−O=v∈Uv - O = v \in U by the cosets theorem. ■\blacksquare
    Quick checkFor UU the xx-axis in R2\mathbb R^2, someone defines g:R2/U→Rg: \mathbb R^2/U \to \mathbb R by g(v+U)=∥v∥g(v + U) = \lVert v \rVert, the length of the representative. Is gg well defined?
    Why· The picture behind the proof

    Return to R2\mathbb R^2 with UU the xx-axis. The cosets are the horizontal lines, and a horizontal line is named by its height. Adding the cosets “height 1” and “height 3” means: pick any point on each line, say (7,1)(7, 1) and (−2,3)(-2, 3), add them to get (5,4)(5, 4), and take its line: height 44. Another choice, (0,1)(0, 1) and (100,3)(100, 3), gives (100,4)(100, 4), again height 44. Sliding a representative along its line moves the sum along its line, so the sum line does not change. That is the well-definedness proof in the picture. The result: R2/U\mathbb R^2/U behaves like the number line of heights, and it is isomorphic to R\mathbb R.

    Worked example
    Let U=span⁡{(1,1,0)}U = \operatorname{span}\{(1,1,0)\} in R3\mathbb R^3. Name the cosets of UU by two numbers, add two cosets, and decide whether (3,5,2)+U=(6,8,2)+U(3,5,2) + U = (6,8,2) + U.

    Solution. The Steps below do each stage; the numbered list summarises the reasons.

    Answer. Cosets are named by (a−b, c)(a - b,\ c), so R3/U≅R2\mathbb R^3/U \cong \mathbb R^2. The sum of (3,5,2)+U(3,5,2)+U and (1,−1,4)+U(1,-1,4)+U is the coset named (0,6)(0, 6), and (3,5,2)+U=(6,8,2)+U(3,5,2) + U = (6,8,2) + U.

    Your answerUU is a 33-dimensional subspace of R8\mathbb R^8. What is dim⁡(R8/U)\dim(\mathbb R^8/U)?
    Theorem B Axler 3E

    Dimension of a quotient space

    If dim⁡V=n\dim V = n and dim⁡U=m\dim U = m, then dim⁡(V/U)=n−m\dim(V/U) = n - m.

    In one lineIf V is finite-dimensional and U a subspace, then dim V/U = dim V − dim U.

    Why it is trueExtend a basis of U by vectors v_{m+1},…,vₙ to a basis of V. The cosets of the added vectors form a basis of V/U.

    ProofAxler 3E
    The idea: Take a basis u₁…uₘ of U and extend it by v_{m+1}…vₙ to a basis of V. Claim: the cosets v_{m+1} + U, …, vₙ + U are a basis of V/U. They span because everything in U disappears; they are independent because a combination equal to the zero coset lands in U, and then the independence of the whole basis of V forces the coefficients to vanish.
    Let u1,…,um,vm+1,…,vnu_1, \dots, u_m, v_{m+1}, \dots, v_n be a basis of VV with u1,…,umu_1, \dots, u_m a basis of UU.
    Extend a basis of the subspace UU to a basis of VV (2.2).
    Any element of V/UV/U is π(v)\pi(v) for some v=∑aiui+∑bjvjv = \sum a_iu_i + \sum b_jv_j.
    Spanning. Take any coset v+Uv + U. Write v=∑aiui+∑bjvjv = \sum a_iu_i + \sum b_jv_j in the basis of VV.
    Then π(v)=∑aiπ(ui)+∑bjπ(vj)=∑bj (vj+U)\pi(v) = \sum a_i\pi(u_i) + \sum b_j\pi(v_j) = \sum b_j\,(v_j + U).
    π\pi is linear and π(ui)=U\pi(u_i) = U is the zero vector of V/UV/U, because ui∈Uu_i \in U.
    So vm+1+U,…,vn+Uv_{m+1} + U, \dots, v_n + U span V/UV/U.
    Step 3 shows that every coset is a combination of the n−mn - m cosets vj+Uv_j + U.
    Suppose ∑j>mbj (vj+U)=U\sum_{j>m} b_j\,(v_j + U) = U.
    Independence. Suppose ∑bj(vj+U)\sum b_j(v_j + U) is the zero vector of V/UV/U.
    Then ∑bjvj∈U\sum b_jv_j \in U, so ∑bjvj=∑aiui\sum b_jv_j = \sum a_iu_i for some numbers aia_i.
    By linearity of π\pi the left side is (∑bjvj)+U\big(\sum b_jv_j\big) + U, and a coset equals U=O+UU = O + U exactly when its representative is in UU (cosets theorem).
    So every bj=0b_j = 0 (and every ai=0a_i = 0).
    Move everything to one side: ∑aiui−∑bjvj=O\sum a_iu_i - \sum b_jv_j = O is a combination of the whole basis of VV equal to OO, so all its coefficients are 00 (independence in VV).
    Hence dim⁡(V/U)=n−m\dim(V/U) = n - m.
    Independent and spanning: a basis of n−mn - m elements. ■\blacksquare

    This is the proof of rank–nullity from 2.3 wearing different clothes: “the extra vectors” of that proof are the representatives of the quotient basis.

    The first isomorphism theorem

    Return to the picture. A linear map TT cannot tell apart two vectors that differ by an element of N(T)N(T), so it is constant on each coset of N(T)N(T). The theorem says that this is the only thing it cannot tell apart.

    Theorem B Axler 3E

    First isomorphism theorem for vector spaces

    Let T:V→WT: V \to W be linear. Then Tˉ:V/N(T)→range⁡T\bar T: V/N(T) \to \operatorname{range}T, Tˉ(v+N(T))=T(v)\bar T(v + N(T)) = T(v), is a well-defined linear map, and it is an isomorphism (2.4): one-to-one and onto the range of TT. In words, V/N(T)≅range⁡TV/N(T) \cong \operatorname{range}T.

    In one lineFor a linear map T: V → W, the rule T̄(v + N(T)) = T(v) is a well-defined isomorphism from V/N(T) onto the range of T.

    Why it is trueWell defined because T is constant on cosets of N(T); onto by the definition of range; one-to-one because T(v) = 0 means v is in N(T), so the coset is the zero coset.

    ProofAxler 3E; 0.4
    The idea: Check four things in order: well-defined, linear, one-to-one, onto. Each is one line. It is the vector-space version of the 0.4 theorem 'a function is a bijection from its classes onto its range', with linearity added.
    Well defined: if v+N(T)=v′+N(T)v + N(T) = v' + N(T) then T(v)−T(v′)=T(v−v′)=OT(v) - T(v') = T(v - v') = O.
    The rule is defined using a representative vv of the coset, so we must check that another representative gives the same answer. Suppose v+N(T)=v′+N(T)v + N(T) = v' + N(T). By the cosets theorem v−v′∈N(T)v - v' \in N(T), that is T(v−v′)=OT(v - v') = O.
    Hence Tˉ\bar T is a function.
    So T(v)=T(v′)T(v) = T(v'): the output does not depend on the representative.
    Linear: Tˉ\bar T respects sums and multiples.
    Use the definition of the operations on V/N(T)V/N(T) and linearity of TT: Tˉ((v+N)+(w+N))=Tˉ((v+w)+N)=T(v+w)=T(v)+T(w)\bar T\big((v + N) + (w + N)\big) = \bar T((v + w) + N) = T(v + w) = T(v) + T(w), and likewise Tˉ(c(v+N))=T(cv)=c T(v)\bar T(c(v + N)) = T(cv) = c\,T(v).
    Suppose Tˉ(v+N(T))=O\bar T(v + N(T)) = O.
    One-to-one. By the criterion for linear maps (2.4), it is enough to show N(Tˉ)N(\bar T) is the zero vector alone. Suppose Tˉ(v+N)=O\bar T(v + N) = O.
    Then v∈N(T)v \in N(T), so the coset v+N(T)v + N(T) is the zero vector of the quotient.
    By definition that says T(v)=OT(v) = O, so v∈N(T)v \in N(T). And v∈N(T)v \in N(T) means v+N(T)=O+N(T)v + N(T) = O + N(T), the zero coset (cosets theorem).
    Tˉ\bar T is one-to-one.
    The null space of Tˉ\bar T is the zero vector only, so Tˉ\bar T is one-to-one (2.4, equivalent forms).
    Tˉ\bar T maps onto range⁡T\operatorname{range}T, so it is an isomorphism.
    Onto the range: every element of the range has the form T(v)=Tˉ(v+N(T))T(v) = \bar T(v + N(T)) by the definition of the range. ■\blacksquare
    Corollary B Axler 3E

    Rank–nullity from the first isomorphism theorem

    For linear TT on a finite-dimensional space VV: dim⁡N(T)+dim⁡range⁡T=dim⁡V\dim N(T) + \dim\operatorname{range}T = \dim V (2.3).

    In one linedim V − dim N(T) = dim V/N(T) = dim range T, which is rank–nullity.

    Why it is trueIsomorphic spaces have the same dimension, and the dimension of a quotient was computed independently.

    Proofstandard
    The idea: Compute the dimension of V/N(T) in two ways.
    dim⁡V/N(T)=dim⁡V−dim⁡N(T)\dim V/N(T) = \dim V - \dim N(T).
    Dimension of a quotient space, with U=N(T)U = N(T).
    dim⁡V/N(T)=dim⁡range⁡T\dim V/N(T) = \dim\operatorname{range}T.
    Isomorphic spaces have the same dimension (2.4); the first isomorphism theorem gives V/N(T)≅range⁡TV/N(T) \cong \operatorname{range}T.
    So dim⁡V=dim⁡N(T)+dim⁡range⁡T\dim V = \dim N(T) + \dim\operatorname{range}T.
    Equate the two expressions and rearrange. ■\blacksquare
    Same idea elsewhere· Three faces of one idea

    In 0.4, f:A→Bf: A \to B gave a bijection from the classes “same value of ff” onto f(A)f(A). In 2.3, rank–nullity counted dimensions: dim⁡V=dim⁡N(T)+dim⁡range⁡T\dim V = \dim N(T) + \dim\operatorname{range}T. Here the classes are cosets of N(T)N(T) (two vectors have the same TT-value iff they differ by an element of N(T)N(T)), the bijection is linear, and the dimension count falls out. The same pattern appears for groups in MATH 541 (G/ker⁡φ≅im⁡φG/\ker\varphi \cong \operatorname{im}\varphi, previewed in 3.9) and for rings. It is one of the most used theorems in algebra.

    Proof workshopRebuild: the first isomorphism theoremAxler 3E

    Each line of the proof is shown in order. Choose the reason that justifies it, then press Check.

    1. If v+N=v′+Nv + N = v' + N then v−v′∈N(T)v - v' \in N(T).
    2. So T(v)−T(v′)=T(v−v′)=OT(v) - T(v') = T(v - v') = O, hence T(v)=T(v′)T(v) = T(v') and Tˉ\bar T is well defined.
    3. Tˉ((v+N)+(w+N))=Tˉ((v+w)+N)=T(v+w)=T(v)+T(w)\bar T((v+N) + (w+N)) = \bar T((v+w)+N) = T(v+w) = T(v) + T(w), and similarly for scaling.
    4. If Tˉ(v+N)=O\bar T(v + N) = O then T(v)=OT(v) = O, so v∈N(T)v \in N(T).
    5. So v+Nv + N is the zero coset, and the null space of Tˉ\bar T is only the zero vector.
    6. Hence Tˉ\bar T is one-to-one.
    7. Every element of the range is T(v)=Tˉ(v+N)T(v) = \bar T(v + N), so Tˉ\bar T is onto the range and is an isomorphism.
    Worked example
    Use the first isomorphism theorem to show that the plane U={(x,y,z):x+y+z=0}U = \{(x,y,z) : x + y + z = 0\} has R3/U≅R\mathbb R^3/U \cong \mathbb R, and decide whether (1,2,3)+U=(4,1,1)+U(1,2,3) + U = (4,1,1) + U.

    Solution.

    1. Find a map whose null space is UU. Let T(x,y,z)=x+y+zT(x, y, z) = x + y + z, a linear functional. N(T)={x+y+z=0}=UN(T) = \{x + y + z = 0\} = U by the definition of UU.
    2. Find the range. TT is onto R\mathbb R: T(c,0,0)=cT(c, 0, 0) = c. So the range is R\mathbb R, not a smaller subspace.
    3. Apply the theorem. R3/U=R3/N(T)≅range⁡T=R\mathbb R^3/U = \mathbb R^3/N(T) \cong \operatorname{range}T = \mathbb R, and the isomorphism sends (x,y,z)+U(x, y, z) + U to x+y+zx + y + z. First isomorphism theorem. Check by dimensions: 3−2=13 - 2 = 1.
    4. Compare the two cosets. T(1,2,3)=6T(1, 2, 3) = 6 and T(4,1,1)=6T(4, 1, 1) = 6. The isomorphism is one-to-one, so equal labels mean equal cosets.
    5. Check directly. (1,2,3)−(4,1,1)=(−3,1,2)(1,2,3) - (4,1,1) = (-3, 1, 2) has coordinate sum 00, so it lies in UU. The cosets theorem: equal iff the difference is in UU.

    Answer. R3/U≅R\mathbb R^3/U \cong \mathbb R by “coordinate sum”, and yes, the two cosets are equal (both are the plane x+y+z=6x + y + z = 6).

    Worked example
    Identify the quotient P3/{constants}P_3/\{\text{constants}\}, where P3P_3 is the space of polynomials of degree at most 33.

    Solution.

    1. Choose a map. Let D:P3→P2D: P_3 \to P_2 be the derivative, D(p)=p′D(p) = p'. Its null space is the polynomials with p′=0p' = 0, which are the constants.
    2. Check the range. Any q∈P2q \in P_2 is the derivative of a polynomial in P3P_3 (integrate). So DD is onto P2P_2.
    3. Apply the theorem. P3/{constants}≅P2P_3/\{\text{constants}\} \cong P_2, via p+{constants}↦p′p + \{\text{constants}\} \mapsto p'. First isomorphism theorem.
    4. Check dimensions. dim⁡P3−dim⁡{constants}=4−1=3=dim⁡P2\dim P_3 - \dim\{\text{constants}\} = 4 - 1 = 3 = \dim P_2. Matches the dimension of a quotient.

    Answer. P3P_3 modulo constants is P2P_2. A coset is “a polynomial up to adding a constant”, which is what the integral ∫q dx\int q\,dx means: an antiderivative is a coset, and the "+C+C" you wrote in JEE is the name of the representative-choice that the coset ignores.

    Worked example 0.5
    In Z\mathbb Z, let 6Z={…,−12,−6,0,6,12,… }6\mathbb Z = \{\dots,-12,-6,0,6,12,\dots\} be the multiples of 66. Compute (4+6Z)+(5+6Z)(4 + 6\mathbb Z) + (5 + 6\mathbb Z), and check that other representatives give the same coset.

    Solution.

    1. Cosets are residue classes. 4+6Z={…,−2,4,10,… }4 + 6\mathbb Z = \{\dots,-2,4,10,\dots\} is the class [4]6[4]_6 of 0.5, and the cosets of 6Z6\mathbb Z are [0],…,[5][0], \dots, [5]. a∼ba \sim b iff a−b∈6Za - b \in 6\mathbb Z is exactly "6∣a−b6 \mid a - b", the congruence relation of 0.5.
    2. Add the representatives. 4+5=94 + 5 = 9, and 9+6Z=3+6Z9 + 6\mathbb Z = 3 + 6\mathbb Z since 9−3=69 - 3 = 6. The definition of the sum, then the cosets criterion.
    3. Try other representatives. Replace 44 by 1010 and 55 by 1111: 10+11=2110 + 11 = 21, and 21−3=18∈6Z21 - 3 = 18 \in 6\mathbb Z, so again the coset of 33. 10−4=6∈6Z10 - 4 = 6 \in 6\mathbb Z and 11−5=6∈6Z11 - 5 = 6 \in 6\mathbb Z, so these represent the same two cosets. Their sum differs from 99 by 1212, an element of 6Z6\mathbb Z.
    4. The general reason. If a′=a+6ka' = a + 6k and b′=b+6lb' = b + 6l, then a′+b′=a+b+6(k+l)a' + b' = a + b + 6(k + l). This is the well-definedness proof of the quotient theorem, and also the proof in 0.5 that arithmetic respects congruence. They are the same argument.

    Answer. [4]+[5]=[3][4] + [5] = [3] in Z/6Z\mathbb Z/6\mathbb Z. The construction used only that 6Z6\mathbb Z is closed under addition and negatives. Z\mathbb Z is not a vector space over R\mathbb R, but it has an addition with a zero and negatives, and the quotient construction works there too (chapter 3.9 calls such a structure a group).

    Your answerIn Z/12Z\mathbb Z/12\mathbb Z, which number from 00 to 1111 names the coset (5+12Z)+(9+12Z)(5 + 12\mathbb Z) + (9 + 12\mathbb Z)?
    Beyond the course: for understanding· The double dual, duals of quotients, and infinite dimensions

    Double dual. The dual of V∗V^* is V∗∗V^{**}. Every v∈Vv \in V gives a functional on V∗V^*, “evaluate at vv”: ev⁡v(φ)=φ(v)\operatorname{ev}_v(\varphi) = \varphi(v). The map v↦ev⁡vv \mapsto \operatorname{ev}_v is linear, one-to-one (the “non-zero vv has a functional with φ(v)=1\varphi(v) = 1” problem below) and, in finite dimensions, onto since dim⁡V∗∗=dim⁡V∗=dim⁡V\dim V^{**} = \dim V^* = \dim V. So V≅V∗∗V \cong V^{**} without choosing a basis, which is not true of V≅V∗V \cong V^* (which depends on the basis, see the first Trap).

    Duals of quotients. (V/U)∗≅U0(V/U)^* \cong U^0. A functional φ\varphi on VV that vanishes on UU gives φˉ(v+U)=φ(v)\bar\varphi(v + U) = \varphi(v), well defined because φ(u)=0\varphi(u) = 0; conversely χ∈(V/U)∗\chi \in (V/U)^* gives χ∘π∈U0\chi\circ\pi \in U^0. The dimension check: dim⁡(V/U)=n−m=dim⁡U0\dim(V/U) = n - m = \dim U^0.

    Infinite dimensions. For VV the space of real sequences with only finitely many non-zero terms, dim⁡V∗\dim V^* is strictly larger than dim⁡V\dim V (the Erdős–Kaplansky theorem), and the dual basis does not span (Stretch problem). That is why the infinite-dimensional dual is studied with extra topology (MATH 521, functional analysis).

    Where it is used

    Used inside maths· Inside maths: the derivative is a covector, and that is why rows and columns differ

    Let f(x,y)=x2yf(x, y) = x^2y at the point (1,2)(1, 2). The derivative of ff there is the linear map that best approximates the change in ff: it eats a displacement and returns a number. Its row is [ ∂f/∂x  ∂f/∂y ]=[ 2xy  x2 ]=[4  1]\big[\,\partial f/\partial x\ \ \partial f/\partial y\,\big] = [\,2xy\ \ x^2\,] = [4\ \ 1]. So Df(1,2)Df(1,2) is a functional on displacements, an element of (R2)∗(\mathbb R^2)^*. For the displacement v=(0.1,−0.2)v = (0.1, -0.2), Df(v)=4(0.1)+1(−0.2)=0.2Df(v) = 4(0.1) + 1(-0.2) = 0.2, a good estimate of the actual change f(1.1,1.8)−f(1,2)=2.178−2=0.178f(1.1, 1.8) - f(1, 2) = 2.178 - 2 = 0.178.

    The gradient ∇f=(4,1)\nabla f = (4, 1) is the column you get by using the dot product to turn the row into a vector: Df(v)=∇f⋅vDf(v) = \nabla f\cdot v. That conversion needs an inner product. It is fine in Rn\mathbb R^n with the usual dot product, and that is why calculus books can blur the two. They separate the moment you change coordinates, as the next paragraph shows.

    Why a row is not a column. Switch from metres to kilometres. A displacement of 5050 m is 0.050.05 km: vector coordinates shrink by 10001000. A rate such as 0.020.02 degrees per metre is 2020 degrees per kilometre: covector coordinates grow by 10001000. In general, if the coordinates of vectors change by xnew=Cxx_{\text{new}} = Cx (2.5), the row of a functional changes by anew=aC−1a_{\text{new}} = aC^{-1}, so that anewxnew=axa_{\text{new}}x_{\text{new}} = ax is the same number. Vectors and covectors transform by opposite recipes. This is why they are different objects, and why the number φ(v)\varphi(v), which does not care about coordinates, is the right way to pair them.

    Z/nZ\mathbb Z/n\mathbb Z is a quotient. In 0.5 you built Zn\mathbb Z_n as the set of residue classes and checked that arithmetic respects congruence. That is the quotient construction with V=ZV = \mathbb Z and U=nZU = n\mathbb Z. The check in 0.5 and the well-definedness step above are the same proof. In 3.9 this quotient becomes the first example of a quotient group, and for prime pp, of a field.

    Used in the real world· Physics: covectors, units and the pairing

    The outdoor temperature T(x,y)T(x, y) over a hillside, in degrees Celsius, has at a point the derivative dT=[ 0.02  −0.01 ]dT = [\,0.02\ \ -0.01\,] in degrees per metre (east, north). Walking the displacement v=(50,100)v = (50, 100) metres changes the temperature by dT(v)=0.02⋅50−0.01⋅100=1−1=0dT(v) = 0.02 \cdot 50 - 0.01 \cdot 100 = 1 - 1 = 0 degrees. In kilometres, v=(0.05,0.1)v = (0.05, 0.1) and dT=[ 20  −10 ]dT = [\,20\ \ -10\,] degrees per km, and the answer is still 20⋅0.05−10⋅0.1=020 \cdot 0.05 - 10 \cdot 0.1 = 0. Displacements are vectors; dTdT is a covector; the number dT(v)dT(v) is the same in every unit system. Physicists write vector components with upper indices and covector components with lower indices (Einstein’s convention) to keep track of which recipe applies, and in Hamiltonian mechanics the momentum is a covector: paired with a velocity it gives a number with the units of energy. Work is also a pairing: a force is a covector that eats a displacement and returns joules.

    Used in the real world· Machine learning: a linear model is a functional, and units matter for gradient descent

    A house-price model y^=w⋅x+b\hat y = w\cdot x + b with features x=(area in sq ft, bedrooms, age in years)x = (\text{area in sq ft},\ \text{bedrooms},\ \text{age in years}) and weights w=(150, 10 000, −500)w = (150,\ 10\,000,\ -500) and bias b=20 000b = 20\,000 gives, for x=(2000,3,20)x = (2000, 3, 20), the price 150⋅2000+10 000⋅3−500⋅20+20 000=340 000150\cdot2000 + 10\,000\cdot3 - 500\cdot20 + 20\,000 = 340\,000. The row ww is a linear functional on feature vectors (the bias makes the whole map affine, the functional plus a constant). A layer with 128128 neurons reading 784784 pixels is 128128 functionals on R784\mathbb R^{784}, stored as the rows of a 128×784128\times784 matrix: 100 352100\,352 weights, plus 128128 biases. The gradient of the loss with respect to ww is again a covector. Gradient descent “subtracts the gradient from the weights”, which silently uses the dot product to turn the covector into a vector, and this is not unit-safe. Measure the area in thousands of square feet and the feature coordinates shrink by 10001000, the weight on that feature must grow by 10001000 (covector rule), and one learning rate suits one scaling but not the other. That is why features are standardised before training, and why the natural gradient method corrects the conversion. Chapter 3.8 uses the transpose of a Jacobian in every backpropagation step, which is the dual map of this chapter.

    Traps

    Watch out· V and V* have the same dimension but are not the same space, and the dual basis depends on the whole basis

    The proof that dim⁡V∗=dim⁡V\dim V^* = \dim V builds an isomorphism vi↦φiv_i \mapsto \varphi_i, but it depends on the choice of basis. Change one basis vector and the whole dual basis changes. Take the basis b1=(1,0)b_1 = (1, 0), b2=(0,1)b_2 = (0, 1): φ1(x,y)=x\varphi_1(x, y) = x. Keep b1=(1,0)b_1 = (1, 0) but change b2b_2 to (1,1)(1, 1): the dual basis becomes φ1(x,y)=x−y\varphi_1(x, y) = x - y and φ2(x,y)=y\varphi_2(x, y) = y (check: φ1(1,1)=0\varphi_1(1,1) = 0). The functional φ1\varphi_1 changed even though b1b_1 did not, because φ1\varphi_1 means “the amount of b1b_1, counted along b2b_2”. There is no basis-free way to turn a vector into a covector (without an inner product).

    Watch out· The dual map is not the adjoint

    TTT^{\mathsf T} goes W∗→V∗W^* \to V^* and needs no inner product. The adjoint T∗T^* of 3.1 goes W→VW \to V and needs inner products. They are related by the identification of vectors with functionals through the inner product, and on Rn\mathbb R^n with the dot product both are given by the transpose matrix. Over the complex numbers the adjoint also conjugates. Do not read "TT=T∗T^{\mathsf T} = T^*" as an identity of maps.

    Watch out· A coset is a translated copy of U, not a subspace, and V/U is not a subspace of V

    Only O+U=UO + U = U passes through the origin. The quotient V/UV/U is a new vector space whose elements are cosets. It is isomorphic to any complement of UU in VV but it is not one. Its zero vector is the coset UU, not the vector OO and not the one-point set {O}\{O\}.

    Watch out· Always check well-definedness when defining a map on V/U

    v+U↦∥v∥v + U \mapsto \lVert v \rVert is nonsense because the answer changes with the representative. A formula in terms of vv defines a map on V/UV/U only if it takes the same value on vv and on v+uv + u for every u∈Uu \in U. The first isomorphism theorem is the clean way: build a linear map TT on VV with U⊆N(T)U \subseteq N(T) and get a map on V/UV/U for free (the last “prove” problem below).

    Problems

    check

    Which of these maps R3→R\mathbb R^3 \to \mathbb R are linear functionals? (a) 3x−y+2z3x - y + 2z (b) x+y+z+1x + y + z + 1 (c) x2+y2+z2\sqrt{x^2 + y^2 + z^2} (d) xzxz.

    Solution

    Only (a). A linear functional sends OO to 00 and respects sums and multiples. (b) sends OO to 11. (c) fails scaling by −1-1: the length of −v-v is not −∥v∥-\lVert v\rVert. (d) fails scaling: (2x)(2z)=4xz≠2xz(2x)(2z) = 4xz \ne 2xz.

    check

    Let φ1,φ2,φ3\varphi_1, \varphi_2, \varphi_3 be the dual basis of the standard basis e1,e2,e3e_1, e_2, e_3 of R3\mathbb R^3. Compute φ2(4,5,6)\varphi_2(4, 5, 6) and write 2x−y+7z2x - y + 7z as a combination of φ1,φ2,φ3\varphi_1, \varphi_2, \varphi_3.

    Solution

    The dual basis of the standard basis is the coordinate functionals, so φ2(4,5,6)=5\varphi_2(4, 5, 6) = 5. For ψ=2x−y+7z\psi = 2x - y + 7z the values on the basis are ψ(e1)=2\psi(e_1) = 2, ψ(e2)=−1\psi(e_2) = -1, ψ(e3)=7\psi(e_3) = 7, so ψ=2φ1−φ2+7φ3\psi = 2\varphi_1 - \varphi_2 + 7\varphi_3.

    check

    Let U=span⁡{(1,2)}U = \operatorname{span}\{(1, 2)\} in R2\mathbb R^2. Is (3,4)+U=(5,8)+U(3, 4) + U = (5, 8) + U? Is (3,4)+U=(5,7)+U(3, 4) + U = (5, 7) + U?

    Solution

    Cosets are equal iff the difference of representatives is in UU. (5,8)−(3,4)=(2,4)=2(1,2)∈U(5, 8) - (3, 4) = (2, 4) = 2(1, 2) \in U, so the first is true. (5,7)−(3,4)=(2,3)(5, 7) - (3, 4) = (2, 3) is not a multiple of (1,2)(1, 2), so the second is false.

    check

    VV has dimension 99 and UU is a 55-dimensional subspace. Find dim⁡V∗\dim V^*, dim⁡(V/U)\dim(V/U) and dim⁡U0\dim U^0.

    Solution

    dim⁡V∗=dim⁡V=9\dim V^* = \dim V = 9. dim⁡(V/U)=9−5=4\dim(V/U) = 9 - 5 = 4. dim⁡U0=9−5=4\dim U^0 = 9 - 5 = 4. (This agrees with (V/U)∗≅U0(V/U)^* \cong U^0.)

    use

    Find the dual basis of the basis b1=(2,1)b_1 = (2, 1), b2=(1,1)b_2 = (1, 1) of R2\mathbb R^2, and use it to write (5,3)(5, 3) in this basis.

    Solution

    B=[2111]B = \begin{bmatrix}2&1\\1&1\end{bmatrix} has det⁡B=1\det B = 1 and B−1=[1−1−12]B^{-1} = \begin{bmatrix}1&-1\\-1&2\end{bmatrix}. The dual basis is φ1=x−y\varphi_1 = x - y and φ2=−x+2y\varphi_2 = -x + 2y. Check: φ1(b1)=1\varphi_1(b_1) = 1, φ1(b2)=0\varphi_1(b_2) = 0, φ2(b1)=−2+2=0\varphi_2(b_1) = -2 + 2 = 0, φ2(b2)=−1+2=1\varphi_2(b_2) = -1 + 2 = 1. Coordinates of (5,3)(5, 3): φ1(5,3)=2\varphi_1(5, 3) = 2 and φ2(5,3)=−5+6=1\varphi_2(5, 3) = -5 + 6 = 1, so (5,3)=2b1+b2(5, 3) = 2b_1 + b_2. Check: 2(2,1)+(1,1)=(5,3)2(2,1) + (1,1) = (5, 3).

    use

    Let T:R2→R3T: \mathbb R^2 \to \mathbb R^3 have the matrix A=[12301−1]A = \begin{bmatrix}1&2\\3&0\\1&-1\end{bmatrix}. Compute TTψT^{\mathsf T}\psi for ψ=[1  2  −1]\psi = [1\ \ 2\ \ -1] and verify ψ(Tx)=(TTψ)(x)\psi(Tx) = (T^{\mathsf T}\psi)(x) for x=(1,1)x = (1, 1).

    Solution

    TTψ=ψA=[1⋅1+2⋅3−1⋅1,  1⋅2+0+(−1)(−1)]=[6  3]T^{\mathsf T}\psi = \psi A = [1\cdot1 + 2\cdot3 - 1\cdot1,\ \ 1\cdot2 + 0 + (-1)(-1)] = [6\ \ 3]. Now Ax=(3,3,0)Ax = (3, 3, 0) and ψ(Ax)=3+6+0=9\psi(Ax) = 3 + 6 + 0 = 9, while (TTψ)(x)=6+3=9(T^{\mathsf T}\psi)(x) = 6 + 3 = 9.

    use

    Let U=span⁡{(1,2,3)}U = \operatorname{span}\{(1, 2, 3)\} in R3\mathbb R^3 and T(x,y,z)=(y−2x, z−3x)T(x, y, z) = (y - 2x,\ z - 3x). Show that N(T)=UN(T) = U, conclude what R3/U\mathbb R^3/U is, and decide whether (4,9,12)+U=(3,7,9)+U(4, 9, 12) + U = (3, 7, 9) + U.

    Solution

    T(x,y,z)=OT(x,y,z) = O means y=2xy = 2x and z=3xz = 3x, so (x,y,z)=x(1,2,3)(x, y, z) = x(1, 2, 3): N(T)=UN(T) = U. TT is onto R2\mathbb R^2: T(0,a,b)=(a,b)T(0, a, b) = (a, b). By the first isomorphism theorem R3/U≅R2\mathbb R^3/U \cong \mathbb R^2 (dimension 3−1=23 - 1 = 2). Now T(4,9,12)=(9−8, 12−12)=(1,0)T(4, 9, 12) = (9 - 8,\ 12 - 12) = (1, 0) and T(3,7,9)=(7−6, 9−9)=(1,0)T(3, 7, 9) = (7 - 6,\ 9 - 9) = (1, 0). Equal labels, so the cosets are equal. Directly, (4,9,12)−(3,7,9)=(1,2,3)∈U(4,9,12) - (3,7,9) = (1,2,3) \in U.

    use

    The derivative D:P3→P2D: P_3 \to P_2 is onto with null space the constants. Explain, using the first isomorphism theorem, why every polynomial in P2P_2 has an antiderivative in P3P_3 that is unique up to a constant.

    Solution

    The theorem says Dˉ:P3/{constants}→P2\bar D: P_3/\{\text{constants}\} \to P_2 is a bijection. Onto gives existence of an antiderivative for each q∈P2q\in P_2: some coset p+{constants}p + \{\text{constants}\} with D(p)=qD(p) = q. One-to-one gives uniqueness of the coset: any two antiderivatives p,p′p, p' of qq are in the same coset, meaning p−p′p - p' is constant.

    prove

    Let BB be an n×nn\times n matrix with columns b1,…,bnb_1, \dots, b_n, and let CC be a matrix whose rows are c1,…,cnc_1, \dots, c_n. Prove that cibj=δijc_i b_j = \delta_{ij} for all i,ji, j if and only if CB=ICB = I. Conclude that if the bjb_j are a basis of Rn\mathbb R^n, the dual basis is given by the rows of B−1B^{-1}, with no appeal to the proposition in the text.

    Solution

    The (i,j)(i, j) entry of CBCB is row ii of CC times column jj of BB, which is cibjc_ib_j. The identity matrix has entries δij\delta_{ij}. So CB=ICB = I holds exactly when cibj=δijc_ib_j = \delta_{ij} for every i,ji, j, entry by entry. If b1,…,bnb_1, \dots, b_n are a basis, BB is invertible (its columns are independent, 2.4), and CB=ICB = I gives C=B−1C = B^{-1}. The functionals x↦cixx \mapsto c_ix are then the ones with ci(bj)=δijc_i(b_j) = \delta_{ij}, which is the definition of the dual basis, and the dual basis is unique because a linear map is determined by its values on a basis. So φi\varphi_i is row ii of B−1B^{-1}.

    proveAxler 3F

    Prove (S∘T)T=TT∘ST(S\circ T)^{\mathsf T} = T^{\mathsf T}\circ S^{\mathsf T}, and deduce (AB)T=BTAT(AB)^{\mathsf T} = B^{\mathsf T}A^{\mathsf T} for matrices.

    Solution

    For a functional ψ\psi on the target of SS: (S∘T)Tψ=ψ∘S∘T=(ψ∘S)∘T=TT(ψ∘S)=TT(STψ)(S\circ T)^{\mathsf T}\psi = \psi\circ S\circ T = (\psi\circ S)\circ T = T^{\mathsf T}(\psi\circ S) = T^{\mathsf T}(S^{\mathsf T}\psi), using associativity of composition and the definition of the dual map twice. So (S∘T)T=TT∘ST(S\circ T)^{\mathsf T} = T^{\mathsf T}\circ S^{\mathsf T}. The matrix of a composition is the product of the matrices in the same order (2.5), and the matrix of a dual map is the transpose (the theorem above). Taking matrices of both sides: (AB)T=BTAT(AB)^{\mathsf T} = B^{\mathsf T}A^{\mathsf T} when AA is the matrix of SS and BB that of TT.

    prove

    Let φ≠0\varphi \neq 0 be a linear functional on an nn-dimensional VV. (a) Prove dim⁡N(φ)=n−1\dim N(\varphi) = n - 1. (b) If ψ∈V∗\psi \in V^* has the same null space as φ\varphi, prove ψ=cφ\psi = c\varphi for some scalar cc.

    Solution

    (a) Choose vv with φ(v)≠0\varphi(v) \ne 0. Then φ(tv/φ(v))=t\varphi(tv/\varphi(v)) = t for every real tt, so the range of φ\varphi is all of R\mathbb R, of dimension 11. Rank–nullity gives dim⁡N(φ)=n−1\dim N(\varphi) = n - 1.

    (b) Pick v0v_0 with φ(v0)=1\varphi(v_0) = 1 (scale a vector with φ≠0\varphi \ne 0). For any v∈Vv \in V, the vector v−φ(v)v0v - \varphi(v)v_0 satisfies φ(v−φ(v)v0)=φ(v)−φ(v)=0\varphi(v - \varphi(v)v_0) = \varphi(v) - \varphi(v) = 0, so it lies in N(φ)=N(ψ)N(\varphi) = N(\psi). Hence ψ(v)−φ(v)ψ(v0)=0\psi(v) - \varphi(v)\psi(v_0) = 0, that is ψ(v)=ψ(v0) φ(v)\psi(v) = \psi(v_0)\,\varphi(v). This is ψ=cφ\psi = c\varphi with c=ψ(v0)c = \psi(v_0).

    proveAxler 3F

    Prove that if v≠Ov \ne O in a finite-dimensional VV, there is a functional φ\varphi with φ(v)=1\varphi(v) = 1. Deduce that ev⁡v=0\operatorname{ev}_v = 0 in V∗∗V^{**} only for v=Ov = O.

    Solution

    Since v≠Ov \ne O, the list vv is independent, so it extends to a basis v=v1,v2,…,vnv = v_1, v_2, \dots, v_n of VV (2.2). The dual basis has φ1(v1)=1\varphi_1(v_1) = 1. Now if v≠Ov \ne O then ev⁡v(φ1)=φ1(v)=1≠0\operatorname{ev}_v(\varphi_1) = \varphi_1(v) = 1 \ne 0, so ev⁡v\operatorname{ev}_v is not the zero functional on V∗V^*. Hence the linear map v↦ev⁡vv \mapsto \operatorname{ev}_v has null space {O}\{O\}, so it is one-to-one. (This finite-dimensional statement is the baby version of the Hahn–Banach theorem.)

    prove

    Let U⊆VU \subseteq V be a subspace and T:V→WT: V \to W linear with U⊆N(T)U \subseteq N(T). Prove that Tˉ(v+U)=T(v)\bar T(v + U) = T(v) is a well-defined linear map V/U→WV/U \to W with Tˉ∘π=T\bar T\circ\pi = T, and that it is one-to-one if and only if U=N(T)U = N(T).

    Solution

    Well defined: if v+U=v′+Uv + U = v' + U then v−v′∈U⊆N(T)v - v' \in U \subseteq N(T), so T(v)=T(v′)T(v) = T(v'). Linear: Tˉ((v+U)+(w+U))=Tˉ((v+w)+U)=T(v)+T(w)\bar T((v + U) + (w + U)) = \bar T((v + w) + U) = T(v) + T(w), and Tˉ(c(v+U))=T(cv)=cT(v)\bar T(c(v + U)) = T(cv) = cT(v). Tˉ∘π=T\bar T\circ\pi = T by definition. One-to-one iff N(Tˉ)N(\bar T) is the zero coset: N(Tˉ)={v+U:T(v)=O}=N(T)/UN(\bar T) = \{v + U : T(v) = O\} = N(T)/U (cosets whose representatives are in N(T)N(T)). This is the zero coset UU alone exactly when every v∈N(T)v \in N(T) has v+U=Uv + U = U, that is v∈Uv \in U. So Tˉ\bar T is one-to-one iff N(T)⊆UN(T) \subseteq U, which together with U⊆N(T)U \subseteq N(T) says U=N(T)U = N(T).

    stretch

    Suppose V=U⊕WV = U \oplus W, meaning every v∈Vv \in V is u+wu + w in exactly one way with u∈Uu \in U, w∈Ww \in W. Show that w↦w+Uw \mapsto w + U is an isomorphism from WW onto V/UV/U. Why does this not make V/UV/U “equal” to WW?

    Solution

    The map w↦w+Uw \mapsto w + U is the quotient map π\pi restricted to WW, so it is linear. One-to-one: if w+U=Uw + U = U then w∈Uw \in U; also w∈Ww \in W; and w=w+O=O+ww = w + O = O + w are two decompositions of ww, so uniqueness forces w=Ow = O. Onto: any coset v+Uv + U with v=u+wv = u + w equals w+Uw + U, since v−w=u∈Uv - w = u \in U. So W≅V/UW \cong V/U. It does not make them equal because WW is a subspace of VV that depends on a choice (there are many complements of UU), while V/UV/U is canonical, defined from UU alone. Every complement is isomorphic to the same quotient.

    stretch

    Let VV be the space of real sequences (a1,a2,a3,… )(a_1, a_2, a_3, \dots) with only finitely many non-zero terms; its basis is e1,e2,…e_1, e_2, \dots. Let φi(a)=ai\varphi_i(a) = a_i be the coordinate functionals and S(a)=a1+a2+a3+…S(a) = a_1 + a_2 + a_3 + \dots (a finite sum). Show that S∈V∗S \in V^* is not a finite combination of the φi\varphi_i, so the dual basis does not span V∗V^*.

    Solution

    SS is linear (a finite sum of coordinates). Suppose S=c1φi1+⋯+ckφikS = c_1\varphi_{i_1} + \dots + c_k\varphi_{i_k} for finitely many indices. Choose jj different from all of i1,…,iki_1, \dots, i_k. Then S(ej)=1S(e_j) = 1 but the combination evaluated at eje_j gives 00. Contradiction. So SS is not in the span of the φi\varphi_i. The formula φ=∑φ(ei)φi\varphi = \sum\varphi(e_i)\varphi_i of the finite-dimensional theorem would need an infinite sum here. The dual of this space is the space of all real sequences (the values of a functional on e1,e2,…e_1, e_2, \dots), which is far bigger than VV.

    Summary

    • A linear functional is a linear map V→RV \to \mathbb R. On Rn\mathbb R^n it is a row times a column, which is why rows and columns are different: a column is a vector, a row is a covector that eats columns.
    • The dual space V∗V^* is the space of functionals. A basis viv_i has a dual basis φi(vj)=δij\varphi_i(v_j) = \delta_{ij} that reads off coordinates, found as the rows of B−1B^{-1}. It is a basis of V∗V^*, so dim⁡V∗=dim⁡V\dim V^* = \dim V.
    • The dual map TT:W∗→V∗T^{\mathsf T}: W^* \to V^*, ψ↦ψ∘T\psi \mapsto \psi\circ T, has the transposed matrix. That is the reason for (Ax)⋅y=x⋅(ATy)(Ax)\cdot y = x\cdot(A^{\mathsf T}y) and for (AB)T=BTAT(AB)^{\mathsf T} = B^{\mathsf T}A^{\mathsf T}. Annihilators give a second proof that row rank equals column rank.
    • A coset v+Uv + U is UU moved by vv (a line parallel to UU in the plane). Cosets are the classes of "v−w∈Uv - w \in U", so they partition VV.
    • The quotient space V/UV/U is the set of cosets with operations defined on representatives, well defined because UU is a subspace. The coset UU is its zero vector, and dim⁡V/U=dim⁡V−dim⁡U\dim V/U = \dim V - \dim U.
    • First isomorphism theorem: V/N(T)≅range⁡TV/N(T) \cong \operatorname{range}T. It contains rank–nullity, and the same statement for groups (G/ker⁡φ≅im⁡φG/\ker\varphi \cong \operatorname{im}\varphi) is a core theorem of MATH 541.
    • Applications: derivatives are covectors (rows), a linear model is a functional, units change vectors and covectors in opposite ways, and Z/nZ\mathbb Z/n\mathbb Z is a quotient. A map out of V/UV/U must be checked for well-definedness.

    Watch and read

    The same ideas explained by someone else. Use these when an explanation here does not land.

    Where this sits

    Comes from
    0.4 Equivalence relations and partitions
    0.5 Integers mod n, gcd and Bézout
    2.3 Linear maps, null space, range, rank–nullity
    2.5 Matrices as maps, multiplication, change of basis
    3.6 Cayley–Hamilton, Schur, and the Jordan form
    Leads to
    3.8 Matrix calculus and backpropagation
    3.9 Groups, rings and fields: a preview built from what you know
    Same idea elsewhere
    MATH 375: The identity (Ax)·y = x·(Aᵀy), used for the adjoint in 3.1, shows the transpose moving across a dot product. This chapter gives the reason: Aᵀ is the matrix of the dual map. In multivariable calculus (Apostol, Vol. 2, ch. 8) the derivative of a function of n variables at a point is a linear functional, which the course wrote as a row of partial derivatives and, with the dot product, as the gradient column.
    MATH 540: Duals, annihilators, the double dual and quotient spaces are standard topics of a second course in linear algebra. Axler's chapter 3 is a clean treatment, and it is the one this chapter follows.
    MATH 541: A quotient group G/N is built exactly like V/U: cosets of a subgroup, with an operation defined on representatives. The first isomorphism theorem there reads G/ker φ ≅ im φ. Chapter 3.9 previews it.
    MATH 521 / 551: The dual of a space of functions is the home of the delta 'function' and of distributions. In topology, a circle is the real line modulo the subgroup of integers, a quotient.
    CS 240 / machine learning: A linear model ŷ = w·x is a linear functional of the features x, and the gradient of a loss with respect to the weights is a covector. 3.8 uses this.