Books
Theme
Text size
Width

[ and ] go to the previous and next page.

In ℝ2 the dot product 𝐯⋅𝐰=𝑣1𝑤1+𝑣2𝑤2 knows the length of every vector and the angle between any two. This section takes the algebraic properties of the dot product that are responsible for this and makes them axioms. A vector space over ℝ or ℂ equipped with a product satisfying them, an inner product, acquires lengths and angles, even when its vectors are functions or matrices and there is no picture to look at.

6.1.1Length and angle in ℝ2

For 𝐯=(𝑣1,𝑣2) and 𝐰=(𝑤1,𝑤2) in ℝ2, the dot product is

𝐯⋅𝐰=𝑣1𝑤1+𝑣2𝑤2∈ℝ.

Draw 𝐯 as an arrow from the origin. Its length ‖𝐯‖ is the hypotenuse of a right triangle with legs |𝑣1| and |𝑣2|, so by Pythagoras

‖𝐯‖2=𝑣12+𝑣22=𝐯⋅𝐯.

Now let 𝐯 and 𝐰 be nonzero, and let 𝜃∈[0,𝜋] be the angle between them. The arrows 𝐯 and 𝐰, together with the arrow 𝐯−𝐰 from the tip of 𝐰 to the tip of 𝐯, form a triangle (Figure 6.1.1), and the law of cosines says

‖𝐯−𝐰‖2=‖𝐯‖2+‖𝐰‖2−2‖𝐯‖‖𝐰‖cos𝜃.

We can also expand the left side algebraically. The dot product is symmetric, 𝐯⋅𝐰=𝐰⋅𝐯, and it is linear in each slot, so

‖𝐯−𝐰‖2=(𝐯−𝐰)⋅(𝐯−𝐰)=𝐯⋅𝐯−2𝐯⋅𝐰+𝐰⋅𝐰.

Comparing the two expressions, and using ‖𝐯‖2=𝐯⋅𝐯 and ‖𝐰‖2=𝐰⋅𝐰, we get

𝐯⋅𝐰=‖𝐯‖‖𝐰‖cos𝜃.
(6.1.1)

So lengths and angles can both be read off from the dot product. In particular, 𝐯 and 𝐰 are perpendicular exactly when 𝐯⋅𝐰=0, which is where Section 6.3 starts.

Figure 6.1.1. The triangle behind (6.1.1). Its sides have lengths ‖𝐯‖, ‖𝐰‖, and ‖𝐯−𝐰‖, and the angle between the first two is 𝜃.

Look at what the computation used: symmetry, linearity in each slot, and the fact that 𝐯⋅𝐯 is a nonnegative real number that vanishes only for 𝐯=𝟎, so that ‖𝐯‖=𝐯⋅𝐯 makes sense and is positive when 𝐯≠𝟎. Turned around, any product with these properties, on any vector space, lets us define the length of a vector as 𝐯⋅𝐯, and (6.1.1) suggests a definition of the angle between two vectors. (Section 6.2 shows that the resulting value of cos𝜃 lies in [−1,1].)

Which scalars?

The axioms will compare 𝐯⋅𝐯 with 0, and lengths are square roots. So the scalars need an order and square roots of their nonnegative elements. ℝ has both, and the lack of either causes real trouble.

  • In ℚ2, the vector (1,1) would have length 2∉ℚ.
  • In 𝔽22, the same formula gives (1,1)⋅(1,1)=1+1=0, so a nonzero vector would have length 0. Ordering 𝔽𝑝 cannot help: an order compatible with the field operations would force 0<1<1+1<⋯<𝑝⋅1=0.
  • In ℂ2, (1,𝑖)⋅(1,𝑖)=1+𝑖2=0, and (1,1+𝑖)⋅(1,1+𝑖)=1+2𝑖 is not even real.

ℂ has no useful order either, but it contains ℝ, and the case 𝑛=1 shows how to land in ℝ. Viewing 𝑧=𝑎+𝑏𝑖 as the point (𝑎,𝑏) of the plane, its length is 𝑎2+𝑏2, and 𝑎2+𝑏2=𝑧𝑧, not 𝑧2. So on ℂ𝑛 we conjugate the second factor and use ∑𝑘𝑣𝑘𝑤𝑘. Then 𝐯⋅𝐯=∑𝑘|𝑣𝑘|2 is real and nonnegative, and the price is that symmetry becomes “conjugate symmetry”. In this chapter the scalars are always real or complex.

Notation 6.1.1 (Real and complex scalars). Throughout Chapter 6, 𝔽 denotes ℝ or ℂ. For 𝑧=𝑎+𝑏𝑖∈ℂ with 𝑎,𝑏∈ℝ, the conjugate of 𝑧 is 𝑧=𝑎−𝑏𝑖, its modulus is |𝑧|=𝑎2+𝑏2, and its real and imaginary parts are Re𝑧=𝑎 and Im𝑧=𝑏. For all 𝑧,𝑤∈ℂ,

𝑧+𝑤=𝑧+𝑤,𝑧𝑤=𝑧𝑤,𝑧=𝑧,𝑧𝑧=|𝑧|2,𝑧+𝑧=2Re𝑧,Re(−𝑖𝑧)=Im𝑧,

|Re𝑧|≤|𝑧|, and 𝑧=𝑧 if and only if 𝑧∈ℝ. Each of these is checked by writing 𝑧 and 𝑤 in coordinates; Section B.1 develops conjugation and the modulus further. For real 𝑧, 𝑧=𝑧 and |𝑧| is the absolute value, so every formula in this chapter specializes to ℝ by erasing the bars.

6.1.2Inner products

Definition 6.1.2 (Inner product). Let 𝑉 be a vector space over 𝔽. An inner product on 𝑉 is a function 𝑉×𝑉→𝔽, written (𝐯,𝐰)↦⟨𝐯,𝐰⟩, such that for all 𝐯,𝐰,𝐱∈𝑉 and all 𝑎,𝑏∈𝔽:

  • Conjugate symmetry. ⟨𝐯,𝐰⟩=⟨𝐰,𝐯⟩.
  • Linearity in the first slot. ⟨𝑎𝐯+𝑏𝐰,𝐱⟩=𝑎⟨𝐯,𝐱⟩+𝑏⟨𝐰,𝐱⟩.
  • Positivity. ⟨𝐯,𝐯⟩≥0.
  • Definiteness (or non-degeneracy). ⟨𝐯,𝐯⟩=0 if and only if 𝐯=𝟎.

An inner product space is a vector space over 𝔽 together with a specified inner product on it.

Remark 6.1.3. Taking 𝐰=𝐯 in conjugate symmetry gives ⟨𝐯,𝐯⟩=⟨𝐯,𝐯⟩, so ⟨𝐯,𝐯⟩ is real for every 𝐯, and positivity makes sense even when 𝔽=ℂ. Over ℝ conjugation does nothing, and conjugate symmetry is plain symmetry.

Half of definiteness is automatic: linearity gives ⟨𝟎,𝟎⟩=⟨0𝟎,𝟎⟩=0⟨𝟎,𝟎⟩=0. So to verify definiteness one only has to show that ⟨𝐯,𝐯⟩=0 forces 𝐯=𝟎.

A vector space usually carries many inner products, and lengths and angles depend on the choice (Example 6.1.21). So we always say which inner product we use.

Linearity is required only in the first slot. The second slot inherits a twisted version of it from conjugate symmetry.

Proposition 6.1.4 (Sesquilinearity). Let 𝑉 be an inner product space. For all 𝐯,𝐰,𝐱∈𝑉 and 𝑎,𝑏∈𝔽:

  1. (a)⟨𝐯,𝑎𝐰+𝑏𝐱⟩=𝑎⟨𝐯,𝐰⟩+𝑏⟨𝐯,𝐱⟩;
  2. (b)⟨𝟎,𝐯⟩=⟨𝐯,𝟎⟩=0.

Proof.routine

Uses. Definition 6.1.2 (Inner product), Notation 6.1.1 (Real and complex scalars)

Techniques. Proving from axioms (Technique 1.1.7)

Hint 1. The only axiom that says anything about the second slot is conjugate symmetry. Use it to move the second slot into the first.
Hint 2. Flip with conjugate symmetry, expand with linearity in the first slot, and flip back. Conjugation turns a sum into a sum and a product into a product.
Hint 3. For (b), write 𝟎=𝟎+𝟎 in the first slot.
Sketch. Conjugate symmetry turns ⟨𝐯,𝑎𝐰+𝑏𝐱⟩ into the conjugate of 𝑎⟨𝐰,𝐯⟩+𝑏⟨𝐱,𝐯⟩, which is 𝑎⟨𝐯,𝐰⟩+𝑏⟨𝐯,𝐱⟩. For (b), ⟨𝟎,𝐯⟩=⟨𝟎+𝟎,𝐯⟩=2⟨𝟎,𝐯⟩, and conjugate symmetry handles ⟨𝐯,𝟎⟩.

(a) We compute

⟨𝐯,𝑎𝐰+𝑏𝐱⟩=⟨𝑎𝐰+𝑏𝐱,𝐯⟩(conjugate symmetry)=𝑎⟨𝐰,𝐯⟩+𝑏⟨𝐱,𝐯⟩(linearity in the first slot)=𝑎⟨𝐰,𝐯⟩+𝑏⟨𝐱,𝐯⟩(conjugation respects+and⋅)=𝑎⟨𝐯,𝐰⟩+𝑏⟨𝐯,𝐱⟩(conjugate symmetry),

as desired.

(b) By linearity in the first slot, ⟨𝟎,𝐯⟩=⟨𝟎+𝟎,𝐯⟩=⟨𝟎,𝐯⟩+⟨𝟎,𝐯⟩. Subtracting ⟨𝟎,𝐯⟩ from both sides gives ⟨𝟎,𝐯⟩=0. Then ⟨𝐯,𝟎⟩=⟨𝟎,𝐯⟩=0=0. □

A function of two vectors that is linear in the first slot and satisfies (a) in the second is called sesquilinear (“one and a half times linear”). Over ℝ the bars disappear: a real inner product is linear in each slot, that is, bilinear, and symmetric. Over ℂ, scalars leave the second slot conjugated, as in ⟨𝐯,𝑖𝐰⟩=−𝑖⟨𝐯,𝐰⟩. Forgetting the bar is the most common error in computations with complex inner products.

Example 6.1.5 (Expanding an inner product). Let 𝐱,𝐲 be vectors in a complex inner product space with ⟨𝐱,𝐱⟩=1, ⟨𝐲,𝐲⟩=2, and ⟨𝐱,𝐲⟩=𝑖, so that ⟨𝐲,𝐱⟩=𝑖=−𝑖. To compute the inner product below, expand each slot, pulling scalars out of the first slot as they are and out of the second slot conjugated:

⟨(1+𝑖)𝐱+𝐲,2𝐱−𝑖𝐲⟩=(1+𝑖)⋅2⟨𝐱,𝐱⟩+(1+𝑖)−𝑖⟨𝐱,𝐲⟩+2⟨𝐲,𝐱⟩+−𝑖⟨𝐲,𝐲⟩=2(1+𝑖)+(1+𝑖)𝑖⋅𝑖+2(−𝑖)+𝑖⋅2=(2+2𝑖)+(−1−𝑖)−2𝑖+2𝑖=1+𝑖.

Here (1+𝑖)𝑖⋅𝑖=(1+𝑖)(−1). This is Technique 5.1.7 for a sesquilinear function: each slot is split into its terms, and the four resulting values are known.

Over ℂ the conjugation is forced on us, because positivity and definiteness together are incompatible with linearity in both slots.

Proposition 6.1.6 (Bilinear forms over ℂ are not positive definite). Let 𝑉≠{𝟎} be a complex vector space, and let 𝐵:𝑉×𝑉→ℂ be linear in each slot when the other is fixed. If 𝐵(𝐯,𝐯) is real and nonnegative for every 𝐯∈𝑉, then 𝐵(𝐯,𝐯)=0 for every 𝐯∈𝑉. In particular, 𝐵 cannot satisfy both positivity and definiteness.

Proof.routine

Uses. Definition 6.1.2 (Inner product)

Hint 1. Compare 𝐵(𝐯,𝐯) with 𝐵(𝑐𝐯,𝑐𝐯) for a scalar 𝑐.
Hint 2. Take 𝑐=𝑖. What is 𝑖⋅𝑖?
Sketch. 𝐵(𝑖𝐯,𝑖𝐯)=𝑖2𝐵(𝐯,𝐯)=−𝐵(𝐯,𝐯), and a real number whose negative is also nonnegative is 0. A nonzero 𝐯 then violates definiteness.
Let 𝐯∈𝑉. Linearity in each slot gives 𝐵(𝑖𝐯,𝑖𝐯)=𝑖⋅𝑖𝐵(𝐯,𝐯)=−𝐵(𝐯,𝐯). Both 𝐵(𝐯,𝐯) and 𝐵(𝑖𝐯,𝑖𝐯)=−𝐵(𝐯,𝐯) are nonnegative real numbers, so 𝐵(𝐯,𝐯)=0. Since 𝑉≠{𝟎}, there is some 𝐯≠𝟎, and 𝐵(𝐯,𝐯)=0 violates definiteness. □

With the conjugate in the second slot the problem disappears: ⟨𝑖𝐯,𝑖𝐯⟩=𝑖𝑖⟨𝐯,𝐯⟩=⟨𝐯,𝐯⟩. This is what it should be, since multiplying by 𝑖 rotates each coordinate of 𝐯∈ℂ𝑛 without changing its modulus, so it should not change the length of 𝐯.

6.1.3Examples and non-examples

The dot product

The dot product on ℂ𝑛 is most compactly written with the conjugate transpose, which Section 6.3 studies in detail.

Notation 6.1.7 (Conjugate transpose). For 𝐴=(𝑎𝑖𝑗)∈ℂ𝑚×𝑛, the conjugate transpose of 𝐴 is the matrix 𝐴∗∈ℂ𝑛×𝑚 whose (𝑖,𝑗) entry is 𝑎𝑗𝑖. That is, 𝐴∗=𝐴𝖳, where 𝐴=(𝑎𝑖𝑗) conjugates every entry (Definition 2.4.21). For a real matrix, 𝐴∗=𝐴𝖳. For 𝐰∈𝔽𝑛, 𝐰∗ is the row (𝑤1,…,𝑤𝑛), and for 𝐯∈𝔽𝑛 the product 𝐰∗𝐯 is a 1×1 matrix, which we identify with its entry ∑𝑘𝑤𝑘𝑣𝑘.

Definition 6.1.8 (Dot product). The dot product on 𝔽𝑛 is

𝐯⋅𝐰=∑𝑘=1𝑛𝑣𝑘𝑤𝑘=𝐰∗𝐯

for 𝐯=(𝑣1,…,𝑣𝑛) and 𝐰=(𝑤1,…,𝑤𝑛) in 𝔽𝑛. Over ℝ it is ∑𝑘𝑣𝑘𝑤𝑘=𝐰𝖳𝐯.

Checking the axioms for the dot product comes down to one elementary fact about real numbers, which we name because it is used constantly in this chapter.

Technique 6.1.9 (A sum of nonnegative terms). A sum of nonnegative real numbers is 0 only if every term is 0: if 𝑡1,…,𝑡𝑛≥0 and some 𝑡𝑗>0, then 𝑡1+⋯+𝑡𝑛≥𝑡𝑗>0. So to show that many quantities vanish, it suffices to exhibit them as squares, or squared moduli |𝑧𝑘|2, in a single sum, and to show that the sum is 0.

Reach for it when a positivity or definiteness axiom must be verified for a concrete formula, and whenever one equation should force many. The canonical example is definiteness of the dot product (Proposition 6.1.10), where ∑𝑘|𝑣𝑘|2=0 forces every 𝑣𝑘=0. Integrals of nonnegative continuous functions behave the same way (Lemma 6.1.14), and Technique 6.1.18 applies the idea to the entries of a matrix.

Proposition 6.1.10 (The dot product is an inner product). The dot product is an inner product on 𝔽𝑛, and 𝐯⋅𝐯=∑𝑘=1𝑛|𝑣𝑘|2 for all 𝐯∈𝔽𝑛.

Proof.routine

Uses. Definition 6.1.2 (Inner product), Definition 6.1.8 (Dot product), Notation 6.1.1 (Real and complex scalars)

Techniques. A sum of nonnegative terms (Technique 6.1.9)

Hint 1. Check the axioms one at a time with the coordinate formula ∑𝑘𝑣𝑘𝑤𝑘.
Hint 2. Conjugate symmetry is 𝑤𝑘𝑣𝑘=𝑤𝑘𝑣𝑘 for each term. For positivity, 𝑣𝑘𝑣𝑘=|𝑣𝑘|2.
Hint 3. For definiteness, a sum of nonnegative real numbers is 0 only if each term is.
Sketch. Conjugating 𝐰⋅𝐯 term by term gives 𝐯⋅𝐰, and linearity in 𝐯 is visible from the formula. Then 𝐯⋅𝐯=∑𝑘|𝑣𝑘|2≥0, and it vanishes only if every |𝑣𝑘|=0, that is, 𝐯=𝟎.

Let 𝐯,𝐰,𝐱∈𝔽𝑛 and 𝑎,𝑏∈𝔽.

Conjugate symmetry. 𝐰⋅𝐯=∑𝑘𝑤𝑘𝑣𝑘=∑𝑘𝑤𝑘𝑣𝑘=𝐯⋅𝐰.

Linearity in the first slot. The 𝑘th coordinate of 𝑎𝐯+𝑏𝐰 is 𝑎𝑣𝑘+𝑏𝑤𝑘, so

(𝑎𝐯+𝑏𝐰)⋅𝐱=∑𝑘(𝑎𝑣𝑘+𝑏𝑤𝑘)𝑥𝑘=𝑎∑𝑘𝑣𝑘𝑥𝑘+𝑏∑𝑘𝑤𝑘𝑥𝑘=𝑎(𝐯⋅𝐱)+𝑏(𝐰⋅𝐱).

Positivity. 𝐯⋅𝐯=∑𝑘𝑣𝑘𝑣𝑘=∑𝑘|𝑣𝑘|2≥0.

Definiteness. Suppose 𝐯⋅𝐯=0. Then ∑𝑘|𝑣𝑘|2=0 is a sum of nonnegative real numbers, so |𝑣𝑘|2=0 for every 𝑘. Writing 𝑣𝑘=𝑎𝑘+𝑏𝑘𝑖, this says 𝑎𝑘2+𝑏𝑘2=0, so 𝑎𝑘=𝑏𝑘=0 and 𝑣𝑘=0. Hence 𝐯=𝟎. By Remark 6.1.3, this is all that definiteness requires. □

Unless another inner product is specified, 𝔽𝑛 carries the dot product. The lecture calls it “the dot product” precisely to distinguish it from the other inner products on 𝔽𝑛 below.

Example 6.1.11 (Computing in ℂ2). Let 𝐯=(1+𝑖,2) and 𝐰=(𝑖,1−𝑖). Then

𝐯⋅𝐰=(1+𝑖)𝑖+2(1−𝑖)=(1+𝑖)(−𝑖)+2(1+𝑖)=(1−𝑖)+(2+2𝑖)=3+𝑖,𝐰⋅𝐯=𝑖(1+𝑖)+(1−𝑖)2=𝑖(1−𝑖)+2−2𝑖=3−𝑖,

as conjugate symmetry predicts. Also 𝐯⋅𝐯=|1+𝑖|2+|2|2=2+4=6 and 𝐰⋅𝐰=1+2=3. Without the conjugate, 𝐯 would have “squared length” (1+𝑖)2+4=4+2𝑖.

Exercise 6.1.12.routine In ℂ3, let 𝐯=(1,𝑖,2) and 𝐰=(𝑖,1+𝑖,1−𝑖). Compute 𝐯⋅𝐰, 𝐰⋅𝐯, 𝐯⋅𝐯, and 𝐰⋅𝐰, and find 𝑐∈ℂ with (𝐯−𝑐𝐰)⋅𝐰=0.

Solution.

Uses. Definition 6.1.8 (Dot product), Proposition 6.1.10 (The dot product is an inner product)

Hint 1. Conjugate the coordinates of the second vector, multiply coordinatewise, and add.
Hint 2. For the last part, expand (𝐯−𝑐𝐰)⋅𝐰 by linearity in the first slot; it is a linear equation in 𝑐.
Sketch. 𝐯⋅𝐰=−𝑖+(1+𝑖)+(2+2𝑖)=3+2𝑖, and 𝐰⋅𝐯=3−2𝑖. The squared lengths are 1+1+4=6 and 1+2+2=5. Linearity gives (𝐯−𝑐𝐰)⋅𝐰=(3+2𝑖)−5𝑐, so 𝑐=(3+2𝑖)/5.

By Definition 6.1.8,

𝐯⋅𝐰=1⋅𝑖+𝑖⋅(1+𝑖)+2⋅(1−𝑖)=−𝑖+𝑖(1−𝑖)+2(1+𝑖)=−𝑖+(𝑖+1)+(2+2𝑖)=3+2𝑖,

and by conjugate symmetry 𝐰⋅𝐯=3+2𝑖=3−2𝑖. Directly,

𝐰⋅𝐯=𝑖⋅1+(1+𝑖)(−𝑖)+(1−𝑖)2=𝑖+(1−𝑖)+(2−2𝑖)=3−2𝑖.

By Proposition 6.1.10, 𝐯⋅𝐯=1+1+4=6 and 𝐰⋅𝐰=1+|1+𝑖|2+|1−𝑖|2=1+2+2=5.

By linearity in the first slot, (𝐯−𝑐𝐰)⋅𝐰=𝐯⋅𝐰−𝑐(𝐰⋅𝐰)=(3+2𝑖)−5𝑐. This vanishes exactly for 𝑐=(3+2𝑖)/5.

Continuous functions

Let 𝐶([0,1],ℂ) be the set of continuous functions 𝑓:[0,1]→ℂ, that is, of functions 𝑓=𝑢+𝑖𝑣 with 𝑢,𝑣∈𝐶[0,1] (Example 1.2.12). It is a complex vector space under the pointwise operations, by the argument of Example 1.2.12. Such functions are integrated part by part, ∫01𝑓=∫01𝑢+𝑖∫01𝑣. This integral is ℂ-linear and commutes with conjugation:

∫01(𝑎𝑓+𝑏𝑔)=𝑎∫01𝑓+𝑏∫01𝑔(𝑎,𝑏∈ℂ),∫01𝑓=∫01𝑓.

Both follow from the real case by splitting into real and imaginary parts. For instance, for 𝑎=𝑝+𝑞𝑖 we have 𝑎𝑓=(𝑝𝑢−𝑞𝑣)+𝑖(𝑝𝑣+𝑞𝑢), whose integral is (𝑝+𝑞𝑖)(∫𝑢+𝑖∫𝑣).

Proposition 6.1.13 (Integral inner products). The formula

⟨𝑓,𝑔⟩=∫01𝑓(𝑡)𝑔(𝑡)d𝑡

defines an inner product on 𝐶([0,1],ℂ). On the real vector space 𝐶[0,1] it reads ⟨𝑓,𝑔⟩=∫01𝑓(𝑡)𝑔(𝑡)d𝑡, and it is an inner product there as well.

Intuition. Conjugate symmetry and linearity are properties of the integral, and positivity holds because 𝑓𝑓=|𝑓|2≥0. Definiteness is the one place where continuity matters. A function that is nonzero at only a single point has integral 0, so ∫01|𝑓|2=0 does not force 𝑓=0 for arbitrary integrable 𝑓. A continuous function that is positive at one point, however, is positive on a whole interval around it, and so has positive integral. This is Technique 6.1.9 with an integral in place of a sum.
Lemma 6.1.14 (Nonnegative functions with zero integral). Let ℎ∈𝐶[0,1] with ℎ(𝑡)≥0 for all 𝑡∈[0,1]. If ∫01ℎ=0, then ℎ=0.

Proof.standard

Uses. continuity of ℎ, monotonicity of the integral: if 𝑔1≤𝑔2 on an interval, then their integrals compare the same way

Techniques. A sum of nonnegative terms (Technique 6.1.9)

Hint 1. Prove the contrapositive: if ℎ(𝑐)>0 for some 𝑐, then ∫01ℎ>0.
Hint 2. By continuity, ℎ>ℎ(𝑐)/2 on all points of [0,1] close enough to 𝑐. Find an interval 𝐼⊆[0,1] of positive length on which this holds.
Hint 3. Bound ∫01ℎ below by the integral over 𝐼, using ℎ≥0 off 𝐼.
Sketch. If ℎ(𝑐)>0, continuity gives an interval 𝐼⊆[0,1] of positive length ℓ on which ℎ>ℎ(𝑐)/2. Since ℎ≥0 everywhere, ∫01ℎ≥∫𝐼ℎ≥ℓℎ(𝑐)/2>0.

We prove the contrapositive. Suppose ℎ(𝑐)>0 for some 𝑐∈[0,1], and let 𝜀=ℎ(𝑐)/2>0. By continuity of ℎ at 𝑐, there is 𝛿>0 such that ℎ(𝑡)>𝜀 for all 𝑡∈[0,1] with |𝑡−𝑐|<𝛿. Let ℓ=min(𝛿/2,1/2). Either 𝑐+ℓ≤1 or 𝑐−ℓ≥0, since otherwise 1<𝑐+ℓ and 𝑐<ℓ, which give 1<2ℓ≤1. So one of the intervals 𝐼=[𝑐,𝑐+ℓ] or 𝐼=[𝑐−ℓ,𝑐] lies in [0,1]. Every 𝑡∈𝐼 satisfies |𝑡−𝑐|≤ℓ<𝛿, so ℎ>𝜀 on 𝐼. Since ℎ≥0 on all of [0,1], monotonicity of the integral gives

∫01ℎ≥∫𝐼ℎ≥ℓ𝜀>0.

So if ∫01ℎ=0, then ℎ(𝑐)>0 for no 𝑐, and as ℎ≥0, ℎ=0. □

Proof of Proposition 6.1.13.standard

Uses. Definition 6.1.2 (Inner product), Lemma 6.1.14 (Nonnegative functions with zero integral), Notation 6.1.1 (Real and complex scalars), ℂ-linearity of the integral, and ∫𝑓=∫𝑓

Techniques. A sum of nonnegative terms (Technique 6.1.9)

Hint 1. The products 𝑓𝑔 are continuous, so all the integrals exist. Check conjugate symmetry and linearity with the two properties of the integral above.
Hint 2. For positivity, 𝑓𝑓=|𝑓|2 is a nonnegative continuous real function.
Hint 3. For definiteness, apply Lemma 6.1.14 to ℎ=|𝑓|2.
Sketch. ⟨𝑔,𝑓⟩=∫𝑔𝑓=∫𝑓𝑔=⟨𝑓,𝑔⟩, and linearity in 𝑓 is linearity of the integral. Then ⟨𝑓,𝑓⟩=∫|𝑓|2≥0, and if it is 0, Lemma 6.1.14 gives |𝑓|2=0, so 𝑓=0.

For 𝑓,𝑔∈𝐶([0,1],ℂ), the function 𝑓𝑔 is continuous, so ⟨𝑓,𝑔⟩ is defined. Let 𝑓,𝑔,ℎ∈𝐶([0,1],ℂ) and 𝑎,𝑏∈ℂ.

Conjugate symmetry. ⟨𝑔,𝑓⟩=∫01𝑔𝑓=∫01𝑓𝑔=∫01𝑓𝑔=⟨𝑓,𝑔⟩.

Linearity in the first slot. ⟨𝑎𝑓+𝑏𝑔,ℎ⟩=∫01(𝑎𝑓ℎ+𝑏𝑔ℎ)=𝑎⟨𝑓,ℎ⟩+𝑏⟨𝑔,ℎ⟩.

Positivity. Writing 𝑓=𝑢+𝑖𝑣, we have 𝑓𝑓=|𝑓|2=𝑢2+𝑣2, a continuous function with values in [0,∞). So ⟨𝑓,𝑓⟩=∫01|𝑓|2≥0.

Definiteness. If ⟨𝑓,𝑓⟩=0, then Lemma 6.1.14 applied to ℎ=|𝑓|2 gives |𝑓(𝑡)|2=0, hence 𝑓(𝑡)=0, for every 𝑡. So 𝑓=𝟎.

For 𝐶[0,1], the same argument applies with every bar erased. □

Nothing here depends on the interval being [0,1]. For any 𝑎<𝑏, the proofs of Lemma 6.1.14 and Proposition 6.1.13 go through on [𝑎,𝑏], with (𝑏−𝑎)/2 in place of 1/2 in the choice of ℓ, so ∫𝑎𝑏𝑓𝑔 is an inner product on 𝐶([𝑎,𝑏],ℂ), and on 𝐶[𝑎,𝑏] with the bars erased.

Intuition (Infinitely many coordinates). Riemann sums explain why this integral behaves like a dot product. For large 𝑁,

⟨𝑓,𝑔⟩≈1𝑁∑𝑘=1𝑁𝑓(𝑘𝑁)𝑔(𝑘𝑁)=1𝑁(𝐟𝑁⋅𝐠𝑁),

where 𝐟𝑁=(𝑓(1/𝑁),𝑓(2/𝑁),…,𝑓(1))∈ℂ𝑁 records the values of 𝑓 at 𝑁 sample points. So ⟨𝑓,𝑔⟩ is a limit of rescaled dot products of longer and longer vectors, with one coordinate for each point of [0,1], and ⟨𝑓,𝑓⟩ is the average of |𝑓|2.

Example 6.1.15 (Computing with functions). In 𝐶[0,1], ⟨𝑡,𝑡2⟩=∫01𝑡3d𝑡=1/4 and ⟨1,2𝑡−1⟩=∫01(2𝑡−1)d𝑡=0. In 𝐶([0,1],ℂ), let 𝑓(𝑡)=𝑡+𝑖 and 𝑔(𝑡)=1+𝑖𝑡. Then 𝑓𝑔=(𝑡+𝑖)(1−𝑖𝑡), which expands to 2𝑡+𝑖(1−𝑡2), so

⟨𝑓,𝑔⟩=∫012𝑡d𝑡+𝑖∫01(1−𝑡2)d𝑡=1+2𝑖3,

and ⟨𝑓,𝑓⟩=∫01(𝑡2+1)d𝑡=4/3.

Matrices

The space 𝔽𝑚×𝑛 is 𝔽𝑚𝑛 with the coordinates arranged in a rectangle, so it inherits a dot product: multiply corresponding entries, conjugating those of the second matrix, and add. The trace expresses this sum compactly.

Proposition 6.1.16 (Frobenius inner product). For 𝐴=(𝑎𝑖𝑗) and 𝐵=(𝑏𝑖𝑗) in 𝔽𝑚×𝑛,

tr(𝐵∗𝐴)=∑𝑖=1𝑚∑𝑗=1𝑛𝑎𝑖𝑗𝑏𝑖𝑗.

Consequently ⟨𝐴,𝐵⟩=tr(𝐵∗𝐴) is an inner product on 𝔽𝑚×𝑛, the Frobenius inner product, and ⟨𝐴,𝐴⟩=∑𝑖,𝑗|𝑎𝑖𝑗|2.

Proof.routine

Uses. Definition 2.4.26 (Trace), Definition 2.4.1 (Matrix product), Notation 6.1.7 (Conjugate transpose), Proposition 6.1.10 (The dot product is an inner product)

Hint 1. Compute the diagonal entries of 𝐵∗𝐴 from the definition of the matrix product.
Hint 2. The (𝑗,𝑗) entry of 𝐵∗𝐴 is ∑𝑖𝑏𝑖𝑗𝑎𝑖𝑗: the dot product of column 𝑗 of 𝐴 with column 𝑗 of 𝐵.
Hint 3. For the axioms, notice that the double sum is the formula of Definition 6.1.8 applied to 𝑚𝑛 coordinates.
Sketch. The 𝑗th diagonal entry of 𝐵∗𝐴 is the dot product of the 𝑗th columns of 𝐴 and 𝐵; summing over 𝑗 gives ∑𝑖,𝑗𝑎𝑖𝑗𝑏𝑖𝑗. That is the dot product of 𝐴 and 𝐵 regarded as vectors with 𝑚𝑛 coordinates, so the axioms hold by Proposition 6.1.10.

The (𝑗,𝑖) entry of 𝐵∗∈𝔽𝑛×𝑚 is 𝑏𝑖𝑗. By Definition 2.4.1, the (𝑗,𝑗) entry of 𝐵∗𝐴∈𝔽𝑛×𝑛 is

(𝐵∗𝐴)𝑗𝑗=∑𝑖=1𝑚(𝐵∗)𝑗𝑖𝑎𝑖𝑗=∑𝑖=1𝑚𝑎𝑖𝑗𝑏𝑖𝑗,

and summing over 𝑗 (Definition 2.4.26) gives the formula.

The right side of the formula is the dot product formula of Definition 6.1.8, with the 𝑚𝑛 pairs (𝑖,𝑗) in place of the indices 𝑘. The proof of Proposition 6.1.10 checks each axiom from that formula alone, term by term, so it applies verbatim: ⟨𝐴,𝐵⟩=tr(𝐵∗𝐴) is an inner product on 𝔽𝑚×𝑛, and ⟨𝐴,𝐴⟩=∑𝑖,𝑗|𝑎𝑖𝑗|2. □

Example 6.1.17 (A Frobenius inner product). For 𝐴=(120−1) and 𝐵=(3011) in ℝ2×2, the entrywise formula gives ⟨𝐴,𝐵⟩=1⋅3+2⋅0+0⋅1+(−1)⋅1=2. With the trace,

𝐵𝖳𝐴=(3101)(120−1)=(350−1),tr(𝐵𝖳𝐴)=3−1=2.

The identity ⟨𝐴,𝐴⟩=tr(𝐴∗𝐴)=∑𝑖,𝑗|𝑎𝑖𝑗|2 is useful well beyond computing lengths.

Technique 6.1.18 (The trace of 𝐴∗𝐴). For every 𝐴∈𝔽𝑚×𝑛, tr(𝐴∗𝐴)=∑𝑖,𝑗|𝑎𝑖𝑗|2 (Proposition 6.1.16). So tr(𝐴∗𝐴)≥0, with equality only for 𝐴=0, and one scalar equation controls every entry of 𝐴. To show that a matrix 𝐴 is zero, it suffices to show tr(𝐴∗𝐴)=0; in particular, it suffices to show 𝐴∗𝐴=0.

Reach for it when a matrix identity involves 𝐴∗𝐴 or 𝐴𝐴∗ (or 𝐴𝖳𝐴 over ℝ) and the goal is a conclusion about 𝐴 itself. It is Technique 6.1.9 applied to the entries of a matrix. The canonical example is Corollary 6.1.19.

Corollary 6.1.19 (𝐴∗𝐴=0 forces 𝐴=0). Let 𝐴∈𝔽𝑚×𝑛. If 𝐴∗𝐴=0 or 𝐴𝐴∗=0, then 𝐴=0.

Proof.routine

Uses. Proposition 6.1.16 (Frobenius inner product), Notation 6.1.7 (Conjugate transpose)

Techniques. The trace of 𝐴∗𝐴 (Technique 6.1.18)

Hint 1. Take the trace of 𝐴∗𝐴=0.
Hint 2. For 𝐴𝐴∗=0, apply the first case to 𝐴∗, using (𝐴∗)∗=𝐴.
Sketch. If 𝐴∗𝐴=0, then ∑𝑖,𝑗|𝑎𝑖𝑗|2=tr(𝐴∗𝐴)=0, so every 𝑎𝑖𝑗=0. Since (𝐴∗)∗=𝐴, the case 𝐴𝐴∗=0 is the first case for 𝐴∗.

If 𝐴∗𝐴=0, then by Proposition 6.1.16, ∑𝑖,𝑗|𝑎𝑖𝑗|2=tr(𝐴∗𝐴)=tr(0)=0. This is a sum of nonnegative real numbers, so every |𝑎𝑖𝑗|2=0, and 𝐴=0.

The (𝑖,𝑗) entry of (𝐴∗)∗ is the conjugate of the (𝑗,𝑖) entry of 𝐴∗, which is 𝑎𝑖𝑗=𝑎𝑖𝑗, so (𝐴∗)∗=𝐴. If 𝐴𝐴∗=0, then (𝐴∗)∗𝐴∗=0, and the first case applied to 𝐴∗ gives 𝐴∗=0. Hence 𝐴=(𝐴∗)∗=0. □

The conjugate transpose is essential here. The nilpotent matrix 𝑁=(0100) is nonzero with 𝑁2=0, so 𝐴2=0 does not force 𝐴=0. Over ℂ, the transpose alone does not suffice either: the column 𝐚=(1,𝑖) is nonzero, but 𝐚𝖳𝐚=1+𝑖2=0. This is the failure of (1,𝑖)⋅(1,𝑖) without conjugation that we met at the start of the section.

Exercise 6.1.20.routine Let 𝐴∈ℂ𝑛×𝑛 satisfy 𝐴∗=𝐴 and 𝐴2=0. Show that 𝐴=0. Does the conclusion still hold if the hypothesis 𝐴∗=𝐴 is dropped?

Solution.

Uses. Corollary 6.1.19 (𝐴∗𝐴=0 forces 𝐴=0)

Techniques. The trace of 𝐴∗𝐴 (Technique 6.1.18)

Hint 1. Rewrite 𝐴2 using the hypothesis 𝐴∗=𝐴.
Hint 2. 𝐴∗𝐴=𝐴𝐴=0. Now use Corollary 6.1.19.
Sketch. 𝐴∗𝐴=𝐴2=0, so 𝐴=0 by Corollary 6.1.19. Without 𝐴∗=𝐴 the claim fails for 𝑁=(0100).
Since 𝐴∗=𝐴, we have 𝐴∗𝐴=𝐴𝐴=𝐴2=0, so 𝐴=0 by Corollary 6.1.19. The hypothesis 𝐴∗=𝐴 cannot be dropped: 𝑁=(0100) satisfies 𝑁2=0 but 𝑁≠0. (Indeed 𝑁∗=(0010)≠𝑁.)

Inner products on 𝔽𝑛 from matrices

The dot product is not the only inner product on 𝔽𝑛. Weighting the coordinates already gives others.

Example 6.1.21 (Weighted dot products). Let 𝑐1,…,𝑐𝑛 be positive real numbers. Then

⟨𝐯,𝐰⟩𝑐=∑𝑘=1𝑛𝑐𝑘𝑣𝑘𝑤𝑘

is an inner product on 𝔽𝑛. The proof of Proposition 6.1.10 goes through with 𝑐𝑘|𝑣𝑘|2 in place of |𝑣𝑘|2, since 𝑐𝑘|𝑣𝑘|2≥0, with equality only if 𝑣𝑘=0. The weights must be positive: if 𝑐𝑘≤0, then ⟨𝐞𝑘,𝐞𝑘⟩𝑐=𝑐𝑘≤0 while 𝐞𝑘≠𝟎.

Different weights give different geometry on the same set. With weights (1,4) on ℝ2, the vector 𝐞2 has ⟨𝐞2,𝐞2⟩𝑐=4, so it is “twice as long” as 𝐞1, and the vectors with ⟨𝐱,𝐱⟩𝑐=1 form the ellipse 𝑥12+4𝑥22=1 rather than the unit circle (Figure 6.1.2).

In fact every inner product on 𝔽𝑛 is given by a matrix. By sesquilinearity, ⟨𝐱,𝐲⟩ is determined by the 𝑛2 numbers ⟨𝐞𝑗,𝐞𝑖⟩, and the question is which arrays of 𝑛2 numbers occur.

Proposition 6.1.22 (Inner products on 𝔽𝑛).
  1. (a)Let ⟨⋅,⋅⟩ be an inner product on 𝔽𝑛, and let 𝑀∈𝔽𝑛×𝑛 have entries 𝑚𝑖𝑗=⟨𝐞𝑗,𝐞𝑖⟩. Then ⟨𝐱,𝐲⟩=𝐲∗𝑀𝐱 for all 𝐱,𝐲∈𝔽𝑛.
  2. (b)Conversely, let 𝑀∈𝔽𝑛×𝑛. The formula ⟨𝐱,𝐲⟩=𝐲∗𝑀𝐱 defines an inner product on 𝔽𝑛 if and only if 𝑀∗=𝑀 and 𝐱∗𝑀𝐱>0 for every nonzero 𝐱∈𝔽𝑛.

Proof.standard

Uses. Proposition 6.1.4 (Sesquilinearity), Definition 1.6.8 (Standard bases), Definition 2.3.8 (Matrix–vector product), Notation 6.1.7 (Conjugate transpose), Remark 6.1.3

Techniques. Expand by multilinearity (Technique 5.1.7), Check it on a basis (Technique 2.2.7)

Hint 1. For (a), write 𝐱=∑𝑗𝑥𝑗𝐞𝑗 and 𝐲=∑𝑖𝑦𝑖𝐞𝑖, and expand using linearity in the first slot and Proposition 6.1.4 in the second.
Hint 2. For (b), the formula is linear in 𝐱 for every 𝑀, and positivity together with definiteness says exactly that 𝐱∗𝑀𝐱>0 for 𝐱≠𝟎. So only conjugate symmetry needs thought.
Hint 3. Conjugate symmetry at the pair (𝐞𝑗,𝐞𝑖) reads 𝑚𝑖𝑗=𝑚𝑗𝑖. For the converse, write 𝐲∗𝑀𝐱=∑𝑖,𝑗𝑦𝑖𝑚𝑖𝑗𝑥𝑗, conjugate, and rename the indices.
Sketch. Expanding by sesquilinearity, ⟨𝐱,𝐲⟩=∑𝑖,𝑗𝑦𝑖⟨𝐞𝑗,𝐞𝑖⟩𝑥𝑗=𝐲∗𝑀𝐱. For (b), linearity in 𝐱 is automatic, and positivity plus definiteness is the condition 𝐱∗𝑀𝐱>0 for 𝐱≠𝟎. Conjugate symmetry tested at (𝐞𝑗,𝐞𝑖) gives 𝑀=𝑀∗; conversely, if 𝑀=𝑀∗, conjugating the double sum for ⟨𝐲,𝐱⟩ and swapping 𝑖 and 𝑗 gives ⟨𝐱,𝐲⟩.

(a) Write 𝐱=∑𝑗𝑥𝑗𝐞𝑗 and 𝐲=∑𝑖𝑦𝑖𝐞𝑖. Linearity in the first slot and Proposition 6.1.4 give

⟨𝐱,𝐲⟩=∑𝑗=1𝑛𝑥𝑗⟨𝐞𝑗,𝐲⟩=∑𝑗=1𝑛∑𝑖=1𝑛𝑥𝑗𝑦𝑖⟨𝐞𝑗,𝐞𝑖⟩=∑𝑖=1𝑛𝑦𝑖(∑𝑗=1𝑛𝑚𝑖𝑗𝑥𝑗).

The inner sum is the 𝑖th coordinate of 𝑀𝐱 (Definition 2.3.8), so the whole expression is 𝐲∗(𝑀𝐱).

(b) Write ⟨𝐱,𝐲⟩𝑀=𝐲∗𝑀𝐱=∑𝑖,𝑗𝑦𝑖𝑚𝑖𝑗𝑥𝑗. For fixed 𝐲 this is linear in 𝐱, for every 𝑀, so linearity in the first slot always holds. Positivity and definiteness together say that ⟨𝐱,𝐱⟩𝑀≥0 for all 𝐱, with equality only for 𝐱=𝟎 (Remark 6.1.3); since ⟨𝟎,𝟎⟩𝑀=0 in any case, this is the condition 𝐱∗𝑀𝐱>0 for all 𝐱≠𝟎. It remains to show that conjugate symmetry holds if and only if 𝑀∗=𝑀.

Suppose conjugate symmetry holds. For all 𝑖,𝑗,

𝑚𝑖𝑗=𝐞𝑖∗𝑀𝐞𝑗=⟨𝐞𝑗,𝐞𝑖⟩𝑀=⟨𝐞𝑖,𝐞𝑗⟩𝑀=𝐞𝑗∗𝑀𝐞𝑖=𝑚𝑗𝑖,

which says 𝑀∗=𝑀. Conversely, suppose 𝑚𝑖𝑗=𝑚𝑗𝑖 for all 𝑖,𝑗. Then for all 𝐱,𝐲,

⟨𝐲,𝐱⟩𝑀=∑𝑖,𝑗𝑥𝑖𝑚𝑖𝑗𝑦𝑗=∑𝑖,𝑗𝑥𝑖𝑚𝑖𝑗𝑦𝑗=∑𝑖,𝑗𝑦𝑗𝑚𝑗𝑖𝑥𝑖=⟨𝐱,𝐲⟩𝑀,

where the last step renames the summation indices 𝑖 and 𝑗 as 𝑗 and 𝑖. So conjugate symmetry holds. □

A matrix 𝑀 with 𝑀∗=𝑀 and 𝐱∗𝑀𝐱>0 for all 𝐱≠𝟎 is called positive definite, and Section 12.3 gives practical tests for it. Parts (a) and (b) say that every inner product on 𝔽𝑛 is 𝐲∗𝑀𝐱 for a positive definite 𝑀. The dot product is the case 𝑀=𝐼𝑛, and the weighted dot products are the diagonal 𝑀 with positive diagonal entries.

Example 6.1.23 (A tilted inner product on ℝ2). Let 𝑀=(2112). Then ⟨𝐱,𝐲⟩=𝐲𝖳𝑀𝐱=2𝑥1𝑦1+𝑥1𝑦2+𝑥2𝑦1+2𝑥2𝑦2. Here 𝑀𝖳=𝑀, and for 𝐱≠𝟎,

𝐱𝖳𝑀𝐱=2𝑥12+2𝑥1𝑥2+2𝑥22=𝑥12+𝑥22+(𝑥1+𝑥2)2>0,

a sum of squares that is not all zero. So Proposition 6.1.22 makes this an inner product. Measured with it, (1,−1) has ⟨𝐱,𝐱⟩=2−2+2=2 while (1,1) has ⟨𝐱,𝐱⟩=6, and the vectors with ⟨𝐱,𝐱⟩=1 form a tilted ellipse (Figure 6.1.2).

Figure 6.1.2. The vectors 𝐱∈ℝ2 with ⟨𝐱,𝐱⟩=1 (solid) for three inner products on ℝ2: (a) the dot product; (b) the weighted dot product 𝑥1𝑦1+4𝑥2𝑦2 of Example 6.1.21, in which 𝐞2 lies outside the curve because it has length 2; (c) the inner product of Example 6.1.23. The dashed circle is the unit circle of the dot product.
Remark 6.1.24. Over ℝ, positivity of 𝐱𝖳𝑀𝐱 does not force 𝑀 to be symmetric. For 𝑀=(11−11), 𝐱𝖳𝑀𝐱=𝑥12+𝑥1𝑥2−𝑥2𝑥1+𝑥22=𝑥12+𝑥22>0 for 𝐱≠𝟎, but 𝐲𝖳𝑀𝐱 is not an inner product, since ⟨𝐞2,𝐞1⟩=𝑚12=1 while ⟨𝐞1,𝐞2⟩=𝑚21=−1. Over ℂ this cannot happen: if 𝐱∗𝑀𝐱 is real for every 𝐱∈ℂ𝑛, then 𝑀∗=𝑀 (Exercise 6.1.47).

Non-examples

Non-example 6.1.25 (Formulas that are not inner products).
  1. (a)On ℂ2, ⟨𝐱,𝐲⟩=𝑥1𝑦1+𝑥2𝑦2 is bilinear and symmetric, but ⟨(𝑖,0),(𝑖,0)⟩=𝑖2=−1<0. This is Proposition 6.1.6 in action.
  2. (b)On ℂ𝑛, ⟨𝐱,𝐲⟩=∑𝑘𝑥𝑘𝑦𝑘=𝐱∗𝐲 is conjugate symmetric, positive, and definite, and it is linear in the second slot. But ⟨𝑖𝐱,𝐲⟩=−𝑖⟨𝐱,𝐲⟩, so it is not linear in the first slot, and by our definition it is not an inner product. Many physics texts use this convention instead. It is the dot product with its arguments exchanged, ⟨𝐱,𝐲⟩=𝐲⋅𝐱, so results translate by swapping the slots.
  3. (c)On ℝ2×2, ⟨𝐴,𝐵⟩=tr(𝐴𝐵) is bilinear and symmetric (as tr(𝐴𝐵)=tr(𝐵𝐴), Proposition 2.4.28). But 𝐽=(0−110) has 𝐽2=−𝐼2, so ⟨𝐽,𝐽⟩=−2<0. In the Frobenius inner product tr(𝐵𝖳𝐴), the transpose is what turns ⟨𝐴,𝐴⟩ into a sum of squares.
  4. (d)On ℝ[𝑥]≤2, ⟨𝑝,𝑞⟩=𝑝(0)𝑞(0)+𝑝(1)𝑞(1) is symmetric, bilinear, and positive, but the nonzero polynomial 𝑝=𝑥2−𝑥 has ⟨𝑝,𝑝⟩=0. On ℝ[𝑥]≤1, the same formula is an inner product: if 𝑝=𝑎+𝑏𝑥 and 𝑝(0)2+𝑝(1)2=0, then 𝑝(0)=𝑎=0 and 𝑝(1)=𝑎+𝑏=0, so 𝑝=𝟎. Whether a formula defines an inner product depends on the space it is defined on.

6.1.4The norm

Definition 6.1.26 (Norm). Let 𝑉 be an inner product space. The norm of 𝐯∈𝑉 is

‖𝐯‖=⟨𝐯,𝐯⟩,

the nonnegative square root of the nonnegative real number ⟨𝐯,𝐯⟩. A unit vector is a vector 𝐮 with ‖𝐮‖=1.

The norm is the length of 𝐯 as measured by the chosen inner product, and ‖𝐯−𝐰‖ is the distance between 𝐯 and 𝐰. For the dot product on 𝔽𝑛, ‖𝐯‖2=∑𝑘|𝑣𝑘|2, so ‖𝐯‖ is the Euclidean length. For the Frobenius inner product, ‖𝐴‖2=∑𝑖,𝑗|𝑎𝑖𝑗|2, and ‖𝐴‖ is often written ‖𝐴‖𝐹. For the integral inner product, ‖𝑓‖2=∫01|𝑓|2. A different inner product on the same space gives different lengths: with the weights (1,4) of Example 6.1.21, ‖𝐞2‖=2.

Proposition 6.1.27 (Basic properties of the norm). Let 𝑉 be an inner product space, 𝐯∈𝑉, and 𝑎∈𝔽.

  1. (a)‖𝐯‖≥0, and ‖𝐯‖=0 if and only if 𝐯=𝟎.
  2. (b)‖𝑎𝐯‖=|𝑎|‖𝐯‖.

Proof.routine

Uses. Definition 6.1.26 (Norm), Definition 6.1.2 (Inner product), Proposition 6.1.4 (Sesquilinearity), Notation 6.1.1 (Real and complex scalars)

Hint 1. Part (a) is a restatement of two axioms.
Hint 2. For (b), compare squares: compute ‖𝑎𝐯‖2=⟨𝑎𝐯,𝑎𝐯⟩ by taking 𝑎 out of each slot.
Hint 3. The second slot contributes 𝑎, and 𝑎𝑎=|𝑎|2. Two nonnegative reals with the same square are equal.
Sketch. (a) is positivity and definiteness. For (b), ‖𝑎𝐯‖2=𝑎𝑎⟨𝐯,𝐯⟩=|𝑎|2‖𝐯‖2; take nonnegative square roots.

(a) The square root of a nonnegative real number is nonnegative. Also ‖𝐯‖=0 if and only if ⟨𝐯,𝐯⟩=0, which by definiteness happens if and only if 𝐯=𝟎.

(b) By linearity in the first slot and Proposition 6.1.4,

‖𝑎𝐯‖2=⟨𝑎𝐯,𝑎𝐯⟩=𝑎𝑎⟨𝐯,𝐯⟩=|𝑎|2‖𝐯‖2.

Both ‖𝑎𝐯‖ and |𝑎|‖𝐯‖ are nonnegative real numbers, and their squares are equal, so they are equal. □

In particular, if 𝐯≠𝟎, then 𝐯/‖𝐯‖ (that is, (1/‖𝐯‖)𝐯) is a unit vector, since by (b) its norm is ‖𝐯‖/‖𝐯‖=1. Replacing 𝐯 by 𝐯/‖𝐯‖ is called normalizing 𝐯.

Exercise 6.1.28.routine Let 𝐯≠𝟎 be a vector in an inner product space. Find all scalars 𝑎∈𝔽 with ‖𝑎𝐯‖=1, separately for 𝔽=ℝ and for 𝔽=ℂ.

Solution.

Uses. Proposition 6.1.27 (Basic properties of the norm)

Hint 1. By Proposition 6.1.27(b), the condition only involves |𝑎|.
Hint 2. ‖𝑎𝐯‖=1 if and only if |𝑎|=1/‖𝐯‖. How many real numbers, and which complex numbers, have a given modulus?
Sketch. ‖𝑎𝐯‖=|𝑎|‖𝐯‖, so the condition is |𝑎|=1/‖𝐯‖. Over ℝ this gives 𝑎=±1/‖𝐯‖; over ℂ it gives the circle of radius 1/‖𝐯‖ centred at 0.
By Proposition 6.1.27, ‖𝑎𝐯‖=|𝑎|‖𝐯‖, and ‖𝐯‖>0 since 𝐯≠𝟎. So ‖𝑎𝐯‖=1 if and only if |𝑎|=1/‖𝐯‖. Over ℝ there are exactly two such scalars, 𝑎=1/‖𝐯‖ and 𝑎=−1/‖𝐯‖. Over ℂ there are infinitely many: all 𝑎=𝑠+𝑡𝑖 with 𝑠2+𝑡2=1/‖𝐯‖2, a circle of radius 1/‖𝐯‖ about 0 in the complex plane. So a nonzero vector in a complex space has a whole circle of normalizations, which differ by factors of modulus 1.

Expanding norms

The computation that produced (6.1.1) expanded ‖𝐯−𝐰‖2. In a general inner product space the same expansion works, with one change over ℂ.

Proposition 6.1.29 (Expanding a norm). Let 𝑉 be an inner product space, 𝐱,𝐲∈𝑉, and 𝑎∈𝔽. Then

‖𝐱+𝑎𝐲‖2=‖𝐱‖2+2Re(𝑎⟨𝐱,𝐲⟩)+|𝑎|2‖𝐲‖2.

In particular,

‖𝐱±𝐲‖2=‖𝐱‖2±2Re⟨𝐱,𝐲⟩+‖𝐲‖2.

Proof.routine

Uses. Definition 6.1.26 (Norm), Definition 6.1.2 (Inner product), Proposition 6.1.4 (Sesquilinearity), Notation 6.1.1 (Real and complex scalars)

Techniques. Expand by multilinearity (Technique 5.1.7)

Hint 1. Write ‖𝐱+𝑎𝐲‖2=⟨𝐱+𝑎𝐲,𝐱+𝑎𝐲⟩ and expand both slots, the second with Proposition 6.1.4.
Hint 2. Of the four terms, the two cross terms are complex conjugates of each other. Use 𝑧+𝑧=2Re𝑧.
Sketch. Expanding gives ‖𝐱‖2+𝑎⟨𝐱,𝐲⟩+𝑎⟨𝐲,𝐱⟩+|𝑎|2‖𝐲‖2, and by conjugate symmetry the cross terms are 𝑧 and 𝑧 for 𝑧=𝑎⟨𝐱,𝐲⟩. They add to 2Re𝑧. Take 𝑎=±1 for the second formula.

By linearity in the first slot and Proposition 6.1.4,

‖𝐱+𝑎𝐲‖2=⟨𝐱+𝑎𝐲,𝐱+𝑎𝐲⟩=⟨𝐱,𝐱⟩+𝑎⟨𝐱,𝐲⟩+𝑎⟨𝐲,𝐱⟩+𝑎𝑎⟨𝐲,𝐲⟩.

Let 𝑧=𝑎⟨𝐱,𝐲⟩. By conjugate symmetry, 𝑎⟨𝐲,𝐱⟩=𝑎⟨𝐱,𝐲⟩=𝑎⟨𝐱,𝐲⟩=𝑧, so the two middle terms add to 𝑧+𝑧=2Re𝑧. Since 𝑎𝑎=|𝑎|2, this is the first formula. For 𝑎=1 it reads ‖𝐱+𝐲‖2=‖𝐱‖2+2Re⟨𝐱,𝐲⟩+‖𝐲‖2, and for 𝑎=−1 the middle term is 2Re(−⟨𝐱,𝐲⟩)=−2Re⟨𝐱,𝐲⟩. □

Intuition (The law of cosines, everywhere). Over ℝ the cross term is 2⟨𝐱,𝐲⟩, and in ℝ2 with the dot product, (6.1.1) turns ‖𝐱−𝐲‖2=‖𝐱‖2−2𝐱⋅𝐲+‖𝐲‖2 back into the law of cosines. So Proposition 6.1.29 is the law of cosines of an arbitrary inner product space; the computation at the start of the section, run backwards.

Over ℂ, only the real part of ⟨𝐱,𝐲⟩ affects ‖𝐱±𝐲‖. The imaginary part appears once 𝐲 is multiplied by 𝑖: with 𝑎=𝑖, Re(𝑖⟨𝐱,𝐲⟩)=Re(−𝑖⟨𝐱,𝐲⟩)=Im⟨𝐱,𝐲⟩, so

‖𝐱+𝑖𝐲‖2=‖𝐱‖2+2Im⟨𝐱,𝐲⟩+‖𝐲‖2.

When ⟨𝐱,𝐲⟩=0, the expansion gives ‖𝐱+𝐲‖2=‖𝐱‖2+‖𝐲‖2, the Pythagorean theorem of Section 6.3.

The parallelogram law

Vectors 𝐱 and 𝐲 span a parallelogram whose diagonals are 𝐱+𝐲 and 𝐱−𝐲 (Figure 6.1.3). In a rectangle the two diagonals are equally long, and Pythagoras says that each has squared length ‖𝐱‖2+‖𝐲‖2. Skewing the rectangle lengthens one diagonal and shortens the other. Adding the two expansions in Proposition 6.1.29 shows that the changes in their squares cancel exactly.

Proposition 6.1.30 (Parallelogram law). For all 𝐱,𝐲 in an inner product space,

‖𝐱+𝐲‖2+‖𝐱−𝐲‖2=2‖𝐱‖2+2‖𝐲‖2.

Proof.routine

Uses. Proposition 6.1.29 (Expanding a norm)

Hint 1. Expand each term on the left with Proposition 6.1.29.
Hint 2. The cross terms ±2Re⟨𝐱,𝐲⟩ have opposite signs.
Sketch. Add the expansions of ‖𝐱+𝐲‖2 and ‖𝐱−𝐲‖2; the cross terms cancel.

By Proposition 6.1.29,

‖𝐱+𝐲‖2+‖𝐱−𝐲‖2=(‖𝐱‖2+2Re⟨𝐱,𝐲⟩+‖𝐲‖2)+(‖𝐱‖2−2Re⟨𝐱,𝐲⟩+‖𝐲‖2)=2‖𝐱‖2+2‖𝐲‖2,

as desired. □

Figure 6.1.3. The parallelogram law: the squares of the diagonals 𝐱+𝐲 and 𝐱−𝐲 add up to the squares of the four sides, 2‖𝐱‖2+2‖𝐲‖2.

Unlike Proposition 6.1.29, the parallelogram law mentions only norms, not the inner product. That makes it a test: a notion of length that violates it cannot be the norm of any inner product (Aside (Norms that do not come from inner products)).

Exercise 6.1.31.routine In an inner product space, ‖𝐱‖=3, ‖𝐲‖=4, and ‖𝐱+𝐲‖=6. Find ‖𝐱−𝐲‖ and Re⟨𝐱,𝐲⟩.

Solution.

Uses. Proposition 6.1.30 (Parallelogram law), Proposition 6.1.29 (Expanding a norm)

Hint 1. The parallelogram law relates the four given or unknown norms.
Hint 2. For the real part, solve the expansion of ‖𝐱+𝐲‖2 for Re⟨𝐱,𝐲⟩.
Sketch. ‖𝐱−𝐲‖2=2⋅9+2⋅16−36=14, and 36=9+2Re⟨𝐱,𝐲⟩+16 gives Re⟨𝐱,𝐲⟩=11/2.

By Proposition 6.1.30,

‖𝐱−𝐲‖2=2‖𝐱‖2+2‖𝐲‖2−‖𝐱+𝐲‖2=18+32−36=14,

so ‖𝐱−𝐲‖=14. By Proposition 6.1.29, 36=9+2Re⟨𝐱,𝐲⟩+16, so Re⟨𝐱,𝐲⟩=11/2. (As a check, Proposition 6.1.29 with the minus sign gives 9−11+16=14.)

Polarization

The norm is defined from the inner product. Polarization goes the other way. Over ℝ, subtracting the two expansions in Proposition 6.1.29 isolates the cross term: ‖𝐱+𝐲‖2−‖𝐱−𝐲‖2=4⟨𝐱,𝐲⟩. Over ℂ the same subtraction yields only 4Re⟨𝐱,𝐲⟩, but the imaginary part is also a real part, since Im⟨𝐱,𝐲⟩=Re(−𝑖⟨𝐱,𝐲⟩)=Re⟨𝐱,𝑖𝐲⟩.

Proposition 6.1.32 (Polarization identities). Let 𝑉 be an inner product space and 𝐱,𝐲∈𝑉.

  1. (a)If 𝔽=ℝ, then

    ⟨𝐱,𝐲⟩=14(‖𝐱+𝐲‖2−‖𝐱−𝐲‖2).
  2. (b)If 𝔽=ℂ, then

    ⟨𝐱,𝐲⟩=14∑𝑘=03𝑖𝑘‖𝐱+𝑖𝑘𝐲‖2=14(‖𝐱+𝐲‖2−‖𝐱−𝐲‖2+𝑖‖𝐱+𝑖𝐲‖2−𝑖‖𝐱−𝑖𝐲‖2).

Proof (via real and imaginary parts).standard

Uses. Proposition 6.1.29 (Expanding a norm), Proposition 6.1.4 (Sesquilinearity), Notation 6.1.1 (Real and complex scalars)

Hint 1. Subtract the two identities of Proposition 6.1.29.
Hint 2. Over ℂ this gives only Re⟨𝐱,𝐲⟩. Write Im⟨𝐱,𝐲⟩ as the real part of another inner product.
Hint 3. ⟨𝐱,𝑖𝐲⟩=−𝑖⟨𝐱,𝐲⟩ and Re(−𝑖𝑧)=Im𝑧. Apply the real-part formula with 𝑖𝐲 in place of 𝐲.
Sketch. Subtracting the expansions of ‖𝐱±𝐲‖2 gives 4Re⟨𝐱,𝐲⟩, which is 4⟨𝐱,𝐲⟩ over ℝ. Over ℂ, applying this to the pair 𝐱,𝑖𝐲 gives 4Re⟨𝐱,𝑖𝐲⟩=4Im⟨𝐱,𝐲⟩=‖𝐱+𝑖𝐲‖2−‖𝐱−𝑖𝐲‖2. Then combine ⟨𝐱,𝐲⟩=Re+𝑖Im.

Subtracting the two identities of Proposition 6.1.29 gives, for all 𝐱,𝐲 in any inner product space,

Re⟨𝐱,𝐲⟩=14(‖𝐱+𝐲‖2−‖𝐱−𝐲‖2).
(6.1.2)

(a) If 𝔽=ℝ, then ⟨𝐱,𝐲⟩ is real, so it equals its real part, and (6.1.2) is (a).

(b) Let 𝔽=ℂ. By Proposition 6.1.4, ⟨𝐱,𝑖𝐲⟩=𝑖⟨𝐱,𝐲⟩=−𝑖⟨𝐱,𝐲⟩, and Re(−𝑖𝑧)=Im𝑧 for every 𝑧∈ℂ. So (6.1.2) applied to 𝐱 and 𝑖𝐲 gives

Im⟨𝐱,𝐲⟩=Re⟨𝐱,𝑖𝐲⟩=14(‖𝐱+𝑖𝐲‖2−‖𝐱−𝑖𝐲‖2).

Since ⟨𝐱,𝐲⟩=Re⟨𝐱,𝐲⟩+𝑖Im⟨𝐱,𝐲⟩, adding (6.1.2) to 𝑖 times this identity gives the second line of (b). The terms of ∑𝑘=03𝑖𝑘‖𝐱+𝑖𝑘𝐲‖2 for 𝑘=0,1,2,3 are ‖𝐱+𝐲‖2, 𝑖‖𝐱+𝑖𝐲‖2, −‖𝐱−𝐲‖2, and −𝑖‖𝐱−𝑖𝐲‖2, so the two lines agree. □

Proof (by averaging over powers of 𝑖).standard

Uses. Proposition 6.1.29 (Expanding a norm), Notation 6.1.1 (Real and complex scalars)

Hint 1. Expand each ‖𝐱+𝑖𝑘𝐲‖2 with Proposition 6.1.29, writing 2Re𝑤 as 𝑤+𝑤.
Hint 2. After multiplying by 𝑖𝑘, the terms carry the factors 𝑖𝑘, 1, and 𝑖2𝑘. Which of these survive summing over 𝑘=0,1,2,3?
Sketch. With 𝑧=⟨𝐱,𝐲⟩, 𝑖𝑘‖𝐱+𝑖𝑘𝐲‖2=𝑖𝑘(‖𝐱‖2+‖𝐲‖2)+𝑧+𝑖2𝑘𝑧. Summing over 𝑘 kills the first and last terms, because 1+𝑖+𝑖2+𝑖3=0 and 1−1+1−1=0, and leaves 4𝑧.

Let 𝔽=ℂ, let 𝑧=⟨𝐱,𝐲⟩, and let 𝑐=𝑖𝑘 for some 𝑘∈{0,1,2,3}, so that |𝑐|=1 and 𝑐=𝑐−1. By Proposition 6.1.29, and since 2Re𝑤=𝑤+𝑤,

‖𝐱+𝑐𝐲‖2=‖𝐱‖2+‖𝐲‖2+𝑐𝑧+𝑐𝑧.

Multiplying by 𝑐 and using 𝑐𝑐=1,

𝑐‖𝐱+𝑐𝐲‖2=𝑐(‖𝐱‖2+‖𝐲‖2)+𝑧+𝑐2𝑧.

Now sum over 𝑐=1,𝑖,−1,−𝑖. The coefficients 𝑐 add to 1+𝑖−1−𝑖=0, and the coefficients 𝑐2 add to 1−1+1−1=0, so

∑𝑘=03𝑖𝑘‖𝐱+𝑖𝑘𝐲‖2=4𝑧=4⟨𝐱,𝐲⟩,

which is (b). Part (a) is the same computation with 𝑐=±1 and 𝑧 real: then 𝑐‖𝐱+𝑐𝐲‖2=𝑐(‖𝐱‖2+‖𝐲‖2)+2𝑧, and summing over 𝑐=±1 gives ‖𝐱+𝐲‖2−‖𝐱−𝐲‖2=4𝑧. □

The first proof explains why there are four terms: two give the real part, and two more give the imaginary part. The second explains the coefficients. Multiplying by 𝑖𝑘 and summing over 𝑘 is a filter: it keeps the term that carries no power of 𝑖 and discards the terms that carry 𝑖𝑘 and 𝑖2𝑘, because the powers of 𝑖 add to 0. The same filter works with any 𝑚≥3 equally spaced points on the unit circle in place of 1,𝑖,−1,−𝑖, and it is the idea behind the discrete Fourier transform.

Technique 6.1.33 (Polarization). An inner product is determined by its values ⟨𝐯,𝐯⟩ on single vectors: by Proposition 6.1.32, ⟨𝐱,𝐲⟩ is a combination of the numbers ‖𝐱+𝑐𝐲‖2 with 𝑐∈{±1,±𝑖}. So a statement about all pairs (𝐱,𝐲) can often be reduced to a statement about single vectors, applied to 𝐱+𝑐𝐲 for a few scalars 𝑐.

Reach for it when the hypothesis or the conclusion involves only lengths, or only “quadratic” quantities such as ⟨𝑇𝐯,𝐯⟩, and you need information about two different vectors at once. The canonical example is Proposition 6.1.32 itself. Over ℝ there is a caveat: a symmetric function 𝐵(𝐱,𝐲) that is linear in each slot is determined by its diagonal values 𝐵(𝐯,𝐯), but without symmetry this fails. For instance, 𝐵(𝐱,𝐲)=𝑥1𝑦2−𝑥2𝑦1 on ℝ2 satisfies 𝐵(𝐯,𝐯)=0 for all 𝐯 without being 0. Over ℂ no symmetry is needed (Proposition 6.1.41).

Corollary 6.1.34 (The norm determines the inner product). Let ⟨⋅,⋅⟩1 and ⟨⋅,⋅⟩2 be inner products on 𝑉 with ⟨𝐯,𝐯⟩1=⟨𝐯,𝐯⟩2 for all 𝐯∈𝑉. Then ⟨𝐱,𝐲⟩1=⟨𝐱,𝐲⟩2 for all 𝐱,𝐲∈𝑉.

Proof.routine

Uses. Proposition 6.1.32 (Polarization identities)

Techniques. Polarization (Technique 6.1.33)

Hint 1. Write both ⟨𝐱,𝐲⟩1 and ⟨𝐱,𝐲⟩2 with Proposition 6.1.32.
Hint 2. The right sides of the polarization identities only involve norms, and the two norms agree.
Sketch. Both inner products equal the same combination of the numbers ‖𝐱+𝑐𝐲‖2, 𝑐∈{±1,±𝑖}, and these do not depend on which inner product defines the norm.
The two inner products define the same norm, ‖𝐯‖=⟨𝐯,𝐯⟩1=⟨𝐯,𝐯⟩2. By Proposition 6.1.32, applied once to each inner product, both ⟨𝐱,𝐲⟩1 and ⟨𝐱,𝐲⟩2 equal 14(‖𝐱+𝐲‖2−‖𝐱−𝐲‖2) if 𝔽=ℝ, and 14∑𝑘=03𝑖𝑘‖𝐱+𝑖𝑘𝐲‖2 if 𝔽=ℂ. So they are equal. □

Combined with Proposition 6.1.27(b), the inner product is even determined by its unit sphere {𝐯∈𝑉|‖𝐯‖=1}: for 𝐯≠𝟎, ‖𝐯‖ is the unique 𝑡>0 for which 𝐯/𝑡 lies on the sphere. So each curve in Figure 6.1.2 determines its inner product completely.

Exercise 6.1.35.routine Vectors 𝐱,𝐲 in a complex inner product space satisfy

‖𝐱+𝐲‖2=10,‖𝐱−𝐲‖2=2,‖𝐱+𝑖𝐲‖2=4,‖𝐱−𝑖𝐲‖2=8.

Find ⟨𝐱,𝐲⟩ and ‖𝐱‖2+‖𝐲‖2.

Solution.

Uses. Proposition 6.1.32 (Polarization identities), Proposition 6.1.30 (Parallelogram law)

Techniques. Polarization (Technique 6.1.33)

Hint 1. Substitute into Proposition 6.1.32(b).
Hint 2. For ‖𝐱‖2+‖𝐲‖2, use the parallelogram law, for the pair 𝐱,𝐲 or for the pair 𝐱,𝑖𝐲.
Sketch. ⟨𝐱,𝐲⟩=(10−2+4𝑖−8𝑖)/4=2−𝑖. The parallelogram law gives 2(‖𝐱‖2+‖𝐲‖2)=10+2=12, so the sum is 6.

By Proposition 6.1.32(b),

⟨𝐱,𝐲⟩=14(10−2+4𝑖−8𝑖)=14(8−4𝑖)=2−𝑖.

By Proposition 6.1.30, 2‖𝐱‖2+2‖𝐲‖2=10+2=12, so ‖𝐱‖2+‖𝐲‖2=6. The data are consistent: the parallelogram law for 𝐱 and 𝑖𝐲, where ‖𝑖𝐲‖=‖𝐲‖, gives 4+8=12 as well.

6.1.5Inner products distinguish vectors

The lecture’s next observation is that a vector is determined by its inner products with all vectors. The proof is a one-line instance of a move used throughout this chapter, so we name it first.

Technique 6.1.36 (Show a vector is zero via its norm). By definiteness, 𝐯=𝟎 as soon as ⟨𝐯,𝐯⟩=0. So to prove that a vector is zero, compute ⟨𝐯,𝐯⟩, or ‖𝐯‖2, and show that it vanishes. Often one knows that ⟨𝐯,𝐱⟩=0 for many 𝐱, and the move is to take 𝐱=𝐯. To prove 𝐯=𝐰, apply this to 𝐯−𝐰, expanding ‖𝐯−𝐰‖2 with Proposition 6.1.29 if necessary.

Reach for it when the hypotheses are statements about inner products and the conclusion is an equation between vectors. The canonical example is Proposition 6.1.37. In Section 6.5 the same move shows that 𝐴∗𝐴𝐱=𝟎 implies 𝐴𝐱=𝟎.

Proposition 6.1.37 (Inner products distinguish vectors). Let 𝑉 be an inner product space and 𝐯,𝐰∈𝑉. If ⟨𝐯,𝐱⟩=⟨𝐰,𝐱⟩ for all 𝐱∈𝑉, then 𝐯=𝐰.

Proof.routine

Hint 1. Reduce to the case 𝐰=𝟎 by looking at 𝐯−𝐰.
Hint 2. If ⟨𝐮,𝐱⟩=0 for every 𝐱, which choice of 𝐱 tells you the most about 𝐮?
Hint 3. Take 𝐱=𝐮 and use definiteness.
Sketch. By linearity, ⟨𝐯−𝐰,𝐱⟩=0 for every 𝐱. Choosing 𝐱=𝐯−𝐰 gives ‖𝐯−𝐰‖2=0, so 𝐯=𝐰.

First suppose 𝐰=𝟎. By Proposition 6.1.4, ⟨𝐯,𝐱⟩=⟨𝟎,𝐱⟩=0 for all 𝐱∈𝑉. In particular, for 𝐱=𝐯 we get ⟨𝐯,𝐯⟩=0, and 𝐯=𝟎 by definiteness.

For the general case, linearity in the first slot gives ⟨𝐯−𝐰,𝐱⟩=⟨𝐯,𝐱⟩−⟨𝐰,𝐱⟩=0=⟨𝟎,𝐱⟩ for all 𝐱∈𝑉. By the first case, 𝐯−𝐰=𝟎, that is, 𝐯=𝐰, as desired. □

The same holds with the vectors in the second slot: if ⟨𝐱,𝐯⟩=⟨𝐱,𝐰⟩ for all 𝐱, conjugating gives ⟨𝐯,𝐱⟩=⟨𝐰,𝐱⟩ for all 𝐱. Nor do we need every 𝐱: the vectors of a spanning list suffice (Exercise 6.1.50).

Corollary 6.1.38 (Linear maps are determined by inner products). Let 𝑉 be a vector space over 𝔽, let 𝑊 be an inner product space, and let 𝑆,𝑇:𝑉→𝑊 be linear. If ⟨𝑆𝐯,𝐰⟩=⟨𝑇𝐯,𝐰⟩ for all 𝐯∈𝑉 and all 𝐰∈𝑊, then 𝑆=𝑇.

Proof.routine

Uses. Proposition 6.1.37 (Inner products distinguish vectors)

Techniques. Show a vector is zero via its norm (Technique 6.1.36)

Hint 1. Fix 𝐯∈𝑉. What does the hypothesis say about the two vectors 𝑆𝐯 and 𝑇𝐯 of 𝑊?
Hint 2. Apply Proposition 6.1.37 in 𝑊.
Sketch. For each fixed 𝐯, ⟨𝑆𝐯,𝐰⟩=⟨𝑇𝐯,𝐰⟩ for all 𝐰∈𝑊, so 𝑆𝐯=𝑇𝐯 by Proposition 6.1.37.
Here and below we write 𝑇𝐯 for 𝑇(𝐯). Fix 𝐯∈𝑉. By hypothesis, the vectors 𝑆𝐯 and 𝑇𝐯 of 𝑊 satisfy ⟨𝑆𝐯,𝐰⟩=⟨𝑇𝐯,𝐰⟩ for all 𝐰∈𝑊, so 𝑆𝐯=𝑇𝐯 by Proposition 6.1.37. Since 𝐯 was arbitrary, 𝑆=𝑇. □

The proof never used that 𝑆 and 𝑇 are linear, so the corollary holds for arbitrary functions 𝑉→𝑊. It is how adjoints will be shown to be unique (Section 6.6).

Testing on the diagonal

Corollary 6.1.38 tests ⟨𝑇𝐯,𝐰⟩ on all pairs of vectors. For an operator 𝑇∈L(𝑉), it is natural to ask whether the values ⟨𝑇𝐯,𝐯⟩, with the same vector in both slots, are already enough. Over ℝ they are not.

Example 6.1.39 (A rotation). Let 𝑇:ℝ2→ℝ2 be 𝑇𝐱=𝐽𝐱=(−𝑥2,𝑥1), where 𝐽=(0−110); this is the rotation by 𝜋/2. With the dot product,

⟨𝑇𝐱,𝐱⟩=(−𝑥2)𝑥1+𝑥1𝑥2=0for every𝐱∈ℝ2,

as a rotation by a right angle moves every vector to a perpendicular one. But 𝑇≠0.

Over ℂ, however, the values ⟨𝑇𝐯,𝐯⟩ do determine 𝑇. The proof feeds the hypothesis well-chosen vectors, a move that polarization has already used.

Technique 6.1.40 (Plug in clever test vectors). A hypothesis that holds for all vectors holds in particular for sums and multiples of the vectors you care about. Applying it to 𝐯=𝐱+𝐲, 𝐱−𝐲, 𝐱+𝑖𝐲, or to the very vector you want to control, turns one identity into a system of equations, which can then be solved for the quantity you want.

Reach for it when a hypothesis is quantified over all vectors but involves each vector only quadratically, like ‖𝐯‖ or ⟨𝑇𝐯,𝐯⟩, and you need information about pairs of vectors. Over ℂ, the pair 𝐱+𝐲 and 𝐱+𝑖𝐲 is usually the right choice, because together they separate real and imaginary parts. The canonical example is Proposition 6.1.41. The polarization identities (Proposition 6.1.32) and the choice 𝐱=𝐯−𝐰 in Proposition 6.1.37 are instances of the same move.

Proposition 6.1.41 (Over ℂ, the values ⟨𝑇𝐯,𝐯⟩ determine 𝑇). Let 𝑉 be a complex inner product space and 𝑇∈L(𝑉). If ⟨𝑇𝐯,𝐯⟩=0 for all 𝐯∈𝑉, then 𝑇=0. Consequently, if 𝑆,𝑇∈L(𝑉) satisfy ⟨𝑆𝐯,𝐯⟩=⟨𝑇𝐯,𝐯⟩ for all 𝐯∈𝑉, then 𝑆=𝑇.
Intuition. By Corollary 6.1.38 it suffices to show ⟨𝑇𝐱,𝐲⟩=0 for all 𝐱,𝐲, but the hypothesis only speaks about one vector at a time. Plugging 𝐯=𝐱+𝐲 into it isolates the sum ⟨𝑇𝐱,𝐲⟩+⟨𝑇𝐲,𝐱⟩. Over ℝ that is all one can get, and for the rotation of Example 6.1.39 this sum is 0 for all 𝐱,𝐲 although its terms are not. Over ℂ, plugging in 𝐯=𝐱+𝑖𝐲 produces a second combination, −𝑖 times the difference ⟨𝑇𝐱,𝐲⟩−⟨𝑇𝐲,𝐱⟩, and two independent equations in the two unknowns can be solved.

Proof (with test vectors).standard

Uses. Corollary 6.1.38 (Linear maps are determined by inner products), Proposition 6.1.4 (Sesquilinearity), Proposition 2.1.23 (L(𝑉,𝑊) is a vector space)

Techniques. Plug in clever test vectors (Technique 6.1.40)

Hint 1. It suffices to show ⟨𝑇𝐱,𝐲⟩=0 for all 𝐱,𝐲∈𝑉. Apply the hypothesis to a vector built from 𝐱 and 𝐲.
Hint 2. 𝐯=𝐱+𝐲 gives ⟨𝑇𝐱,𝐲⟩+⟨𝑇𝐲,𝐱⟩=0. That alone cannot suffice, since the rotation satisfies it. Find a second equation.
Hint 3. Try 𝐯=𝐱+𝑖𝐲, and remember that 𝑖 leaves the second slot as −𝑖.
Sketch. Expanding ⟨𝑇𝐯,𝐯⟩=0 at 𝐯=𝐱+𝐲 and at 𝐯=𝐱+𝑖𝐲 gives ⟨𝑇𝐱,𝐲⟩+⟨𝑇𝐲,𝐱⟩=0 and −𝑖⟨𝑇𝐱,𝐲⟩+𝑖⟨𝑇𝐲,𝐱⟩=0. Dividing the second by −𝑖 and adding, ⟨𝑇𝐱,𝐲⟩=0 for all 𝐱,𝐲, so 𝑇=0. Apply this to 𝑆−𝑇 for the last claim.

Let 𝐱,𝐲∈𝑉. Since 𝑇 is linear and the inner product is sesquilinear,

⟨𝑇(𝐱+𝐲),𝐱+𝐲⟩=⟨𝑇𝐱,𝐱⟩+⟨𝑇𝐱,𝐲⟩+⟨𝑇𝐲,𝐱⟩+⟨𝑇𝐲,𝐲⟩.

The left side and the first and last terms on the right are 0 by hypothesis, so

⟨𝑇𝐱,𝐲⟩+⟨𝑇𝐲,𝐱⟩=0.
(6.1.3)

Similarly, 𝑇(𝐱+𝑖𝐲)=𝑇𝐱+𝑖𝑇𝐲, and Proposition 6.1.4 gives

⟨𝑇𝐱+𝑖𝑇𝐲,𝐱+𝑖𝐲⟩=⟨𝑇𝐱,𝐱⟩+𝑖⟨𝑇𝐱,𝐲⟩+𝑖⟨𝑇𝐲,𝐱⟩+𝑖𝑖⟨𝑇𝐲,𝐲⟩.

Again the left side and the first and last terms vanish, so −𝑖⟨𝑇𝐱,𝐲⟩+𝑖⟨𝑇𝐲,𝐱⟩=0. Dividing by −𝑖,

⟨𝑇𝐱,𝐲⟩−⟨𝑇𝐲,𝐱⟩=0.

Adding this to (6.1.3) gives 2⟨𝑇𝐱,𝐲⟩=0, so ⟨𝑇𝐱,𝐲⟩=0=⟨0𝐱,𝐲⟩ for all 𝐱,𝐲∈𝑉. By Corollary 6.1.38, 𝑇=0.

For the last statement, 𝑆−𝑇∈L(𝑉) (Proposition 2.1.23), and ⟨(𝑆−𝑇)𝐯,𝐯⟩=⟨𝑆𝐯,𝐯⟩−⟨𝑇𝐯,𝐯⟩=0 for all 𝐯. So 𝑆−𝑇=0. □

Proof (by polarizing a sesquilinear function).standard

Uses. Corollary 6.1.38 (Linear maps are determined by inner products), Proposition 6.1.4 (Sesquilinearity), Proposition 6.1.32 (Polarization identities)

Techniques. Polarization (Technique 6.1.33)

Hint 1. The function 𝐵(𝐱,𝐲)=⟨𝑇𝐱,𝐲⟩ is linear in 𝐱 and conjugate-linear in 𝐲, like an inner product, but it need not be conjugate symmetric or positive. Try to redo the second proof of Proposition 6.1.32 for 𝐵; where that proof wrote 𝑧 for ⟨𝐲,𝐱⟩, keep 𝐵(𝐲,𝐱) instead.
Hint 2. Expand 𝐵(𝐱+𝑖𝑘𝐲,𝐱+𝑖𝑘𝐲), multiply by 𝑖𝑘, and sum over 𝑘=0,…,3.
Sketch. Redo the roots-of-unity computation of Proposition 6.1.32 with 𝐵(𝐲,𝐱) in place of 𝑧; that term still carries the factor 𝑐2, which sums to 0. So any 𝐵 that is linear in the first slot and conjugate-linear in the second satisfies 𝐵(𝐱,𝐲)=14∑𝑘𝑖𝑘𝐵(𝐱+𝑖𝑘𝐲,𝐱+𝑖𝑘𝐲). For 𝐵(𝐱,𝐲)=⟨𝑇𝐱,𝐲⟩, every term on the right is 0.

Let 𝐵(𝐱,𝐲)=⟨𝑇𝐱,𝐲⟩. It is linear in 𝐱, as 𝑇 is linear and the inner product is linear in the first slot, and it satisfies 𝐵(𝐱,𝑎𝐲+𝑏𝐳)=𝑎𝐵(𝐱,𝐲)+𝑏𝐵(𝐱,𝐳) by Proposition 6.1.4. For 𝑐∈ℂ with |𝑐|=1, expanding gives

𝐵(𝐱+𝑐𝐲,𝐱+𝑐𝐲)=𝐵(𝐱,𝐱)+𝑐𝐵(𝐱,𝐲)+𝑐𝐵(𝐲,𝐱)+𝐵(𝐲,𝐲),

using 𝑐𝑐=1. Multiply by 𝑐 and sum over 𝑐=𝑖𝑘, 𝑘=0,1,2,3. Since ∑𝑘𝑖𝑘=0, ∑𝑘𝑖𝑘𝑖𝑘=4, and ∑𝑘𝑖2𝑘=0,

𝐵(𝐱,𝐲)=14∑𝑘=03𝑖𝑘𝐵(𝐱+𝑖𝑘𝐲,𝐱+𝑖𝑘𝐲).
(6.1.4)

We never used conjugate symmetry or positivity, only how 𝐵 treats scalars in each slot. For our 𝐵, every term on the right is of the form ⟨𝑇𝐯,𝐯⟩=0. So ⟨𝑇𝐱,𝐲⟩=0 for all 𝐱,𝐲, and 𝑇=0 by Corollary 6.1.38. The last statement follows as in the first proof. □

The second proof shows more. Over ℂ, every function 𝐵:𝑉×𝑉→ℂ that is linear in the first slot and conjugate-linear in the second is determined by its diagonal values 𝐵(𝐯,𝐯), through (6.1.4), with no symmetry assumption. Over ℝ the analogous computation gives

14(𝐵(𝐱+𝐲,𝐱+𝐲)−𝐵(𝐱−𝐲,𝐱−𝐲))=12(𝐵(𝐱,𝐲)+𝐵(𝐲,𝐱)),

which recovers only the symmetric part of 𝐵. For the rotation of Example 6.1.39, 𝐵(𝐱,𝐲)=(𝐽𝐱)⋅𝐲=𝑥1𝑦2−𝑥2𝑦1 is antisymmetric, so its symmetric part is 0 although 𝐵 is not.

Aside (Norms that do not come from inner products).Beyond 21-242 The properties of ‖⋅‖ that matter in analysis are (a) and (b) of Proposition 6.1.27, together with the triangle inequality ‖𝐯+𝐰‖≤‖𝐯‖+‖𝐰‖, which Section 6.2 proves for the norm of an inner product. Any function 𝑉→ℝ with these three properties is called a norm on 𝑉, and a vector space with a norm is a normed space. Every inner product space is a normed space, but 𝔽𝑛 carries many norms that do not come from inner products, for instance

‖𝐱‖1=∑𝑘=1𝑛|𝑥𝑘|,‖𝐱‖∞=max𝑘|𝑥𝑘|.

The first is the taxicab norm, the distance driven along a grid of streets; the second is the maximum norm. Checking the three properties for each is a short exercise. Their unit spheres in ℝ2 are a diamond and a square (Figure 6.1.4), while those of inner products look like the ellipses of Figure 6.1.2.

Figure 6.1.4. The unit spheres of ‖⋅‖1 (diamond), of the Euclidean norm (circle), and of ‖⋅‖∞ (square) in ℝ2. The marked points 𝐞1±𝐞2 test the parallelogram law.

Corners suggest that no inner product is involved, and the parallelogram law (Proposition 6.1.30) makes this precise. In ℝ2,

‖𝐞1+𝐞2‖12+‖𝐞1−𝐞2‖12=4+4=8,‖𝐞1+𝐞2‖∞2+‖𝐞1−𝐞2‖∞2=1+1=2,

while 2‖𝐞1‖2+2‖𝐞2‖2=4 for both norms. So neither satisfies the parallelogram law, and neither is the norm of any inner product on ℝ2.

The parallelogram law is the only obstruction. The Jordan–von Neumann theorem says that a norm on a real or complex vector space is the norm of an inner product if and only if it satisfies the parallelogram law. The inner product is then given by the polarization identities, as it must be by Corollary 6.1.34. The real case is Exercise 6.1.61.

Exercises

Exercise 6.1.42.standard Decide which of the following define inner products.

  1. (a)On ℝ3: ⟨𝐱,𝐲⟩=𝑥1𝑦1+2𝑥2𝑦2+3𝑥3𝑦3+𝑥1𝑦3+𝑥3𝑦1.
  2. (b)On ℝ2×2: ⟨𝐴,𝐵⟩=tr(𝐴)tr(𝐵).
  3. (c)On ℂ2: ⟨𝐱,𝐲⟩=𝑥1𝑦1+𝑖𝑥2𝑦2.
  4. (d)On ℝ[𝑥]≤2: ⟨𝑝,𝑞⟩=𝑝(−1)𝑞(−1)+𝑝(0)𝑞(0)+𝑝(1)𝑞(1).
  5. (e)On ℂ2: ⟨𝐱,𝐲⟩=2𝑥1𝑦1−𝑖𝑥2𝑦1+𝑖𝑥1𝑦2+𝑥2𝑦2.

Solution.

Uses. Definition 6.1.2 (Inner product), Proposition 6.1.22 (Inner products on 𝔽𝑛), Proposition 6.1.4 (Sesquilinearity), Definition 1.2.17 (Evaluation)

Techniques. A sum of nonnegative terms (Technique 6.1.9)

Hint 1. (a) and (e) have the form 𝐲∗𝑀𝐱; write down 𝑀 and use Proposition 6.1.22. To show 𝐱∗𝑀𝐱>0, complete squares.
Hint 2. (b) Look for a nonzero matrix with ⟨𝐴,𝐴⟩=0. (c) Compute ⟨𝐞2,𝐞2⟩.
Hint 3. (d) A polynomial 𝑎+𝑏𝑥+𝑐𝑥2 that vanishes at −1, 0, and 1: solve for 𝑎,𝑏,𝑐. (e) Try to write 𝐱∗𝑀𝐱 as |𝑥1|2+|𝑥2+𝑖𝑥1|2.
Sketch. (a) Yes: 𝑀 is symmetric and 𝐱𝖳𝑀𝐱=(𝑥1+𝑥3)2+2𝑥22+2𝑥32. (b) No: 𝐴=(100−1)≠0 has ⟨𝐴,𝐴⟩=0. (c) No: ⟨𝐞2,𝐞2⟩=𝑖 is not real. (d) Yes: it is symmetric, bilinear, a sum of squares on the diagonal, and a polynomial of degree at most 2 vanishing at three points is 0. (e) Yes: 𝑀=(2−𝑖𝑖1) is self-conjugate-transpose and 𝐱∗𝑀𝐱=|𝑥1|2+|𝑥2+𝑖𝑥1|2.

(a) Yes. The formula is 𝐲𝖳𝑀𝐱 with 𝑀=(101020103), which is symmetric, and

𝐱𝖳𝑀𝐱=𝑥12+2𝑥22+3𝑥32+2𝑥1𝑥3=(𝑥1+𝑥3)2+2𝑥22+2𝑥32.

This is a sum of nonnegative terms, and it is 0 only if 𝑥2=𝑥3=0 and 𝑥1+𝑥3=0, that is, 𝐱=𝟎. By Proposition 6.1.22(b), it is an inner product.

(b) No. Definiteness fails: 𝐴=(100−1) is nonzero, but ⟨𝐴,𝐴⟩=tr(𝐴)2=0. (The formula is symmetric, bilinear, and positive.)

(c) No. ⟨𝐞2,𝐞2⟩=𝑖 is not a nonnegative real number, so positivity fails. (Conjugate symmetry fails as well, since 𝑖≠𝑖.)

(d) Yes. Evaluation at a point is linear (Definition 1.2.17), so the formula is linear in 𝑝, and it is visibly symmetric. Also ⟨𝑝,𝑝⟩=𝑝(−1)2+𝑝(0)2+𝑝(1)2≥0. If ⟨𝑝,𝑝⟩=0, each term vanishes, so 𝑝=𝑎+𝑏𝑥+𝑐𝑥2 satisfies 𝑝(0)=𝑎=0, 𝑝(1)=𝑎+𝑏+𝑐=0, and 𝑝(−1)=𝑎−𝑏+𝑐=0. Then 𝑏+𝑐=0 and −𝑏+𝑐=0, so 𝑏=𝑐=0 and 𝑝=𝟎.

(e) Yes. Reading off the coefficient of 𝑦𝑖𝑥𝑗 as 𝑚𝑖𝑗, the formula is 𝐲∗𝑀𝐱 with 𝑀=(2−𝑖𝑖1). The conjugate transpose of 𝑀 is (2𝑖−𝑖1)=(2−𝑖𝑖1)=𝑀. Also,

𝐱∗𝑀𝐱=2|𝑥1|2−𝑖𝑥1𝑥2+𝑖𝑥1𝑥2+|𝑥2|2.

On the other hand, by Proposition 6.1.29 in ℂ1 (or by direct expansion), |𝑥2+𝑖𝑥1|2=|𝑥2|2+𝑖𝑥1𝑥2−𝑖𝑥1𝑥2+|𝑥1|2. Hence 𝐱∗𝑀𝐱=|𝑥1|2+|𝑥2+𝑖𝑥1|2, which is 0 only if 𝑥1=0 and then 𝑥2=0. By Proposition 6.1.22(b), this is an inner product.

Exercise 6.1.43.standard The proof of Proposition 6.1.13 works on any closed interval [𝑎,𝑏] in place of [0,1]. Decide which of the following are inner products.

  1. (a)⟨𝑓,𝑔⟩=∫−11𝑡2𝑓(𝑡)𝑔(𝑡)d𝑡 on 𝐶[−1,1].
  2. (b)⟨𝑓,𝑔⟩=∫−11𝑡𝑓(𝑡)𝑔(𝑡)d𝑡 on 𝐶[−1,1].
  3. (c)⟨𝑓,𝑔⟩=∫01/2𝑓(𝑡)𝑔(𝑡)d𝑡 on 𝐶[0,1].
  4. (d)⟨𝑓,𝑔⟩=𝑓(0)𝑔(0)+∫01𝑓′(𝑡)𝑔′(𝑡)d𝑡 on the space 𝐶1[0,1] of continuously differentiable functions [0,1]→ℝ.

Solution.

Uses. Proposition 6.1.13 (Integral inner products), Lemma 6.1.14 (Nonnegative functions with zero integral)

Hint 1. In each case symmetry and bilinearity come from the integral. Only positivity and definiteness need thought.
Hint 2. (b) Find 𝑓 that is large where 𝑡<0 and small where 𝑡>0. (c) Find a nonzero continuous function that vanishes on [0,1/2].
Hint 3. For (a) and (d), use Lemma 6.1.14 (on the relevant interval), then continuity or the mean value theorem.
Sketch. (a) Yes: 𝑡2𝑓(𝑡)2=0 for all 𝑡 forces 𝑓=0 off 0, and then at 0 by continuity. (b) No: 𝑓(𝑡)=1−𝑡 gives ⟨𝑓,𝑓⟩=−4/3. (c) No: 𝑓(𝑡)=max(0,𝑡−1/2) is nonzero with ⟨𝑓,𝑓⟩=0. (d) Yes: ⟨𝑓,𝑓⟩=0 gives 𝑓(0)=0 and 𝑓′=0, so 𝑓=0.

In all four cases the formula is symmetric and bilinear, by linearity of the integral and of 𝑓↦𝑓′. So only positivity and definiteness are at stake.

(a) Yes. ⟨𝑓,𝑓⟩=∫−11𝑡2𝑓(𝑡)2d𝑡≥0, as the integrand is continuous and nonnegative. If ⟨𝑓,𝑓⟩=0, then Lemma 6.1.14 (on [−1,1]) gives 𝑡2𝑓(𝑡)2=0 for all 𝑡, so 𝑓(𝑡)=0 for all 𝑡≠0. By continuity, 𝑓(0)=lim𝑡→0𝑓(𝑡)=0 as well. So 𝑓=0.

(b) No. Positivity fails for 𝑓(𝑡)=1−𝑡:

⟨𝑓,𝑓⟩=∫−11𝑡(1−𝑡)2d𝑡=∫−11(𝑡−2𝑡2+𝑡3)d𝑡=0−43+0=−43<0.

(c) No. Definiteness fails: 𝑓(𝑡)=max(0,𝑡−1/2) is continuous and nonzero, but 𝑓=0 on [0,1/2], so ⟨𝑓,𝑓⟩=0. (Positivity does hold.)

(d) Yes. ⟨𝑓,𝑓⟩=𝑓(0)2+∫01𝑓′(𝑡)2d𝑡≥0. If ⟨𝑓,𝑓⟩=0, both nonnegative terms vanish. So 𝑓(0)=0, and Lemma 6.1.14 applied to the continuous function (𝑓′)2 gives 𝑓′=0 on [0,1]. By the mean value theorem 𝑓 is constant, so 𝑓=𝑓(0)=0. Without the term 𝑓(0)𝑔(0), definiteness would fail for the constant function 1.

Exercise 6.1.44.routine In a complex inner product space, ‖𝐱‖=1, ‖𝐲‖=2, and ⟨𝐱,𝐲⟩=1−𝑖. Compute

  1. (a)⟨2𝐱+𝑖𝐲,𝐱−𝐲⟩;
  2. (b)‖𝐱−𝑖𝐲‖2;
  3. (c)‖(1+𝑖)𝐱+𝐲‖2.
  4. (d)Find 𝑐∈ℂ with ⟨𝐱−𝑐𝐲,𝐲⟩=0, and compute ‖𝐱−𝑐𝐲‖2.

Solution.

Uses. Proposition 6.1.4 (Sesquilinearity), Proposition 6.1.29 (Expanding a norm)

Techniques. Expand by multilinearity (Technique 5.1.7)

Hint 1. Expand each inner product into the four values ⟨𝐱,𝐱⟩=1, ⟨𝐱,𝐲⟩=1−𝑖, ⟨𝐲,𝐱⟩=1+𝑖, ⟨𝐲,𝐲⟩=4. Scalars leave the second slot conjugated.
Hint 2. For (b) and (c), Proposition 6.1.29 saves work: ‖𝐱+𝑎𝐲‖2=‖𝐱‖2+2Re(𝑎⟨𝐱,𝐲⟩)+|𝑎|2‖𝐲‖2.
Sketch. (a) 2−2(1−𝑖)+𝑖(1+𝑖)−4𝑖=−1−𝑖. (b) 1+2Re(𝑖(1−𝑖))+4=7. (c) |1+𝑖|2+2Re((1+𝑖)(1−𝑖))+4=10. (d) 𝑐=(1−𝑖)/4 and ‖𝐱−𝑐𝐲‖2=1−1+1/2=1/2.

We use ⟨𝐱,𝐱⟩=1, ⟨𝐲,𝐲⟩=4, ⟨𝐱,𝐲⟩=1−𝑖, and ⟨𝐲,𝐱⟩=1−𝑖=1+𝑖.

(a) Expanding,

⟨2𝐱+𝑖𝐲,𝐱−𝐲⟩=2⟨𝐱,𝐱⟩−2⟨𝐱,𝐲⟩+𝑖⟨𝐲,𝐱⟩−𝑖⟨𝐲,𝐲⟩=2−(2−2𝑖)+(𝑖−1)−4𝑖=−1−𝑖.

(b) By Proposition 6.1.29 with 𝑎=−𝑖, 𝑎=𝑖, and |𝑎|=1,

‖𝐱−𝑖𝐲‖2=1+2Re(𝑖(1−𝑖))+4=1+2Re(1+𝑖)+4=7.

(c) Here the scalar sits on 𝐱, so we expand directly:

‖(1+𝑖)𝐱+𝐲‖2=|1+𝑖|2⟨𝐱,𝐱⟩+(1+𝑖)⟨𝐱,𝐲⟩+(1+𝑖)⟨𝐲,𝐱⟩+⟨𝐲,𝐲⟩,

which is

2+(1+𝑖)(1−𝑖)+(1−𝑖)(1+𝑖)+4=2+2+2+4=10.

(d) By linearity in the first slot, ⟨𝐱−𝑐𝐲,𝐲⟩=(1−𝑖)−4𝑐, which vanishes exactly for 𝑐=(1−𝑖)/4. Then 𝑐⟨𝐱,𝐲⟩=(1+𝑖)(1−𝑖)/4=1/2 and |𝑐|2=2/16=1/8, so by Proposition 6.1.29 with 𝑎=−𝑐,

‖𝐱−𝑐𝐲‖2=1−2⋅12+18⋅4=12.
Exercise 6.1.45.standard
  1. (a)An inner product on ℝ2 satisfies ‖𝐞1‖=1, ‖𝐞2‖=2, and ‖𝐞1+𝐞2‖=2. Show that there is exactly one such inner product, and find a formula for ⟨𝐱,𝐲⟩.
  2. (b)Compute ‖𝐞1−𝐞2‖ for the inner product of (a) in two ways: from your formula, and from the parallelogram law.
  3. (c)Show that no inner product on ℝ2 satisfies ‖𝐞1‖=1, ‖𝐞2‖=2, and ‖𝐞1+𝐞2‖=4.

Solution.

Uses. Proposition 6.1.22 (Inner products on 𝔽𝑛), Proposition 6.1.29 (Expanding a norm), Proposition 6.1.30 (Parallelogram law)

Techniques. Polarization (Technique 6.1.33)

Hint 1. By Proposition 6.1.22(a), an inner product on ℝ2 is determined by ⟨𝐞1,𝐞1⟩, ⟨𝐞2,𝐞2⟩, and 𝑐=⟨𝐞1,𝐞2⟩. Find 𝑐 from ‖𝐞1+𝐞2‖2.
Hint 2. In (a), you must also check that the matrix you find gives an inner product: complete the square.
Hint 3. In (c), the same computation forces a value of 𝑐. Find a vector 𝐱 with ⟨𝐱,𝐱⟩<0 for that value.
Sketch. (a) 4=1+2𝑐+4 forces 𝑐=−1/2, so ⟨𝐱,𝐲⟩=𝑥1𝑦1−(𝑥1𝑦2+𝑥2𝑦1)/2+4𝑥2𝑦2, which is an inner product because 𝑥12−𝑥1𝑥2+4𝑥22=(𝑥1−𝑥2/2)2+15𝑥22/4. (b) Both give ‖𝐞1−𝐞2‖2=6. (c) 16=5+2𝑐 forces 𝑐=11/2, and then (2,−1) would have ⟨𝐱,𝐱⟩=4−22+4<0.

(a) Suppose ⟨⋅,⋅⟩ is such an inner product, and let 𝑐=⟨𝐞1,𝐞2⟩=⟨𝐞2,𝐞1⟩ (it is real and symmetric). By Proposition 6.1.29, ‖𝐞1+𝐞2‖2=1+2𝑐+4, so 4=5+2𝑐 and 𝑐=−1/2. By Proposition 6.1.22(a), ⟨𝐱,𝐲⟩=𝐲𝖳𝑀𝐱 with 𝑀=(1−1/2−1/24), that is,

⟨𝐱,𝐲⟩=𝑥1𝑦1−12(𝑥1𝑦2+𝑥2𝑦1)+4𝑥2𝑦2.

So there is at most one such inner product. Conversely, 𝑀 is symmetric and

𝐱𝖳𝑀𝐱=𝑥12−𝑥1𝑥2+4𝑥22=(𝑥1−𝑥22)2+154𝑥22,

which is positive unless 𝑥2=0 and 𝑥1=𝑥2/2=0. By Proposition 6.1.22(b), this is an inner product, and it has ‖𝐞1‖2=1, ‖𝐞2‖2=4, and ‖𝐞1+𝐞2‖2=1−1+4=4, as required.

(b) From the formula, ‖𝐞1−𝐞2‖2=1−2𝑐+4=1+1+4=6. From Proposition 6.1.30, ‖𝐞1−𝐞2‖2=2⋅1+2⋅4−4=6. So ‖𝐞1−𝐞2‖=6.

(c) Suppose such an inner product exists. The argument of (a) gives 16=5+2𝑐, so 𝑐=11/2, and ⟨𝐱,𝐱⟩=𝑥12+11𝑥1𝑥2+4𝑥22 for all 𝐱. For 𝐱=(2,−1) this is 4−22+4=−14<0, contradicting positivity. (In Section 6.2 this also follows from the triangle inequality, as 4>1+2.)

Exercise 6.1.46.standard For which 𝑎,𝑏,𝑐∈ℝ is

⟨𝐱,𝐲⟩=𝑎𝑥1𝑦1+𝑏(𝑥1𝑦2+𝑥2𝑦1)+𝑐𝑥2𝑦2

an inner product on ℝ2?

Solution.

Hint 1. The formula is 𝐲𝖳𝑀𝐱 for the symmetric matrix 𝑀=(𝑎𝑏𝑏𝑐), so by Proposition 6.1.22 the question is when 𝑞(𝐱)=𝑎𝑥12+2𝑏𝑥1𝑥2+𝑐𝑥22>0 for all 𝐱≠𝟎.
Hint 2. Necessary conditions come from test vectors: try 𝐞1, and then a vector that makes the cross term as harmful as possible, such as (−𝑏,𝑎).
Hint 3. For sufficiency, when 𝑎>0, complete the square in 𝑎𝑞(𝐱).
Sketch. Exactly when 𝑎>0 and 𝑎𝑐−𝑏2>0. Necessity: 𝑞(𝐞1)=𝑎 and 𝑞(−𝑏,𝑎)=𝑎(𝑎𝑐−𝑏2). Sufficiency: 𝑎𝑞(𝐱)=(𝑎𝑥1+𝑏𝑥2)2+(𝑎𝑐−𝑏2)𝑥22.

The formula is 𝐲𝖳𝑀𝐱 with 𝑀=(𝑎𝑏𝑏𝑐), which is symmetric. By Proposition 6.1.22(b), it is an inner product if and only if 𝑞(𝐱)=𝐱𝖳𝑀𝐱=𝑎𝑥12+2𝑏𝑥1𝑥2+𝑐𝑥22 is positive for all 𝐱≠𝟎. We show that this happens exactly when 𝑎>0 and 𝑎𝑐−𝑏2>0.

Suppose 𝑞(𝐱)>0 for all 𝐱≠𝟎. Then 𝑎=𝑞(𝐞1)>0. The vector (−𝑏,𝑎) is nonzero since 𝑎≠0, and

𝑞(−𝑏,𝑎)=𝑎𝑏2−2𝑏⋅𝑏𝑎+𝑐𝑎2=𝑎(𝑎𝑐−𝑏2),

which is positive; dividing by 𝑎>0 gives 𝑎𝑐−𝑏2>0.

Conversely, suppose 𝑎>0 and 𝑎𝑐−𝑏2>0. Completing the square,

𝑎𝑞(𝐱)=𝑎2𝑥12+2𝑎𝑏𝑥1𝑥2+𝑎𝑐𝑥22=(𝑎𝑥1+𝑏𝑥2)2+(𝑎𝑐−𝑏2)𝑥22.

Both terms are nonnegative, so 𝑎𝑞(𝐱)≥0, and it is 0 only if 𝑥2=0 and 𝑎𝑥1+𝑏𝑥2=0, that is, 𝐱=𝟎. Since 𝑎>0, 𝑞(𝐱)>0 for 𝐱≠𝟎.

The number 𝑎𝑐−𝑏2 is det𝑀; Section 12.3 extends this test to 𝑛×𝑛 matrices.

Exercise 6.1.47.standard Let 𝑀∈ℂ𝑛×𝑛, and suppose 𝐱∗𝑀𝐱∈ℝ for every 𝐱∈ℂ𝑛. Show that 𝑀∗=𝑀. Conclude that over ℂ, the condition 𝑀∗=𝑀 in Proposition 6.1.22(b) is implied by the condition 𝐱∗𝑀𝐱>0 for 𝐱≠𝟎. (By Remark 6.1.24, this fails over ℝ.)

Solution.

Uses. Notation 6.1.7 (Conjugate transpose), Notation 6.1.1 (Real and complex scalars)

Techniques. Plug in clever test vectors (Technique 6.1.40)

Hint 1. Compute 𝐱∗𝑀𝐱 for 𝐱=𝐞𝑗, 𝐞𝑗+𝐞𝑘, and 𝐞𝑗+𝑖𝐞𝑘.
Hint 2. With 𝐱=𝐞𝑗+𝐞𝑘 you learn that 𝑚𝑗𝑘+𝑚𝑘𝑗 is real; with 𝐞𝑗+𝑖𝐞𝑘, that 𝑖(𝑚𝑗𝑘−𝑚𝑘𝑗) is real. What do these say about real and imaginary parts?
Sketch. 𝐞𝑗∗𝑀𝐞𝑗=𝑚𝑗𝑗 is real. For 𝑗≠𝑘, 𝐱=𝐞𝑗+𝐞𝑘 gives 𝑚𝑗𝑘+𝑚𝑘𝑗∈ℝ, so Im𝑚𝑗𝑘=−Im𝑚𝑘𝑗; and 𝐱=𝐞𝑗+𝑖𝐞𝑘 gives 𝑖(𝑚𝑗𝑘−𝑚𝑘𝑗)∈ℝ, so Re𝑚𝑗𝑘=Re𝑚𝑘𝑗. Together, 𝑚𝑗𝑘=𝑚𝑘𝑗.

For 𝐱∈ℂ𝑛, 𝐱∗𝑀𝐱=∑𝑝,𝑞𝑥𝑝𝑚𝑝𝑞𝑥𝑞. Fix 𝑗. For 𝐱=𝐞𝑗 this is 𝑚𝑗𝑗, so 𝑚𝑗𝑗∈ℝ, that is, 𝑚𝑗𝑗=𝑚𝑗𝑗.

Now fix 𝑗≠𝑘. For 𝐱=𝐞𝑗+𝐞𝑘, only the terms with 𝑝,𝑞∈{𝑗,𝑘} survive, and

𝐱∗𝑀𝐱=𝑚𝑗𝑗+𝑚𝑗𝑘+𝑚𝑘𝑗+𝑚𝑘𝑘.

Since this and 𝑚𝑗𝑗,𝑚𝑘𝑘 are real, 𝑚𝑗𝑘+𝑚𝑘𝑗∈ℝ, so Im𝑚𝑗𝑘=−Im𝑚𝑘𝑗. For 𝐱=𝐞𝑗+𝑖𝐞𝑘 we have 𝑥𝑗=1 and 𝑥𝑘=𝑖, so

𝐱∗𝑀𝐱=𝑚𝑗𝑗+𝑚𝑗𝑘𝑖+𝑖𝑚𝑘𝑗+𝑖𝑚𝑘𝑘𝑖=𝑚𝑗𝑗+𝑖(𝑚𝑗𝑘−𝑚𝑘𝑗)+𝑚𝑘𝑘.

So 𝑖(𝑚𝑗𝑘−𝑚𝑘𝑗) is real, which means 𝑚𝑗𝑘−𝑚𝑘𝑗 has real part 0: Re𝑚𝑗𝑘=Re𝑚𝑘𝑗. Together, 𝑚𝑗𝑘=Re𝑚𝑘𝑗−𝑖Im𝑚𝑘𝑗=𝑚𝑘𝑗. Hence the (𝑘,𝑗) entry of 𝑀∗, which is 𝑚𝑗𝑘, equals 𝑚𝑘𝑗, and 𝑀∗=𝑀.

If 𝐱∗𝑀𝐱>0 for every 𝐱≠𝟎, then 𝐱∗𝑀𝐱 is real for every 𝐱 (it is 0 at 𝟎), so 𝑀∗=𝑀 by what we just proved.

Exercise 6.1.48.standard Let 𝐱,𝐲,𝐳 be vectors in an inner product space, and let 𝐦=(𝐱+𝐲)/2. Prove Apollonius’s identity

‖𝐳−𝐱‖2+‖𝐳−𝐲‖2=12‖𝐱−𝐲‖2+2‖𝐳−𝐦‖2.

In ℝ2, what does it say about the triangle with vertices 𝐱,𝐲,𝐳?

Solution.

Uses. Proposition 6.1.30 (Parallelogram law), Proposition 6.1.27 (Basic properties of the norm)

Hint 1. Write 𝐳−𝐱 and 𝐳−𝐲 as 𝐮+𝐰 and 𝐮−𝐰 for suitable 𝐮,𝐰.
Hint 2. Take 𝐮=𝐳−𝐦 and 𝐰=(𝐲−𝐱)/2, then apply the parallelogram law.
Sketch. With 𝐮=𝐳−𝐦 and 𝐰=(𝐲−𝐱)/2, we have 𝐳−𝐱=𝐮+𝐰 and 𝐳−𝐲=𝐮−𝐰. The parallelogram law gives 2‖𝐮‖2+2‖𝐰‖2, and 2‖𝐰‖2=‖𝐱−𝐲‖2/2.

Let 𝐮=𝐳−𝐦 and 𝐰=(𝐲−𝐱)/2. Since 𝐦−𝐱=(𝐲−𝐱)/2=𝐰 and 𝐦−𝐲=(𝐱−𝐲)/2=−𝐰,

𝐳−𝐱=(𝐳−𝐦)+(𝐦−𝐱)=𝐮+𝐰,𝐳−𝐲=𝐮−𝐰.

By Proposition 6.1.30 and Proposition 6.1.27(b),

‖𝐳−𝐱‖2+‖𝐳−𝐲‖2=2‖𝐮‖2+2‖𝐰‖2=2‖𝐳−𝐦‖2+2⋅14‖𝐲−𝐱‖2,

which is the identity, since ‖𝐲−𝐱‖=‖𝐱−𝐲‖.

In ℝ2, 𝐦 is the midpoint of the side from 𝐱 to 𝐲, and ‖𝐳−𝐦‖ is the length of the median from 𝐳. The identity expresses the length of a median through the three side lengths:

‖𝐳−𝐦‖2=14(2‖𝐳−𝐱‖2+2‖𝐳−𝐲‖2−‖𝐱−𝐲‖2).

Exercise 6.1.49.standard Let 𝐱,𝐲 be vectors in an inner product space.

  1. (a)Show that ‖𝐱‖=‖𝐲‖ if and only if Re⟨𝐱+𝐲,𝐱−𝐲⟩=0. Interpret the case 𝔽=ℝ, 𝑉=ℝ2 geometrically.
  2. (b)Over ℂ, show that ⟨𝐱+𝐲,𝐱−𝐲⟩=0 if and only if ‖𝐱‖=‖𝐲‖ and ⟨𝐱,𝐲⟩∈ℝ.

Solution.

Uses. Proposition 6.1.4 (Sesquilinearity), Notation 6.1.1 (Real and complex scalars)

Hint 1. Expand ⟨𝐱+𝐲,𝐱−𝐲⟩ into four terms.
Hint 2. The two cross terms are −⟨𝐱,𝐲⟩ and ⟨𝐲,𝐱⟩=⟨𝐱,𝐲⟩, whose sum is −2𝑖Im⟨𝐱,𝐲⟩.
Sketch. ⟨𝐱+𝐲,𝐱−𝐲⟩=(‖𝐱‖2−‖𝐲‖2)−2𝑖Im⟨𝐱,𝐲⟩. Its real part is ‖𝐱‖2−‖𝐲‖2, and it vanishes exactly when both the real part and Im⟨𝐱,𝐲⟩ do. In ℝ2: a parallelogram is a rhombus if and only if its diagonals are perpendicular.

Expanding with linearity in the first slot and Proposition 6.1.4,

⟨𝐱+𝐲,𝐱−𝐲⟩=‖𝐱‖2−⟨𝐱,𝐲⟩+⟨𝐲,𝐱⟩−‖𝐲‖2.

With 𝑧=⟨𝐱,𝐲⟩, conjugate symmetry gives −𝑧+𝑧=−2𝑖Im𝑧, so

⟨𝐱+𝐲,𝐱−𝐲⟩=(‖𝐱‖2−‖𝐲‖2)−2𝑖Im⟨𝐱,𝐲⟩.

(a) The real part of the right side is ‖𝐱‖2−‖𝐲‖2, which is 0 if and only if ‖𝐱‖=‖𝐲‖ (norms are nonnegative). In ℝ2 with the dot product, 𝐱+𝐲 and 𝐱−𝐲 are the diagonals of the parallelogram on 𝐱 and 𝐲, so (a) says that the parallelogram is a rhombus (all sides equal) if and only if its diagonals are perpendicular, provided 𝐱,𝐲 are linearly independent so that the parallelogram is not degenerate.

(b) A complex number is 0 if and only if its real and imaginary parts are. So ⟨𝐱+𝐲,𝐱−𝐲⟩=0 if and only if ‖𝐱‖=‖𝐲‖ and Im⟨𝐱,𝐲⟩=0, that is, ⟨𝐱,𝐲⟩∈ℝ. For instance, 𝐱=(1,0) and 𝐲=(0,1) in ℂ2 qualify, but 𝐱=(1) and 𝐲=(𝑖) in ℂ1 do not: they have equal norms, while ⟨𝐱+𝐲,𝐱−𝐲⟩=(1+𝑖)(1−𝑖)=(1+𝑖)2=2𝑖.

Exercise 6.1.50.routine Let 𝑉 be an inner product space, and let 𝐯1,…,𝐯𝑘 span 𝑉. Show that if 𝐱,𝐲∈𝑉 satisfy ⟨𝐱,𝐯𝑗⟩=⟨𝐲,𝐯𝑗⟩ for 𝑗=1,…,𝑘, then 𝐱=𝐲. Give an example showing that the spanning hypothesis cannot be dropped.

Solution.

Uses. Proposition 6.1.37 (Inner products distinguish vectors), Proposition 6.1.4 (Sesquilinearity), Definition 1.3.10 (Span)

Techniques. Show a vector is zero via its norm (Technique 6.1.36)

Hint 1. By Proposition 6.1.37, it suffices to show ⟨𝐱−𝐲,𝐰⟩=0 for every 𝐰∈𝑉.
Hint 2. Write 𝐰=∑𝑗𝑐𝑗𝐯𝑗 and expand the second slot with Proposition 6.1.4.
Sketch. Every 𝐰=∑𝑗𝑐𝑗𝐯𝑗, so ⟨𝐱−𝐲,𝐰⟩=∑𝑗𝑐𝑗⟨𝐱−𝐲,𝐯𝑗⟩=0, and Proposition 6.1.37 gives 𝐱=𝐲. In ℝ2 with the list 𝐞1, the vectors 𝐞2 and 𝟎 have the same inner product with 𝐞1.

Let 𝐮=𝐱−𝐲, so that ⟨𝐮,𝐯𝑗⟩=0 for every 𝑗. Let 𝐰∈𝑉. Since the list spans 𝑉, 𝐰=∑𝑗𝑐𝑗𝐯𝑗 for some scalars 𝑐𝑗, and by Proposition 6.1.4,

⟨𝐮,𝐰⟩=∑𝑗=1𝑘𝑐𝑗⟨𝐮,𝐯𝑗⟩=0=⟨𝟎,𝐰⟩.

By Proposition 6.1.37, 𝐮=𝟎, that is, 𝐱=𝐲.

Without the spanning hypothesis the conclusion fails: in ℝ2 with the list consisting of 𝐞1 alone, ⟨𝐞2,𝐞1⟩=0=⟨𝟎,𝐞1⟩, but 𝐞2≠𝟎.

Exercise 6.1.51.standard Let 𝑉,𝑊 be inner product spaces over the same 𝔽, and let 𝑇:𝑉→𝑊 be linear with ‖𝑇𝐯‖=‖𝐯‖ for all 𝐯∈𝑉. Show that ⟨𝑇𝐯,𝑇𝐰⟩=⟨𝐯,𝐰⟩ for all 𝐯,𝐰∈𝑉, and that 𝑇 is injective. (Maps of this kind are studied in Section 8.4.)

Solution.

Uses. Proposition 6.1.32 (Polarization identities), Proposition 6.1.27 (Basic properties of the norm), Theorem 2.6.11 (Injectivity is decided at 𝟎)

Techniques. Polarization (Technique 6.1.33)

Hint 1. Express ⟨𝑇𝐯,𝑇𝐰⟩ through norms with Proposition 6.1.32.
Hint 2. Each norm that appears is ‖𝑇𝐯+𝑐𝑇𝐰‖=‖𝑇(𝐯+𝑐𝐰)‖. For injectivity, look at the kernel.
Sketch. By polarization in 𝑊 and linearity, ⟨𝑇𝐯,𝑇𝐰⟩ is a combination of the numbers ‖𝑇(𝐯+𝑐𝐰)‖2=‖𝐯+𝑐𝐰‖2, which is the same combination that polarization in 𝑉 gives for ⟨𝐯,𝐰⟩. If 𝑇𝐯=𝟎, then ‖𝐯‖=‖𝑇𝐯‖=0.

Suppose 𝔽=ℂ; the real case is the same with 𝑐 ranging over ±1 and the coefficients of Proposition 6.1.32(a). For 𝑐∈ℂ, linearity gives 𝑇𝐯+𝑐𝑇𝐰=𝑇(𝐯+𝑐𝐰), so by hypothesis ‖𝑇𝐯+𝑐𝑇𝐰‖=‖𝐯+𝑐𝐰‖. By Proposition 6.1.32 in 𝑊 and then in 𝑉,

⟨𝑇𝐯,𝑇𝐰⟩=14∑𝑘=03𝑖𝑘‖𝑇𝐯+𝑖𝑘𝑇𝐰‖2=14∑𝑘=03𝑖𝑘‖𝐯+𝑖𝑘𝐰‖2=⟨𝐯,𝐰⟩.

For injectivity, if 𝑇𝐯=𝟎, then ‖𝐯‖=‖𝑇𝐯‖=0, so 𝐯=𝟎 by Proposition 6.1.27. So ker𝑇={𝟎}, and 𝑇 is injective by Theorem 2.6.11.

Exercise 6.1.52.standard Let 𝑉 be a real inner product space and 𝑇∈L(𝑉).

  1. (a)Prove or disprove: if ⟨𝑇𝐯,𝐯⟩=0 for all 𝐯∈𝑉, then 𝑇=0.
  2. (b)Show that ⟨𝑇𝐯,𝐯⟩=0 for all 𝐯∈𝑉 if and only if ⟨𝑇𝐯,𝐰⟩=−⟨𝐯,𝑇𝐰⟩ for all 𝐯,𝐰∈𝑉.
  3. (c)Suppose ⟨𝑇𝐯,𝐰⟩=⟨𝐯,𝑇𝐰⟩ for all 𝐯,𝐰∈𝑉. Show that if ⟨𝑇𝐯,𝐯⟩=0 for all 𝐯, then 𝑇=0.

Solution.

Uses. Example 6.1.39 (A rotation), Corollary 6.1.38 (Linear maps are determined by inner products), Proposition 6.1.4 (Sesquilinearity)

Techniques. Plug in clever test vectors (Technique 6.1.40)

Hint 1. (a) Look at Example 6.1.39.
Hint 2. (b) Apply the hypothesis to 𝐯+𝐰, and use that a real inner product is symmetric.
Hint 3. (c) Combine (b) with the hypothesis to get ⟨𝑇𝐯,𝐰⟩=−⟨𝑇𝐯,𝐰⟩.
Sketch. (a) False: the rotation by 𝜋/2 on ℝ2. (b) Expanding ⟨𝑇(𝐯+𝐰),𝐯+𝐰⟩=0 gives ⟨𝑇𝐯,𝐰⟩+⟨𝑇𝐰,𝐯⟩=0, and ⟨𝑇𝐰,𝐯⟩=⟨𝐯,𝑇𝐰⟩ by symmetry; conversely put 𝐰=𝐯. (c) Then ⟨𝑇𝐯,𝐰⟩=−⟨𝑇𝐯,𝐰⟩, so it is 0 and 𝑇=0.

(a) False. The rotation 𝑇𝐱=(−𝑥2,𝑥1) of ℝ2 satisfies ⟨𝑇𝐱,𝐱⟩=0 for every 𝐱 but is not 0 (Example 6.1.39).

(b) Suppose ⟨𝑇𝐯,𝐯⟩=0 for all 𝐯. For 𝐯,𝐰∈𝑉, expanding as in the proof of Proposition 6.1.41,

0=⟨𝑇(𝐯+𝐰),𝐯+𝐰⟩=⟨𝑇𝐯,𝐰⟩+⟨𝑇𝐰,𝐯⟩.

A real inner product is symmetric, so ⟨𝑇𝐰,𝐯⟩=⟨𝐯,𝑇𝐰⟩, and hence ⟨𝑇𝐯,𝐰⟩=−⟨𝐯,𝑇𝐰⟩. Conversely, if this holds for all 𝐯,𝐰, then taking 𝐰=𝐯 gives ⟨𝑇𝐯,𝐯⟩=−⟨𝐯,𝑇𝐯⟩=−⟨𝑇𝐯,𝐯⟩, so ⟨𝑇𝐯,𝐯⟩=0.

(c) By (b) and the hypothesis on 𝑇, ⟨𝑇𝐯,𝐰⟩=−⟨𝐯,𝑇𝐰⟩=−⟨𝑇𝐯,𝐰⟩ for all 𝐯,𝐰. So ⟨𝑇𝐯,𝐰⟩=0=⟨0𝐯,𝐰⟩, and 𝑇=0 by Corollary 6.1.38.

Exercise 6.1.53.hard Let 𝑉 be a complex inner product space and 𝑇∈L(𝑉). Show that ⟨𝑇𝐯,𝐯⟩∈ℝ for all 𝐯∈𝑉 if and only if ⟨𝑇𝐯,𝐰⟩=⟨𝐯,𝑇𝐰⟩ for all 𝐯,𝐰∈𝑉. (Such operators are called self-adjoint; see Section 6.6.)

Solution.

Uses. Proposition 6.1.41 (Over ℂ, the values ⟨𝑇𝐯,𝐯⟩ determine 𝑇), Proposition 6.1.4 (Sesquilinearity), Notation 6.1.1 (Real and complex scalars)

Techniques. Polarization (Technique 6.1.33)

Hint 1. One direction is a one-line computation with conjugate symmetry.
Hint 2. For the other, consider 𝐵(𝐯,𝐰)=⟨𝑇𝐯,𝐰⟩−⟨𝐯,𝑇𝐰⟩. How does 𝐵 treat scalars in each slot, and what is 𝐵(𝐯,𝐯)?
Hint 3. 𝐵 is linear in the first slot, conjugate-linear in the second, and 𝐵(𝐯,𝐯)=2𝑖Im⟨𝑇𝐯,𝐯⟩. Use (6.1.4).
Sketch. If 𝑇 satisfies the identity, then ⟨𝑇𝐯,𝐯⟩=⟨𝐯,𝑇𝐯⟩=⟨𝑇𝐯,𝐯⟩ is real. Conversely, 𝐵(𝐯,𝐰)=⟨𝑇𝐯,𝐰⟩−⟨𝐯,𝑇𝐰⟩ is linear in 𝐯 and conjugate-linear in 𝐰, and 𝐵(𝐯,𝐯)=2𝑖Im⟨𝑇𝐯,𝐯⟩=0. By (6.1.4), 𝐵=0.

Suppose ⟨𝑇𝐯,𝐰⟩=⟨𝐯,𝑇𝐰⟩ for all 𝐯,𝐰. Then ⟨𝑇𝐯,𝐯⟩=⟨𝐯,𝑇𝐯⟩=⟨𝑇𝐯,𝐯⟩ by conjugate symmetry, so ⟨𝑇𝐯,𝐯⟩ is real.

Conversely, suppose ⟨𝑇𝐯,𝐯⟩∈ℝ for all 𝐯, and define

𝐵(𝐯,𝐰)=⟨𝑇𝐯,𝐰⟩−⟨𝐯,𝑇𝐰⟩.

The first term is linear in 𝐯 and conjugate-linear in 𝐰, as in the second proof of Proposition 6.1.41. So is the second term: it is linear in 𝐯 by linearity in the first slot, and by Proposition 6.1.4,

⟨𝐯,𝑇(𝑎𝐰+𝑏𝐳)⟩=⟨𝐯,𝑎𝑇𝐰+𝑏𝑇𝐳⟩=𝑎⟨𝐯,𝑇𝐰⟩+𝑏⟨𝐯,𝑇𝐳⟩.

Hence 𝐵 is linear in the first slot and conjugate-linear in the second. Its diagonal values are

𝐵(𝐯,𝐯)=⟨𝑇𝐯,𝐯⟩−⟨𝑇𝐯,𝐯⟩=2𝑖Im⟨𝑇𝐯,𝐯⟩=0.

The identity (6.1.4) holds for every such 𝐵, as its derivation used only how 𝐵 treats scalars in each slot. So 𝐵(𝐯,𝐰)=14∑𝑘𝑖𝑘𝐵(𝐯+𝑖𝑘𝐰,𝐯+𝑖𝑘𝐰)=0 for all 𝐯,𝐰, which is the claim.

Exercise 6.1.54.hard Let 𝐴∈ℂ𝑛×𝑛 satisfy 𝐴∗=𝐴 and 𝐴𝑘=0 for some 𝑘≥1. Show that 𝐴=0. (Start by proving (𝐵𝐶)∗=𝐶∗𝐵∗ for square matrices 𝐵,𝐶.)

Solution.

Uses. Corollary 6.1.19 (𝐴∗𝐴=0 forces 𝐴=0), Proposition 2.4.23 (Transpose of a product), Definition 2.4.1 (Matrix product)

Techniques. The trace of 𝐴∗𝐴 (Technique 6.1.18)

Hint 1. Show (𝐵𝐶)∗=𝐶∗𝐵∗ entrywise, and deduce (𝐴𝑚)∗=𝐴𝑚 for every 𝑚≥1.
Hint 2. If 𝐴2𝑚=0, then (𝐴𝑚)∗𝐴𝑚=𝐴2𝑚=0. What does Corollary 6.1.19 say?
Hint 3. Choose 𝑗 with 2𝑗≥𝑘 and halve the exponent 𝑗 times.
Sketch. (𝐴𝑚)∗=(𝐴∗)𝑚=𝐴𝑚, so 𝐴2𝑚=0 gives (𝐴𝑚)∗𝐴𝑚=0 and 𝐴𝑚=0. Starting from 𝐴2𝑗=0 with 2𝑗≥𝑘, halving 𝑗 times gives 𝐴=0.

First, for 𝐵,𝐶∈ℂ𝑛×𝑛, the (𝑖,𝑗) entry of (𝐵𝐶)∗ is

(𝐵𝐶)𝑗𝑖=∑𝑙𝑏𝑗𝑙𝑐𝑙𝑖=∑𝑙𝑐𝑙𝑖𝑏𝑗𝑙=∑𝑙(𝐶∗)𝑖𝑙(𝐵∗)𝑙𝑗,

which is the (𝑖,𝑗) entry of 𝐶∗𝐵∗ (Definition 2.4.1). So (𝐵𝐶)∗=𝐶∗𝐵∗. By induction on 𝑚, using 𝐴∗=𝐴,

(𝐴𝑚)∗=(𝐴𝑚−1𝐴)∗=𝐴∗(𝐴𝑚−1)∗=𝐴𝐴𝑚−1=𝐴𝑚for all𝑚≥1.

Next, if 𝑚≥1 and 𝐴2𝑚=0, then (𝐴𝑚)∗𝐴𝑚=𝐴𝑚𝐴𝑚=𝐴2𝑚=0, so 𝐴𝑚=0 by Corollary 6.1.19.

Now choose 𝑗≥0 with 2𝑗≥𝑘. Then 𝐴2𝑗=𝐴2𝑗−𝑘𝐴𝑘=0 (with 𝐴0=𝐼). If 𝑗=0, this says 𝐴=0. Otherwise, applying the previous paragraph with 𝑚=2𝑗−1,2𝑗−2,…,1 in turn gives 𝐴2𝑗−1=0, then 𝐴2𝑗−2=0, and finally 𝐴1=0.

Exercise 6.1.55.routine Let 𝐴∈ℝ𝑛×𝑛 be skew-symmetric, 𝐴𝖳=−𝐴.

  1. (a)Show that tr(𝐴2)≤0, with equality only if 𝐴=0.
  2. (b)Deduce that no real skew-symmetric matrix satisfies 𝐴2=𝐼𝑛. Show that 𝐴2=−𝐼2 is possible.

Solution.

Uses. Proposition 6.1.16 (Frobenius inner product)

Techniques. The trace of 𝐴∗𝐴 (Technique 6.1.18)

Hint 1. Rewrite 𝐴2 using 𝐴=−𝐴𝖳.
Hint 2. 𝐴2=−𝐴𝖳𝐴, and tr(𝐴𝖳𝐴) is a sum of squares.
Sketch. tr(𝐴2)=−tr(𝐴𝖳𝐴)=−∑𝑖,𝑗𝑎𝑖𝑗2≤0, with equality only for 𝐴=0. If 𝐴2=𝐼𝑛, then tr(𝐴2)=𝑛>0. The rotation 𝐽=(0−110) has 𝐽2=−𝐼2.

(a) Since 𝐴=−𝐴𝖳, 𝐴2=(−𝐴𝖳)𝐴=−𝐴𝖳𝐴. By Proposition 6.1.16 (over ℝ, 𝐴∗=𝐴𝖳),

tr(𝐴2)=−tr(𝐴𝖳𝐴)=−∑𝑖,𝑗𝑎𝑖𝑗2≤0,

with equality only if every 𝑎𝑖𝑗=0.

(b) If 𝐴2=𝐼𝑛, then tr(𝐴2)=𝑛>0, contradicting (a). On the other hand, 𝐽=(0−110) is skew-symmetric with 𝐽2=−𝐼2, and indeed tr(𝐽2)=−2=−∑𝑖,𝑗𝑗𝑖𝑗2.

Exercise 6.1.56.standard For 𝐮,𝐱∈𝔽𝑚 and 𝐯,𝐲∈𝔽𝑛, the products 𝐮𝐯∗ and 𝐱𝐲∗ are 𝑚×𝑛 matrices. Show that, with the Frobenius inner product on 𝔽𝑚×𝑛 and dot products on 𝔽𝑚 and 𝔽𝑛,

⟨𝐮𝐯∗,𝐱𝐲∗⟩=(𝐮⋅𝐱)(𝐲⋅𝐯),

and deduce that ‖𝐮𝐯∗‖=‖𝐮‖‖𝐯‖.

Solution.

Uses. Proposition 6.1.16 (Frobenius inner product), Definition 6.1.8 (Dot product), Definition 2.4.1 (Matrix product)

Hint 1. The (𝑖,𝑗) entry of 𝐮𝐯∗ is 𝑢𝑖𝑣𝑗.
Hint 2. Use the entrywise formula of Proposition 6.1.16; the double sum factors into a product of two single sums.
Sketch. By Proposition 6.1.16 the inner product is ∑𝑖,𝑗𝑢𝑖𝑣𝑗𝑥𝑖𝑦𝑗, and this double sum factors as (∑𝑖𝑢𝑖𝑥𝑖)(∑𝑗𝑦𝑗𝑣𝑗). With 𝐱=𝐮 and 𝐲=𝐯 this is ‖𝐮‖2‖𝐯‖2.

By Definition 2.4.1, the (𝑖,𝑗) entry of 𝐮𝐯∗ is 𝑢𝑖𝑣𝑗, and that of 𝐱𝐲∗ is 𝑥𝑖𝑦𝑗. By Proposition 6.1.16,

⟨𝐮𝐯∗,𝐱𝐲∗⟩=∑𝑖=1𝑚∑𝑗=1𝑛𝑢𝑖𝑣𝑗𝑥𝑖𝑦𝑗=∑𝑖,𝑗𝑢𝑖𝑥𝑖𝑦𝑗𝑣𝑗=(∑𝑖𝑢𝑖𝑥𝑖)(∑𝑗𝑦𝑗𝑣𝑗),

which is (𝐮⋅𝐱)(𝐲⋅𝐯). Taking 𝐱=𝐮 and 𝐲=𝐯 gives ‖𝐮𝐯∗‖2=(𝐮⋅𝐮)(𝐯⋅𝐯)=‖𝐮‖2‖𝐯‖2, and taking nonnegative square roots, ‖𝐮𝐯∗‖=‖𝐮‖‖𝐯‖.

Exercise 6.1.57.hard Let 𝐱1,…,𝐱𝑛 be unit vectors in an inner product space.

  1. (a)Show that

    ∑1≤𝑖<𝑗≤𝑛‖𝐱𝑖−𝐱𝑗‖2=𝑛2−‖𝐱1+⋯+𝐱𝑛‖2.
  2. (b)Deduce that ∑𝑖<𝑗‖𝐱𝑖−𝐱𝑗‖2≤𝑛2, with equality if and only if 𝐱1+⋯+𝐱𝑛=𝟎.
  3. (c)For three unit vectors in ℝ2, find the largest possible value of ∑𝑖<𝑗‖𝐱𝑖−𝐱𝑗‖2 and a configuration attaining it.

Solution.

Uses. Proposition 6.1.29 (Expanding a norm), Proposition 6.1.4 (Sesquilinearity)

Techniques. Expand by multilinearity (Technique 5.1.7)

Hint 1. Sum over all ordered pairs (𝑖,𝑗) instead; the terms with 𝑖=𝑗 are 0, and each unordered pair is counted twice.
Hint 2. Expand ‖𝐱𝑖−𝐱𝑗‖2=2−2Re⟨𝐱𝑖,𝐱𝑗⟩, and recognize ∑𝑖,𝑗⟨𝐱𝑖,𝐱𝑗⟩ as ⟨𝐬,𝐬⟩ for 𝐬=∑𝑖𝐱𝑖.
Sketch. Each term is 2−2Re⟨𝐱𝑖,𝐱𝑗⟩, and ∑𝑖,𝑗⟨𝐱𝑖,𝐱𝑗⟩=‖𝐬‖2, so the sum over all ordered pairs is 2𝑛2−2‖𝐬‖2; the sum over 𝑖<𝑗 is half of this. (b) is immediate, and in (c) the maximum 9 is attained by three unit vectors at angles 2𝜋/3, which sum to 𝟎.

(a) Let 𝐬=𝐱1+⋯+𝐱𝑛. By sesquilinearity, ∑𝑖,𝑗⟨𝐱𝑖,𝐱𝑗⟩=⟨𝐬,𝐬⟩=‖𝐬‖2, the sum running over all ordered pairs. By Proposition 6.1.29 and ‖𝐱𝑖‖=1, ‖𝐱𝑖−𝐱𝑗‖2=2−2Re⟨𝐱𝑖,𝐱𝑗⟩. Summing over all ordered pairs,

∑𝑖,𝑗‖𝐱𝑖−𝐱𝑗‖2=2𝑛2−2Re∑𝑖,𝑗⟨𝐱𝑖,𝐱𝑗⟩=2𝑛2−2‖𝐬‖2.

The terms with 𝑖=𝑗 vanish, and each pair 𝑖<𝑗 occurs twice, as (𝑖,𝑗) and (𝑗,𝑖), with the same value. So the sum over 𝑖<𝑗 is half of this, 𝑛2−‖𝐬‖2.

(b) Since ‖𝐬‖2≥0, the sum is at most 𝑛2, with equality if and only if ‖𝐬‖=0, that is, 𝐬=𝟎 by Proposition 6.1.27.

(c) By (b) the sum is at most 9, with equality exactly when 𝐱1+𝐱2+𝐱3=𝟎. This happens for 𝐱1=(1,0), 𝐱2=(−1/2,3/2), and 𝐱3=(−1/2,−3/2), the vertices of an equilateral triangle inscribed in the unit circle. Each side has squared length (3/2)2+(3/2)2=3, and 3+3+3=9.

Exercise 6.1.58.hard This exercise shows that for 𝑛≥3, the formula ∑𝑘𝑥𝑘𝑦𝑘 on 𝔽𝑝𝑛 is never definite. (For 𝑛=1 it is, since 𝑥2=0 forces 𝑥=0.)

  1. (a)Find a nonzero 𝐱∈𝔽52 with 𝑥12+𝑥22=0.
  2. (b)Show that for every prime 𝑝 there is a nonzero 𝐱∈𝔽𝑝3 with 𝑥12+𝑥22+𝑥32=0, and deduce the same in 𝔽𝑝𝑛 for every 𝑛≥3.

Solution.

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

Hint 1. (a) List the squares in 𝔽5.
Hint 2. (b) For odd 𝑝, it suffices to find 𝑎,𝑏∈𝔽𝑝 with 𝑎2+𝑏2=−1, and then take 𝐱=(𝑎,𝑏,1). Compare the sets {𝑎2} and {−1−𝑏2}.
Hint 3. Count: 𝑎2=𝑐2 if and only if 𝑎=±𝑐, so there are exactly (𝑝+1)/2 squares in 𝔽𝑝. Two subsets of 𝔽𝑝 of that size must meet.
Sketch. (a) (1,2), since 1+4=5=0. (b) For 𝑝=2 take (1,1,0). For odd 𝑝, the set 𝑆 of squares has (𝑝+1)/2 elements, and so does −1−𝑆; since (𝑝+1)/2+(𝑝+1)/2>𝑝, they share an element 𝑎2=−1−𝑏2, and (𝑎,𝑏,1) works.

(a) The squares in 𝔽5 are 0,1,4,4,1 (of 0,1,2,3,4). Since 1+4=5=0, the vector 𝐱=(1,2) works.

(b) For 𝑝=2, 𝐱=(1,1,0) works, since 1+1=0 in 𝔽2. Let 𝑝 be odd. It suffices to find 𝑎,𝑏∈𝔽𝑝 with 𝑎2+𝑏2+1=0, because then 𝐱=(𝑎,𝑏,1)≠𝟎 works.

Let 𝑆={𝑎2|𝑎∈𝔽𝑝}. For 𝑎,𝑐∈𝔽𝑝, 𝑎2=𝑐2 if and only if (𝑎−𝑐)(𝑎+𝑐)=0, which by Proposition 1.1.17 means 𝑎=𝑐 or 𝑎=−𝑐. For 𝑎≠0 we have 𝑎≠−𝑎, since 𝑎=−𝑎 would give 2𝑎=0, and 2≠0 in 𝔽𝑝 for odd 𝑝. So the 𝑝−1 nonzero elements fall into (𝑝−1)/2 pairs {𝑎,−𝑎}, each pair having one square, and distinct pairs having distinct squares. Together with 02=0, 𝑆 has exactly (𝑝+1)/2 elements.

The map 𝑠↦−1−𝑠 is a bijection of 𝔽𝑝, so 𝑇={−1−𝑏2|𝑏∈𝔽𝑝} also has (𝑝+1)/2 elements. Since |𝑆|+|𝑇|=𝑝+1>𝑝=|𝔽𝑝|, the sets 𝑆 and 𝑇 intersect: 𝑎2=−1−𝑏2 for some 𝑎,𝑏∈𝔽𝑝. Then 𝑎2+𝑏2+1=0, as desired. For 𝑛>3, pad with zeros: (𝑥1,𝑥2,𝑥3,0,…,0) is nonzero with ∑𝑘𝑥𝑘2=0.

Exercise 6.1.59.standard Find the error in the following argument, and decide whether the claim is true.

Claim. If 𝐵:ℝ𝑛×ℝ𝑛→ℝ is linear in each slot and 𝐵(𝐯,𝐯)=0 for all 𝐯∈ℝ𝑛, then 𝐵=0.

Proof. By the polarization identity, for all 𝐱,𝐲,

𝐵(𝐱,𝐲)=14(𝐵(𝐱+𝐲,𝐱+𝐲)−𝐵(𝐱−𝐲,𝐱−𝐲))=14(0−0)=0.

Solution.

Uses. Proposition 6.1.32 (Polarization identities), Proposition 5.1.10 (Alternating implies antisymmetric)

Techniques. Polarization (Technique 6.1.33)

Hint 1. Which properties of an inner product did the proof of Proposition 6.1.32(a) use? Does 𝐵 have them?
Hint 2. Expand 𝐵(𝐱+𝐲,𝐱+𝐲)−𝐵(𝐱−𝐲,𝐱−𝐲) for a 𝐵 that is only bilinear.
Hint 3. Look for a counterexample among 2×2 determinants.
Sketch. The real polarization identity needs symmetry: for a bilinear 𝐵, the right side equals (𝐵(𝐱,𝐲)+𝐵(𝐲,𝐱))/2. The claim is false: 𝐵(𝐱,𝐲)=𝑥1𝑦2−𝑥2𝑦1 vanishes on the diagonal but 𝐵(𝐞1,𝐞2)=1. What is true is 𝐵(𝐲,𝐱)=−𝐵(𝐱,𝐲).

The error is the first equality. The real polarization identity was derived for inner products, and its proof used symmetry: the two cross terms of ‖𝐱+𝐲‖2 were combined into 2⟨𝐱,𝐲⟩. For a bilinear 𝐵 without symmetry, expanding gives

𝐵(𝐱+𝐲,𝐱+𝐲)−𝐵(𝐱−𝐲,𝐱−𝐲)=2𝐵(𝐱,𝐲)+2𝐵(𝐲,𝐱),

so the right side of the displayed formula is (𝐵(𝐱,𝐲)+𝐵(𝐲,𝐱))/2, not 𝐵(𝐱,𝐲).

The claim is false. On ℝ2, 𝐵(𝐱,𝐲)=𝑥1𝑦2−𝑥2𝑦1=det(𝑥1𝑦1𝑥2𝑦2) is linear in each slot and 𝐵(𝐯,𝐯)=0 for every 𝐯, but 𝐵(𝐞1,𝐞2)=1. What the argument does prove, correctly read, is that 𝐵(𝐱,𝐲)+𝐵(𝐲,𝐱)=0: a bilinear function that vanishes on the diagonal is antisymmetric. This is the argument of Proposition 5.1.10, which applies to any bilinear function of two vectors (Remark 5.1.6).

Exercise 6.1.60.standard Let 𝑅[0,1] be the real vector space of Riemann-integrable functions [0,1]→ℝ. Find the error in the following argument, and decide whether the claim is true.

Claim. ⟨𝑓,𝑔⟩=∫01𝑓(𝑡)𝑔(𝑡)d𝑡 is an inner product on 𝑅[0,1].

Proof. Products of integrable functions are integrable, so ⟨𝑓,𝑔⟩ is defined. Symmetry and linearity follow from the properties of the integral, and ⟨𝑓,𝑓⟩=∫01𝑓2≥0 since 𝑓2≥0. Finally, if ∫01𝑓2=0, then since 𝑓2≥0 we must have 𝑓2=0, so 𝑓=0.

Solution.

Uses. Lemma 6.1.14 (Nonnegative functions with zero integral), Proposition 6.1.13 (Integral inner products)

Hint 1. Which hypothesis of Lemma 6.1.14 is missing for an integrable 𝑓?
Hint 2. Find a nonzero integrable function whose square has integral 0. Change a continuous function at one point.
Sketch. The step “∫𝑓2=0 and 𝑓2≥0 imply 𝑓2=0” needs continuity (Lemma 6.1.14). The function equal to 1 at 𝑡=1/2 and 0 elsewhere is integrable, nonzero, and has ∫𝑓2=0. So the claim is false: definiteness fails on 𝑅[0,1].

The error is in the last step. A nonnegative function with integral 0 must vanish if it is continuous (Lemma 6.1.14), but not in general. Let 𝑓(1/2)=1 and 𝑓(𝑡)=0 for 𝑡≠1/2. Then 𝑓 is Riemann-integrable and 𝑓2=𝑓, and ∫01𝑓2=0, since every Riemann sum over a partition of mesh 𝛿 is at most 2𝛿 (the point 1/2 lies in at most two subintervals). But 𝑓≠0.

So the claim is false: the formula is symmetric, bilinear, and positive on 𝑅[0,1], but not definite. This is why Proposition 6.1.13 is stated for continuous functions.

Exercise 6.1.61.challengeBeyond 21-242 (Jordan–von Neumann, real case.) Let 𝑉 be a real vector space with a function ‖⋅‖:𝑉→ℝ satisfying, for all 𝐯,𝐰∈𝑉 and 𝑎∈ℝ: ‖𝐯‖≥0 with equality only for 𝐯=𝟎; ‖𝑎𝐯‖=|𝑎|‖𝐯‖; ‖𝐯+𝐰‖≤‖𝐯‖+‖𝐰‖; and the parallelogram law ‖𝐯+𝐰‖2+‖𝐯−𝐰‖2=2‖𝐯‖2+2‖𝐰‖2. Define

⟨𝐱,𝐲⟩=14(‖𝐱+𝐲‖2−‖𝐱−𝐲‖2).
  1. (a)Show that ⟨𝐱,𝐲⟩=⟨𝐲,𝐱⟩, ⟨𝐱,𝐱⟩=‖𝐱‖2, and ⟨−𝐱,𝐲⟩=−⟨𝐱,𝐲⟩.
  2. (b)Show that ⟨𝐱+𝐳,𝐲⟩+⟨𝐱−𝐳,𝐲⟩=2⟨𝐱,𝐲⟩ for all 𝐱,𝐲,𝐳.
  3. (c)Deduce that ⟨𝐮+𝐰,𝐲⟩=⟨𝐮,𝐲⟩+⟨𝐰,𝐲⟩ for all 𝐮,𝐰,𝐲.
  4. (d)Show that ⟨𝑡𝐱,𝐲⟩=𝑡⟨𝐱,𝐲⟩ for all 𝑡∈ℝ, and conclude that ⟨⋅,⋅⟩ is an inner product on 𝑉 whose norm is ‖⋅‖.

Solution.Beyond 21-242

Uses. Proposition 6.1.32 (Polarization identities), Proposition 6.1.30 (Parallelogram law), Exercise 2.1.51

Hint 1. (a) uses only ‖−𝐯‖=‖𝐯‖ and ‖2𝐱‖=2‖𝐱‖.
Hint 2. (b) Apply the parallelogram law to the pairs (𝐱+𝐲,𝐳) and (𝐱−𝐲,𝐳), and subtract.
Hint 3. (c) Put 𝐳=𝐱 in (b) to get ⟨2𝐱,𝐲⟩=2⟨𝐱,𝐲⟩. Then choose 𝐱 and 𝐳 with 𝐱+𝐳=𝐮 and 𝐱−𝐳=𝐰.
Hint 4. (d) Additivity gives homogeneity for integers, then for rationals. For real 𝑡, show 𝑡↦⟨𝑡𝐱,𝐲⟩ is continuous, using |‖𝐚‖−‖𝐛‖|≤‖𝐚−𝐛‖.
Sketch. (a) is immediate. (b) Subtracting the parallelogram laws for (𝐱+𝐲,𝐳) and (𝐱−𝐲,𝐳) gives 4⟨𝐱+𝐳,𝐲⟩+4⟨𝐱−𝐳,𝐲⟩=8⟨𝐱,𝐲⟩. (c) 𝐳=𝐱 gives ⟨2𝐱,𝐲⟩=2⟨𝐱,𝐲⟩, and then 𝐱=(𝐮+𝐰)/2, 𝐳=(𝐮−𝐰)/2 give additivity. (d) 𝑓(𝑡)=⟨𝑡𝐱,𝐲⟩ is additive and continuous, so 𝑓(𝑡)=𝑡𝑓(1). Symmetry, linearity in the first slot, and ⟨𝐱,𝐱⟩=‖𝐱‖2 are the inner product axioms.

(a) Since ‖−𝐯‖=|−1|‖𝐯‖=‖𝐯‖, we have ‖𝐲−𝐱‖=‖𝐱−𝐲‖, which gives symmetry, and ‖−𝐱−𝐲‖=‖𝐱+𝐲‖ and ‖−𝐱+𝐲‖=‖𝐱−𝐲‖, which give ⟨−𝐱,𝐲⟩=−⟨𝐱,𝐲⟩. Also ⟨𝐱,𝐱⟩=(‖2𝐱‖2−‖𝟎‖2)/4=‖𝐱‖2.

(b) The parallelogram law for the pairs (𝐱+𝐲,𝐳) and (𝐱−𝐲,𝐳) reads

‖𝐱+𝐲+𝐳‖2+‖𝐱+𝐲−𝐳‖2=2‖𝐱+𝐲‖2+2‖𝐳‖2,‖𝐱−𝐲+𝐳‖2+‖𝐱−𝐲−𝐳‖2=2‖𝐱−𝐲‖2+2‖𝐳‖2.

Subtract the second from the first and regroup the left side:

(‖(𝐱+𝐳)+𝐲‖2−‖(𝐱+𝐳)−𝐲‖2)+(‖(𝐱−𝐳)+𝐲‖2−‖(𝐱−𝐳)−𝐲‖2)=2(‖𝐱+𝐲‖2−‖𝐱−𝐲‖2).

By the definition of ⟨⋅,⋅⟩, this says 4⟨𝐱+𝐳,𝐲⟩+4⟨𝐱−𝐳,𝐲⟩=8⟨𝐱,𝐲⟩.

(c) First, ⟨𝟎,𝐲⟩=(‖𝐲‖2−‖−𝐲‖2)/4=0. Taking 𝐳=𝐱 in (b) gives ⟨2𝐱,𝐲⟩+⟨𝟎,𝐲⟩=2⟨𝐱,𝐲⟩, so ⟨2𝐱,𝐲⟩=2⟨𝐱,𝐲⟩ for all 𝐱,𝐲. Now let 𝐮,𝐰∈𝑉, and apply (b) with 𝐱=(𝐮+𝐰)/2 and 𝐳=(𝐮−𝐰)/2, so that 𝐱+𝐳=𝐮 and 𝐱−𝐳=𝐰:

⟨𝐮,𝐲⟩+⟨𝐰,𝐲⟩=2⟨𝐮+𝐰2,𝐲⟩=⟨𝐮+𝐰,𝐲⟩,

the last step by the doubling rule applied to (𝐮+𝐰)/2.

(d) Fix 𝐱,𝐲 and let 𝑓(𝑡)=⟨𝑡𝐱,𝐲⟩ for 𝑡∈ℝ. By (c), 𝑓(𝑠+𝑡)=⟨𝑠𝐱+𝑡𝐱,𝐲⟩=𝑓(𝑠)+𝑓(𝑡), so 𝑓 is additive. We show that 𝑓 is continuous. The triangle inequality gives ‖𝐚‖≤‖𝐚−𝐛‖+‖𝐛‖ and the same with 𝐚,𝐛 exchanged, so |‖𝐚‖−‖𝐛‖|≤‖𝐚−𝐛‖. Hence

|‖𝑡𝐱±𝐲‖−‖𝑠𝐱±𝐲‖|≤‖(𝑡−𝑠)𝐱‖=|𝑡−𝑠|‖𝐱‖,

so 𝑡↦‖𝑡𝐱±𝐲‖ is continuous, and so is 𝑓(𝑡)=(‖𝑡𝐱+𝐲‖2−‖𝑡𝐱−𝐲‖2)/4. A continuous additive function ℝ→ℝ satisfies 𝑓(𝑡)=𝑡𝑓(1) for all 𝑡 (Exercise 2.1.51). Directly: additivity gives 𝑓(𝑚𝑡)=𝑚𝑓(𝑡) for positive integers 𝑚 by induction, 𝑓(0)=0, and 𝑓(−𝑡)=−𝑓(𝑡) by (a); so for 𝑞=𝑚/𝑛 with 𝑛>0, 𝑛𝑓(𝑞)=𝑓(𝑚)=𝑚𝑓(1), that is, 𝑓(𝑞)=𝑞𝑓(1). Every real 𝑡 is a limit of rationals 𝑞𝑘, and continuity gives 𝑓(𝑡)=lim𝑓(𝑞𝑘)=lim𝑞𝑘𝑓(1)=𝑡𝑓(1). So ⟨𝑡𝐱,𝐲⟩=𝑡⟨𝐱,𝐲⟩.

Together with (c), ⟨⋅,⋅⟩ is linear in the first slot. It is symmetric by (a), which over ℝ is conjugate symmetry, and ⟨𝐱,𝐱⟩=‖𝐱‖2 is nonnegative and vanishes only for 𝐱=𝟎. So ⟨⋅,⋅⟩ is an inner product, and its norm ⟨𝐱,𝐱⟩ is ‖𝐱‖.

More practice

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