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 V to R is called a linear functional, and the set of all of them is again a vector space, the dual space of V. 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/U, the exact way to say “treat two vectors as the same when they differ by something in U”. 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 to R?
A linear map must send O to 0 and respect sums and multiples (2.3). The second sends (0,0) to 1. The third fails scaling: doubling both inputs gives (2x)(2y)=4xy, which is not 2⋅xy.Review: linear maps
Quick checkA linear map T:R5→R3 is onto. What is the dimension of its null space?
Onto means the range is all of R3, so the rank is 3. Rank–nullity: dimN(T)=5−3=2.Review: rank–nullity
Quick checkOn R2 say v∼w when v and w have the same y-coordinate. What is the equivalence class of (3,5)?
The class of (3,5) is everything related to it: all points with y-coordinate 5. Related points can have any x.Review: equivalence classes
The picture
Take the function φ(x,y)=x+2y on the plane. It is linear: it sends (0,0) to 0, and it respects sums and multiples. It reads one number off each point. Look at where it is constant. The points with φ=0 lie on the line x+2y=0. The points with φ=1 lie on a second line x+2y=1, the first line moved along. Every value c 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). Its second output is half of the first, so T is the functional x+2y followed by a stretch onto a line.
The red line is the null space: the vectors along (−2,1) that T sends to O. 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), and T kills that. So T 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 v a functional with φ(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 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 v1 is in v?”, “how much of v2?”, 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 T cannot see the vectors in N(T), then v and v+n look the same to T for every n∈N(T). Collect each vector with all its look-alikes into one object, a coset, and then T becomes one-to-one on the cosets. Everything T 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 V be a vector space. A linear functional on V is a linear map φ:V→R. That is, φ(v+w)=φ(v)+φ(w) and φ(cv)=cφ(v) for all v,w∈V and all scalars c. Examples:
on R3: φ(x,y,z)=2x−y+7z, and the coordinate φ(x,y,z)=y;
on the polynomials of degree at most 2: evaluation at 2, p↦p(2); the derivative at 1, p↦p′(1); and the integral, p↦∫01p(x)dx;
on 2×2 matrices: the trace, A↦a11+a22.
Non-examples: the length v↦∥v∥ (it fails ∥−v∥=−∥v∥), and p↦p(2)+1 (it sends the zero polynomial to 1, not 0).
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 the answer is a row of numbers.
Proposition B
Functionals on R^n are rows
Let φ be a linear functional on Rn and put ai=φ(ei). Then for every x=(x1,…,xn),
φ(x)=a1x1+⋯+anxn=[a1⋯an]x1⋮xn.
Conversely, every row [a1⋯an] defines a linear functional by this formula.
In one lineEvery linear functional on Rn is φ(x)=a1x1+⋯+anxn with ai=φ(ei), which is the row [a1⋯an] times the column x; 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+⋯+xnen.
Every x∈Rn is ∑xiei (2.2, the standard basis).
φ(x)=x1φ(e1)+⋯+xnφ(en).
φ respects sums and multiples, so it passes through the sum and pulls out each scalar.
So φ(x)=a1x1+⋯+anxn.
The numbers φ(ei) are what we called ai. The result is a row times a column, a 1×n matrix times an n×1 matrix (2.5).
Every row defines a functional.
Converse: a 1×n matrix a gives the map x↦ax, which is linear because matrix multiplication distributes over addition and commutes with scalars (2.5). ■
This is the reason rows and columns are different things. A column x is a vector. A row a 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 V is V∗=L(V,R), the set of all linear functionals on V, with (φ+ψ)(v)=φ(v)+ψ(v) and (cφ)(v)=cφ(v). It is a vector space because L(V,W) is a vector space for any V,W (2.4); here W=R. Elements of V∗ are also called covectors. The zero vector of 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)∗ is the space of 1×n rows. It has dimension n, like Rn. Is that a coincidence of Rn, or true for every finite-dimensional V? To prove it for every V we need a basis of V∗, built from a basis of V.
The dual basis
Definition B
Dual basis
Let v1,…,vn be a basis of V. The dual basis is the list φ1,…,φn of functionals defined by
φi(vj)=δij,where δij={10i=ji=j
(δ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+⋯+cnvn, then φi(v)=ci: 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 the dual basis is the coordinate functionals x↦xi, which are the rows e1T,…,enT. 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] be invertible. Then φi(x)=(row i 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) of B−1B is (row i of B−1)⋅bj.
Entry (i,j) of a product is row i of the left factor times column j of the right factor (2.5).
So (row i of B−1)bj=δij for all i,j.
B−1B=I, whose (i,j) entry is δij.
Row i of B−1, as a functional, satisfies φi(bj)=δij.
That is the defining property of the dual basis, and the dual basis is unique, so the rows of B−1 are φ1,…,φn. ■
Worked example
Find the dual basis of the basis b1=(1,1), b2=(1,2) of R2, and use it to find the coordinates of (5,3).
Solution. The Steps below show each stage.
Answer.φ1=2x−y, φ2=−x+y, and (5,3)=7b1−2b2.
Your answerWith b1=(1,1), b2=(1,2) and dual basis φ1=2x−y, φ2=−x+y, what is φ1(9,4)?
Apply the row [2−1] to the column (9,4).
φ1(9,4)=2⋅9−4=14. It is the coefficient of b1 in (9,4): (9,4)=14b1−5b2, since 14(1,1)−5(1,2)=(9,4), and φ2(9,4)=−9+4=−5.
Why· The picture behind the dual basis
In the plane with b1=(1,1) and b2=(1,2), the set where φ1=0 is the line through b2, because φ1(b2)=0. The set where φ1=1 is the parallel line through b1. So φ1(v) counts how many parallel lines (parallel to b2) you cross going from O to v, which is exactly the amount of b1 in v when you slide along b2 to reach it. Likewise φ2 uses lines parallel to b1. The dual basis is the family of grid lines of the coordinate system b1,b2.
Theorem BAxler 3F
The dual basis is a basis
Let V have dimension n and basis v1,…,vn, with dual basis φ1,…,φn. Then φ1,…,φn is a basis of V∗, and every φ∈V∗ equals ∑iφ(vi)φi. Hence dimV∗=dimV.
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=0 in V∗.
To prove independence we start from a combination equal to the zero vector of V∗, which is the zero functional (2.2, definition of independent).
Then (c1φ1+⋯+cnφn)(vj)=0 for each j.
The zero functional sends every vector to 0. Apply both sides to vj for one fixed j.
The left side is c1φ1(vj)+⋯+cnφn(vj)=cj.
Functionals are added value by value, and φi(vj)=δij, so every term is 0 except i=j.
So all coefficients are 0, and φ1,…,φn are independent.
Step 3 says cj=0, for every j.
Put ψ=φ(v1)φ1+⋯+φ(vn)φn.
Spanning: take any φ∈V∗ and form ψ=∑iφ(vi)φi, which lies in the span of the φi. We show ψ=φ.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 j: ψ(vj)=∑iφ(vi)φi(vj)=φ(vj).
Again φi(vj)=δij kills every term except i=j.
So ψ=φ, and φ lies in the span of φ1,…,φ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 is a basis of V∗ and dimV∗=n=dimV.
A list that is independent and spans is a basis, and a basis of n elements gives dimension n (2.2). ■
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.
To show independence, start from a combination equal to the zero vector and test it on a basis vector.
The defining property φi(vj)=δij kills all terms but one.
You need to have applied the combination to vj first.
Only the trivial combination gives the zero functional, which is the definition of independent.
This conclusion needs every coefficient to be 0, from the previous line.
To show the φi span, we build a candidate combination equal to φ.
This is the start of the spanning half; independence does not need it.
Again the property φi(vj)=δij leaves only the term i=j.
You must have defined ψ first.
A linear map is determined by its values on a basis.
This uses that ψ and φ agree on every basis vector.
The size of a basis is the dimension.
The conclusion needs both halves, independence and spanning.
Quick checkLet V be the space of polynomials of degree at most 3. What is dimV∗?
dimV=4 (basis 1,x,x2,x3), and the dual basis theorem gives dimV∗=dimV=4. There are infinitely many functionals as individual objects, just as there are infinitely many vectors, but dimension counts independent directions.
Worked example
Write the functional ψ(x,y)=3x+y as a combination of the dual basis φ1=2x−y, φ2=−x+y of the previous example.
Solution.
Use the expansion formula.ψ=ψ(b1)φ1+ψ(b2)φ2. The dual basis theorem: every functional is the sum of its values on the basis, times the dual basis.
Evaluate on the basis.ψ(b1)=ψ(1,1)=3+1=4 and ψ(b2)=ψ(1,2)=3+2=5. Apply ψ to each basis vector.
Assemble.ψ=4φ1+5φ2. Coefficients from step 2.
Check.4(2,−1)+5(−1,1)=(8−5,−4+5)=(3,1), the row of ψ. A functional is its row (the proposition on rows); the combination of rows must give the row of ψ.
Answer.ψ=4φ1+5φ2.
Worked example
Which of these are linear functionals on the polynomials of degree at most 2? (a) p↦p(2) (b) p↦p(0)p(1) (c) p↦∫01p(x)dx (d) p↦p(0)+1
Solution.
(a) Evaluation at 2.(p+q)(2)=p(2)+q(2) and (cp)(2)=cp(2). Adding functions and scaling them happen value by value, so evaluating at a point respects both. It is linear.
(b) The product. Take p=q=1 (constant). Then (p+q)(0)(p+q)(1)=2⋅2=4, but p(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.
(c) The integral.∫01(p+q)=∫01p+∫01q and ∫01cp=c∫01p. Linearity of the integral, from calculus.
(d) Plus one. The zero polynomial goes to 0+1=1, not 0. A linear map sends O to 0 (put c=0 in φ(cv)=cφ(v)).
Answer. (a) and (c) are linear functionals; (b) and (d) are not.
The dual map and the transpose
A linear map T:V→W turns vectors of V into vectors of W. What does it do to functionals? If ψ is a functional on W (it reads a number off vectors of W), then reading ψ at T(v) is a way of reading a number off v∈V. Doing so produces a functional on V.
Definition B
Dual map
Let T:V→W be linear. The dual map (or transpose map) TT:W∗→V∗ is
TT(ψ)=ψ∘T,that is(TTψ)(v)=ψ(T(v)).
The functional ψ∘T is linear because a composition of linear maps is linear (2.4), and TT is itself linear: (ψ+χ)∘T=ψ∘T+χ∘T and (cψ)∘T=c(ψ∘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. T goes from V to W; TT goes from W∗ back to V∗. This reversal is why transposing a product reverses the order. The next theorem says that in coordinates, TT is the transpose matrix of 2.5.
Theorem BAxler 3F
The dual map has the transposed matrix
Let A=(Akj) be the matrix of T, so T(vj)=∑kAkjwk. Let φ1,…,φn and ψ1,…,ψm be the dual bases of V∗ and W∗. Then the matrix of TT with respect to ψ1,…,ψm and φ1,…,φn is AT.
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∘T in the basis φ1,…,φn.
The kth column of the matrix of TT is the coordinates of TTψk in the basis φ1,…,φn (2.5, definition of the matrix of a map).
These coordinates are the values (ψk∘T)(vj) for j=1,…,n.
The dual basis theorem: the coordinates of a functional φ in the dual basis are its values φ(vj).
(ψk∘T)(vj)=ψk(∑lAljwl)=∑lAljψk(wl).
Substitute T(vj)=∑lAljwl and use linearity of ψk.
=Akj.
ψk(wl)=δkl, so only l=k survives.
So TTψk=∑jAkjφj.
Steps 2 to 4 say: the jth coordinate of TTψk is Akj, so column k of the matrix of TT is (Ak1,…,Akn), which is row k of A standing up as a column.
The matrix of TT is AT.
A matrix whose kth column is the kth row of A is AT (2.5, definition of the transpose). ■
Why· Why A^T shows up in (Ax)·y = x·(A^T y)
On Rn the dot product with a fixed vector y is a functional, ψy(w)=y⋅w=yTw. Apply the dual map of A to it. By the definition of the dual map, the image of ψy is the functional x↦ψy(Ax)=yTAx=(ATy)Tx, which is the dot product with ATy. So the dual map sends “dot with y” to “dot with ATy”, and that sentence is the identity (Ax)⋅y=x⋅(ATy) 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) for A=103210, x=(2,−1), y=(1,−1,2), and name the functional that AT produces.
Solution.
Apply A to x.Ax=(1⋅2+2⋅(−1),0+1⋅(−1),3⋅2+0)=(0,−1,6). Row times column, three times (2.5).
Read it with y.y⋅Ax=1⋅0+(−1)(−1)+2⋅6=13. This is ψy(T(x)), the left side.
Transpose, apply to y.ATy=(1⋅1+0+3⋅2,2⋅1+1⋅(−1)+0)=(7,1). AT is 2×3, so it eats the column y∈R3 and returns a vector of R2: a functional on the input space.
Read x with it.x⋅ATy=2⋅7+(−1)⋅1=13. The right side.
Answer. Both sides are 13. The dual map sends the functional “dot with (1,−1,2)” on R3 to the functional “dot with (7,1)” on R2.
Your answerLet A=[2013] and let ψ=[14] be a functional on the output space. The dual map sends ψ to the row ψA. What is its second entry?
Multiply the row [14] by the matrix: row times matrix gives a row.
ψA=[1⋅2+4⋅0,1⋅1+4⋅3]=[213]. This row is ψ∘T: the functional x↦ψ(Ax), and as a column it is ATψT=(2,13).
Quick checkT:V→W is linear. Where does TT send things?
A functional ψ on W becomes ψ∘T, a functional on V. Composing with T on the right pulls functionals back along T, so the direction reverses.
Corollary B
Dual of a composition
If T:U→V and S:V→W are linear, then (S∘T)T=TT∘ST. In matrices, (AB)T=BTAT.
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).
Definition of the dual map for the composition S∘T.
=(ψ∘S)∘T.
Composition of functions is associative (2.4).
=TT(STψ).
Definition of the dual map, twice: ψ∘S=STψ, then composing with T is TT of that.
So (S∘T)T=TT∘ST.
The two maps agree on every ψ, so they are equal. For the matrix rule: the matrix of S∘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, the rule proved entry by entry in 2.5. ■
Annihilators, and a second proof that row rank equals column rank
Definition B
Annihilator
For a subspace U of V, the annihilator of U is U0={φ∈V∗:φ(u)=0 for all u∈U}. It is a subspace of V∗: it contains the zero functional, and a sum or multiple of functionals that vanish on U vanishes on U. For V=Rn with functionals written as rows, U0 is the set of rows perpendicular to U, 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 BAxler 3F
Dimension of an annihilator
If dimV=n and U is a subspace of dimension m, then dimU0=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,…,vn of V, and let φ1,…,φn be its dual basis.
Any basis of a subspace extends to a basis of V (2.2).
The functionals φm+1,…,φn lie in U0.
For i>m and j≤m we have φi(uj)=0 (different basis vectors). A functional that is 0 on a basis of U is 0 on all of U (linearity).
They are independent.
They are part of a basis of V∗ (dual basis theorem), so they are independent.
Every φ∈U0 is a combination of φm+1,…,φn alone: the first m terms vanish.
Let φ∈U0. The dual basis theorem gives φ=∑i=1mφ(ui)φi+∑i=m+1nφ(vi)φi. Each ui lies in U, so φ(ui)=0.
So φm+1,…,φn is a basis of U0, and dimU0=n−m.
Independent and spanning U0. ■
Corollary BAxler 3F
Row rank equals column rank, by duality
For a linear map T:V→W between finite-dimensional spaces, rankTT=rankT. Hence rankAT=rankA 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) if and only if ψ is 0 on every vector T(v).
Definition: TTψ=0 means ψ(T(v))=0 for every v∈V.
That says ψ∈(rangeT)0, so N(TT)=(rangeT)0.
The vectors T(v) are exactly the range of T (2.3).
dimN(TT)=dimW−rankT.
Dimension of an annihilator, applied to the subspace rangeT of W.
rankTT=dimW−dimN(TT)=dimW−(dimW−rankT)=rankT.
Rank–nullity for TT:W∗→V∗, with dimW∗=dimW.
So rankAT=rankA: row rank equals column rank.
The matrix of TT is AT (previous theorem), and the rank of a matrix is the rank of its map. ■
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 A 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 npB = 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 basisprint("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 two integers count as the same when they differ by a multiple of n. In a vector space V, pick a subspace U, and call two vectors the same when they differ by a vector of U.
Definition B
Coset
Let U be a subspace of V and v∈V. The coset of v is
v+U={v+u:u∈U}.
The vector v 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 take the line U={t(1,2):t∈R}, the line y=2x through O. The coset (0,3)+U is the set of points (t,3+2t), the line y=2x+3: the line U moved up by 3. The coset (5,13)+U is the points (5+t,13+2t), which satisfy y=2x+3 as well, since 13+2t=2(5+t)+3. So (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 O is the line itself, O+U=U. In R3 the cosets of a plane through the origin are the parallel planes.
Theorem BAxler 3E
Cosets are the classes modulo a subspace
Let U be a subspace of V. The relation v∼w⟺v−w∈U is an equivalence relation on V. The equivalence class of v is v+U. Consequently the cosets of U form a partition of V, and v+U=w+U exactly when v−w∈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∼v.
Reflexive: v−v=O, and every subspace contains O.
If v∼w then w∼v.
Symmetric: if v−w∈U then w−v=(−1)(v−w)∈U, since U is closed under scaling.
If v∼w and w∼x then v∼x.
Transitive: if v−w∈U and w−x∈U then v−x=(v−w)+(w−x)∈U, since U is closed under addition.
The class of v is the set of x with x−v∈U.
The class of v is {x:x∼v}={x:x−v∈U} by the definition of the relation and of a class (0.4).
That set is {v+u:u∈U}=v+U.
x−v=u∈U means x=v+u for some u∈U, and conversely every v+u has (v+u)−v=u∈U.
So v+U=w+U⟺v−w∈U, and cosets are equal or disjoint.
The equal-classes lemma of 0.4 gives [v]=[w]⟺v∼w, and the classes of any equivalence relation partition the set. ■
Quick checkLet U be the x-axis in R2. Which coset equals (1,1)+U?
Two cosets are equal when the difference of representatives lies in U. (5,1)−(1,1)=(4,0) is on the x-axis. (1,5)−(1,1)=(0,4) is not, and (0,0)−(1,1)=(−1,−1) is not. The cosets of the x-axis are the horizontal lines, labelled by their height.
Quick checkIs the coset (1,1)+U for U the x-axis a subspace of R2?
The coset is the line y=1, which does not pass through the origin, so it is not a subspace. Only the coset O+U=U is a subspace. A coset is a subspace exactly when its representative is in U.
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 spaceV/U (read ”V mod U”) is the set of all cosets v+U with
(v+U)+(w+U)=(v+w)+U,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 v and w, 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 in 0.5 (“arithmetic respects congruence”).
Theorem BAxler 3E
The quotient space is a vector space
Let U be a subspace of V. Then addition and scalar multiplication on V/U are well defined, and V/U is a vector space. The map π:V→V/U, π(v)=v+U (the quotient map), is linear and onto, with N(π)=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′ and w′ of the same cosets.
Suppose v+U=v′+U and w+U=w′+U. By the cosets theorem, v−v′∈U and w−w′∈U.
Then (v+w)−(v′+w′)∈U.
Rearrange: (v+w)−(v′+w′)=(v−v′)+(w−w′), a sum of two elements of U, which is in U because U is closed under addition.
So (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′+U: scaling is well defined.
cv−cv′=c(v−v′)∈U, because U is closed under scalar multiplication.
The map π is linear and onto.
By the definition of the operations, π(v+w)=(v+w)+U=π(v)+π(w) and π(cv)=cπ(v). And every coset v+U equals π(v), so π is onto.
So every axiom of 2.1 holds in V/U, because it holds in V.
Any vector-space axiom for V/U, such as π(v)+π(w)=π(w)+π(v), can be rewritten with π: π(v)+π(w)=π(v+w)=π(w+v)=π(w)+π(v), using the axiom in V. Every axiom that is an equation between sums and multiples of elements π(v) is obtained by applying π to the same equation in V. The two axioms that say something exists are handled in the last step: the zero vector is π(O), and the negative of π(v) is π(−v).
The zero vector of V/U is the coset U itself, and N(π)=U.
The zero vector of V/U must be π(O)=O+U=U (check: (v+U)+U=(v+O)+U). And π(v)=U means v+U=O+U, which means v−O=v∈U by the cosets theorem. ■
Quick checkFor U the x-axis in R2, someone defines g:R2/U→R by g(v+U)=∥v∥, the length of the representative. Is g well defined?
A rule on cosets must give the same answer for every representative. The representatives (0,1) and (5,1) name the same coset (the line y=1), but ∥(0,1)∥=1 and ∥(5,1)∥=26. By contrast v+U↦ the y-coordinate of v is well defined.
Why· The picture behind the proof
Return to R2 with U the x-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) and (−2,3), add them to get (5,4), and take its line: height 4. Another choice, (0,1) and (100,3), gives (100,4), again height 4. 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 behaves like the number line of heights, and it is isomorphic to R.
Worked example
Let U=span{(1,1,0)} in R3. Name the cosets of U by two numbers, add two cosets, and decide whether (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), so R3/U≅R2. The sum of (3,5,2)+U and (1,−1,4)+U is the coset named (0,6), and (3,5,2)+U=(6,8,2)+U.
Your answerU is a 3-dimensional subspace of R8. What is dim(R8/U)?
Subtract the dimension of U from the dimension of V.
dimV/U=dimV−dimU=8−3=5, proved next. In the previous example, 3−1=2 gave the two coordinates.
Theorem BAxler 3E
Dimension of a quotient space
If dimV=n and dimU=m, then 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,…,vn be a basis of V with u1,…,um a basis of U.
Extend a basis of the subspace U to a basis of V (2.2).
Any element of V/U is π(v) for some v=∑aiui+∑bjvj.
Spanning. Take any coset v+U. Write v=∑aiui+∑bjvj in the basis of V.
Then π(v)=∑aiπ(ui)+∑bjπ(vj)=∑bj(vj+U).
π is linear and π(ui)=U is the zero vector of V/U, because ui∈U.
So vm+1+U,…,vn+U span V/U.
Step 3 shows that every coset is a combination of the n−m cosets vj+U.
Suppose ∑j>mbj(vj+U)=U.
Independence. Suppose ∑bj(vj+U) is the zero vector of V/U.
Then ∑bjvj∈U, so ∑bjvj=∑aiui for some numbers ai.
By linearity of π the left side is (∑bjvj)+U, and a coset equals U=O+U exactly when its representative is in U (cosets theorem).
So every bj=0 (and every ai=0).
Move everything to one side: ∑aiui−∑bjvj=O is a combination of the whole basis of V equal to O, so all its coefficients are 0 (independence in V).
Hence dim(V/U)=n−m.
Independent and spanning: a basis of n−m elements. ■
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 T cannot tell apart two vectors that differ by an element of N(T), so it is constant on each coset of N(T). The theorem says that this is the only thing it cannot tell apart.
Theorem BAxler 3E
First isomorphism theorem for vector spaces
Let T:V→W be linear. Then Tˉ:V/N(T)→rangeT, 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 T. In words, V/N(T)≅rangeT.
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) then T(v)−T(v′)=T(v−v′)=O.
The rule is defined using a representative v of the coset, so we must check that another representative gives the same answer. Suppose v+N(T)=v′+N(T). By the cosets theorem v−v′∈N(T), that is T(v−v′)=O.
Hence Tˉ is a function.
So T(v)=T(v′): the output does not depend on the representative.
Linear: Tˉ respects sums and multiples.
Use the definition of the operations on V/N(T) and linearity of T: Tˉ((v+N)+(w+N))=Tˉ((v+w)+N)=T(v+w)=T(v)+T(w), and likewise Tˉ(c(v+N))=T(cv)=cT(v).
Suppose Tˉ(v+N(T))=O.
One-to-one. By the criterion for linear maps (2.4), it is enough to show N(Tˉ) is the zero vector alone. Suppose Tˉ(v+N)=O.
Then v∈N(T), so the coset v+N(T) is the zero vector of the quotient.
By definition that says T(v)=O, so v∈N(T). And v∈N(T) means v+N(T)=O+N(T), the zero coset (cosets theorem).
Tˉ is one-to-one.
The null space of Tˉ is the zero vector only, so Tˉ is one-to-one (2.4, equivalent forms).
Tˉ maps onto rangeT, so it is an isomorphism.
Onto the range: every element of the range has the form T(v)=Tˉ(v+N(T)) by the definition of the range. ■
Corollary BAxler 3E
Rank–nullity from the first isomorphism theorem
For linear T on a finite-dimensional space V: dimN(T)+dimrangeT=dimV (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.
dimV/N(T)=dimV−dimN(T).
Dimension of a quotient space, with U=N(T).
dimV/N(T)=dimrangeT.
Isomorphic spaces have the same dimension (2.4); the first isomorphism theorem gives V/N(T)≅rangeT.
So dimV=dimN(T)+dimrangeT.
Equate the two expressions and rearrange. ■
Same idea elsewhere· Three faces of one idea
In 0.4, f:A→B gave a bijection from the classes “same value of f” onto f(A). In 2.3, rank–nullity counted dimensions: dimV=dimN(T)+dimrangeT. Here the classes are cosets of N(T) (two vectors have the same T-value iff they differ by an element of N(T)), the bijection is linear, and the dimension count falls out. The same pattern appears for groups in MATH 541 (G/kerφ≅imφ, 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.
If v+N=v′+N then v−v′∈N(T).
So T(v)−T(v′)=T(v−v′)=O, hence T(v)=T(v′) and Tˉ is well defined.
Tˉ((v+N)+(w+N))=Tˉ((v+w)+N)=T(v+w)=T(v)+T(w), and similarly for scaling.
If Tˉ(v+N)=O then T(v)=O, so v∈N(T).
So v+N is the zero coset, and the null space of Tˉ is only the zero vector.
Hence Tˉ is one-to-one.
Every element of the range is T(v)=Tˉ(v+N), so 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} has R3/U≅R, and decide whether (1,2,3)+U=(4,1,1)+U.
Solution.
Find a map whose null space is U. Let T(x,y,z)=x+y+z, a linear functional. N(T)={x+y+z=0}=U by the definition of U.
Find the range.T is onto R: T(c,0,0)=c. So the range is R, not a smaller subspace.
Apply the theorem.R3/U=R3/N(T)≅rangeT=R, and the isomorphism sends (x,y,z)+U to x+y+z. First isomorphism theorem. Check by dimensions: 3−2=1.
Compare the two cosets.T(1,2,3)=6 and T(4,1,1)=6. The isomorphism is one-to-one, so equal labels mean equal cosets.
Check directly.(1,2,3)−(4,1,1)=(−3,1,2) has coordinate sum 0, so it lies in U. The cosets theorem: equal iff the difference is in U.
Answer.R3/U≅R by “coordinate sum”, and yes, the two cosets are equal (both are the plane x+y+z=6).
Worked example
Identify the quotient P3/{constants}, where P3 is the space of polynomials of degree at most 3.
Solution.
Choose a map. Let D:P3→P2 be the derivative, D(p)=p′. Its null space is the polynomials with p′=0, which are the constants.
Check the range. Any q∈P2 is the derivative of a polynomial in P3 (integrate). So D is onto P2.
Apply the theorem.P3/{constants}≅P2, via p+{constants}↦p′. First isomorphism theorem.
Check dimensions.dimP3−dim{constants}=4−1=3=dimP2. Matches the dimension of a quotient.
Answer.P3 modulo constants is P2. A coset is “a polynomial up to adding a constant”, which is what the integral ∫qdx means: an antiderivative is a coset, and the "+C" you wrote in JEE is the name of the representative-choice that the coset ignores.
Worked example 0.5
In Z, let 6Z={…,−12,−6,0,6,12,…} be the multiples of 6. Compute (4+6Z)+(5+6Z), and check that other representatives give the same coset.
Solution.
Cosets are residue classes.4+6Z={…,−2,4,10,…} is the class [4]6 of 0.5, and the cosets of 6Z are [0],…,[5]. a∼b iff a−b∈6Z is exactly "6∣a−b", the congruence relation of 0.5.
Add the representatives.4+5=9, and 9+6Z=3+6Z since 9−3=6. The definition of the sum, then the cosets criterion.
Try other representatives. Replace 4 by 10 and 5 by 11: 10+11=21, and 21−3=18∈6Z, so again the coset of 3. 10−4=6∈6Z and 11−5=6∈6Z, so these represent the same two cosets. Their sum differs from 9 by 12, an element of 6Z.
The general reason. If a′=a+6k and b′=b+6l, then 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] in Z/6Z. The construction used only that 6Z is closed under addition and negatives. Z is not a vector space over 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, which number from 0 to 11 names the coset (5+12Z)+(9+12Z)?
Add the representatives, then subtract multiples of 12.
5+9=14, and 14−12=2, so the coset is 2+12Z. Check with other representatives: 17+(−3)=14 again.
Beyond the course: for understanding· The double dual, duals of quotients, and infinite dimensions
Double dual. The dual of V∗ is V∗∗. Every v∈V gives a functional on V∗, “evaluate at v”: evv(φ)=φ(v). The map v↦evv is linear, one-to-one (the “non-zero v has a functional with φ(v)=1” problem below) and, in finite dimensions, onto since dimV∗∗=dimV∗=dimV. So V≅V∗∗without choosing a basis, which is not true of V≅V∗ (which depends on the basis, see the first Trap).
Duals of quotients.(V/U)∗≅U0. A functional φ on V that vanishes on U gives φˉ(v+U)=φ(v), well defined because φ(u)=0; conversely χ∈(V/U)∗ gives χ∘π∈U0. The dimension check: dim(V/U)=n−m=dimU0.
Infinite dimensions. For V the space of real sequences with only finitely many non-zero terms, dimV∗ is strictly larger than dimV (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)=x2y at the point (1,2). The derivative of f there is the linear map that best approximates the change in f: it eats a displacement and returns a number. Its row is [∂f/∂x∂f/∂y]=[2xyx2]=[41]. So Df(1,2) is a functional on displacements, an element of (R2)∗. For the displacement v=(0.1,−0.2), Df(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.178.
The gradient∇f=(4,1) is the column you get by using the dot product to turn the row into a vector: Df(v)=∇f⋅v. That conversion needs an inner product. It is fine in Rn 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 50 m is 0.05 km: vector coordinates shrink by 1000. A rate such as 0.02 degrees per metre is 20 degrees per kilometre: covector coordinates grow by 1000. In general, if the coordinates of vectors change by xnew=Cx (2.5), the row of a functional changes by anew=aC−1, so that anewxnew=ax is the same number. Vectors and covectors transform by opposite recipes. This is why they are different objects, and why the number φ(v), which does not care about coordinates, is the right way to pair them.
Z/nZ is a quotient. In 0.5 you built Zn as the set of residue classes and checked that arithmetic respects congruence. That is the quotient construction with V=Z and U=nZ. 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 p, of a field.
Used in the real world· Physics: covectors, units and the pairing
The outdoor temperature T(x,y) over a hillside, in degrees Celsius, has at a point the derivative dT=[0.02−0.01] in degrees per metre (east, north). Walking the displacement v=(50,100) metres changes the temperature by dT(v)=0.02⋅50−0.01⋅100=1−1=0 degrees. In kilometres, v=(0.05,0.1) and dT=[20−10] degrees per km, and the answer is still 20⋅0.05−10⋅0.1=0. Displacements are vectors; dT is a covector; the number 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 with features x=(area in sq ft,bedrooms,age in years) and weights w=(150,10000,−500) and bias b=20000 gives, for x=(2000,3,20), the price 150⋅2000+10000⋅3−500⋅20+20000=340000. The row w is a linear functional on feature vectors (the bias makes the whole map affine, the functional plus a constant). A layer with 128 neurons reading 784 pixels is 128 functionals on R784, stored as the rows of a 128×784 matrix: 100352 weights, plus 128 biases. The gradient of the loss with respect to w 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 1000, the weight on that feature must grow by 1000 (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 dimV∗=dimV builds an isomorphism vi↦φ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), b2=(0,1): φ1(x,y)=x. Keep b1=(1,0) but change b2 to (1,1): the dual basis becomes φ1(x,y)=x−y and φ2(x,y)=y (check: φ1(1,1)=0). The functional φ1 changed even though b1 did not, because φ1 means “the amount of b1, counted along b2”. 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
TT goes W∗→V∗ and needs no inner product. The adjoint T∗ of 3.1 goes W→V and needs inner products. They are related by the identification of vectors with functionals through the inner product, and on Rn with the dot product both are given by the transpose matrix. Over the complex numbers the adjoint also conjugates. Do not read "TT=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=U passes through the origin. The quotient V/U is a new vector space whose elements are cosets. It is isomorphic to any complement of U in V but it is not one. Its zero vector is the coset U, not the vector O and not the one-point set {O}.
Watch out· Always check well-definedness when defining a map on V/U
v+U↦∥v∥ is nonsense because the answer changes with the representative. A formula in terms of v defines a map on V/U only if it takes the same value on v and on v+u for every u∈U. The first isomorphism theorem is the clean way: build a linear map T on V with U⊆N(T) and get a map on V/U for free (the last “prove” problem below).
Problems
check
Which of these maps R3→R are linear functionals? (a) 3x−y+2z (b) x+y+z+1 (c) x2+y2+z2 (d) xz.
Solution
Only (a). A linear functional sends O to 0 and respects sums and multiples. (b) sends O to 1. (c) fails scaling by −1: the length of −v is not −∥v∥. (d) fails scaling: (2x)(2z)=4xz=2xz.
check
Let φ1,φ2,φ3 be the dual basis of the standard basis e1,e2,e3 of R3. Compute φ2(4,5,6) and write 2x−y+7z as a combination of φ1,φ2,φ3.
Solution
The dual basis of the standard basis is the coordinate functionals, so φ2(4,5,6)=5. For ψ=2x−y+7z the values on the basis are ψ(e1)=2, ψ(e2)=−1, ψ(e3)=7, so ψ=2φ1−φ2+7φ3.
check
Let U=span{(1,2)} in R2. Is (3,4)+U=(5,8)+U? Is (3,4)+U=(5,7)+U?
Solution
Cosets are equal iff the difference of representatives is in U. (5,8)−(3,4)=(2,4)=2(1,2)∈U, so the first is true. (5,7)−(3,4)=(2,3) is not a multiple of (1,2), so the second is false.
check
V has dimension 9 and U is a 5-dimensional subspace. Find dimV∗, dim(V/U) and dimU0.
Solution
dimV∗=dimV=9. dim(V/U)=9−5=4. dimU0=9−5=4. (This agrees with (V/U)∗≅U0.)
use
Find the dual basis of the basis b1=(2,1), b2=(1,1) of R2, and use it to write (5,3) in this basis.
Solution
B=[2111] has detB=1 and B−1=[1−1−12]. The dual basis is φ1=x−y and φ2=−x+2y. Check: φ1(b1)=1, φ1(b2)=0, φ2(b1)=−2+2=0, φ2(b2)=−1+2=1. Coordinates of (5,3): φ1(5,3)=2 and φ2(5,3)=−5+6=1, so (5,3)=2b1+b2. Check: 2(2,1)+(1,1)=(5,3).
use
Let T:R2→R3 have the matrix A=13120−1. Compute TTψ for ψ=[12−1] and verify ψ(Tx)=(TTψ)(x) for x=(1,1).
Solution
TTψ=ψA=[1⋅1+2⋅3−1⋅1,1⋅2+0+(−1)(−1)]=[63]. Now Ax=(3,3,0) and ψ(Ax)=3+6+0=9, while (TTψ)(x)=6+3=9.
use
Let U=span{(1,2,3)} in R3 and T(x,y,z)=(y−2x,z−3x). Show that N(T)=U, conclude what R3/U is, and decide whether (4,9,12)+U=(3,7,9)+U.
Solution
T(x,y,z)=O means y=2x and z=3x, so (x,y,z)=x(1,2,3): N(T)=U. T is onto R2: T(0,a,b)=(a,b). By the first isomorphism theorem R3/U≅R2 (dimension 3−1=2). Now T(4,9,12)=(9−8,12−12)=(1,0) and 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.
use
The derivative D:P3→P2 is onto with null space the constants. Explain, using the first isomorphism theorem, why every polynomial in P2 has an antiderivative in P3 that is unique up to a constant.
Solution
The theorem says Dˉ:P3/{constants}→P2 is a bijection. Onto gives existence of an antiderivative for each q∈P2: some coset p+{constants} with D(p)=q. One-to-one gives uniqueness of the coset: any two antiderivatives p,p′ of q are in the same coset, meaning p−p′ is constant.
prove
Let B be an n×n matrix with columns b1,…,bn, and let C be a matrix whose rows are c1,…,cn. Prove that cibj=δij for all i,j if and only if CB=I. Conclude that if the bj are a basis of Rn, the dual basis is given by the rows of B−1, with no appeal to the proposition in the text.
Solution
The (i,j) entry of CB is row i of C times column j of B, which is cibj. The identity matrix has entries δij. So CB=I holds exactly when cibj=δij for every i,j, entry by entry. If b1,…,bn are a basis, B is invertible (its columns are independent, 2.4), and CB=I gives C=B−1. The functionals x↦cix are then the ones with ci(bj)=δ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 is row i of B−1.
proveAxler 3F
Prove (S∘T)T=TT∘ST, and deduce (AB)T=BTAT for matrices.
Solution
For a functional ψ on the target of S: (S∘T)Tψ=ψ∘S∘T=(ψ∘S)∘T=TT(ψ∘S)=TT(STψ), using associativity of composition and the definition of the dual map twice. So (S∘T)T=TT∘ST. 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 when A is the matrix of S and B that of T.
prove
Let φ=0 be a linear functional on an n-dimensional V. (a) Prove dimN(φ)=n−1. (b) If ψ∈V∗ has the same null space as φ, prove ψ=cφ for some scalar c.
Solution
(a) Choose v with φ(v)=0. Then φ(tv/φ(v))=t for every real t, so the range of φ is all of R, of dimension 1. Rank–nullity gives dimN(φ)=n−1.
(b) Pick v0 with φ(v0)=1 (scale a vector with φ=0). For any v∈V, the vector v−φ(v)v0 satisfies φ(v−φ(v)v0)=φ(v)−φ(v)=0, so it lies in N(φ)=N(ψ). Hence ψ(v)−φ(v)ψ(v0)=0, that is ψ(v)=ψ(v0)φ(v). This is ψ=cφ with c=ψ(v0).
proveAxler 3F
Prove that if v=O in a finite-dimensional V, there is a functional φ with φ(v)=1. Deduce that evv=0 in V∗∗ only for v=O.
Solution
Since v=O, the list v is independent, so it extends to a basis v=v1,v2,…,vn of V (2.2). The dual basis has φ1(v1)=1. Now if v=O then evv(φ1)=φ1(v)=1=0, so evv is not the zero functional on V∗. Hence the linear map v↦evv has null space {O}, so it is one-to-one. (This finite-dimensional statement is the baby version of the Hahn–Banach theorem.)
prove
Let U⊆V be a subspace and T:V→W linear with U⊆N(T). Prove that Tˉ(v+U)=T(v) is a well-defined linear map V/U→W with Tˉ∘π=T, and that it is one-to-one if and only if U=N(T).
Solution
Well defined: if v+U=v′+U then v−v′∈U⊆N(T), so T(v)=T(v′). Linear: Tˉ((v+U)+(w+U))=Tˉ((v+w)+U)=T(v)+T(w), and Tˉ(c(v+U))=T(cv)=cT(v). Tˉ∘π=T by definition. One-to-one iff N(Tˉ) is the zero coset: N(Tˉ)={v+U:T(v)=O}=N(T)/U (cosets whose representatives are in N(T)). This is the zero coset U alone exactly when every v∈N(T) has v+U=U, that is v∈U. So Tˉ is one-to-one iff N(T)⊆U, which together with U⊆N(T) says U=N(T).
stretch
Suppose V=U⊕W, meaning every v∈V is u+w in exactly one way with u∈U, w∈W. Show that w↦w+U is an isomorphism from W onto V/U. Why does this not make V/U “equal” to W?
Solution
The map w↦w+U is the quotient map π restricted to W, so it is linear. One-to-one: if w+U=U then w∈U; also w∈W; and w=w+O=O+w are two decompositions of w, so uniqueness forces w=O. Onto: any coset v+U with v=u+w equals w+U, since v−w=u∈U. So W≅V/U. It does not make them equal because W is a subspace of V that depends on a choice (there are many complements of U), while V/U is canonical, defined from U alone. Every complement is isomorphic to the same quotient.
stretch
Let V be the space of real sequences (a1,a2,a3,…) with only finitely many non-zero terms; its basis is e1,e2,…. Let φi(a)=ai be the coordinate functionals and S(a)=a1+a2+a3+… (a finite sum). Show that S∈V∗ is not a finite combination of the φi, so the dual basis does not span V∗.
Solution
S is linear (a finite sum of coordinates). Suppose S=c1φi1+⋯+ckφik for finitely many indices. Choose j different from all of i1,…,ik. Then S(ej)=1 but the combination evaluated at ej gives 0. Contradiction. So S is not in the span of the φi. The formula φ=∑φ(ei)φ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,…), which is far bigger than V.
Summary
A linear functional is a linear map V→R. On Rn 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 spaceV∗ is the space of functionals. A basis vi has a dual basisφi(vj)=δij that reads off coordinates, found as the rows of B−1. It is a basis of V∗, so dimV∗=dimV.
The dual mapTT:W∗→V∗, ψ↦ψ∘T, has the transposed matrix. That is the reason for (Ax)⋅y=x⋅(ATy) and for (AB)T=BTAT. Annihilators give a second proof that row rank equals column rank.
A cosetv+U is U moved by v (a line parallel to U in the plane). Cosets are the classes of "v−w∈U", so they partition V.
The quotient spaceV/U is the set of cosets with operations defined on representatives, well defined because U is a subspace. The coset U is its zero vector, and dimV/U=dimV−dimU.
First isomorphism theorem:V/N(T)≅rangeT. It contains rank–nullity, and the same statement for groups (G/kerφ≅imφ) 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 is a quotient. A map out of V/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.
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.