Books
Theme
Text size
Width

[ and ] go to the previous and next page.

In Section 1.6 we attached to each vector 𝐯 of a space 𝑉 with basis ℬ︀ its coordinate vector [𝐯]ℬ︀∈𝐹𝑛, and we saw that coordinates respect linear combinations: [𝑐1𝐯1+⋯+𝑐𝑘𝐯𝑘]ℬ︀=𝑐1[𝐯1]ℬ︀+⋯+𝑐𝑘[𝐯𝑘]ℬ︀ (Proposition 1.6.19). Forming a combination in 𝑉 and then taking coordinates gives the same answer as taking coordinates first and forming the combination in 𝐹𝑛. A vector space has no structure besides addition and scalar multiplication, so the functions worth studying between vector spaces are the ones with this property. They are the linear maps, and from here on they are the main objects of the book.

2.1.1Definition and first properties

Definition 2.1.1 (Linear map). Let 𝑉 and 𝑊 be vector spaces over the same field 𝐹. A function 𝑇:𝑉→𝑊 is a linear map, or linear transformation, if it respects linear combinations: for every 𝑘≥1, all 𝐯1,…,𝐯𝑘∈𝑉, and all 𝑎1,…,𝑎𝑘∈𝐹,

𝑇(𝑎1𝐯1+⋯+𝑎𝑘𝐯𝑘)=𝑎1𝑇(𝐯1)+⋯+𝑎𝑘𝑇(𝐯𝑘).

A linear map from 𝑉 to itself is also called a linear operator, or just an operator, on 𝑉.

Notation 2.1.2. L(𝑉,𝑊) denotes the set of linear maps 𝑉→𝑊, and L(𝑉)=L(𝑉,𝑉) the set of operators on 𝑉. Other texts write 𝑇𝐯 for 𝑇(𝐯); we keep the parentheses in this section. When the field matters, we say that 𝑇 is 𝐹-linear.

Realize that the two sides of the defining equation are computed in different spaces. On the left, the linear combination is formed in 𝑉 and then 𝑇 is applied to the result. On the right, 𝑇 is applied to each 𝐯𝑖 first and the combination is formed in 𝑊, with the same coefficients. Linearity says that the order does not matter: applying 𝑇 commutes with forming linear combinations.

Intuition. The definition asks about combinations of every length 𝑘, which is unpleasant to check directly. But a linear combination is built one operation at a time from scalar multiples and sums. So a function that respects scalar multiplication and addition separately should respect every linear combination: split off the last term 𝑎𝑘𝐯𝑘 using addition, pull out its coefficient using scalar multiplication, and handle the shorter combination that remains in the same way. This is an induction on 𝑘. Conversely, 𝑎𝐯 and 𝐮+𝐯 are themselves linear combinations, of lengths 1 and 2.
Theorem 2.1.3 (Checking linearity). Let 𝑉 and 𝑊 be vector spaces over 𝐹, and let 𝑇:𝑉→𝑊 be a function. The following are equivalent.
  1. (i)𝑇 is linear.
  2. (ii)𝑇 is additive and homogeneous: 𝑇(𝐮+𝐯)=𝑇(𝐮)+𝑇(𝐯) and 𝑇(𝑎𝐯)=𝑎𝑇(𝐯) for all 𝐮,𝐯∈𝑉 and all 𝑎∈𝐹.
  3. (iii)For all 𝐮,𝐯∈𝑉 and all 𝑎∈𝐹, 𝑇(𝑎𝐮+𝐯)=𝑎𝑇(𝐮)+𝑇(𝐯).

Proof.routine

Hint 1. Sums and scalar multiples are linear combinations of length 2 and 1, so (i) ⇒ (iii) and (iii) ⇒ (ii) come down to choosing special cases. For (ii) ⇒ (i), induct on the length 𝑘.
Hint 2. For (iii) ⇒ (ii), first take 𝑎=1 and 𝐮=𝐯=𝟎 to learn that 𝑇(𝟎)=𝟎. Then 𝑎=1 gives additivity and 𝐯=𝟎 gives homogeneity.
Hint 3. For the induction step, write 𝑎1𝐯1+⋯+𝑎𝑘+1𝐯𝑘+1 as 𝐮+𝑎𝑘+1𝐯𝑘+1 with 𝐮=𝑎1𝐯1+⋯+𝑎𝑘𝐯𝑘. Apply additivity, then homogeneity to the last term and the induction hypothesis to 𝑇(𝐮).
Sketch. (i) ⇒ (iii) is the definition with 𝑘=2 and coefficients 𝑎,1. In (iii), the choice 𝑎=1, 𝐮=𝐯=𝟎 gives 𝑇(𝟎)=𝑇(𝟎)+𝑇(𝟎), so 𝑇(𝟎)=𝟎; then 𝑎=1 gives additivity and 𝐯=𝟎 gives homogeneity. For (ii) ⇒ (i), induct on 𝑘: the case 𝑘=1 is homogeneity, and additivity splits a combination of length 𝑘+1 into one of length 𝑘 plus a single term.

We prove (i) ⇒ (iii) ⇒ (ii) ⇒ (i).

(i) ⇒ (iii). Let 𝐮,𝐯∈𝑉 and 𝑎∈𝐹. The definition of linearity with 𝑘=2, 𝐯1=𝐮, 𝐯2=𝐯, 𝑎1=𝑎, and 𝑎2=1 gives 𝑇(𝑎𝐮+1𝐯)=𝑎𝑇(𝐮)+1𝑇(𝐯). Since 1𝐱=𝐱 for every vector 𝐱, in 𝑉 and in 𝑊, this is (iii).

(iii) ⇒ (ii). Taking 𝑎=1 and 𝐮=𝐯=𝟎 in (iii) gives

𝑇(𝟎)=𝑇(1⋅𝟎+𝟎)=1⋅𝑇(𝟎)+𝑇(𝟎)=𝑇(𝟎)+𝑇(𝟎).

Adding −𝑇(𝟎) to both sides and regrouping, 𝟎=𝑇(𝟎). Now let 𝐮,𝐯∈𝑉 and 𝑎∈𝐹. With 𝑎=1, (iii) reads 𝑇(𝐮+𝐯)=𝑇(𝐮)+𝑇(𝐯), which is additivity. With 𝐯=𝟎, it reads

𝑇(𝑎𝐮)=𝑇(𝑎𝐮+𝟎)=𝑎𝑇(𝐮)+𝑇(𝟎)=𝑎𝑇(𝐮),

which is homogeneity.

(ii) ⇒ (i). We show by induction on 𝑘≥1 that 𝑇(𝑎1𝐯1+⋯+𝑎𝑘𝐯𝑘)=𝑎1𝑇(𝐯1)+⋯+𝑎𝑘𝑇(𝐯𝑘) for all 𝐯1,…,𝐯𝑘∈𝑉 and 𝑎1,…,𝑎𝑘∈𝐹. For 𝑘=1 this is homogeneity. Suppose it holds for some 𝑘≥1, and let 𝐯1,…,𝐯𝑘+1∈𝑉 and 𝑎1,…,𝑎𝑘+1∈𝐹. Put 𝐮=𝑎1𝐯1+⋯+𝑎𝑘𝐯𝑘. Then

𝑇(𝑎1𝐯1+⋯+𝑎𝑘+1𝐯𝑘+1)=𝑇(𝐮+𝑎𝑘+1𝐯𝑘+1)=𝑇(𝐮)+𝑇(𝑎𝑘+1𝐯𝑘+1)=𝑎1𝑇(𝐯1)+⋯+𝑎𝑘𝑇(𝐯𝑘)+𝑎𝑘+1𝑇(𝐯𝑘+1),

as desired. The second step is additivity, and the third applies the induction hypothesis to 𝑇(𝐮) and homogeneity to the last term. □

From now on we verify linearity through (ii) or (iii), and we use (i) whenever we apply a linear map to a linear combination. Neither half of (ii) implies the other: complex conjugation is additive but not homogeneous over ℂ (Non-example 2.1.14), and Exercise 2.1.38 gives a homogeneous map that is not additive.

Proposition 2.1.4 (Linear maps preserve 𝟎 and negatives). Let 𝑇∈L(𝑉,𝑊). Then 𝑇(𝟎𝑉)=𝟎𝑊, and for all 𝐮,𝐯∈𝑉,

𝑇(−𝐯)=−𝑇(𝐯)and𝑇(𝐮−𝐯)=𝑇(𝐮)−𝑇(𝐯).

Proof (via homogeneity).routine

Uses. Theorem 2.1.3 (Checking linearity), Proposition 1.2.32 (The scalar zero), Proposition 1.2.34 (Negatives and the scalar −1)

Hint 1. Write 𝟎𝑉 as a scalar multiple of some vector, so that homogeneity applies.
Hint 2. 𝟎𝑉=0⋅𝟎𝑉, and 0𝐰=𝟎𝑊 for every 𝐰∈𝑊. For negatives, −𝐯=(−1)𝐯.
Sketch. 𝑇(𝟎)=𝑇(0⋅𝟎)=0⋅𝑇(𝟎)=𝟎, using 0𝐱=𝟎 in 𝑉 and then in 𝑊. Similarly 𝑇(−𝐯)=𝑇((−1)𝐯)=(−1)𝑇(𝐯)=−𝑇(𝐯), and the last identity follows by additivity.

By Proposition 1.2.32, 0𝐱=𝟎 for every vector 𝐱, in 𝑉 and in 𝑊. So by homogeneity,

𝑇(𝟎𝑉)=𝑇(0⋅𝟎𝑉)=0⋅𝑇(𝟎𝑉)=𝟎𝑊.

By Proposition 1.2.34, −𝐱=(−1)𝐱 in 𝑉 and in 𝑊, so homogeneity gives 𝑇(−𝐯)=𝑇((−1)𝐯)=(−1)𝑇(𝐯)=−𝑇(𝐯). Finally, by additivity, 𝑇(𝐮−𝐯)=𝑇(𝐮+(−𝐯))=𝑇(𝐮)+𝑇(−𝐯)=𝑇(𝐮)−𝑇(𝐯). □

Proof (via additivity).routine

Uses. Theorem 2.1.3 (Checking linearity), Definition 1.2.1 (Vector space), Proposition 1.2.28 (Uniqueness of additive inverses)

Techniques. Uniqueness via two candidates (Technique 1.1.8)

Hint 1. Write 𝟎𝑉 as a sum, so that additivity applies.
Hint 2. 𝑇(𝟎)=𝑇(𝟎+𝟎)=𝑇(𝟎)+𝑇(𝟎). Now cancel. For negatives, show that 𝑇(−𝐯) is an additive inverse of 𝑇(𝐯).
Sketch. 𝑇(𝟎)=𝑇(𝟎+𝟎)=𝑇(𝟎)+𝑇(𝟎), and adding −𝑇(𝟎) gives 𝟎=𝑇(𝟎). Then 𝑇(𝐯)+𝑇(−𝐯)=𝑇(𝐯−𝐯)=𝑇(𝟎)=𝟎, so 𝑇(−𝐯)=−𝑇(𝐯) by uniqueness of additive inverses.

By additivity, 𝑇(𝟎𝑉)=𝑇(𝟎𝑉+𝟎𝑉)=𝑇(𝟎𝑉)+𝑇(𝟎𝑉). Writing 𝐰=𝑇(𝟎𝑉), we have 𝐰=𝐰+𝐰, so

𝟎𝑊=𝐰+(−𝐰)=(𝐰+𝐰)+(−𝐰)=𝐰+(𝐰+(−𝐰))=𝐰+𝟎𝑊=𝐰.

Next, for 𝐯∈𝑉, additivity gives 𝑇(𝐯)+𝑇(−𝐯)=𝑇(𝐯+(−𝐯))=𝑇(𝟎𝑉)=𝟎𝑊. So 𝑇(−𝐯) is an additive inverse of 𝑇(𝐯), and by Proposition 1.2.28 it equals −𝑇(𝐯). The identity 𝑇(𝐮−𝐯)=𝑇(𝐮)−𝑇(𝐯) follows from additivity as in the first proof. □

The first proof used only homogeneity and the second only additivity. So a function satisfying either condition alone sends 𝟎 to 𝟎; we use this for additive maps in Exercise 2.1.36 and Exercise 2.1.37. In practice Proposition 2.1.4 is a quick test in the contrapositive: a function with 𝑇(𝟎)≠𝟎 is not linear. It is only a necessary condition. The map ℝ2→ℝ, (𝑥,𝑦)↦𝑥𝑦, sends 𝟎 to 0, but it sends (1,1) to 1 and 2(1,1)=(2,2) to 4≠2⋅1, so it is not homogeneous.

Exercise 2.1.5.routine Let 𝑊 be a vector space over 𝐹, and regard 𝐹 as a vector space over itself.

  1. (a)Show that for every 𝐰∈𝑊, the map 𝐹→𝑊, 𝑥↦𝑥𝐰, is linear.
  2. (b)Show that every 𝑇∈L(𝐹,𝑊) has this form, with 𝐰=𝑇(1). In particular, the linear maps 𝐹→𝐹 are exactly the maps 𝑥↦𝑎𝑥 with 𝑎∈𝐹.

Solution.

Uses. Theorem 2.1.3 (Checking linearity), Definition 1.2.1 (Vector space)

Hint 1. (a) is two of the vector space axioms of 𝑊.
Hint 2. (b) Every 𝑥∈𝐹 is a scalar multiple of the single vector 1∈𝐹: 𝑥=𝑥⋅1. Apply homogeneity.
Sketch. (a) (𝑥+𝑦)𝐰=𝑥𝐰+𝑦𝐰 and (𝑎𝑥)𝐰=𝑎(𝑥𝐰). (b) 𝑇(𝑥)=𝑇(𝑥⋅1)=𝑥𝑇(1).

(a) For 𝑥,𝑦,𝑎∈𝐹, the vector space axioms of 𝑊 give (𝑥+𝑦)𝐰=𝑥𝐰+𝑦𝐰 and (𝑎𝑥)𝐰=𝑎(𝑥𝐰). So the map is additive and homogeneous, hence linear by Theorem 2.1.3.

(b) Let 𝑇∈L(𝐹,𝑊) and 𝐰=𝑇(1). For 𝑥∈𝐹, the element 𝑥=𝑥⋅1 is the scalar 𝑥 times the vector 1∈𝐹, so homogeneity gives 𝑇(𝑥)=𝑇(𝑥⋅1)=𝑥𝑇(1)=𝑥𝐰. Taking 𝑊=𝐹, every 𝑇∈L(𝐹) is 𝑥↦𝑎𝑥 with 𝑎=𝑇(1), and these maps are linear by (a).

2.1.2Examples

Many familiar operations are linear maps. In each example below, linearity is checked with Theorem 2.1.3.

Example 2.1.6 (Zero, identity, and scaling maps). Let 𝑉 and 𝑊 be vector spaces over 𝐹.

  • The zero map 𝑉→𝑊, 𝐯↦𝟎𝑊, is linear, since both sides of (iii) in Theorem 2.1.3 are 𝟎𝑊 (by Proposition 1.2.33). We denote it by 0; the context tells it apart from 0∈𝐹 and 𝟎𝑊.
  • The identity map id𝑉:𝑉→𝑉, 𝐯↦𝐯, is linear, since both sides of (iii) are 𝑎𝐮+𝐯.
  • For 𝜆∈𝐹, the scaling map 𝑉→𝑉, 𝐯↦𝜆𝐯, is linear:

    𝜆(𝑎𝐮+𝐯)=(𝜆𝑎)𝐮+𝜆𝐯=(𝑎𝜆)𝐮+𝜆𝐯=𝑎(𝜆𝐮)+𝜆𝐯.

    The middle step is the commutativity of multiplication in 𝐹.

Example 2.1.7 (Maps 𝐹𝑛→𝐹𝑚 given by linear formulas). Let 𝐴∈𝐹𝑚×𝑛 (Definition 1.2.7) have entries 𝑎𝑖𝑗, and define 𝑇𝐴:𝐹𝑛→𝐹𝑚 by

𝑇𝐴(𝑥1,…,𝑥𝑛)=(𝑎11𝑥1+⋯+𝑎1𝑛𝑥𝑛,…,𝑎𝑚1𝑥1+⋯+𝑎𝑚𝑛𝑥𝑛).

That is, the 𝑖-th coordinate of 𝑇𝐴(𝐱) is ∑𝑗=1𝑛𝑎𝑖𝑗𝑥𝑗. This map is linear. For 𝐱,𝐲∈𝐹𝑛 and 𝑐∈𝐹, the 𝑖-th coordinate of 𝑇𝐴(𝑐𝐱+𝐲) is

∑𝑗=1𝑛𝑎𝑖𝑗(𝑐𝑥𝑗+𝑦𝑗)=𝑐∑𝑗=1𝑛𝑎𝑖𝑗𝑥𝑗+∑𝑗=1𝑛𝑎𝑖𝑗𝑦𝑗,

which is the 𝑖-th coordinate of 𝑐𝑇𝐴(𝐱)+𝑇𝐴(𝐲). For example, 𝑇:ℝ3→ℝ2, 𝑇(𝑥,𝑦,𝑧)=(2𝑥−𝑦+3𝑧,𝑥+5𝑧), is 𝑇𝐴 with

𝐴=(2−13105).

Over 𝔽2, the map (𝑥,𝑦,𝑧)↦(𝑥+𝑦,𝑦+𝑧) is 𝑇𝐴 with 𝐴=(110011). The coordinate projections (𝑥1,…,𝑥𝑛)↦𝑥𝑖 are special cases too.

In Section 2.3 we write 𝑇𝐴(𝐱) as a matrix–vector product 𝐴𝐱 (Definition 2.3.8, Definition 2.3.15) and show that every linear map 𝐹𝑛→𝐹𝑚 is 𝑇𝐴 for some 𝐴 (Proposition 2.3.17).

Example 2.1.8 (Coordinates). Let ℬ︀=𝐛1,…,𝐛𝑛 be a basis of 𝑉. The coordinate map 𝑉→𝐹𝑛, 𝐯↦[𝐯]ℬ︀ (Definition 1.6.14), is linear; this is Proposition 1.6.19. In the other direction, for any list 𝐯1,…,𝐯𝑛 in 𝑉, basis or not, the map

𝐹𝑛→𝑉,(𝑎1,…,𝑎𝑛)↦𝑎1𝐯1+⋯+𝑎𝑛𝐯𝑛,

is linear, because ∑𝑖(𝑐𝑎𝑖+𝑑𝑖)𝐯𝑖=𝑐∑𝑖𝑎𝑖𝐯𝑖+∑𝑖𝑑𝑖𝐯𝑖 by the vector space axioms. For the basis ℬ︀, the two maps undo each other: [𝑎1𝐛1+⋯+𝑎𝑛𝐛𝑛]ℬ︀=(𝑎1,…,𝑎𝑛) by the definition of coordinates, and 𝐯=𝑐1𝐛1+⋯+𝑐𝑛𝐛𝑛 where (𝑐1,…,𝑐𝑛)=[𝐯]ℬ︀. So once a basis is chosen, 𝑉 and 𝐹𝑛 correspond through a pair of linear maps; Section 4.5 develops this.

Example 2.1.9 (Maps of polynomials). Let 𝑝=𝑎0+𝑎1𝑥+⋯+𝑎𝑛𝑥𝑛∈𝐹[𝑥] (Definition 1.2.13).

  • Evaluation at 𝑡∈𝐹 is ev𝑡:𝐹[𝑥]→𝐹, ev𝑡(𝑝)=𝑝(𝑡)=𝑎0+𝑎1𝑡+⋯+𝑎𝑛𝑡𝑛.
  • Multiplication by 𝑥 is 𝑀:𝐹[𝑥]→𝐹[𝑥], 𝑀(𝑝)=𝑥𝑝=𝑎0𝑥+𝑎1𝑥2+⋯+𝑎𝑛𝑥𝑛+1.
  • Differentiation is 𝐷:𝐹[𝑥]→𝐹[𝑥],

    𝐷(𝑝)=𝑎1+2𝑎2𝑥+3𝑎3𝑥2+⋯+𝑛𝑎𝑛𝑥𝑛−1,

    where 𝑘𝑎𝑘 means 𝑎𝑘+⋯+𝑎𝑘 (𝑘 terms). For 𝐹=ℝ this is the derivative of calculus, and over any field we take the formula as the definition (the formal derivative). We also write 𝑝′ for 𝐷(𝑝).

All three maps are linear, with the same proof. Let 𝑞=𝑏0+𝑏1𝑥+⋯+𝑏𝑛𝑥𝑛 (padding with zero coefficients, we may use the same 𝑛 for 𝑝 and 𝑞) and 𝑐∈𝐹. Polynomials are added and scaled coefficientwise, so 𝑐𝑝+𝑞=∑𝑘(𝑐𝑎𝑘+𝑏𝑘)𝑥𝑘. Each of the three maps sends the coefficient of 𝑥𝑘 to a fixed place and multiplies it by a factor that does not depend on the polynomial (𝑡𝑘, 1, or 𝑘). For 𝐷,

𝐷(𝑐𝑝+𝑞)=∑𝑘=1𝑛𝑘(𝑐𝑎𝑘+𝑏𝑘)𝑥𝑘−1=𝑐∑𝑘=1𝑛𝑘𝑎𝑘𝑥𝑘−1+∑𝑘=1𝑛𝑘𝑏𝑘𝑥𝑘−1=𝑐𝐷(𝑝)+𝐷(𝑞),

where 𝑘(𝑐𝑎𝑘+𝑏𝑘)=𝑐(𝑘𝑎𝑘)+𝑘𝑏𝑘 because 𝑘𝑦 is a sum of 𝑘 copies of 𝑦. The computations for ev𝑡 and 𝑀 are the same with 𝑡𝑘 and 𝑥𝑘+1 in place of 𝑘𝑥𝑘−1.

Over a finite field the formal derivative behaves unlike the one from calculus. Over 𝔽2, for example, 𝐷(𝑥2)=2𝑥=0, so a nonconstant polynomial can have derivative 0 (Exercise 2.1.34).

Example 2.1.10 (Integration). Let 𝐶[0,1] be the real vector space of continuous functions [0,1]→ℝ (Section 1.2). The map

𝐶[0,1]→ℝ,𝑓↦∫01𝑓(𝑡)d𝑡,

is linear: ∫01(𝑐𝑓+𝑔)=𝑐∫01𝑓+∫01𝑔 is the linearity of the integral. Likewise 𝐽:𝐶[0,1]→𝐶[0,1], (𝐽𝑓)(𝑥)=∫0𝑥𝑓(𝑡)d𝑡, is linear. Here 𝐽𝑓 is continuous (even differentiable) by the fundamental theorem of calculus, and 𝐽(𝑐𝑓+𝑔)=𝑐𝐽𝑓+𝐽𝑔 because the two functions agree at every 𝑥∈[0,1].

Linear maps of the plane

Rotations, projections, and reflections of ℝ2 that fix the origin are linear. In each case we derive a coordinate formula from the geometry. The formula has the shape of Example 2.1.7, so the map is linear.

Example 2.1.11 (Rotations, projections, and reflections). Rotation. Let 𝑅𝜃:ℝ2→ℝ2 rotate the plane counterclockwise about 𝟎 by the angle 𝜃. Write a point in polar form, (𝑥,𝑦)=(𝑟cos𝜑,𝑟sin𝜑). Rotation adds 𝜃 to the angle, so by the angle addition formulas,

𝑅𝜃(𝑥,𝑦)=(𝑟cos(𝜑+𝜃),𝑟sin(𝜑+𝜃))=(𝑟cos𝜑cos𝜃−𝑟sin𝜑sin𝜃,𝑟sin𝜑cos𝜃+𝑟cos𝜑sin𝜃)=(𝑥cos𝜃−𝑦sin𝜃,𝑥sin𝜃+𝑦cos𝜃).

Projection. Let ℓ be the line through 𝟎 in the direction of the unit vector 𝐮=(cos𝜃,sin𝜃). The projection Prℓ:ℝ2→ℝ2 sends 𝐯=(𝑥,𝑦) to the foot 𝑡𝐮 of the perpendicular from 𝐯 to ℓ. Two vectors (𝑎,𝑏) and (𝑐,𝑑) are perpendicular when 𝑎𝑐+𝑏𝑑=0, so 𝑡 is determined by

(𝑥−𝑡cos𝜃)cos𝜃+(𝑦−𝑡sin𝜃)sin𝜃=0,that is,𝑡=𝑥cos𝜃+𝑦sin𝜃,

using cos2𝜃+sin2𝜃=1. Hence

Prℓ(𝑥,𝑦)=(𝑥cos𝜃+𝑦sin𝜃)(cos𝜃,sin𝜃)=(𝑥cos2𝜃+𝑦sin𝜃cos𝜃,𝑥sin𝜃cos𝜃+𝑦sin2𝜃).

Reflection. The reflection 𝑆ℓ across ℓ sends 𝐯 to the point 𝑆ℓ(𝐯) for which Prℓ(𝐯) is the midpoint of 𝐯 and 𝑆ℓ(𝐯). So 𝑆ℓ(𝐯)=2Prℓ(𝐯)−𝐯, and with the double angle formulas,

𝑆ℓ(𝑥,𝑦)=(𝑥cos2𝜃+𝑦sin2𝜃,𝑥sin2𝜃−𝑦cos2𝜃).

All three formulas have the form of Example 2.1.7, so 𝑅𝜃, Prℓ, and 𝑆ℓ are linear. For instance, if ℓ is the 𝑥-axis (𝜃=0), then Prℓ(𝑥,𝑦)=(𝑥,0) and 𝑆ℓ(𝑥,𝑦)=(𝑥,−𝑦), and the rotation by a right angle is 𝑅𝜋/2(𝑥,𝑦)=(−𝑦,𝑥). Orthogonal projections in any inner product space are the subject of Section 6.4.

Intuition (What a linear map does to the grid). Let 𝑇:ℝ2→ℝ2 be linear. Since (𝑥,𝑦)=𝑥𝐞1+𝑦𝐞2, linearity gives

𝑇(𝑥,𝑦)=𝑥𝑇(𝐞1)+𝑦𝑇(𝐞2).

So 𝑇 is determined by the two vectors 𝑇(𝐞1) and 𝑇(𝐞2) (Section 2.2 proves the analogue for every basis), and the grid point (𝑥,𝑦) goes to 𝑥 steps along 𝑇(𝐞1) followed by 𝑦 steps along 𝑇(𝐞2). The square grid becomes a grid of parallelograms spanned by 𝑇(𝐞1) and 𝑇(𝐞2). To be precise about lines, apply 𝑇 to the line through 𝐩 in the direction 𝐝:

𝑇(𝐩+𝑡𝐝)=𝑇(𝐩)+𝑡𝑇(𝐝)(𝑡∈ℝ).

This is the line through 𝑇(𝐩) in the direction 𝑇(𝐝), or the single point 𝑇(𝐩) if 𝑇(𝐝)=𝟎. Reading off this formula:

  • lines go to lines, or collapse to points;
  • parallel lines, which share a direction 𝐝, go to lines that share the direction 𝑇(𝐝) (they may coincide, or all collapse to points if 𝑇(𝐝)=𝟎);
  • evenly spaced points 𝐩,𝐩+𝐝,𝐩+2𝐝,… go to evenly spaced points;
  • the origin stays where it is.

Drag the tips of 𝑇(𝐞1) and 𝑇(𝐞2) below (or focus one and use the arrow keys) and watch the grid follow. The panel lists the four numbers in 𝑇(𝑥,𝑦)=(𝑎𝑥+𝑏𝑦,𝑐𝑥+𝑑𝑦) as an array 𝐴, the notation of Section 2.3; the handles labelled 𝐴𝐞1 and 𝐴𝐞2 are 𝑇(𝐞1)=(𝑎,𝑐) and 𝑇(𝐞2)=(𝑏,𝑑). The determinant readout belongs to Section 5.1 and can be ignored for now.

A linear map of the plane. Grid lines go to evenly spaced parallel lines, the unit square goes to the parallelogram spanned by 𝑇(𝐞1) and 𝑇(𝐞2), and the origin stays fixed.

2.1.3Non-examples

The quickest way to see that a map is not linear is to find that it moves the origin (Proposition 2.1.4). The simplest maps that do this are the affine maps.

Non-example 2.1.12 (Affine maps). Let 𝑎,𝑏∈𝐹. The map 𝑓:𝐹→𝐹, 𝑓(𝑥)=𝑎𝑥+𝑏, is linear if and only if 𝑏=0. Indeed, if 𝑏≠0, then 𝑓(0)=𝑏≠0, so 𝑓 is not linear by Proposition 2.1.4; if 𝑏=0, then 𝑓(𝑥)=𝑎𝑥 is linear by Exercise 2.1.5. So the “linear functions” of school algebra, whose graphs are lines, are linear maps only when the line passes through the origin.

More generally, for 𝐿∈L(𝑉,𝑊) and 𝐛∈𝑊, the map 𝑇:𝑉→𝑊, 𝑇(𝐯)=𝐿(𝐯)+𝐛, is called affine. Since 𝑇(𝟎)=𝐛, it is linear only if 𝐛=𝟎.

Intuition. The failure of an affine map is more specific than “𝑇(𝟎)≠𝟎”. Compute both sides of the defining equation of linearity for 𝑇=𝐿+𝐛: the left side picks up one copy of 𝐛, and the right side picks up 𝑐1+⋯+𝑐𝑘 copies. So, when 𝐛≠𝟎, 𝑇 respects exactly those combinations whose coefficients add up to 1.

Proposition 2.1.13 (Which combinations an affine map respects). Let 𝐿∈L(𝑉,𝑊), 𝐛∈𝑊, and 𝑇(𝐯)=𝐿(𝐯)+𝐛. For all 𝐯1,…,𝐯𝑘∈𝑉 and 𝑐1,…,𝑐𝑘∈𝐹,

𝑇(𝑐1𝐯1+⋯+𝑐𝑘𝐯𝑘)−(𝑐1𝑇(𝐯1)+⋯+𝑐𝑘𝑇(𝐯𝑘))=(1−𝑐1−⋯−𝑐𝑘)𝐛.

In particular, if 𝐛≠𝟎, then 𝑇(∑𝑖𝑐𝑖𝐯𝑖)=∑𝑖𝑐𝑖𝑇(𝐯𝑖) holds if and only if 𝑐1+⋯+𝑐𝑘=1. So 𝑇 is linear if and only if 𝐛=𝟎.

Proof.routine

Uses. Definition 2.1.1 (Linear map), Proposition 1.2.35 (Zero products)

Hint 1. Expand both 𝑇(∑𝑖𝑐𝑖𝐯𝑖) and ∑𝑖𝑐𝑖𝑇(𝐯𝑖) using the formula for 𝑇 and the linearity of 𝐿.
Hint 2. The terms involving 𝐿 cancel. What remains is 𝐛−(𝑐1+⋯+𝑐𝑘)𝐛. When is 𝑠𝐛=𝟎 for a nonzero 𝐛?
Sketch. 𝑇(∑𝑐𝑖𝐯𝑖)=∑𝑐𝑖𝐿(𝐯𝑖)+𝐛 and ∑𝑐𝑖𝑇(𝐯𝑖)=∑𝑐𝑖𝐿(𝐯𝑖)+(∑𝑐𝑖)𝐛; subtract. If 𝐛≠𝟎, then (1−∑𝑐𝑖)𝐛=𝟎 forces ∑𝑐𝑖=1. The combination 0⋅𝐯 has coefficient sum 0, so 𝑇 is not linear.

By the linearity of 𝐿,

𝑇(𝑐1𝐯1+⋯+𝑐𝑘𝐯𝑘)=𝑐1𝐿(𝐯1)+⋯+𝑐𝑘𝐿(𝐯𝑘)+𝐛,

while, by distributivity in 𝑊,

𝑐1𝑇(𝐯1)+⋯+𝑐𝑘𝑇(𝐯𝑘)=𝑐1𝐿(𝐯1)+⋯+𝑐𝑘𝐿(𝐯𝑘)+(𝑐1+⋯+𝑐𝑘)𝐛.

Subtracting gives the displayed identity. If 𝐛≠𝟎, then by Proposition 1.2.35, (1−𝑐1−⋯−𝑐𝑘)𝐛=𝟎 if and only if 𝑐1+⋯+𝑐𝑘=1. In particular, the combination 0⋅𝐯 (with 𝑘=1 and 𝑐1=0) is not respected, so 𝑇 is not linear. If 𝐛=𝟎, then 𝑇=𝐿 is linear. □

Combinations whose coefficients add up to 1 are called affine combinations. Examples are the points (1−𝑡)𝐮+𝑡𝐯 of the line through 𝐮 and 𝐯, and in particular the midpoint 12𝐮+12𝐯 when 1+1≠0. An affine map respects these, which is why an affine map of ℝ2, like a linear one, still sends lines to lines or points, parallel lines to lines with a common direction, and evenly spaced points to evenly spaced points. What it does not respect is anything that refers to the origin, such as the scalar multiple 2𝐯, whose single coefficient is 2. Compare the first two panels of Figure 2.1.1: the affine map produces the same grid as the linear one, translated. Affine maps and affine combinations are the subject of Section 4.7.

Figure 2.1.1. The square grid under three maps of ℝ2; the faint lines are the original axes, and the shaded cell is the image of the unit square. Left: the linear map 𝑇(𝑥,𝑦)=(1.5𝑥−0.5𝑦,0.5𝑥+𝑦). Middle: the affine map 𝐯↦𝑇(𝐯)+(1,0.5), which moves the origin to the red point. Right: (𝑥,𝑦)↦(𝑥,𝑦+𝑥2/4), which fixes the origin but bends the horizontal grid lines, so it is not linear either.

Non-example 2.1.14 (Complex conjugation). Let 𝑐:ℂ→ℂ be complex conjugation, 𝑐(𝑎+𝑏𝑖)=𝑎+𝑏𝑖=𝑎−𝑏𝑖 for 𝑎,𝑏∈ℝ. Regard ℂ as a vector space over ℝ (Section 1.2), with 𝑎+𝑏𝑖 corresponding to (𝑎,𝑏)∈ℝ2. Then 𝑐 is the map (𝑎,𝑏)↦(𝑎,−𝑏), the reflection in the real axis, which is ℝ-linear by Example 2.1.11.

Now regard ℂ as a vector space over ℂ. Conjugation is still additive, since 𝑧+𝑤=𝑧+𝑤. But it is not homogeneous: 𝑐(𝑖⋅1)=𝑖=−𝑖, while 𝑖⋅𝑐(1)=𝑖. So conjugation is ℝ-linear but not ℂ-linear. Whether a function is linear depends on the field of scalars, and not only on the sets and the function.

Formulas that are visibly nonlinear fail homogeneity at once. The map ℝ→ℝ, 𝑥↦𝑥2, sends 2⋅1 to 4≠2⋅12, and ℝ→ℝ, 𝑥↦sin𝑥, sends 𝜋=2⋅𝜋/2 to 0≠2sin(𝜋/2). As a rule of thumb, in a coordinate formula for a linear map, each output coordinate is a sum of constant multiples of the input coordinates: no constant terms, no products of coordinates, and no other functions applied to them. For maps 𝐹𝑛→𝐹𝑚, Proposition 2.3.17 makes this precise.

Exercise 2.1.15.routine Decide which of the following maps are linear.

  1. (a)𝑇:ℝ2→ℝ2, 𝑇(𝑥,𝑦)=(𝑦,𝑥−3𝑦).
  2. (b)𝑇:ℝ2→ℝ2, 𝑇(𝑥,𝑦)=(𝑥+1,𝑦).
  3. (c)𝑇:ℝ→ℝ2, 𝑇(𝑥)=(𝑥,|𝑥|).
  4. (d)𝑇:𝔽22→𝔽2, 𝑇(𝑥,𝑦)=𝑥𝑦.

Solution.

Uses. Example 2.1.7 (Maps 𝐹𝑛→𝐹𝑚 given by linear formulas), Proposition 2.1.4 (Linear maps preserve 𝟎 and negatives), Theorem 2.1.3 (Checking linearity)

Hint 1. Test 𝑇(𝟎) first, then 𝑇(−𝐯) or 𝑇(2𝐯). These catch most nonlinear formulas.
Hint 2. In (d) there are only two scalars, so homogeneity says very little. Test additivity on 𝐞1 and 𝐞2.
Sketch. (a) Linear: it is 𝑇𝐴 with 𝐴=(011−3). (b) Not linear: 𝑇(𝟎)=(1,0). (c) Not linear: 𝑇(−1)=(−1,1)≠−𝑇(1). (d) Homogeneous but not additive: 𝑇(1,0)+𝑇(0,1)=0≠1=𝑇(1,1).

(a) Linear: 𝑇=𝑇𝐴 for 𝐴=(011−3), so Example 2.1.7 applies.

(b) Not linear: 𝑇(0,0)=(1,0)≠𝟎, contradicting Proposition 2.1.4.

(c) Not linear: 𝑇(−1)=(−1,1), while (−1)𝑇(1)=(−1,−1), so 𝑇 is not homogeneous. (Note that 𝑇(0)=𝟎, so the first test does not detect this one.)

(d) Not linear. Homogeneity does hold: the only scalars are 0 and 1, and 𝑇(0𝐯)=𝑇(0,0)=0=0𝑇(𝐯) and 𝑇(1𝐯)=1𝑇(𝐯). But additivity fails: 𝑇(1,0)+𝑇(0,1)=0+0=0, while 𝑇(1,1)=1.

2.1.4What linear maps preserve

Intuition. A vector space is a set with an addition and a scalar multiplication, and nothing else. Every notion we have defined so far (linear combination, span, linear relation, linear dependence) is defined from these two operations. A linear map respects both, so it carries each notion in 𝑉 to the corresponding notion in 𝑊, at least in one direction. The direction matters: a linear map may send different vectors to the same vector, so it can destroy independence, but it never creates independence where there was none.

For a subset 𝐴⊆𝑉 we write 𝑇(𝐴)={𝑇(𝐚)|𝐚∈𝐴}, and for a list ℒ︀=𝐯1,…,𝐯𝑘 in 𝑉 we write 𝑇(ℒ︀) for the list 𝑇(𝐯1),…,𝑇(𝐯𝑘) in 𝑊.

Proposition 2.1.16 (Linear maps preserve spans and linear relations). Let 𝑇∈L(𝑉,𝑊), and let ℒ︀=𝐯1,…,𝐯𝑘 be a list in 𝑉.

  1. (a)im(𝑇↾spanℒ︀)=span𝑇(ℒ︀). In particular, if ℒ︀ spans 𝑉, then 𝑇(ℒ︀) spans im𝑇.
  2. (b)If 𝑎1𝐯1+⋯+𝑎𝑘𝐯𝑘=𝟎, then 𝑎1𝑇(𝐯1)+⋯+𝑎𝑘𝑇(𝐯𝑘)=𝟎. Consequently, if ℒ︀ is linearly dependent, then so is 𝑇(ℒ︀). Equivalently, if 𝑇(ℒ︀) is linearly independent, then so is ℒ︀.

Proof.routine

Uses. Definition 1.3.10 (Span), Definition 2.1.1 (Linear map), Proposition 2.1.4 (Linear maps preserve 𝟎 and negatives), Theorem 1.5.5 (Independence is decided at zero)

Techniques. Double containment (Technique 1.3.14)

Hint 1. For (a), prove the two inclusions separately. An element of spanℒ︀ is a combination ∑𝑎𝑖𝐯𝑖; what is its image?
Hint 2. For (b), apply 𝑇 to both sides of the relation. For the statement about dependence, use the description of dependence by a nontrivial representation of 𝟎 (Theorem 1.5.5).
Sketch. 𝑇(∑𝑎𝑖𝐯𝑖)=∑𝑎𝑖𝑇(𝐯𝑖) shows both that images of elements of spanℒ︀ lie in span𝑇(ℒ︀), and that every element of span𝑇(ℒ︀) is such an image. Applying 𝑇 to a nontrivial relation ∑𝑎𝑖𝐯𝑖=𝟎 gives a relation among the 𝑇(𝐯𝑖) with the same, not all zero, coefficients.

(a) If 𝑘=0, then spanℒ︀={𝟎} and span𝑇(ℒ︀)={𝟎}, and 𝑇({𝟎})={𝟎} by Proposition 2.1.4. Let 𝑘≥1. We prove the two inclusions.

(⊆) An element of im(𝑇↾spanℒ︀) has the form 𝑇(𝑎1𝐯1+⋯+𝑎𝑘𝐯𝑘) with 𝑎𝑖∈𝐹. By linearity it equals 𝑎1𝑇(𝐯1)+⋯+𝑎𝑘𝑇(𝐯𝑘), which lies in span𝑇(ℒ︀).

(⊇) An element of span𝑇(ℒ︀) has the form 𝑎1𝑇(𝐯1)+⋯+𝑎𝑘𝑇(𝐯𝑘), which by linearity equals 𝑇(𝑎1𝐯1+⋯+𝑎𝑘𝐯𝑘). Since 𝑎1𝐯1+⋯+𝑎𝑘𝐯𝑘∈spanℒ︀, this lies in im(𝑇↾spanℒ︀).

If ℒ︀ spans 𝑉, then im𝑇=im(𝑇↾spanℒ︀)=span𝑇(ℒ︀), so 𝑇(ℒ︀) spans im𝑇.

(b) Applying 𝑇 to both sides of 𝑎1𝐯1+⋯+𝑎𝑘𝐯𝑘=𝟎 and using linearity and Proposition 2.1.4,

𝑎1𝑇(𝐯1)+⋯+𝑎𝑘𝑇(𝐯𝑘)=𝑇(𝑎1𝐯1+⋯+𝑎𝑘𝐯𝑘)=𝑇(𝟎)=𝟎.

If ℒ︀ is linearly dependent, then by Theorem 1.5.5 there are scalars 𝑎1,…,𝑎𝑘, not all 0, with ∑𝑖𝑎𝑖𝐯𝑖=𝟎. By what we just showed, the same scalars give ∑𝑖𝑎𝑖𝑇(𝐯𝑖)=𝟎, a nontrivial representation of 𝟎 by 𝑇(ℒ︀). So 𝑇(ℒ︀) is linearly dependent, again by Theorem 1.5.5. The last sentence of (b) is the contrapositive. □

The converse of the last statement fails. If ℓ is the 𝑥-axis, then Prℓ sends the independent list 𝐞1,𝐞2 to the dependent list (1,0),(0,0), and the zero map sends every list to a list of zero vectors. The maps that preserve independence are identified in Section 2.6: they are the injective ones. Part (a) with 𝑘=1 is the statement about lines from the grid picture: for 𝐯≠𝟎, the line span(𝐯) through 𝟎 goes to the line span(𝑇(𝐯)), or to {𝟎} if 𝑇(𝐯)=𝟎.

2.1.5Composition

Linear maps can be applied one after another. Recall that for functions 𝑆:𝑈→𝑉 and 𝑇:𝑉→𝑊, the composition 𝑇∘𝑆:𝑈→𝑊 is 𝐮↦𝑇(𝑆(𝐮)) (Section A.1).

Proposition 2.1.17 (Compositions of linear maps are linear). Let 𝑈, 𝑉, and 𝑊 be vector spaces over 𝐹. If 𝑆∈L(𝑈,𝑉) and 𝑇∈L(𝑉,𝑊), then 𝑇∘𝑆∈L(𝑈,𝑊).

Proof.routine

Uses. Definition 2.1.1 (Linear map)

Hint 1. Take a linear combination in 𝑈 and follow it through 𝑆 and then through 𝑇.
Hint 2. Use the linearity of 𝑆 to move the combination outside 𝑆, then the linearity of 𝑇 to move it outside 𝑇.
Sketch. (𝑇∘𝑆)(∑𝑎𝑖𝐮𝑖)=𝑇(∑𝑎𝑖𝑆(𝐮𝑖))=∑𝑎𝑖𝑇(𝑆(𝐮𝑖)).

Let 𝐮1,…,𝐮𝑘∈𝑈 and 𝑎1,…,𝑎𝑘∈𝐹. Then

(𝑇∘𝑆)(𝑎1𝐮1+⋯+𝑎𝑘𝐮𝑘)=𝑇(𝑆(𝑎1𝐮1+⋯+𝑎𝑘𝐮𝑘))(definition of ∘)=𝑇(𝑎1𝑆(𝐮1)+⋯+𝑎𝑘𝑆(𝐮𝑘))(linearity of 𝑆)=𝑎1𝑇(𝑆(𝐮1))+⋯+𝑎𝑘𝑇(𝑆(𝐮𝑘))(linearity of 𝑇)=𝑎1(𝑇∘𝑆)(𝐮1)+⋯+𝑎𝑘(𝑇∘𝑆)(𝐮𝑘)(definition of ∘),

as desired. □

Notation 2.1.18. For linear maps we usually write 𝑇𝑆 for 𝑇∘𝑆. For 𝑇∈L(𝑉) and an integer 𝑘≥1, 𝑇𝑘=𝑇𝑇⋯𝑇 (𝑘 factors), and 𝑇0=id𝑉. Composition is associative (Proposition 2.1.24), so 𝑇𝑘 needs no parentheses, and 𝑇𝑗𝑇𝑘=𝑇𝑗+𝑘.
Example 2.1.19 (Composites).
  1. (a)𝐷2=𝐷𝐷 on 𝐹[𝑥] is the second formal derivative,

    𝐷2(𝑎0+𝑎1𝑥+⋯+𝑎𝑛𝑥𝑛)=2𝑎2+6𝑎3𝑥+⋯+𝑛(𝑛−1)𝑎𝑛𝑥𝑛−2.

    Each application of 𝐷 sends constants to 0 and lowers the degree of a nonconstant polynomial by at least one (by exactly one over ℝ or ℂ; over 𝔽2, 𝐷(𝑥2+𝑥)=1). So 𝐷𝑛+1(𝑝)=0 whenever deg𝑝≤𝑛.

  2. (b)Order matters. Let 𝑃(𝑥,𝑦)=(𝑥,0) be the projection onto the 𝑥-axis and 𝑅(𝑥,𝑦)=(−𝑦,𝑥) the rotation by a right angle (Example 2.1.11). Then

    (𝑃𝑅)(𝑥,𝑦)=𝑃(−𝑦,𝑥)=(−𝑦,0),(𝑅𝑃)(𝑥,𝑦)=𝑅(𝑥,0)=(0,𝑥).

    So 𝑃𝑅≠𝑅𝑃: for instance (𝑃𝑅)(𝐞1)=𝟎, while (𝑅𝑃)(𝐞1)=𝐞2.

Composition of linear maps is not commutative: even when 𝑇𝑆 and 𝑆𝑇 are both defined, they need not be equal. For matrices this becomes the noncommutativity of matrix multiplication (Section 2.4).

Exercise 2.1.20.routine Let 𝑆:ℝ3→ℝ2 and 𝑇:ℝ2→ℝ3 be given by

𝑆(𝑥,𝑦,𝑧)=(𝑥+𝑦,𝑦+𝑧),𝑇(𝑢,𝑣)=(𝑢−𝑣,2𝑣,𝑢).

Compute 𝑆𝑇 and 𝑇𝑆.

Solution.

Uses. Proposition 2.1.17 (Compositions of linear maps are linear)

Hint. 𝑆𝑇 means “first 𝑇, then 𝑆”, so it is a map ℝ2→ℝ2. Substitute the coordinates of 𝑇(𝑢,𝑣) into the formula for 𝑆.
Sketch. 𝑆𝑇(𝑢,𝑣)=(𝑢+𝑣,𝑢+2𝑣) and 𝑇𝑆(𝑥,𝑦,𝑧)=(𝑥−𝑧,2𝑦+2𝑧,𝑥+𝑦).

𝑆𝑇:ℝ2→ℝ2 is

(𝑆𝑇)(𝑢,𝑣)=𝑆(𝑢−𝑣,2𝑣,𝑢)=((𝑢−𝑣)+2𝑣,2𝑣+𝑢)=(𝑢+𝑣,𝑢+2𝑣),

and 𝑇𝑆:ℝ3→ℝ3 is

(𝑇𝑆)(𝑥,𝑦,𝑧)=𝑇(𝑥+𝑦,𝑦+𝑧)=((𝑥+𝑦)−(𝑦+𝑧),2(𝑦+𝑧),𝑥+𝑦)=(𝑥−𝑧,2𝑦+2𝑧,𝑥+𝑦).

The two composites have different domains, so here the question whether 𝑆𝑇=𝑇𝑆 does not even arise.

2.1.6The vector space L(𝑉,𝑊)

Functions with values in a vector space can be added and scaled value by value. For linear maps this makes L(𝑉,𝑊) a vector space, so everything we prove about vector spaces applies to spaces of linear maps.

Definition 2.1.21 (Pointwise operations). Let 𝑋 be a set and 𝑊 a vector space over 𝐹. For functions 𝑓,𝑔:𝑋→𝑊 and 𝑐∈𝐹, define 𝑓+𝑔:𝑋→𝑊 and 𝑐𝑓:𝑋→𝑊 by

(𝑓+𝑔)(𝑥)=𝑓(𝑥)+𝑔(𝑥),(𝑐𝑓)(𝑥)=𝑐𝑓(𝑥)(𝑥∈𝑋).

We write 𝑊𝑋 for the set of all functions 𝑋→𝑊, with these operations.

Lemma 2.1.22 (Functions into a vector space). Let 𝑋 be a set and 𝑊 a vector space over 𝐹. Then 𝑊𝑋 is a vector space over 𝐹. Its zero vector is the zero function 𝑥↦𝟎𝑊, and the additive inverse of 𝑓 is 𝑥↦−𝑓(𝑥).

Proof.routine

Uses. Definition 1.2.1 (Vector space), Definition 2.1.21 (Pointwise operations)

Techniques. Proving from axioms (Technique 1.1.7)

Hint 1. Each axiom is an equality between two functions 𝑋→𝑊. Two functions are equal when they agree at every point.
Hint 2. Evaluate both sides of an axiom at 𝑥∈𝑋. You get the same axiom in 𝑊, applied to the vectors 𝑓(𝑥), 𝑔(𝑥), ….
Sketch. Each vector space axiom for 𝑊𝑋, evaluated at a point 𝑥, becomes the same axiom in 𝑊 for the values at 𝑥. For example (𝑓+𝑔)(𝑥)=𝑓(𝑥)+𝑔(𝑥)=𝑔(𝑥)+𝑓(𝑥)=(𝑔+𝑓)(𝑥).

The operations produce functions 𝑋→𝑊, so 𝑊𝑋 is closed under them. Each vector space axiom asserts an equality between functions 𝑋→𝑊, and two such functions are equal when their values agree at every 𝑥∈𝑋. At a point 𝑥, each axiom becomes the corresponding axiom of 𝑊. For example, for 𝑓,𝑔,ℎ∈𝑊𝑋, 𝑎,𝑏∈𝐹, and 𝑥∈𝑋:

(𝑓+𝑔)(𝑥)=𝑓(𝑥)+𝑔(𝑥)=𝑔(𝑥)+𝑓(𝑥)=(𝑔+𝑓)(𝑥),((𝑓+𝑔)+ℎ)(𝑥)=(𝑓(𝑥)+𝑔(𝑥))+ℎ(𝑥)=𝑓(𝑥)+(𝑔(𝑥)+ℎ(𝑥))=(𝑓+(𝑔+ℎ))(𝑥),(𝑎(𝑓+𝑔))(𝑥)=𝑎(𝑓(𝑥)+𝑔(𝑥))=𝑎𝑓(𝑥)+𝑎𝑔(𝑥)=(𝑎𝑓+𝑎𝑔)(𝑥),((𝑎+𝑏)𝑓)(𝑥)=(𝑎+𝑏)𝑓(𝑥)=𝑎𝑓(𝑥)+𝑏𝑓(𝑥)=(𝑎𝑓+𝑏𝑓)(𝑥),

and similarly ((𝑎𝑏)𝑓)(𝑥)=(𝑎𝑏)𝑓(𝑥)=𝑎(𝑏𝑓(𝑥))=(𝑎(𝑏𝑓))(𝑥) and (1𝑓)(𝑥)=1𝑓(𝑥)=𝑓(𝑥). Let 𝑧 be the zero function and −𝑓 the function 𝑥↦−𝑓(𝑥). Then (𝑓+𝑧)(𝑥)=𝑓(𝑥)+𝟎𝑊=𝑓(𝑥) and (𝑓+(−𝑓))(𝑥)=𝑓(𝑥)+(−𝑓(𝑥))=𝟎𝑊=𝑧(𝑥), so 𝑧 is an additive identity and −𝑓 is an additive inverse of 𝑓. □

For 𝑊=𝐹 this is the vector space 𝐹𝑋 of Section 1.2. Now L(𝑉,𝑊) is a subset of 𝑊𝑉.

Intuition. We could check the vector space axioms for L(𝑉,𝑊) one at a time, by evaluating at each 𝐯. That would repeat the proof of Lemma 2.1.22 word for word. Passing through 𝑊𝑉 separates the two things that are true. The axioms hold for all functions 𝑉→𝑊, linear or not; what is special about linear maps is only that the operations of 𝑊𝑉 do not destroy linearity. The subspace criterion asks for exactly that.
Proposition 2.1.23 (L(𝑉,𝑊) is a vector space). Let 𝑉 and 𝑊 be vector spaces over 𝐹. If 𝑆,𝑇∈L(𝑉,𝑊) and 𝑐∈𝐹, then 𝑆+𝑇 and 𝑐𝑇 are linear. Hence L(𝑉,𝑊) is a subspace of 𝑊𝑉, and in particular it is a vector space over 𝐹. Its zero vector is the zero map, and −𝑇 is the map 𝐯↦−𝑇(𝐯).

Proof.routine

Uses. Lemma 2.1.22 (Functions into a vector space), Theorem 1.4.3 (Subspace criterion), Theorem 2.1.3 (Checking linearity), Example 2.1.6 (Zero, identity, and scaling maps)

Hint 1. By Lemma 2.1.22 and the subspace criterion, it suffices to show that the zero map is linear and that 𝑆+𝑇 and 𝑐𝑇 are linear.
Hint 2. Check (iii) of Theorem 2.1.3 for 𝑆+𝑇: expand (𝑆+𝑇)(𝑎𝐮+𝐯) by the definition of 𝑆+𝑇, use linearity of 𝑆 and of 𝑇, and regroup.
Hint 3. For 𝑐𝑇 you need to move 𝑐 past 𝑎. Which field axiom allows that?
Sketch. The zero map is linear. For 𝑆+𝑇, (𝑆+𝑇)(𝑎𝐮+𝐯)=𝑎𝑆(𝐮)+𝑆(𝐯)+𝑎𝑇(𝐮)+𝑇(𝐯)=𝑎(𝑆+𝑇)(𝐮)+(𝑆+𝑇)(𝐯). For 𝑐𝑇, 𝑐(𝑎𝑇(𝐮)+𝑇(𝐯))=𝑎(𝑐𝑇(𝐮))+𝑐𝑇(𝐯) since 𝑐𝑎=𝑎𝑐. So L(𝑉,𝑊) is a nonempty subset of the vector space 𝑊𝑉, closed under both operations.

By Lemma 2.1.22, 𝑊𝑉 is a vector space, and L(𝑉,𝑊)⊆𝑊𝑉. We check the conditions of Theorem 1.4.3. The zero map is linear (Example 2.1.6), so L(𝑉,𝑊) is nonempty and contains the zero vector of 𝑊𝑉.

Let 𝑆,𝑇∈L(𝑉,𝑊), 𝑐∈𝐹, 𝐮,𝐯∈𝑉, and 𝑎∈𝐹. Using the definition of 𝑆+𝑇, then the linearity of 𝑆 and 𝑇, then the vector space axioms of 𝑊 to regroup,

(𝑆+𝑇)(𝑎𝐮+𝐯)=𝑆(𝑎𝐮+𝐯)+𝑇(𝑎𝐮+𝐯)=(𝑎𝑆(𝐮)+𝑆(𝐯))+(𝑎𝑇(𝐮)+𝑇(𝐯))=𝑎(𝑆(𝐮)+𝑇(𝐮))+(𝑆(𝐯)+𝑇(𝐯))=𝑎(𝑆+𝑇)(𝐮)+(𝑆+𝑇)(𝐯).

Similarly,

(𝑐𝑇)(𝑎𝐮+𝐯)=𝑐(𝑎𝑇(𝐮)+𝑇(𝐯))=(𝑐𝑎)𝑇(𝐮)+𝑐𝑇(𝐯)=(𝑎𝑐)𝑇(𝐮)+𝑐𝑇(𝐯)=𝑎(𝑐𝑇)(𝐮)+(𝑐𝑇)(𝐯),

where the step 𝑐𝑎=𝑎𝑐 is the commutativity of multiplication in 𝐹. By Theorem 2.1.3, 𝑆+𝑇 and 𝑐𝑇 are linear. So L(𝑉,𝑊) is a subspace of 𝑊𝑉, hence a vector space, with the same zero vector and the same additive inverses as 𝑊𝑉. □

Linear maps now have three operations: addition, scalar multiplication, and composition. The next proposition records how they interact.

Proposition 2.1.24 (Algebra of composition). Let 𝑈, 𝑉, 𝑊, and 𝑋 be vector spaces over 𝐹, and let 𝑎∈𝐹.
  1. (a)(𝑅𝑆)𝑇=𝑅(𝑆𝑇) for 𝑇∈L(𝑈,𝑉), 𝑆∈L(𝑉,𝑊), and 𝑅∈L(𝑊,𝑋).
  2. (b)id𝑊𝑇=𝑇=𝑇id𝑉 for 𝑇∈L(𝑉,𝑊).
  3. (c)(𝑆1+𝑆2)𝑇=𝑆1𝑇+𝑆2𝑇 and 𝑆(𝑇1+𝑇2)=𝑆𝑇1+𝑆𝑇2 for 𝑇,𝑇1,𝑇2∈L(𝑈,𝑉) and 𝑆,𝑆1,𝑆2∈L(𝑉,𝑊).
  4. (d)(𝑎𝑆)𝑇=𝑎(𝑆𝑇)=𝑆(𝑎𝑇) for 𝑇∈L(𝑈,𝑉) and 𝑆∈L(𝑉,𝑊).

Proof.routine

Uses. Proposition 2.1.23 (L(𝑉,𝑊) is a vector space), Definition 2.1.21 (Pointwise operations), Theorem 2.1.3 (Checking linearity)

Hint 1. Two maps are equal when they agree at every vector. Evaluate both sides of each identity at 𝐮.
Hint 2. Most identities follow from the definitions alone. In 𝑆(𝑇1+𝑇2)=𝑆𝑇1+𝑆𝑇2 and 𝑆(𝑎𝑇)=𝑎(𝑆𝑇) you need a property of 𝑆.
Sketch. Evaluate at 𝐮. Associativity and the identity laws hold for all functions. ((𝑆1+𝑆2)𝑇)(𝐮)=𝑆1(𝑇(𝐮))+𝑆2(𝑇(𝐮)) by the definition of 𝑆1+𝑆2. (𝑆(𝑇1+𝑇2))(𝐮)=𝑆(𝑇1(𝐮)+𝑇2(𝐮)) splits by additivity of 𝑆, and 𝑆(𝑎𝑇(𝐮))=𝑎𝑆(𝑇(𝐮)) by homogeneity of 𝑆.

In each case both sides are maps with the same domain and codomain, so it suffices to show that they agree at every vector 𝐮 of the domain.

(a) ((𝑅𝑆)𝑇)(𝐮)=(𝑅𝑆)(𝑇(𝐮))=𝑅(𝑆(𝑇(𝐮)))=𝑅((𝑆𝑇)(𝐮))=(𝑅(𝑆𝑇))(𝐮).

(b) (id𝑊𝑇)(𝐮)=id𝑊(𝑇(𝐮))=𝑇(𝐮) and (𝑇id𝑉)(𝐮)=𝑇(id𝑉(𝐮))=𝑇(𝐮).

(c) By the definition of the sum of two maps,

((𝑆1+𝑆2)𝑇)(𝐮)=(𝑆1+𝑆2)(𝑇(𝐮))=𝑆1(𝑇(𝐮))+𝑆2(𝑇(𝐮))=(𝑆1𝑇+𝑆2𝑇)(𝐮).

By the definition of 𝑇1+𝑇2 and then additivity of 𝑆,

(𝑆(𝑇1+𝑇2))(𝐮)=𝑆(𝑇1(𝐮)+𝑇2(𝐮))=𝑆(𝑇1(𝐮))+𝑆(𝑇2(𝐮))=(𝑆𝑇1+𝑆𝑇2)(𝐮).

(d) ((𝑎𝑆)𝑇)(𝐮)=𝑎𝑆(𝑇(𝐮))=(𝑎(𝑆𝑇))(𝐮) by the definition of 𝑎𝑆, and by the definition of 𝑎𝑇 and homogeneity of 𝑆,

(𝑆(𝑎𝑇))(𝐮)=𝑆(𝑎𝑇(𝐮))=𝑎𝑆(𝑇(𝐮))=(𝑎(𝑆𝑇))(𝐮).

□

Only the second identity in (c) and the last one in (d) used linearity, in both cases of the left factor 𝑆. For functions that are not linear they can fail: for 𝑠(𝑥)=𝑥2 on ℝ, (𝑠∘(idℝ+idℝ))(1)=𝑠(2)=4, while (𝑠∘idℝ+𝑠∘idℝ)(1)=2. Parts (c) and (d) also say that composition is linear in each factor: for fixed 𝑇∈L(𝑈,𝑉), the map L(𝑉,𝑊)→L(𝑈,𝑊), 𝑆↦𝑆𝑇, is linear, and for fixed 𝑆∈L(𝑉,𝑊), so is L(𝑈,𝑉)→L(𝑈,𝑊), 𝑇↦𝑆𝑇.

Exercise 2.1.25.routine Let 𝑇:𝐹2→𝐹2, 𝑇(𝑥,𝑦)=(𝑦,𝑥−𝑦). Show that 𝑇2+𝑇=id𝐹2, and deduce that 𝑇(𝑇+id𝐹2)=(𝑇+id𝐹2)𝑇=id𝐹2.

Solution.

Uses. Proposition 2.1.24 (Algebra of composition), Notation 2.1.18

Hint 1. Compute 𝑇2(𝑥,𝑦)=𝑇(𝑇(𝑥,𝑦)) and add 𝑇(𝑥,𝑦).
Hint 2. For the second part, expand 𝑇(𝑇+id) with Proposition 2.1.24.
Sketch. 𝑇2(𝑥,𝑦)=(𝑥−𝑦,2𝑦−𝑥), and adding (𝑦,𝑥−𝑦) gives (𝑥,𝑦). Then 𝑇(𝑇+id)=𝑇2+𝑇=id and (𝑇+id)𝑇=𝑇2+𝑇=id by parts (b) and (c) of Proposition 2.1.24.

We have 𝑇2(𝑥,𝑦)=𝑇(𝑦,𝑥−𝑦)=(𝑥−𝑦,𝑦−(𝑥−𝑦))=(𝑥−𝑦,2𝑦−𝑥), so

(𝑇2+𝑇)(𝑥,𝑦)=(𝑥−𝑦+𝑦,2𝑦−𝑥+𝑥−𝑦)=(𝑥,𝑦).

That is, 𝑇2+𝑇=id. By parts (b) and (c) of Proposition 2.1.24, 𝑇(𝑇+id)=𝑇2+𝑇id=𝑇2+𝑇=id and (𝑇+id)𝑇=𝑇2+id𝑇=𝑇2+𝑇=id. So applying 𝑇+id undoes 𝑇, in either order; invertibility is the subject of Section 2.5.

Assembling linear maps

The results of this section and the last give a way to prove linearity without computing.

Technique 2.1.26 (Assemble linear maps from linear pieces). To show that a map is linear, write it as a sum, scalar multiple, or composite of maps already known to be linear. By Proposition 2.1.23 and Proposition 2.1.17 the result is linear, with no computation.

Reach for it when a map is given by a formula built out of evaluations, derivatives, integrals, coordinates, projections, or other maps from the examples above. It also handles whole families at once. For instance, for 𝑇∈L(𝑉) and 𝑎0,…,𝑎𝑛∈𝐹, every 𝑎0id𝑉+𝑎1𝑇+⋯+𝑎𝑛𝑇𝑛 is linear. Conversely, a formula that involves a product of two inputs, a constant term, or a nonlinear function of a coordinate is a candidate for a counterexample; test 𝑇(𝟎) and 𝑇(2𝐯) first. The canonical example is the reflection 𝑆ℓ=2Prℓ−idℝ2 (Example 2.1.27).

Example 2.1.27 (Maps assembled from linear pieces).
  1. (a)By Example 2.1.11, 𝑆ℓ(𝐯)=2Prℓ(𝐯)−𝐯 for every 𝐯. That is, 𝑆ℓ=2Prℓ−idℝ2 in L(ℝ2). Since Prℓ is linear, so is 𝑆ℓ, and the double angle formulas are not needed for this.
  2. (b)The map 𝜑:𝐹[𝑥]→𝐹, 𝜑(𝑝)=𝑝(1)−3𝑝′(0), is linear, because 𝜑=ev1−3ev0𝐷 with ev𝑡 and 𝐷 from Example 2.1.9.
  3. (c)On the real vector space of infinitely differentiable functions ℝ→ℝ (a subspace of ℝℝ), differentiation 𝐷:𝑓↦𝑓′ is linear, so 𝑓↦𝑓″−3𝑓′+2𝑓 is linear, being 𝐷2−3𝐷+2id. This is why the differential equation 𝑦″−3𝑦′+2𝑦=0 is called linear: it asks for the vectors that a linear map sends to 𝟎. By Section 2.6 such vectors always form a subspace.
Exercise 2.1.28.routine Fix 𝐯0∈𝑉. Show that the map L(𝑉,𝑊)→𝑊, 𝑇↦𝑇(𝐯0), is linear.

Solution.

Uses. Definition 2.1.21 (Pointwise operations), Proposition 2.1.23 (L(𝑉,𝑊) is a vector space), Theorem 2.1.3 (Checking linearity)

Hint. The vectors of L(𝑉,𝑊) are maps, and they are added and scaled pointwise. Evaluate 𝑎𝑆+𝑇 at 𝐯0.
Sketch. (𝑎𝑆+𝑇)(𝐯0)=𝑎𝑆(𝐯0)+𝑇(𝐯0) by the definition of the operations.

Write 𝐸(𝑇)=𝑇(𝐯0). For 𝑆,𝑇∈L(𝑉,𝑊) and 𝑎∈𝐹, the definition of the operations on L(𝑉,𝑊) gives

𝐸(𝑎𝑆+𝑇)=(𝑎𝑆+𝑇)(𝐯0)=𝑎𝑆(𝐯0)+𝑇(𝐯0)=𝑎𝐸(𝑆)+𝐸(𝑇).

So 𝐸 is linear by Theorem 2.1.3. Note that the linearity of 𝑆 and 𝑇 played no role; the same computation shows that evaluation at a point is linear on 𝑊𝑋 for any set 𝑋.

Aside (Additive maps that are not linear).Beyond 21-242 By Exercise 2.1.36 and Exercise 2.1.37, an additive map between vector spaces over 𝔽𝑝 or over ℚ is automatically linear, because every scalar can be reached from 1 by addition, subtraction, and division by positive integers. Over ℝ this is false, but no formula exhibits a counterexample. Regard ℝ as a vector space over ℚ. It has a basis (a Hamel basis), by Zorn’s lemma (Section 15.1). Pick a basis vector 𝐛, and let 𝑇:ℝ→ℝ send each real number to its coordinate along 𝐛. Then 𝑇 is ℚ-linear, hence additive, and it takes only rational values. If 𝑇 were ℝ-linear, then 𝑇(𝑥)=𝑥𝑇(1) for all 𝑥 (Exercise 2.1.5); since 𝑇 takes only rational values, this forces 𝑇(1)=0, and then 𝑇=0, contradicting 𝑇(𝐛)=1. Such a map is wildly discontinuous: an additive map ℝ→ℝ that is continuous is linear (Exercise 2.1.51).

Exercises

Exercise 2.1.29.routine Decide which of the following maps are linear. Here 𝐹 is any field, 𝐴∈𝐹2×2 has entries 𝑎𝑖𝑗, and 𝐹2×2 is added and scaled entrywise.

  1. (a)𝐹2×2→𝐹, 𝐴↦𝑎11+𝑎22.
  2. (b)𝐹2×2→𝐹, 𝐴↦𝑎11𝑎22−𝑎12𝑎21.
  3. (c)𝐹2×2→𝐹2×2, the map that swaps the entries 𝑎12 and 𝑎21.
  4. (d)𝐹[𝑥]→𝐹[𝑥], 𝑝↦𝑝+𝑝′.
  5. (e)ℂ→ℂ, 𝑧↦𝑖𝑧, with ℂ regarded first as a vector space over ℂ, then as one over ℝ.

Solution.

Uses. Example 2.1.7 (Maps 𝐹𝑛→𝐹𝑚 given by linear formulas), Example 2.1.9 (Maps of polynomials), Non-example 2.1.14 (Complex conjugation)

Techniques. Assemble linear maps from linear pieces (Technique 2.1.26)

Hint 1. Entrywise operations make 𝐹2×2 look like 𝐹4. Which of the formulas are sums of constant multiples of the entries?
Hint 2. For (b), try two matrices with a single nonzero entry each, on the diagonal. For (e) over ℂ, compare 𝑇(𝑖⋅1) with 𝑖⋅𝑇(1).
Sketch. (a), (c), and (d) are linear: (a) and (c) are linear formulas in the entries, and (d) is id+𝐷. (b) is not additive: the two diagonal matrices with a single 1 each map to 0, while their sum, the identity matrix, maps to 1. (e) is ℝ-linear, being (𝑎,𝑏)↦(𝑏,𝑎) in coordinates, but not ℂ-linear: 𝑇(𝑖)=1 while 𝑖𝑇(1)=−1.

(a) Linear. The entries of 𝑐𝐴+𝐵 are 𝑐𝑎𝑖𝑗+𝑏𝑖𝑗, so the map sends 𝑐𝐴+𝐵 to (𝑐𝑎11+𝑏11)+(𝑐𝑎22+𝑏22)=𝑐(𝑎11+𝑎22)+(𝑏11+𝑏22).

(b) Not linear, over any field. Let 𝐴 have 𝑎11=1 and all other entries 0, and let 𝐵 have 𝑏22=1 and all other entries 0. Both map to 0, but 𝐴+𝐵 has diagonal entries 1,1 and off-diagonal entries 0, so it maps to 1≠0. The map is not additive.

(c) Linear. Listing the entries as (𝑎11,𝑎12,𝑎21,𝑎22), the map is (𝑎,𝑏,𝑐,𝑑)↦(𝑎,𝑐,𝑏,𝑑), a linear formula as in Example 2.1.7 (each output coordinate is one input coordinate), and the operations of 𝐹2×2 are those of 𝐹4 in these coordinates.

(d) Linear: the map is id𝐹[𝑥]+𝐷, a sum of linear maps (Technique 2.1.26).

(e) Write 𝑇(𝑧)=𝑖𝑧. For 𝑧=𝑎+𝑏𝑖, 𝑇(𝑧)=𝑖(𝑎−𝑏𝑖)=𝑏+𝑎𝑖. Over ℝ, in the coordinates (𝑎,𝑏) this is (𝑎,𝑏)↦(𝑏,𝑎), which is linear (it is the reflection across the line 𝑦=𝑥). Over ℂ it is not homogeneous: 𝑇(𝑖⋅1)=𝑇(𝑖)=𝑖⋅(−𝑖)=1, while 𝑖⋅𝑇(1)=𝑖⋅𝑖=−1.

Exercise 2.1.30.standard How many functions 𝔽22→𝔽2 are there? How many of them send 𝟎 to 0? How many are linear? List the linear ones.

Solution.

Uses. Example 2.1.7 (Maps 𝐹𝑛→𝐹𝑚 given by linear formulas), Proposition 2.1.4 (Linear maps preserve 𝟎 and negatives)

Hint 1. A function 𝔽22→𝔽2 is a choice of one of two values at each of the four points of 𝔽22.
Hint 2. A linear 𝑇 satisfies 𝑇(𝑥,𝑦)=𝑥𝑇(𝐞1)+𝑦𝑇(𝐞2). How many choices are there for the pair (𝑇(𝐞1),𝑇(𝐞2)), and does each choice give a linear map?
Sketch. 24=16 functions, of which 23=8 send 𝟎 to 0. A linear map is (𝑥,𝑦)↦𝛼𝑥+𝛽𝑦 with (𝛼,𝛽)=(𝑇(𝐞1),𝑇(𝐞2)), and every such formula is linear, so there are 4: 0, 𝑥, 𝑦, and 𝑥+𝑦.

𝔽22 has 4 elements and 𝔽2 has 2, so there are 24=16 functions 𝔽22→𝔽2. Those with 𝑇(𝟎)=0 are free only at the other three points, so there are 23=8 of them.

If 𝑇 is linear, then since (𝑥,𝑦)=𝑥𝐞1+𝑦𝐞2,

𝑇(𝑥,𝑦)=𝑥𝑇(𝐞1)+𝑦𝑇(𝐞2)=𝛼𝑥+𝛽𝑦,where𝛼=𝑇(𝐞1),𝛽=𝑇(𝐞2).

So 𝑇 is determined by (𝛼,𝛽)∈𝔽22, and there are at most 4 linear maps. Conversely, each formula (𝑥,𝑦)↦𝛼𝑥+𝛽𝑦 is linear by Example 2.1.7. So there are exactly 4 linear maps: (𝑥,𝑦)↦0, 𝑥, 𝑦, and 𝑥+𝑦.

So half of the functions that fix 𝟎 are not linear. They are (𝑥,𝑦)↦𝑥𝑦, 𝑥+𝑥𝑦, 𝑦+𝑥𝑦, and 𝑥+𝑦+𝑥𝑦.

Exercise 2.1.31.routine Let 𝑇∈L(𝑉,𝑊) and let ℒ︀ be a list in 𝑉. Prove or disprove each statement.

  1. (a)If ℒ︀ spans 𝑉, then 𝑇(ℒ︀) spans 𝑊.
  2. (b)If 𝑇(ℒ︀) spans 𝑊, then ℒ︀ spans 𝑉.
  3. (c)If 𝑇(ℒ︀) spans 𝑊, then im𝑇=𝑊.

Solution.

Uses. Proposition 2.1.16 (Linear maps preserve spans and linear relations)

Hint 1. Proposition 2.1.16 says that 𝑇(ℒ︀) spans im(𝑇↾spanℒ︀). When is that all of 𝑊?
Hint 2. For counterexamples, try the zero map and a coordinate projection ℝ2→ℝ.
Sketch. (a) False: the zero map ℝ→ℝ and ℒ︀=1. (b) False: (𝑥,𝑦)↦𝑥 from ℝ2 to ℝ and ℒ︀=𝐞1. (c) True: 𝑊=span𝑇(ℒ︀)=im(𝑇↾spanℒ︀)⊆im𝑇⊆𝑊.

(a) False. Let 𝑇:ℝ→ℝ be the zero map and ℒ︀ the list 1, which spans ℝ. Then 𝑇(ℒ︀) is the list 0, which spans {0}≠ℝ.

(b) False. Let 𝑇:ℝ2→ℝ, 𝑇(𝑥,𝑦)=𝑥, and ℒ︀=𝐞1. Then 𝑇(ℒ︀) is the list 1, which spans ℝ, but ℒ︀ does not span ℝ2: every element of span(𝐞1) has second coordinate 0.

(c) True. By Proposition 2.1.16, 𝑊=span𝑇(ℒ︀)=im(𝑇↾spanℒ︀)⊆im𝑇⊆𝑊, so im𝑇=𝑊.

Exercise 2.1.32.routine Fix 𝑞∈𝐹[𝑥]. For 𝑝=𝑎0+𝑎1𝑥+⋯+𝑎𝑛𝑥𝑛, let 𝑝(𝑞)=𝑎0+𝑎1𝑞+⋯+𝑎𝑛𝑞𝑛∈𝐹[𝑥] be the result of substituting 𝑞 for 𝑥. Show that the map 𝐶𝑞:𝐹[𝑥]→𝐹[𝑥], 𝑝↦𝑝(𝑞), is linear. (For 𝑞=𝑥+1, this is the shift 𝑝(𝑥)↦𝑝(𝑥+1).)

Solution.

Uses. Theorem 2.1.3 (Checking linearity), Definition 1.2.13 (Polynomials)

Hint 1. Write 𝑐𝑝+𝑟 in terms of the coefficients of 𝑝 and 𝑟, using the same 𝑛 for both.
Hint 2. Substituting 𝑞 into ∑𝑘(𝑐𝑎𝑘+𝑏𝑘)𝑥𝑘 gives ∑𝑘(𝑐𝑎𝑘+𝑏𝑘)𝑞𝑘. Split it using the vector space axioms of 𝐹[𝑥].
Sketch. With 𝑝=∑𝑎𝑘𝑥𝑘 and 𝑟=∑𝑏𝑘𝑥𝑘, 𝑐𝑝+𝑟=∑(𝑐𝑎𝑘+𝑏𝑘)𝑥𝑘, so 𝐶𝑞(𝑐𝑝+𝑟)=∑(𝑐𝑎𝑘+𝑏𝑘)𝑞𝑘=𝑐∑𝑎𝑘𝑞𝑘+∑𝑏𝑘𝑞𝑘.

Let 𝑝=∑𝑘=0𝑛𝑎𝑘𝑥𝑘 and 𝑟=∑𝑘=0𝑛𝑏𝑘𝑥𝑘, padding with zero coefficients so that both use the same 𝑛. (Padding does not change 𝑝(𝑞), since the added terms are 0⋅𝑞𝑘=0.) For 𝑐∈𝐹, 𝑐𝑝+𝑟=∑𝑘(𝑐𝑎𝑘+𝑏𝑘)𝑥𝑘, so

𝐶𝑞(𝑐𝑝+𝑟)=∑𝑘=0𝑛(𝑐𝑎𝑘+𝑏𝑘)𝑞𝑘=𝑐∑𝑘=0𝑛𝑎𝑘𝑞𝑘+∑𝑘=0𝑛𝑏𝑘𝑞𝑘=𝑐𝐶𝑞(𝑝)+𝐶𝑞(𝑟),

by distributivity and the other vector space axioms of 𝐹[𝑥]. By Theorem 2.1.3, 𝐶𝑞 is linear.

Exercise 2.1.33.standard Now substitute in the other order. For 𝑞∈ℝ[𝑥], let 𝐿𝑞:ℝ[𝑥]→ℝ[𝑥] be 𝑝↦𝑞(𝑝), the result of substituting 𝑝 for 𝑥 in 𝑞 (notation of Exercise 2.1.32). Find all 𝑞 for which 𝐿𝑞 is linear.

Solution.

Uses. Theorem 2.1.3 (Checking linearity), Example 2.1.6 (Zero, identity, and scaling maps)

Hint 1. Apply 𝐿𝑞 to the polynomial 𝑥, and to the polynomial 2𝑥. What does homogeneity say?
Hint 2. 𝐿𝑞(𝑥)=𝑞 and 𝐿𝑞(2𝑥)=𝑞(2𝑥). If 𝑞=∑𝑏𝑘𝑥𝑘, then 𝑞(2𝑥)=∑2𝑘𝑏𝑘𝑥𝑘. Compare coefficients with 2𝑞.
Sketch. 𝐿𝑞 is linear exactly when 𝑞=𝑐𝑥 for some 𝑐∈ℝ. If 𝐿𝑞 is linear, 𝑞(2𝑥)=𝐿𝑞(2𝑥)=2𝐿𝑞(𝑥)=2𝑞, so (2𝑘−2)𝑏𝑘=0 for every 𝑘, and 𝑏𝑘=0 unless 𝑘=1. Conversely 𝐿𝑐𝑥(𝑝)=𝑐𝑝 is a scaling map.

The answer is 𝑞=𝑐𝑥 with 𝑐∈ℝ.

If 𝑞=𝑐𝑥, then 𝐿𝑞(𝑝)=𝑐𝑝, which is linear (Example 2.1.6). Conversely, suppose 𝐿𝑞 is linear, and write 𝑞=𝑏0+𝑏1𝑥+⋯+𝑏𝑛𝑥𝑛. Then 𝐿𝑞(𝑥)=𝑞 and

𝐿𝑞(2𝑥)=𝑞(2𝑥)=∑𝑘=0𝑛𝑏𝑘(2𝑥)𝑘=∑𝑘=0𝑛2𝑘𝑏𝑘𝑥𝑘.

By homogeneity, 𝐿𝑞(2𝑥)=2𝐿𝑞(𝑥)=∑𝑘2𝑏𝑘𝑥𝑘. Comparing coefficients, (2𝑘−2)𝑏𝑘=0 for every 𝑘. For 𝑘≠1 we have 2𝑘−2≠0 (it is −1 for 𝑘=0 and at least 2 for 𝑘≥2), so 𝑏𝑘=0. Hence 𝑞=𝑏1𝑥.

The test used the scalar 2, which is 0 in 𝔽2, so over 𝔽2 the condition 𝐿𝑞(2𝑥)=2𝐿𝑞(𝑥) says nothing. Indeed over 𝔽2 the answer is different: for 𝑞=𝑥2, the map 𝑝↦𝑝2 turns out to be linear (try it).

Exercise 2.1.34.routine Find all 𝑝∈𝔽2[𝑥] with 𝐷(𝑝)=0, where 𝐷 is the formal derivative. Do the same over 𝔽3 and over ℝ.

Solution.

Uses. Example 2.1.9 (Maps of polynomials), Proposition 1.1.17 (No zero divisors), Proposition 1.1.24 (ℤ/𝑛ℤ is a field if and only if 𝑛 is prime)

Hint 1. 𝐷(∑𝑎𝑘𝑥𝑘)=∑𝑘𝑎𝑘𝑥𝑘−1, so 𝐷(𝑝)=0 if and only if 𝑘𝑎𝑘=0 for every 𝑘≥1.
Hint 2. In 𝔽𝑞 for a prime 𝑞, 𝑘𝑎𝑘=(𝑘⋅1)𝑎𝑘, and 𝑘⋅1=0 exactly when 𝑞 divides 𝑘.
Sketch. 𝐷(𝑝)=0 if and only if 𝑘𝑎𝑘=0 for all 𝑘≥1. Over 𝔽2 this means 𝑎𝑘=0 for odd 𝑘, so 𝑝 is a polynomial in 𝑥2. Over 𝔽3, 𝑝 is a polynomial in 𝑥3. Over ℝ, 𝑝 is constant.

Let 𝑝=𝑎0+𝑎1𝑥+⋯+𝑎𝑛𝑥𝑛. Then 𝐷(𝑝)=∑𝑘=1𝑛𝑘𝑎𝑘𝑥𝑘−1, which is 0 if and only if 𝑘𝑎𝑘=0 for every 1≤𝑘≤𝑛. Here 𝑘𝑎𝑘=(𝑘⋅1)𝑎𝑘, where 𝑘⋅1 is the sum of 𝑘 ones in 𝐹. By Proposition 1.1.17, 𝑘𝑎𝑘=0 if and only if 𝑘⋅1=0 or 𝑎𝑘=0.

In 𝔽𝑞 for a prime 𝑞, the sum of 𝑘 ones is 𝑘mod𝑞, which is 0 exactly when 𝑞 divides 𝑘. So over 𝔽2, 𝐷(𝑝)=0 if and only if 𝑎𝑘=0 for every odd 𝑘, that is, 𝑝=𝑏0+𝑏1𝑥2+𝑏2𝑥4+⋯ for some 𝑏𝑖∈𝔽2. For example 𝐷(𝑥2+1)=2𝑥=0. Over 𝔽3, 𝐷(𝑝)=0 if and only if 𝑎𝑘=0 whenever 3 does not divide 𝑘, that is, 𝑝=𝑏0+𝑏1𝑥3+𝑏2𝑥6+⋯. Over ℝ, 𝑘⋅1=𝑘≠0 for 𝑘≥1, so 𝐷(𝑝)=0 if and only if 𝑝=𝑎0 is constant.

Exercise 2.1.35.routine Find the error in the following argument.

Claim. Every additive map 𝑇:ℝ→ℝ is linear.

Proof. Let 𝑐,𝑥∈ℝ. Then

𝑇(𝑐𝑥)=𝑇(𝑥+𝑥+⋯+𝑥)=𝑇(𝑥)+𝑇(𝑥)+⋯+𝑇(𝑥)=𝑐𝑇(𝑥),

so 𝑇 is homogeneous. Since it is also additive, it is linear.

Solution.

Uses. Theorem 2.1.3 (Checking linearity)

Hint. How many terms does the sum 𝑥+𝑥+⋯+𝑥 have? For which 𝑐 does that make sense?
Sketch. Writing 𝑐𝑥 as a sum of 𝑐 copies of 𝑥 only makes sense for positive integers 𝑐. The argument proves 𝑇(𝑛𝑥)=𝑛𝑇(𝑥) for 𝑛=1,2,3,… and nothing about 𝑐=1/2 or 𝑐=2.

The first step writes 𝑐𝑥 as a sum of 𝑐 copies of 𝑥, which only makes sense when 𝑐 is a positive integer. For such 𝑐=𝑛 the argument is correct: by induction on 𝑛, using additivity, 𝑇(𝑛𝑥)=𝑇((𝑛−1)𝑥+𝑥)=𝑇((𝑛−1)𝑥)+𝑇(𝑥)=𝑛𝑇(𝑥). But it says nothing about 𝑐=1/2 or 𝑐=2, and homogeneity requires 𝑇(𝑐𝑥)=𝑐𝑇(𝑥) for every real 𝑐.

The gap is not a technicality. The conclusion 𝑇(𝑐𝑥)=𝑐𝑇(𝑥) can be rescued for rational 𝑐 with a further idea (Exercise 2.1.37), but over ℝ the claim is false: there are additive maps ℝ→ℝ that are not linear (Aside (Additive maps that are not linear)).

Exercise 2.1.36.standard Let 𝑉 and 𝑊 be vector spaces over 𝐹, and let 𝑇:𝑉→𝑊 be additive. Prove or disprove that 𝑇 is linear when

  1. (a)𝐹=𝔽𝑝 for a prime 𝑝;
  2. (b)𝐹=ℂ.

Solution.

Uses. Proposition 2.1.4 (Linear maps preserve 𝟎 and negatives), Non-example 2.1.14 (Complex conjugation), Definition 1.1.19 (Integers modulo 𝑛)

Hint 1. In 𝔽𝑝, every element is 1+1+⋯+1 for some number of terms.
Hint 2. If 𝑐=1+⋯+1 (𝑛 terms), then 𝑐𝐯=𝐯+⋯+𝐯. Apply additivity 𝑛−1 times. Do not forget 𝑐=0.
Hint 3. For (b), look at the non-examples in this section.
Sketch. (a) True. Each 𝑐∈𝔽𝑝 is 𝑛⋅1 for some 0≤𝑛<𝑝, so 𝑐𝐯 is a sum of 𝑛 copies of 𝐯 and additivity gives 𝑇(𝑐𝐯)=𝑐𝑇(𝐯); the case 𝑛=0 is 𝑇(𝟎)=𝟎, which holds for additive maps. (b) False: complex conjugation ℂ→ℂ is additive but not ℂ-linear.

(a) True. Let 𝑐∈𝔽𝑝={0,1,…,𝑝−1}, and let 𝑛 be 𝑐 regarded as an integer. In 𝔽𝑝 the sum of 𝑛 ones is 𝑛mod𝑝=𝑐. If 𝑛=0, then 𝑇(0𝐯)=𝑇(𝟎)=𝟎=0𝑇(𝐯), where 𝑇(𝟎)=𝟎 holds for additive maps by the second proof of Proposition 2.1.4. If 𝑛≥1, distributivity and 1𝐯=𝐯 give 𝑐𝐯=(1+⋯+1)𝐯=𝐯+⋯+𝐯 (𝑛 terms), and additivity, applied 𝑛−1 times, gives

𝑇(𝑐𝐯)=𝑇(𝐯+⋯+𝐯)=𝑇(𝐯)+⋯+𝑇(𝐯)=(1+⋯+1)𝑇(𝐯)=𝑐𝑇(𝐯).

So 𝑇 is homogeneous, hence linear.

(b) False. Complex conjugation ℂ→ℂ is additive but not ℂ-linear (Non-example 2.1.14).

Exercise 2.1.37.standard Let 𝑉 and 𝑊 be vector spaces over ℚ, and let 𝑇:𝑉→𝑊 be additive. Show that 𝑇 is linear.

Solution.

Uses. Proposition 2.1.4 (Linear maps preserve 𝟎 and negatives), Exercise 2.1.35

Hint 1. First show 𝑇(𝑛𝐯)=𝑛𝑇(𝐯) for every integer 𝑛, positive, zero, or negative.
Hint 2. For 𝑐=𝑚/𝑛 with 𝑛≥1, let 𝐰=𝑐𝐯. Then 𝑛𝐰=𝑚𝐯. Apply 𝑇 and use the integer case on both sides.
Sketch. For integers 𝑛≥0, 𝑇(𝑛𝐯)=𝑛𝑇(𝐯) by induction, and 𝑇(−𝐮)=−𝑇(𝐮) extends this to 𝑛<0. If 𝑐=𝑚/𝑛, then 𝑛(𝑐𝐯)=𝑚𝐯, so 𝑛𝑇(𝑐𝐯)=𝑚𝑇(𝐯); divide by 𝑛.

Integers. We first show 𝑇(𝑛𝐯)=𝑛𝑇(𝐯) for every 𝐯∈𝑉 and every integer 𝑛. For 𝑛=0 this is 𝑇(𝟎)=𝟎, which holds for additive maps by the second proof of Proposition 2.1.4. If it holds for some 𝑛≥0, then 𝑇((𝑛+1)𝐯)=𝑇(𝑛𝐯+𝐯)=𝑛𝑇(𝐯)+𝑇(𝐯)=(𝑛+1)𝑇(𝐯). So it holds for all 𝑛≥0. For 𝑛<0, the second proof of Proposition 2.1.4 also shows 𝑇(−𝐮)=−𝑇(𝐮) for additive 𝑇, so 𝑇(𝑛𝐯)=𝑇(−((−𝑛)𝐯))=−((−𝑛)𝑇(𝐯))=𝑛𝑇(𝐯).

Rationals. Let 𝑐=𝑚/𝑛 with 𝑚,𝑛∈ℤ and 𝑛≥1, and put 𝐰=𝑐𝐯. Then 𝑛𝐰=(𝑛𝑐)𝐯=𝑚𝐯, so by the integer case

𝑛𝑇(𝐰)=𝑇(𝑛𝐰)=𝑇(𝑚𝐯)=𝑚𝑇(𝐯).

Multiplying by 1/𝑛∈ℚ gives 𝑇(𝑐𝐯)=𝑇(𝐰)=(𝑚/𝑛)𝑇(𝐯)=𝑐𝑇(𝐯). So 𝑇 is homogeneous, hence linear.

Exercise 2.1.38.standard Let 𝐹 be any field. Find a function 𝑇:𝐹2→𝐹 that is homogeneous but not additive.

Solution.

Uses. Proposition 1.1.17 (No zero divisors)

Hint 1. Homogeneity only relates 𝑇(𝐯) to the values of 𝑇 on the line span(𝐯). It says nothing about how different lines through 𝟎 interact.
Hint 2. Let 𝑇 be a linear function on the 𝑥-axis and 0 off the 𝑥-axis.
Sketch. 𝑇(𝑥,𝑦)=𝑥 if 𝑦=0, and 𝑇(𝑥,𝑦)=0 if 𝑦≠0. Scaling by 𝑐≠0 keeps a point on or off the 𝑥-axis, which gives homogeneity. But 𝑇(1,1)+𝑇(0,−1)=0≠1=𝑇(1,0).

Define 𝑇(𝑥,𝑦)=𝑥 if 𝑦=0, and 𝑇(𝑥,𝑦)=0 if 𝑦≠0.

Homogeneity. Let 𝑐∈𝐹 and (𝑥,𝑦)∈𝐹2. If 𝑐=0, then 𝑇(𝑐(𝑥,𝑦))=𝑇(0,0)=0=𝑐𝑇(𝑥,𝑦). Let 𝑐≠0. If 𝑦=0, then 𝑇(𝑐𝑥,0)=𝑐𝑥=𝑐𝑇(𝑥,0). If 𝑦≠0, then 𝑐𝑦≠0 by Proposition 1.1.17, so 𝑇(𝑐𝑥,𝑐𝑦)=0=𝑐⋅0=𝑐𝑇(𝑥,𝑦).

Additivity fails. 𝑇(1,1)+𝑇(0,−1)=0+0=0, since 1≠0 and −1≠0, while 𝑇((1,1)+(0,−1))=𝑇(1,0)=1.

Homogeneity is a condition on each line through 𝟎 separately, and additivity is what ties different lines together.

Exercise 2.1.39.standard Let 𝑇:𝑉→𝑊 satisfy 𝑇(𝟎)=𝟎 and

𝑇(𝑎𝐮+𝑏𝐯)=𝑎𝑇(𝐮)+𝑏𝑇(𝐯)for all𝐮,𝐯∈𝑉and all𝑎,𝑏∈𝐹with𝑎+𝑏=1.
  1. (a)Show that if 1+1≠0 in 𝐹, then 𝑇 is linear.
  2. (b)Show that the conclusion of (a) can fail over 𝔽2.

Solution.

Uses. Theorem 2.1.3 (Checking linearity), Exercise 2.1.15

Hint 1. For homogeneity, use the pair of coefficients 𝑎 and 1−𝑎, with 𝟎 as the second vector.
Hint 2. For additivity, write 𝐮+𝐯=(1+1)(ℎ𝐮+ℎ𝐯) with ℎ=(1+1)−1, and note that ℎ+ℎ=1.
Hint 3. For (b), what does the hypothesis say when the only scalars are 0 and 1?
Sketch. (a) 𝑇(𝑎𝐮)=𝑇(𝑎𝐮+(1−𝑎)𝟎)=𝑎𝑇(𝐮). With ℎ=(1+1)−1, homogeneity and the hypothesis with 𝑎=𝑏=ℎ give 𝑇(𝐮+𝐯)=(1+1)𝑇(ℎ𝐮+ℎ𝐯)=(1+1)(ℎ𝑇(𝐮)+ℎ𝑇(𝐯))=𝑇(𝐮)+𝑇(𝐯). (b) Over 𝔽2, 𝑎+𝑏=1 forces {𝑎,𝑏}={0,1}, and the hypothesis is empty. So (𝑥,𝑦)↦𝑥𝑦 on 𝔽22 satisfies it but is not linear.

(a) Homogeneity. For 𝑎∈𝐹 and 𝐮∈𝑉, the coefficients 𝑎 and 1−𝑎 add up to 1, so

𝑇(𝑎𝐮)=𝑇(𝑎𝐮+(1−𝑎)𝟎)=𝑎𝑇(𝐮)+(1−𝑎)𝑇(𝟎)=𝑎𝑇(𝐮).

Additivity. Since 1+1≠0, it has an inverse ℎ=(1+1)−1, and ℎ+ℎ=(1+1)ℎ=1. For 𝐮,𝐯∈𝑉 we have (1+1)(ℎ𝐮+ℎ𝐯)=𝐮+𝐯, so by homogeneity and then the hypothesis with 𝑎=𝑏=ℎ,

𝑇(𝐮+𝐯)=(1+1)𝑇(ℎ𝐮+ℎ𝐯)=(1+1)(ℎ𝑇(𝐮)+ℎ𝑇(𝐯))=𝑇(𝐮)+𝑇(𝐯).

By Theorem 2.1.3, 𝑇 is linear.

(b) In 𝔽2, 𝑎+𝑏=1 holds only for (𝑎,𝑏)=(1,0) and (0,1), and then the hypothesis reads 𝑇(𝐮)=𝑇(𝐮) or 𝑇(𝐯)=𝑇(𝐯), which is always true. So every 𝑇 with 𝑇(𝟎)=𝟎 satisfies the hypotheses. For example 𝑇:𝔽22→𝔽2, 𝑇(𝑥,𝑦)=𝑥𝑦, does, and it is not linear (Exercise 2.1.15).

Exercise 2.1.40.routine
  1. (a)Find 𝑆,𝑇∈L(ℝ2) with 𝑆𝑇=0 but 𝑇𝑆≠0.
  2. (b)Find 𝑇∈L(ℝ2) with 𝑇≠0 but 𝑇2=0.

Solution.

Uses. Example 2.1.7 (Maps 𝐹𝑛→𝐹𝑚 given by linear formulas)

Hint 1. 𝑆𝑇=0 means that 𝑆 sends every vector of the form 𝑇(𝐯) to 𝟎. Choose 𝑇 with all its values on a line, and 𝑆 that kills that line.
Hint 2. Try 𝑆(𝑥,𝑦)=(𝑥,0), the projection onto the 𝑥-axis, and a 𝑇 whose values lie on the 𝑦-axis.
Sketch. 𝑆(𝑥,𝑦)=(𝑥,0) and 𝑇(𝑥,𝑦)=(0,𝑥): then 𝑆𝑇(𝑥,𝑦)=𝑆(0,𝑥)=𝟎, while 𝑇𝑆(𝑥,𝑦)=(0,𝑥). The same 𝑇 answers (b): 𝑇2(𝑥,𝑦)=𝑇(0,𝑥)=𝟎.

Let 𝑆(𝑥,𝑦)=(𝑥,0) and 𝑇(𝑥,𝑦)=(0,𝑥); both are linear by Example 2.1.7.

(a) (𝑆𝑇)(𝑥,𝑦)=𝑆(0,𝑥)=(0,0) for all (𝑥,𝑦), so 𝑆𝑇=0. But (𝑇𝑆)(𝑥,𝑦)=𝑇(𝑥,0)=(0,𝑥), so (𝑇𝑆)(𝐞1)=𝐞2≠𝟎 and 𝑇𝑆≠0.

(b) The same 𝑇 works: 𝑇(𝐞1)=𝐞2≠𝟎, and 𝑇2(𝑥,𝑦)=𝑇(0,𝑥)=(0,0). Geometrically, 𝑇 moves everything onto the 𝑦-axis and sends the 𝑦-axis to 𝟎.

Exercise 2.1.41.routine Find the error in the following argument.

Claim. If 𝑃∈L(𝑉) satisfies 𝑃2=𝑃, then 𝑃=0 or 𝑃=id𝑉.

Proof. Let 𝐯∈𝑉. Then 𝑃(𝑃(𝐯)−𝐯)=𝑃2(𝐯)−𝑃(𝐯)=𝟎. Since 𝑃 is linear, either 𝑃=0 or 𝑃(𝐯)−𝐯=𝟎. If 𝑃≠0, the second alternative holds for every 𝐯, so 𝑃=id𝑉.

Solution.

Uses. Example 2.1.11 (Rotations, projections, and reflections), Proposition 2.1.4 (Linear maps preserve 𝟎 and negatives)

Hint 1. Test the claim on a projection from Example 2.1.11.
Hint 2. Which step would be valid for numbers but not for linear maps? Can a linear map send a nonzero vector to 𝟎 without being 0?
Sketch. The step “𝑃(𝐰)=𝟎 implies 𝑃=0 or 𝐰=𝟎” is false. The projection 𝑃(𝑥,𝑦)=(𝑥,0) satisfies 𝑃2=𝑃 and is neither 0 nor id; there 𝑃(𝑃(𝐯)−𝐯)=𝑃(0,−𝑦)=𝟎 with (0,−𝑦)≠𝟎 for 𝑦≠0.

The claim is false: 𝑃(𝑥,𝑦)=(𝑥,0) (the projection Prℓ of Example 2.1.11 onto the 𝑥-axis) satisfies 𝑃2(𝑥,𝑦)=𝑃(𝑥,0)=(𝑥,0)=𝑃(𝑥,𝑦), and 𝑃 is neither 0 nor idℝ2.

The error is the step “since 𝑃 is linear, either 𝑃=0 or 𝑃(𝐯)−𝐯=𝟎”. It treats 𝑃(𝐰)=𝟎 like a product of numbers equal to 0, but a linear map can send a nonzero vector to 𝟎 without being the zero map. In the example, 𝑃(𝐯)−𝐯=(0,−𝑦), which is nonzero when 𝑦≠0, and 𝑃(0,−𝑦)=𝟎. The vectors that a linear map sends to 𝟎 are studied in Section 2.6.

Exercise 2.1.42.standard Let ℓ be the line through 𝟎 at angle 𝜃, and let 𝑃=Prℓ and 𝑆=𝑆ℓ be as in Example 2.1.11.

  1. (a)Show from the formula for 𝑃 that 𝑃2=𝑃.
  2. (b)Using only 𝑆=2𝑃−id, (a), and Proposition 2.1.24, show that 𝑆2=id and 𝑆𝑃=𝑃𝑆=𝑃. Interpret these identities geometrically.

Solution.

Uses. Example 2.1.11 (Rotations, projections, and reflections), Example 2.1.27 (Maps assembled from linear pieces), Proposition 2.1.24 (Algebra of composition)

Techniques. Assemble linear maps from linear pieces (Technique 2.1.26)

Hint 1. Write 𝑃(𝑥,𝑦)=𝑠(cos𝜃,sin𝜃) with 𝑠=𝑥cos𝜃+𝑦sin𝜃, and apply 𝑃 to the point 𝑠(cos𝜃,sin𝜃).
Hint 2. Expand (2𝑃−id)(2𝑃−id) as you would expand (2𝑝−1)2, but justify each step by a part of Proposition 2.1.24.
Sketch. (a) 𝑃 applied to 𝑠(cos𝜃,sin𝜃) gives 𝑠(cos2𝜃+sin2𝜃)(cos𝜃,sin𝜃)=𝑃(𝑥,𝑦). (b) 𝑆2=4𝑃2−2𝑃−2𝑃+id=id and 𝑆𝑃=2𝑃2−𝑃=𝑃=𝑃𝑆. Reflecting twice returns every point; a point and its mirror image have the same foot on ℓ; points of ℓ are fixed by 𝑆.

(a) Let 𝐮=(cos𝜃,sin𝜃) and 𝑠=𝑥cos𝜃+𝑦sin𝜃, so 𝑃(𝑥,𝑦)=𝑠𝐮. By linearity of 𝑃, 𝑃(𝑠𝐮)=𝑠𝑃(𝐮), and by the formula,

𝑃(𝐮)=(cos𝜃⋅cos𝜃+sin𝜃⋅sin𝜃)𝐮=𝐮.

So 𝑃(𝑃(𝑥,𝑦))=𝑠𝐮=𝑃(𝑥,𝑦), that is, 𝑃2=𝑃.

(b) Using parts (c), (d), and (b) of Proposition 2.1.24,

𝑆2=(2𝑃−id)(2𝑃−id)=(2𝑃)(2𝑃)−(2𝑃)id−id(2𝑃)+idid=4𝑃2−2𝑃−2𝑃+id=4𝑃−4𝑃+id=id,

where we used 𝑃2=𝑃. Similarly,

𝑆𝑃=(2𝑃−id)𝑃=2𝑃2−𝑃=𝑃,𝑃𝑆=𝑃(2𝑃−id)=2𝑃2−𝑃=𝑃.

Geometrically, 𝑆2=id says that reflecting twice returns every point to where it started. 𝑃𝑆=𝑃 says that a point and its mirror image have the same foot of perpendicular on ℓ. 𝑆𝑃=𝑃 says that 𝑆 fixes every point of ℓ, since the values of 𝑃 are exactly the points of ℓ.

Exercise 2.1.43.standard For an angle 𝛼, let 𝑅𝛼 be the rotation by 𝛼 and 𝑆𝛼 the reflection across the line through 𝟎 at angle 𝛼 (Example 2.1.11). Using the formulas, show that

𝑅𝛼𝑅𝛽=𝑅𝛼+𝛽and𝑆𝛼𝑆𝛽=𝑅2(𝛼−𝛽).

Interpret the second identity geometrically.

Solution.

Uses. Example 2.1.11 (Rotations, projections, and reflections), Proposition 2.1.17 (Compositions of linear maps are linear)

Hint 1. Substitute the formula for 𝑅𝛽(𝑥,𝑦) into the formula for 𝑅𝛼, and collect the coefficients of 𝑥 and 𝑦.
Hint 2. The coefficients come out as cos𝛼cos𝛽−sin𝛼sin𝛽 and similar expressions. Recognize them with the angle addition formulas. For the reflections, the angles are 2𝛼 and 2𝛽.
Sketch. The first coordinate of 𝑅𝛼𝑅𝛽(𝑥,𝑦) is 𝑥(cos𝛼cos𝛽−sin𝛼sin𝛽)−𝑦(sin𝛼cos𝛽+cos𝛼sin𝛽)=𝑥cos(𝛼+𝛽)−𝑦sin(𝛼+𝛽), and the second is similar. For reflections, the coefficients become cos2𝛼cos2𝛽+sin2𝛼sin2𝛽=cos(2𝛼−2𝛽) and sin2𝛼cos2𝛽−cos2𝛼sin2𝛽=sin(2𝛼−2𝛽).

Rotations. Write (𝑢,𝑣)=𝑅𝛽(𝑥,𝑦)=(𝑥cos𝛽−𝑦sin𝛽,𝑥sin𝛽+𝑦cos𝛽). Then 𝑅𝛼𝑅𝛽(𝑥,𝑦)=(𝑢cos𝛼−𝑣sin𝛼,𝑢sin𝛼+𝑣cos𝛼). The first coordinate is

𝑥(cos𝛼cos𝛽−sin𝛼sin𝛽)−𝑦(cos𝛼sin𝛽+sin𝛼cos𝛽)=𝑥cos(𝛼+𝛽)−𝑦sin(𝛼+𝛽),

and the second is

𝑥(sin𝛼cos𝛽+cos𝛼sin𝛽)+𝑦(cos𝛼cos𝛽−sin𝛼sin𝛽)=𝑥sin(𝛼+𝛽)+𝑦cos(𝛼+𝛽).

So 𝑅𝛼𝑅𝛽=𝑅𝛼+𝛽.

Reflections. Write (𝑢,𝑣)=𝑆𝛽(𝑥,𝑦)=(𝑥cos2𝛽+𝑦sin2𝛽,𝑥sin2𝛽−𝑦cos2𝛽). Then 𝑆𝛼𝑆𝛽(𝑥,𝑦)=(𝑢cos2𝛼+𝑣sin2𝛼,𝑢sin2𝛼−𝑣cos2𝛼). The first coordinate is

𝑥(cos2𝛼cos2𝛽+sin2𝛼sin2𝛽)+𝑦(cos2𝛼sin2𝛽−sin2𝛼cos2𝛽)=𝑥cos(2𝛼−2𝛽)−𝑦sin(2𝛼−2𝛽),

and the second is

𝑥(sin2𝛼cos2𝛽−cos2𝛼sin2𝛽)+𝑦(sin2𝛼sin2𝛽+cos2𝛼cos2𝛽)=𝑥sin(2𝛼−2𝛽)+𝑦cos(2𝛼−2𝛽).

So 𝑆𝛼𝑆𝛽=𝑅2(𝛼−𝛽).

Geometrically: reflecting across one line and then across another is a rotation about their intersection point by twice the angle from the first line to the second. In particular, reflecting twice across the same line (𝛼=𝛽) gives 𝑅0=id. Also, two reflections never compose to a reflection: 𝑅𝜑 sends 𝐞1,𝐞2 to (cos𝜑,sin𝜑),(−sin𝜑,cos𝜑), and 𝑆𝛾 sends them to (cos2𝛾,sin2𝛾),(sin2𝛾,−cos2𝛾), so 𝑅𝜑=𝑆𝛾 would force cos𝜑=cos2𝛾=−cos2𝛾 and sin𝜑=sin2𝛾=−sin2𝛾, hence cos𝜑=sin𝜑=0, which is impossible.

Exercise 2.1.44.routine Fix 𝐯0∈𝑉 and 𝐰0∈𝑊. Show that {𝑇∈L(𝑉,𝑊)|𝑇(𝐯0)=𝐰0} is a subspace of L(𝑉,𝑊) if and only if 𝐰0=𝟎.

Solution.

Uses. Definition 1.4.1 (Subspace), Theorem 1.4.3 (Subspace criterion), Proposition 2.1.23 (L(𝑉,𝑊) is a vector space)

Hint 1. A subspace contains the zero vector. What is the zero vector of L(𝑉,𝑊), and where does it send 𝐯0?
Hint 2. If 𝐰0=𝟎, check closure directly, or note that the set is where the linear map 𝑇↦𝑇(𝐯0) of Exercise 2.1.28 takes the value 𝟎.
Sketch. The zero map sends 𝐯0 to 𝟎, so it lies in the set only if 𝐰0=𝟎. If 𝐰0=𝟎, then (𝑐𝑆+𝑇)(𝐯0)=𝑐𝑆(𝐯0)+𝑇(𝐯0)=𝟎 for 𝑆,𝑇 in the set.

Call the set 𝑈. The zero vector of L(𝑉,𝑊) is the zero map (Proposition 2.1.23), which sends 𝐯0 to 𝟎.

If 𝐰0≠𝟎, the zero map is not in 𝑈, so 𝑈 is not a subspace.

If 𝐰0=𝟎, the zero map is in 𝑈. For 𝑆,𝑇∈𝑈 and 𝑐∈𝐹,

(𝑐𝑆+𝑇)(𝐯0)=𝑐𝑆(𝐯0)+𝑇(𝐯0)=𝑐𝟎+𝟎=𝟎,

Taking 𝑐=1 shows that 𝑈 is closed under addition, and taking 𝑇=0 shows that it is closed under scalar multiplication. So 𝑈 is a subspace by Theorem 1.4.3.

Exercise 2.1.45.standard Fix 𝐴∈L(𝑉), and let 𝐶(𝐴)={𝑇∈L(𝑉)|𝐴𝑇=𝑇𝐴} be the set of operators that commute with 𝐴. Show that

  1. (a)𝐶(𝐴) is a subspace of L(𝑉);
  2. (b)if 𝑆,𝑇∈𝐶(𝐴), then 𝑆𝑇∈𝐶(𝐴);
  3. (c)𝑎0id𝑉+𝑎1𝐴+⋯+𝑎𝑛𝐴𝑛∈𝐶(𝐴) for all 𝑎0,…,𝑎𝑛∈𝐹.

Solution.

Uses. Proposition 2.1.24 (Algebra of composition), Theorem 1.4.3 (Subspace criterion), Notation 2.1.18

Hint 1. Every step is an application of Proposition 2.1.24. For (a), expand 𝐴(𝑐𝑆+𝑇) and (𝑐𝑆+𝑇)𝐴.
Hint 2. For (b), move 𝐴 across 𝑆𝑇 one factor at a time, using associativity.
Hint 3. For (c), id𝑉 and 𝐴 commute with 𝐴. Use (b) and induction for the powers, then (a).
Sketch. (a) 𝐴0=0=0𝐴, and 𝐴(𝑐𝑆+𝑇)=𝑐𝐴𝑆+𝐴𝑇=𝑐𝑆𝐴+𝑇𝐴=(𝑐𝑆+𝑇)𝐴. (b) 𝐴𝑆𝑇=𝑆𝐴𝑇=𝑆𝑇𝐴. (c) id𝑉,𝐴∈𝐶(𝐴), so every 𝐴𝑘∈𝐶(𝐴) by (b), and linear combinations stay in 𝐶(𝐴) by (a).

(a) The zero map commutes with 𝐴: (𝐴0)(𝐯)=𝐴(𝟎)=𝟎=(0𝐴)(𝐯) by Proposition 2.1.4. If 𝑆,𝑇∈𝐶(𝐴) and 𝑐∈𝐹, then by parts (c) and (d) of Proposition 2.1.24,

𝐴(𝑐𝑆+𝑇)=𝑐(𝐴𝑆)+𝐴𝑇=𝑐(𝑆𝐴)+𝑇𝐴=(𝑐𝑆+𝑇)𝐴.

With 𝑐=1 this shows that 𝐶(𝐴) is closed under addition, and with 𝑇=0 that it is closed under scalar multiplication. So 𝐶(𝐴) is a subspace by Theorem 1.4.3.

(b) By associativity, 𝐴(𝑆𝑇)=(𝐴𝑆)𝑇=(𝑆𝐴)𝑇=𝑆(𝐴𝑇)=𝑆(𝑇𝐴)=(𝑆𝑇)𝐴.

(c) id𝑉𝐴=𝐴=𝐴id𝑉, and 𝐴𝐴=𝐴𝐴, so id𝑉,𝐴∈𝐶(𝐴). If 𝐴𝑘∈𝐶(𝐴), then 𝐴𝑘+1=𝐴𝑘𝐴∈𝐶(𝐴) by (b), so by induction every 𝐴𝑘∈𝐶(𝐴). Since 𝐶(𝐴) is a subspace, it contains 𝑎0id𝑉+𝑎1𝐴+⋯+𝑎𝑛𝐴𝑛.

Exercise 2.1.46.standard Let 𝑀∈L(𝐹[𝑥]) be multiplication by 𝑥 and 𝐷 the formal derivative (Example 2.1.9).

  1. (a)Show that 𝐷𝑀−𝑀𝐷=id𝐹[𝑥].
  2. (b)Show that 𝐷𝑀𝑘−𝑀𝑘𝐷=𝑘𝑀𝑘−1 for every 𝑘≥1, where 𝑘𝑀𝑘−1 means (𝑘⋅1)𝑀𝑘−1. What does this identity say when both sides are applied to a polynomial 𝑝?

Solution.

Uses. Example 2.1.9 (Maps of polynomials), Proposition 2.1.24 (Algebra of composition), Notation 2.1.18

Hint 1. (a) Apply both sides to 𝑝=∑𝑗𝑎𝑗𝑥𝑗 and compare coefficients.
Hint 2. (b) Induct on 𝑘. First check, using only Proposition 2.1.24, that 𝐷𝑀𝑘+1−𝑀𝑘+1𝐷=(𝐷𝑀𝑘−𝑀𝑘𝐷)𝑀+𝑀𝑘(𝐷𝑀−𝑀𝐷).
Sketch. (a) 𝐷𝑀(𝑝)=∑(𝑗+1)𝑎𝑗𝑥𝑗 and 𝑀𝐷(𝑝)=∑𝑗𝑎𝑗𝑥𝑗, so the difference is 𝑝. (b) By the identity in the hint, the induction hypothesis, and (a), 𝐷𝑀𝑘+1−𝑀𝑘+1𝐷=𝑘𝑀𝑘−1𝑀+𝑀𝑘=(𝑘+1)𝑀𝑘. Applied to 𝑝, (b) is the product rule 𝐷(𝑥𝑘𝑝)=𝑘𝑥𝑘−1𝑝+𝑥𝑘𝐷(𝑝).

(a) Let 𝑝=∑𝑗=0𝑛𝑎𝑗𝑥𝑗. Then 𝑀(𝑝)=∑𝑗=0𝑛𝑎𝑗𝑥𝑗+1, so (𝐷𝑀)(𝑝)=∑𝑗=0𝑛(𝑗+1)𝑎𝑗𝑥𝑗, while (𝑀𝐷)(𝑝)=𝑥∑𝑗=1𝑛𝑗𝑎𝑗𝑥𝑗−1=∑𝑗=0𝑛𝑗𝑎𝑗𝑥𝑗 (the term 𝑗=0 is 0). Since (𝑗+1)𝑎𝑗−𝑗𝑎𝑗=𝑎𝑗,

(𝐷𝑀−𝑀𝐷)(𝑝)=∑𝑗=0𝑛𝑎𝑗𝑥𝑗=𝑝.

(b) We induct on 𝑘. For 𝑘=1 this is (a), since 𝑀0=id. Suppose 𝐷𝑀𝑘−𝑀𝑘𝐷=𝑘𝑀𝑘−1 for some 𝑘≥1. By Proposition 2.1.24,

(𝐷𝑀𝑘−𝑀𝑘𝐷)𝑀+𝑀𝑘(𝐷𝑀−𝑀𝐷)=𝐷𝑀𝑘+1−𝑀𝑘𝐷𝑀+𝑀𝑘𝐷𝑀−𝑀𝑘+1𝐷=𝐷𝑀𝑘+1−𝑀𝑘+1𝐷.

By the induction hypothesis and (a), the left side is 𝑘𝑀𝑘−1𝑀+𝑀𝑘id=𝑘𝑀𝑘+𝑀𝑘=(𝑘+1)𝑀𝑘, as desired.

Applied to 𝑝, (b) says 𝐷(𝑥𝑘𝑝)−𝑥𝑘𝐷(𝑝)=𝑘𝑥𝑘−1𝑝, that is, 𝐷(𝑥𝑘𝑝)=𝑘𝑥𝑘−1𝑝+𝑥𝑘𝐷(𝑝): the product rule for the product of 𝑥𝑘 and 𝑝. Exercise 2.1.49 proves the product rule in general.

Exercise 2.1.47.standard Regard ℂ as a vector space over ℝ.

  1. (a)Show that for every ℝ-linear 𝑇:ℂ→ℂ there are unique 𝛼,𝛽∈ℂ with 𝑇(𝑧)=𝛼𝑧+𝛽𝑧 for all 𝑧∈ℂ.
  2. (b)Show that such a 𝑇 is ℂ-linear if and only if 𝛽=0, if and only if 𝑇(𝑖)=𝑖𝑇(1).

Solution.

Uses. Non-example 2.1.14 (Complex conjugation), Exercise 2.1.5, Proposition 2.1.17 (Compositions of linear maps are linear), Proposition 2.1.23 (L(𝑉,𝑊) is a vector space)

Techniques. Assemble linear maps from linear pieces (Technique 2.1.26)

Hint 1. An ℝ-linear map 𝑇:ℂ→ℂ satisfies 𝑇(𝑎+𝑏𝑖)=𝑎𝑇(1)+𝑏𝑇(𝑖) for 𝑎,𝑏∈ℝ. So it is determined by 𝑇(1) and 𝑇(𝑖).
Hint 2. The map 𝑧↦𝛼𝑧+𝛽𝑧 is ℝ-linear. Make its values at 1 and 𝑖 equal 𝑇(1) and 𝑇(𝑖): solve 𝛼+𝛽=𝑇(1) and (𝛼−𝛽)𝑖=𝑇(𝑖).
Sketch. Both 𝑇 and 𝑧↦𝛼𝑧+𝛽𝑧 are ℝ-linear, so they agree everywhere as soon as they agree at 1 and 𝑖, which means 𝛼+𝛽=𝑇(1) and 𝛼−𝛽=−𝑖𝑇(𝑖). This system has the unique solution 𝛼=(𝑇(1)−𝑖𝑇(𝑖))/2, 𝛽=(𝑇(1)+𝑖𝑇(𝑖))/2. Then 𝛽=0 if and only if 𝑇(𝑖)=𝑖𝑇(1), which holds when 𝑇 is ℂ-linear; and 𝛽=0 makes 𝑇(𝑧)=𝛼𝑧 ℂ-linear.

(a) For 𝑎,𝑏∈ℝ, ℝ-linearity gives 𝑇(𝑎+𝑏𝑖)=𝑎𝑇(1)+𝑏𝑇(𝑖), so an ℝ-linear map ℂ→ℂ is determined by its values at 1 and 𝑖. For 𝛼,𝛽∈ℂ, the map 𝑇𝛼,𝛽(𝑧)=𝛼𝑧+𝛽𝑧 is ℝ-linear. Indeed, multiplication by a complex number is ℂ-linear (Exercise 2.1.5), hence ℝ-linear, and conjugation is ℝ-linear (Non-example 2.1.14). So 𝑧↦𝛽𝑧, the composite of conjugation and multiplication by 𝛽, is ℝ-linear by Proposition 2.1.17, and the sum of two ℝ-linear maps is ℝ-linear by Proposition 2.1.23. (Here 𝛽 is not a scalar of the real vector space of ℝ-linear maps, so 𝑧↦𝛽𝑧 is a composite, not a scalar multiple.) Its values are 𝑇𝛼,𝛽(1)=𝛼+𝛽 and 𝑇𝛼,𝛽(𝑖)=(𝛼−𝛽)𝑖.

So 𝑇=𝑇𝛼,𝛽 if and only if 𝛼+𝛽=𝑇(1) and (𝛼−𝛽)𝑖=𝑇(𝑖), that is, 𝛼−𝛽=−𝑖𝑇(𝑖). Adding and subtracting these two equations shows that they hold if and only if

𝛼=𝑇(1)−𝑖𝑇(𝑖)2,𝛽=𝑇(1)+𝑖𝑇(𝑖)2.

So 𝛼 and 𝛽 exist and are unique.

(b) From the formula, 𝛽=0 if and only if 𝑇(1)+𝑖𝑇(𝑖)=0; multiplying by −𝑖, this says 𝑇(𝑖)=𝑖𝑇(1). If 𝑇 is ℂ-linear, then 𝑇(𝑖)=𝑇(𝑖⋅1)=𝑖𝑇(1). Conversely, if 𝛽=0, then 𝑇(𝑧)=𝛼𝑧, which is ℂ-linear by Exercise 2.1.5.

Exercise 2.1.48.hard Let 𝑇∈L(𝑉) satisfy 𝑇(𝐯)∈span(𝐯) for every 𝐯∈𝑉. Show that there is a 𝜆∈𝐹 with 𝑇=𝜆id𝑉.

Solution.

Uses. Proposition 1.2.35 (Zero products), Theorem 1.5.5 (Independence is decided at zero), Definition 2.1.1 (Linear map)

Hint 1. For each nonzero 𝐯 there is a scalar 𝜆𝐯 with 𝑇(𝐯)=𝜆𝐯𝐯, and it is unique. The task is to show that 𝜆𝐯 does not depend on 𝐯.
Hint 2. Take nonzero 𝐮,𝐯. If the list 𝐮,𝐯 is linearly independent, expand 𝑇(𝐮+𝐯) in two ways and compare coefficients.
Hint 3. If 𝐮,𝐯 is dependent, then 𝐯=𝑐𝐮 for some 𝑐; compute 𝑇(𝐯) directly.
Sketch. Write 𝑇(𝐯)=𝜆𝐯𝐯 for 𝐯≠𝟎. If 𝐮,𝐯 is independent, then 𝜆𝐮+𝐯(𝐮+𝐯)=𝜆𝐮𝐮+𝜆𝐯𝐯, and comparing coefficients gives 𝜆𝐮=𝜆𝐮+𝐯=𝜆𝐯. If 𝐯=𝑐𝐮, then 𝑇(𝐯)=𝑐𝜆𝐮𝐮=𝜆𝐮𝐯. So all 𝜆𝐯 are equal.

If 𝑉={𝟎}, any 𝜆 works. Otherwise, for each 𝐯≠𝟎 choose 𝜆𝐯∈𝐹 with 𝑇(𝐯)=𝜆𝐯𝐯. It is unique: if 𝜆𝐯=𝜇𝐯, then (𝜆−𝜇)𝐯=𝟎, so 𝜆=𝜇 by Proposition 1.2.35. We show 𝜆𝐮=𝜆𝐯 for all nonzero 𝐮,𝐯∈𝑉.

Case 1: the list 𝐮,𝐯 is linearly independent. Then 𝐮+𝐯≠𝟎 (otherwise 1𝐮+1𝐯=𝟎 would be a nontrivial relation), and

𝜆𝐮+𝐯𝐮+𝜆𝐮+𝐯𝐯=𝑇(𝐮+𝐯)=𝑇(𝐮)+𝑇(𝐯)=𝜆𝐮𝐮+𝜆𝐯𝐯.

So (𝜆𝐮+𝐯−𝜆𝐮)𝐮+(𝜆𝐮+𝐯−𝜆𝐯)𝐯=𝟎, and by Theorem 1.5.5 both coefficients are 0. Hence 𝜆𝐮=𝜆𝐮+𝐯=𝜆𝐯.

Case 2: the list 𝐮,𝐯 is linearly dependent. By Theorem 1.5.5 there are 𝑎,𝑏∈𝐹, not both 0, with 𝑎𝐮+𝑏𝐯=𝟎. If 𝑏=0, then 𝑎≠0 and 𝑎𝐮=𝟎 would force 𝐮=𝟎 by Proposition 1.2.35; so 𝑏≠0, and 𝐯=𝑐𝐮 with 𝑐=−𝑎/𝑏. Then

𝑇(𝐯)=𝑐𝑇(𝐮)=𝑐𝜆𝐮𝐮=𝜆𝐮(𝑐𝐮)=𝜆𝐮𝐯,

so 𝜆𝐯=𝜆𝐮 by uniqueness.

So all the 𝜆𝐯 equal a common value 𝜆, and 𝑇(𝐯)=𝜆𝐯 for every 𝐯≠𝟎. Since also 𝑇(𝟎)=𝟎=𝜆𝟎, we get 𝑇=𝜆id𝑉.

Exercise 2.1.49.hard A linear map 𝑇:𝐹[𝑥]→𝐹[𝑥] is a derivation if 𝑇(𝑝𝑞)=𝑇(𝑝)𝑞+𝑝𝑇(𝑞) for all 𝑝,𝑞∈𝐹[𝑥].

  1. (a)Show that the formal derivative 𝐷 is a derivation (the product rule).
  2. (b)Show that the derivations are exactly the maps 𝑝↦𝑟𝐷(𝑝) for 𝑟∈𝐹[𝑥], and that 𝑟=𝑇(𝑥).

Solution.

Uses. Example 2.1.9 (Maps of polynomials), Proposition 2.1.17 (Compositions of linear maps are linear), Proposition 2.1.23 (L(𝑉,𝑊) is a vector space)

Techniques. Check it on a basis (Technique 2.2.7)

Hint 1. For (a), fix 𝑞. Both sides of 𝐷(𝑝𝑞)=𝐷(𝑝)𝑞+𝑝𝐷(𝑞) are linear in 𝑝, so it is enough to check them for 𝑝=𝑥𝑗. Then fix 𝑝=𝑥𝑗 and argue the same way in 𝑞.
Hint 2. For (b), first find 𝑇(1) by applying the rule to 1=1⋅1. Then compute 𝑇(𝑥𝑛) by induction, writing 𝑥𝑛+1=𝑥𝑛⋅𝑥.
Hint 3. You should get 𝑇(𝑥𝑛)=𝑛𝑥𝑛−1𝑇(𝑥). Two linear maps that agree on every 𝑥𝑛 agree on every polynomial.
Sketch. (a) For a fixed 𝑞, 𝑝↦𝐷(𝑝𝑞), 𝑝↦𝐷(𝑝)𝑞, and 𝑝↦𝑝𝐷(𝑞) are linear (composites of 𝐷 and multiplication maps), so it suffices to take 𝑝=𝑥𝑗, and likewise 𝑞=𝑥𝑘; there (𝑗+𝑘)𝑥𝑗+𝑘−1=𝑗𝑥𝑗−1𝑥𝑘+𝑥𝑗𝑘𝑥𝑘−1. (b) 𝑇(1)=𝑇(1)+𝑇(1) gives 𝑇(1)=0, and induction gives 𝑇(𝑥𝑛)=𝑛𝑥𝑛−1𝑟 with 𝑟=𝑇(𝑥). So 𝑇 and 𝑝↦𝑟𝐷(𝑝) agree on monomials, hence everywhere. Conversely 𝑟𝐷 is a derivation by (a).

For 𝑠∈𝐹[𝑥] let 𝑀𝑠:𝐹[𝑥]→𝐹[𝑥] be multiplication by 𝑠, 𝑀𝑠(𝑝)=𝑠𝑝. It is linear, since 𝑠(𝑐𝑝+𝑞)=𝑐(𝑠𝑝)+𝑠𝑞 in 𝐹[𝑥]. We use one observation twice: if two linear maps 𝐹[𝑥]→𝐹[𝑥] agree on every monomial 𝑥𝑗, they agree on every 𝑝=∑𝑗𝑎𝑗𝑥𝑗, since by linearity both send 𝑝 to ∑𝑗𝑎𝑗 times the common value at 𝑥𝑗. (This is the idea of Technique 2.2.7.)

(a) Fix 𝑞. The maps 𝑝↦𝐷(𝑝𝑞)=(𝐷𝑀𝑞)(𝑝), 𝑝↦𝐷(𝑝)𝑞=(𝑀𝑞𝐷)(𝑝), and 𝑝↦𝑝𝐷(𝑞)=𝑀𝐷(𝑞)(𝑝) are linear, so 𝑝↦𝐷(𝑝)𝑞+𝑝𝐷(𝑞) is linear too. Hence it suffices to prove 𝐷(𝑥𝑗𝑞)=𝐷(𝑥𝑗)𝑞+𝑥𝑗𝐷(𝑞) for every 𝑗≥0. Now fix 𝑗; by the same argument with the roles of 𝑝 and 𝑞 exchanged, it suffices to take 𝑞=𝑥𝑘. For 𝑗,𝑘≥0,

𝐷(𝑥𝑗𝑥𝑘)=(𝑗+𝑘)𝑥𝑗+𝑘−1=𝑗𝑥𝑗−1𝑥𝑘+𝑥𝑗⋅𝑘𝑥𝑘−1=𝐷(𝑥𝑗)𝑥𝑘+𝑥𝑗𝐷(𝑥𝑘),

where a term with coefficient 0 is read as 0 (so that 𝑗𝑥𝑗−1=0 when 𝑗=0, matching 𝐷(1)=0).

(b) Let 𝑇 be a derivation and 𝑟=𝑇(𝑥). From 1=1⋅1, 𝑇(1)=𝑇(1)⋅1+1⋅𝑇(1)=𝑇(1)+𝑇(1), so 𝑇(1)=0. We claim 𝑇(𝑥𝑛)=𝑛𝑥𝑛−1𝑟 for all 𝑛≥1. For 𝑛=1 this is the definition of 𝑟. If it holds for 𝑛, then

𝑇(𝑥𝑛+1)=𝑇(𝑥𝑛⋅𝑥)=𝑇(𝑥𝑛)𝑥+𝑥𝑛𝑇(𝑥)=𝑛𝑥𝑛𝑟+𝑥𝑛𝑟=(𝑛+1)𝑥𝑛𝑟.

So 𝑇(𝑥𝑛)=𝑟𝐷(𝑥𝑛) for all 𝑛≥0 (for 𝑛=0 both sides are 0). The maps 𝑇 and 𝑀𝑟𝐷 are linear and agree on every monomial, so 𝑇(𝑝)=𝑟𝐷(𝑝) for all 𝑝.

Conversely, 𝑝↦𝑟𝐷(𝑝) is linear, being 𝑀𝑟𝐷, and by (a) and commutativity of multiplication in 𝐹[𝑥],

𝑟𝐷(𝑝𝑞)=𝑟(𝐷(𝑝)𝑞+𝑝𝐷(𝑞))=(𝑟𝐷(𝑝))𝑞+𝑝(𝑟𝐷(𝑞)).

So it is a derivation, with value 𝑟𝐷(𝑥)=𝑟 at 𝑥.

Exercise 2.1.50.challenge Let 𝔽 be ℝ or ℂ, and let 𝑇∈L(𝔽[𝑥]) commute with 𝐷, that is, 𝑇𝐷=𝐷𝑇. Show that there are scalars 𝑐0,𝑐1,𝑐2,…∈𝔽 such that

𝑇(𝑝)=𝑐0𝑝+𝑐1𝐷(𝑝)+𝑐2𝐷2(𝑝)+⋯+𝑐𝑛𝐷𝑛(𝑝)for every𝑝withdeg𝑝≤𝑛.

(The terms 𝑐𝑘𝐷𝑘(𝑝) with 𝑘>deg𝑝 are 0, so the right side does not depend on the choice of 𝑛≥deg𝑝.) Conversely, show that every map of this form is linear and commutes with 𝐷.

Solution.

Uses. Example 2.1.9 (Maps of polynomials), Proposition 2.1.24 (Algebra of composition), Exercise 2.1.45

Hint 1. Work with 𝑒𝑛=𝑥𝑛/𝑛! for 𝑛≥0. Then 𝐷(𝑒𝑛)=𝑒𝑛−1 for 𝑛≥1 and 𝐷(𝑒0)=0, and every polynomial is a combination of the 𝑒𝑛 in exactly one way.
Hint 2. Write 𝑇(𝑒𝑛)=∑𝑗𝑏𝑛,𝑗𝑒𝑗. Apply 𝐷𝑇=𝑇𝐷 to 𝑒0 to see that 𝑇(𝑒0) is constant, and to 𝑒𝑛 to get 𝑏𝑛,𝑗+1=𝑏𝑛−1,𝑗.
Hint 3. Let 𝑐𝑘=𝑏𝑘,0, the constant term of 𝑇(𝑒𝑘). Show by induction on 𝑛 that 𝑇(𝑒𝑛)=𝑐0𝑒𝑛+𝑐1𝑒𝑛−1+⋯+𝑐𝑛𝑒0, and note that 𝑒𝑛−𝑘=𝐷𝑘(𝑒𝑛).
Sketch. With 𝑒𝑛=𝑥𝑛/𝑛!, 𝐷 shifts 𝑒𝑛 to 𝑒𝑛−1. Writing 𝑇(𝑒𝑛)=∑𝑗𝑏𝑛,𝑗𝑒𝑗, the relation 𝐷𝑇(𝑒𝑛)=𝑇(𝑒𝑛−1) gives 𝑏𝑛,𝑗+1=𝑏𝑛−1,𝑗, and 𝐷𝑇(𝑒0)=0 gives 𝑏0,𝑗=0 for 𝑗≥1. By induction, 𝑏𝑛,𝑗=𝑐𝑛−𝑗 for 𝑗≤𝑛 and 0 for 𝑗>𝑛, where 𝑐𝑘=𝑏𝑘,0. So 𝑇(𝑒𝑛)=∑𝑘≤𝑛𝑐𝑘𝑒𝑛−𝑘=∑𝑘≤𝑛𝑐𝑘𝐷𝑘(𝑒𝑛), and linearity extends this to all 𝑝.

Setup. For 𝑛≥0 let 𝑒𝑛=𝑥𝑛/𝑛!∈𝔽[𝑥]; dividing by 𝑛! is allowed since 𝑛!≠0 in ℝ and ℂ. Then 𝐷(𝑒0)=0 and 𝐷(𝑒𝑛)=𝑛𝑥𝑛−1/𝑛!=𝑒𝑛−1 for 𝑛≥1, so 𝐷𝑘(𝑒𝑛)=𝑒𝑛−𝑘 for 𝑘≤𝑛 and 𝐷𝑘(𝑒𝑛)=0 for 𝑘>𝑛. A polynomial ∑𝑗𝑎𝑗𝑥𝑗 equals ∑𝑗(𝑗!𝑎𝑗)𝑒𝑗, and comparing coefficients of 𝑥𝑗 shows that this is the only way to write it as a combination of the 𝑒𝑗.

For each 𝑛 write 𝑇(𝑒𝑛)=∑𝑗≥0𝑏𝑛,𝑗𝑒𝑗, with only finitely many 𝑏𝑛,𝑗 nonzero, and let 𝑐𝑘=𝑏𝑘,0. We claim that for every 𝑛≥0,

𝑏𝑛,𝑗=𝑐𝑛−𝑗for0≤𝑗≤𝑛,and𝑏𝑛,𝑗=0for𝑗>𝑛.
(2.1.1)

The case 𝑛=0. Since 𝐷𝑇=𝑇𝐷, 𝐷(𝑇(𝑒0))=𝑇(𝐷(𝑒0))=𝑇(0)=0. But 𝐷(𝑇(𝑒0))=∑𝑗≥1𝑏0,𝑗𝑒𝑗−1, and by uniqueness of coefficients 𝑏0,𝑗=0 for all 𝑗≥1. Also 𝑏0,0=𝑐0 by definition.

The induction step. Let 𝑛≥1 and suppose the claim holds for 𝑛−1. Then

∑𝑗≥0𝑏𝑛,𝑗+1𝑒𝑗=𝐷(𝑇(𝑒𝑛))=𝑇(𝐷(𝑒𝑛))=𝑇(𝑒𝑛−1)=∑𝑗≥0𝑏𝑛−1,𝑗𝑒𝑗,

so 𝑏𝑛,𝑗+1=𝑏𝑛−1,𝑗 for all 𝑗≥0. For 0≤𝑗≤𝑛−1 this gives 𝑏𝑛,𝑗+1=𝑐𝑛−1−𝑗=𝑐𝑛−(𝑗+1), and for 𝑗≥𝑛 it gives 𝑏𝑛,𝑗+1=0. Together with 𝑏𝑛,0=𝑐𝑛, this is (2.1.1) for 𝑛.

Conclusion. By (2.1.1),

𝑇(𝑒𝑚)=∑𝑗=0𝑚𝑐𝑚−𝑗𝑒𝑗=∑𝑘=0𝑚𝑐𝑘𝑒𝑚−𝑘=∑𝑘=0𝑛𝑐𝑘𝐷𝑘(𝑒𝑚)for every𝑛≥𝑚,

since 𝑒𝑚−𝑘=𝐷𝑘(𝑒𝑚) for 𝑘≤𝑚 and 𝐷𝑘(𝑒𝑚)=0 for 𝑘>𝑚. Now let deg𝑝≤𝑛, and write 𝑝=∑𝑚=0𝑛𝑎𝑚𝑒𝑚. By linearity of 𝑇 and of each 𝐷𝑘,

𝑇(𝑝)=∑𝑚=0𝑛𝑎𝑚∑𝑘=0𝑛𝑐𝑘𝐷𝑘(𝑒𝑚)=∑𝑘=0𝑛𝑐𝑘𝐷𝑘(∑𝑚=0𝑛𝑎𝑚𝑒𝑚)=∑𝑘=0𝑛𝑐𝑘𝐷𝑘(𝑝).

Converse. Given scalars 𝑐0,𝑐1,…, define 𝑇(𝑝)=∑𝑘=0𝑛𝑐𝑘𝐷𝑘(𝑝) for any 𝑛≥deg𝑝. For 𝑝,𝑞∈𝔽[𝑥] and 𝑎∈𝔽, choose one 𝑛 at least deg𝑝 and deg𝑞; then 𝑇(𝑎𝑝+𝑞)=∑𝑘≤𝑛𝑐𝑘𝐷𝑘(𝑎𝑝+𝑞)=𝑎𝑇(𝑝)+𝑇(𝑞), because each 𝐷𝑘 is linear. Since deg𝐷(𝑝)≤deg𝑝,

𝑇(𝐷(𝑝))=∑𝑘=0𝑛𝑐𝑘𝐷𝑘+1(𝑝)=𝐷(∑𝑘=0𝑛𝑐𝑘𝐷𝑘(𝑝))=𝐷(𝑇(𝑝)).

So 𝑇 is linear and commutes with 𝐷. (Compare Exercise 2.1.45: when 𝑐𝑘=0 for large 𝑘, 𝑇 is a polynomial in 𝐷.)

Exercise 2.1.51.hardBeyond 21-242 Let 𝑇:ℝ→ℝ be additive and continuous. Show that 𝑇(𝑥)=𝑥𝑇(1) for every 𝑥∈ℝ, so that 𝑇 is linear.

Solution.

Uses. Exercise 2.1.37, every real number is a limit of a sequence of rational numbers

Hint 1. Regard ℝ as a vector space over ℚ. By Exercise 2.1.37, 𝑇 is ℚ-linear. What is 𝑇(𝑞) for rational 𝑞?
Hint 2. Approximate a real 𝑥 by rationals and use continuity.
Sketch. 𝑇 is ℚ-linear, so 𝑇(𝑞)=𝑇(𝑞⋅1)=𝑞𝑇(1) for 𝑞∈ℚ. If 𝑞𝑛→𝑥 with 𝑞𝑛∈ℚ, continuity gives 𝑇(𝑥)=lim𝑇(𝑞𝑛)=lim𝑞𝑛𝑇(1)=𝑥𝑇(1).

Regard ℝ as a vector space over ℚ. Since 𝑇 is additive, Exercise 2.1.37 shows that 𝑇 is ℚ-linear, so 𝑇(𝑞)=𝑇(𝑞⋅1)=𝑞𝑇(1) for every 𝑞∈ℚ. Let 𝑥∈ℝ, and choose rationals 𝑞𝑛 with 𝑞𝑛→𝑥. Since 𝑇 is continuous,

𝑇(𝑥)=lim𝑛→∞𝑇(𝑞𝑛)=lim𝑛→∞𝑞𝑛𝑇(1)=𝑥𝑇(1).

So 𝑇 is the map 𝑥↦𝑎𝑥 with 𝑎=𝑇(1), which is ℝ-linear by Exercise 2.1.5.

More practice

The practice bank has 52 exercises on this section’s topics.