Chapter 6: Inner product spaces
6.1Inner products and norms
In the dot product
6.1.1Length and angle in
For and in , the dot product is
Draw as an arrow from the origin. Its length is the hypotenuse of a right triangle with legs and , so by Pythagoras
Now let and be nonzero, and let 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
We can also expand the left side algebraically. The dot product is symmetric, , and it is linear in each slot, so
Comparing the two expressions, and using and , we get
So lengths and angles can both be read off from the dot product. In particular, and are perpendicular exactly when , which is where Section 6.3 starts.
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 lies in .)
Which scalars?
The axioms will compare with , 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 , the vector would have length .
- In , the same formula gives , so a nonzero vector would have length . Ordering cannot help: an order compatible with the field operations would force
. - In ,
, and is not even real.
has no useful order either, but it contains , and the case shows how to land in . Viewing as the point of the plane, its length is , and , not . So on we conjugate the second factor and use . Then 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 , and its real and imaginary parts are and . For all ,
, 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. .
- Definiteness (or non-degeneracy). 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
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 :
- (a)
; - (b).
Uses. Definition 6.1.2 (Inner product), Notation 6.1.1 (Real and complex scalars)
Techniques. Proving from axioms (Technique 1.1.7)
(a) We compute
as desired.
(b) By linearity in the first slot,
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
Example 6.1.5 (Expanding an inner product). Let be vectors in a complex inner product space with , , 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:
Here
Over the conjugation is forced on us, because positivity and definiteness together are incompatible with linearity in both slots.
Uses. Definition 6.1.2 (Inner product)
With the conjugate in the second slot the problem disappears:
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.
Definition 6.1.8 (Dot product). The dot product on is
for and 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 only if every term is : if and some , then . So to show that many quantities vanish, it suffices to exhibit them as squares, or squared moduli , in a single sum, and to show that the sum is .
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 forces every . 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.
Used in 27 places and 2 practice exercises
Exercise 1.5.48, Problem 3.15, Exercise 4.3.33, Proposition 6.1.10, Lemma 6.1.14, Proposition 6.1.13, Exercise 6.1.42, Exercise 6.1.46, Lemma 6.2.6, Exercise 6.2.43, Exercise 6.2.47, Proposition 6.3.13, Exercise 6.3.52, Theorem 6.4.33, Exercise 6.4.60, Exercise 6.7.12, Problem 6.5, Problem 6.12, Problem 6.15, Problem 6.16, Theorem 8.1.3, Lemma 8.2.4, Lemma 8.3.8, Notation 8.3.10, Exercise 8.3.40, Lemma 8.4.24, Exercise 8.4.35; 2 practice exercises.
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)
Let and .
Conjugate symmetry.
Linearity in the first slot. The th coordinate of is , so
Positivity.
Definiteness. Suppose . Then is a sum of nonnegative real numbers, so for every . Writing , this says , so and . 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 ). Let and . Then
as conjugate symmetry predicts. Also
Uses. Definition 6.1.8 (Dot product), Proposition 6.1.10 (The dot product is an inner product)
By Definition 6.1.8,
and by conjugate symmetry . Directly,
By Proposition 6.1.10, and
By linearity in the first slot,
Continuous functions
Let be the set of continuous functions , that is, of functions with (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,
Both follow from the real case by splitting into real and imaginary parts. For instance, for we have
Proposition 6.1.13 (Integral inner products). The formula
defines an inner product on . On the real vector space it reads
Uses. continuity of , monotonicity of the integral: if on an interval, then their integrals compare the same way
Techniques. A sum of nonnegative terms (Technique 6.1.9)
We prove the contrapositive. Suppose for some , and let . By continuity of at , there is such that for all with . Let . Either or , since otherwise and , which give . So one of the intervals or lies in . Every satisfies , so on . Since on all of , monotonicity of the integral gives
So if , then for no , and as , . □
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)
For , the function is continuous, so is defined. Let
Conjugate symmetry.
Linearity in the first slot.
Positivity. Writing , we have
Definiteness. If , then Lemma 6.1.14 applied to gives , hence , for every . So .
For , the same argument applies with every bar erased. □
Nothing here depends on the interval being . For any , the proofs of Lemma 6.1.14 and Proposition 6.1.13 go through on , with in place of 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 ,
where
Example 6.1.15 (Computing with functions). In ,
and
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 ,
Consequently is an inner product on , the Frobenius inner product, and
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)
The entry of is . By Definition 2.4.1, the entry of is
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: is an inner product on , and
Example 6.1.17 (A Frobenius inner product). For and in , the entrywise formula gives
The identity
Technique 6.1.18 (The trace of ). For every ,
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.
Used in 9 places and 2 practice exercises
Corollary 6.1.19, Exercise 6.1.20, Exercise 6.1.54, Exercise 6.1.55, Exercise 6.6.50, Exercise 6.7.10, Exercise 7.5.41, Exercise 8.1.37, Exercise 8.1.38; 2 practice exercises.
Uses. Proposition 6.1.16 (Frobenius inner product), Notation 6.1.7 (Conjugate transpose)
Techniques. The trace of (Technique 6.1.18)
If , then by Proposition 6.1.16,
The entry of is the conjugate of the entry of , which is , so . If , then , and the first case applied to gives . Hence . □
The conjugate transpose is essential here. The nilpotent matrix is nonzero with , so does not force . Over , the transpose alone does not suffice either: the column is nonzero, but . This is the failure of without conjugation that we met at the start of the section.
Uses. Corollary 6.1.19 ( forces )
Techniques. The trace of (Technique 6.1.18)
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 be positive real numbers. Then
is an inner product on . The proof of Proposition 6.1.10 goes through with in place of , since , with equality only if . The weights must be positive: if , then
Different weights give different geometry on the same set. With weights on , the vector has , so it is “twice as long” as , and the vectors with form the ellipse 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 numbers , and the question is which arrays of numbers occur.
- (a)Let be an inner product on , and let have entries
. Then for all . - (b)Conversely, let . The formula defines an inner product on if and only if and for every nonzero .
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)
(a) Write and . Linearity in the first slot and Proposition 6.1.4 give
The inner sum is the th coordinate of (Definition 2.3.8), so the whole expression is .
(b) Write
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 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 ). Let . Then
a sum of squares that is not all zero. So Proposition 6.1.22 makes this an inner product. Measured with it, has while has , and the vectors with form a tilted ellipse (Figure 6.1.2).
Non-examples
- (a)On ,
is bilinear and symmetric, but . This is Proposition 6.1.6 in action. - (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. - (c)On , is bilinear and symmetric (as , Proposition 2.4.28). But has , so . In the Frobenius inner product , the transpose is what turns into a sum of squares.
- (d)On ,
is symmetric, bilinear, and positive, but the nonzero polynomial has . On , the same formula is an inner product: if and , then and , 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 .
The norm is the length of as measured by the chosen inner product, and is the distance between and . For the dot product on , , so is the Euclidean length. For the Frobenius inner product,
Proposition 6.1.27 (Basic properties of the norm). Let be an inner product space, , and .
- (a), and if and only if .
- (b).
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)
(a) The square root of a nonnegative real number is nonnegative. Also if and only if , which by definiteness happens if and only if .
(b) By linearity in the first slot and Proposition 6.1.4,
Both and are nonnegative real numbers, and their squares are equal, so they are equal. □
In particular, if , then (that is, ) is a unit vector, since by (b) its norm is . Replacing by is called normalizing .
Uses. Proposition 6.1.27 (Basic properties of the norm)
Expanding norms
The computation that produced (6.1.1) expanded . 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
In particular,
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)
By linearity in the first slot and Proposition 6.1.4,
Let . By conjugate symmetry,
Intuition (The law of cosines, everywhere). Over the cross term is , and in with the dot product, (6.1.1) turns
Over , only the real part of affects . The imaginary part appears once is multiplied by : with ,
When , the expansion gives
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 . 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,
Uses. Proposition 6.1.29 (Expanding a norm)
as desired. □
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)).
Uses. Proposition 6.1.30 (Parallelogram law), Proposition 6.1.29 (Expanding a norm)
so . By Proposition 6.1.29,
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:
Proposition 6.1.32 (Polarization identities). Let be an inner product space and .
(a)If , then
(b)If , then
Proof (via real and imaginary parts).
Uses. Proposition 6.1.29 (Expanding a norm), Proposition 6.1.4 (Sesquilinearity), Notation 6.1.1 (Real and complex scalars)
Subtracting the two identities of Proposition 6.1.29 gives, for all in any inner product space,
(a) If , then is real, so it equals its real part, and (6.1.2) is (a).
(b) Let . By Proposition 6.1.4,
Since
Proof (by averaging over powers of ).
Uses. Proposition 6.1.29 (Expanding a norm), Notation 6.1.1 (Real and complex scalars)
Let , let , and let for some , so that and . By Proposition 6.1.29, and since ,
Multiplying by and using ,
Now sum over . The coefficients add to , and the coefficients add to , so
which is (b). Part (a) is the same computation with and real: then
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 , because the powers of add to . The same filter works with any equally spaced points on the unit circle in place of , 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 with . 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,
Used in 12 places and 3 practice exercises
Corollary 6.1.34, Exercise 6.1.35, Proposition 6.1.41, Exercise 6.1.45, Exercise 6.1.51, Exercise 6.1.53, Exercise 6.1.59, Exercise 6.7.8, Problem 6.8, Proposition 8.1.4, Proposition 8.1.13, Theorem 8.4.4; 3 practice exercises.
Uses. Proposition 6.1.32 (Polarization identities)
Techniques. Polarization (Technique 6.1.33)
Combined with Proposition 6.1.27(b), the inner product is even determined by its unit sphere : for , is the unique for which lies on the sphere. So each curve in Figure 6.1.2 determines its inner product completely.
Exercise 6.1.35. Vectors in a complex inner product space satisfy
Find and .
Uses. Proposition 6.1.32 (Polarization identities), Proposition 6.1.30 (Parallelogram law)
Techniques. Polarization (Technique 6.1.33)
By Proposition 6.1.32(b),
By Proposition 6.1.30,
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 . So to prove that a vector is zero, compute , or , and show that it vanishes. Often one knows that for many , and the move is to take . To prove , apply this to , expanding 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 .
Used in 19 places
Proposition 6.1.37, Corollary 6.1.38, Exercise 6.1.50, Proposition 6.3.30, Theorem 6.5.5, Proposition 6.5.9, Theorem 6.6.21, Proposition 6.6.23, Exercise 6.6.51, Exercise 6.7.9, Problem 6.3, Problem 6.8, Problem 6.9, Problem 6.11, Proposition 8.1.4, Exercise 8.1.6, Proposition 8.1.14, Theorem 8.2.5, Lemma 8.3.8.
Uses. Definition 6.1.2 (Inner product), Proposition 6.1.4 (Sesquilinearity)
Techniques. Show a vector is zero via its norm (Technique 6.1.36)
First suppose . By Proposition 6.1.4, for all . In particular, for we get , and by definiteness.
For the general case, linearity in the first slot gives
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).
Uses. Proposition 6.1.37 (Inner products distinguish vectors)
Techniques. Show a vector is zero via its norm (Technique 6.1.36)
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 , 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 be
as a rotation by a right angle moves every vector to a perpendicular one. But .
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.
Used in 14 places and 1 practice exercise
Proposition 6.1.41, Exercise 6.1.46, Exercise 6.1.47, Exercise 6.1.52, Proposition 6.3.5, Exercise 6.3.52, Exercise 6.7.7, Exercise 6.7.8, Exercise 6.7.15, Problem 6.6, Problem 7.8, Proposition 8.1.4, Theorem 8.3.23, Exercise 8.4.34; 1 practice exercise.
Proof (with test vectors).
Uses. Corollary 6.1.38 (Linear maps are determined by inner products), Proposition 6.1.4 (Sesquilinearity), Proposition 2.1.23 ( is a vector space)
Techniques. Plug in clever test vectors (Technique 6.1.40)
Let . Since is linear and the inner product is sesquilinear,
The left side and the first and last terms on the right are by hypothesis, so
Similarly,
Again the left side and the first and last terms vanish, so
Adding this to (6.1.3) gives , so
For the last statement, (Proposition 2.1.23), and
Proof (by polarizing a sesquilinear function).
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)
Let
using . Multiply by and sum over , . Since , , and ,
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 . So for all , and 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
which recovers only the symmetric part of . For the rotation of Example 6.1.39,
Aside (Norms that do not come from inner products). 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
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 are a diamond and a square (Figure 6.1.4), while those of inner products look like the ellipses of Figure 6.1.2.
Corners suggest that no inner product is involved, and the parallelogram law (Proposition 6.1.30) makes this precise. In ,
while for both norms. So neither satisfies the parallelogram law, and neither is the norm of any inner product on .
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. Decide which of the following define inner products.
- (a)On :
. - (b)On :
. - (c)On :
. - (d)On :
. - (e)On :
.
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)
(a) Yes. The formula is with , which is symmetric, and
This is a sum of nonnegative terms, and it is only if and , that is, . By Proposition 6.1.22(b), it is an inner product.
(b) No. Definiteness fails: is nonzero, but . (The formula is symmetric, bilinear, and positive.)
(c) No. 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
(e) Yes. Reading off the coefficient of as , the formula is with . The conjugate transpose of is
On the other hand, by Proposition 6.1.29 in (or by direct expansion),
Exercise 6.1.43. The proof of Proposition 6.1.13 works on any closed interval in place of . Decide which of the following are inner products.
- (a)
on . - (b)
on . - (c)
on . - (d)
on the space of continuously differentiable functions .
Uses. Proposition 6.1.13 (Integral inner products), Lemma 6.1.14 (Nonnegative functions with zero integral)
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.
(b) No. Positivity fails for :
(c) No. Definiteness fails:
(d) Yes.
Exercise 6.1.44. In a complex inner product space, , , and . Compute
- (a);
- (b);
- (c).
- (d)Find with , and compute .
Uses. Proposition 6.1.4 (Sesquilinearity), Proposition 6.1.29 (Expanding a norm)
Techniques. Expand by multilinearity (Technique 5.1.7)
We use , , , and .
(a) Expanding,
(b) By Proposition 6.1.29 with , , and ,
(c) Here the scalar sits on , so we expand directly:
which is
(d) By linearity in the first slot,
- (a)An inner product on satisfies , , and . Show that there is exactly one such inner product, and find a formula for .
- (b)Compute for the inner product of (a) in two ways: from your formula, and from the parallelogram law.
- (c)Show that no inner product on satisfies , , and .
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)
(a) Suppose is such an inner product, and let
So there is at most one such inner product. Conversely, is symmetric and
which is positive unless and . By Proposition 6.1.22(b), this is an inner product, and it has , , and
(b) From the formula,
(c) Suppose such an inner product exists. The argument of (a) gives , so , and
Exercise 6.1.46. For which is
an inner product on ?
Uses. Proposition 6.1.22 (Inner products on )
Techniques. Plug in clever test vectors (Technique 6.1.40), A sum of nonnegative terms (Technique 6.1.9)
The formula is with , which is symmetric. By Proposition 6.1.22(b), it is an inner product if and only if
Suppose for all . Then . The vector is nonzero since , and
which is positive; dividing by gives .
Conversely, suppose and . Completing the square,
Both terms are nonnegative, so , and it is only if and , that is, . Since , for .
The number is ; Section 12.3 extends this test to matrices.
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)
For ,
Now fix . For , only the terms with survive, and
Since this and are real, , so
So is real, which means has real part : . Together,
If for every , then is real for every (it is at ), so by what we just proved.
Exercise 6.1.48. Let be vectors in an inner product space, and let . Prove Apollonius’s identity
In , what does it say about the triangle with vertices ?
Uses. Proposition 6.1.30 (Parallelogram law), Proposition 6.1.27 (Basic properties of the norm)
Let and . Since
By Proposition 6.1.30 and Proposition 6.1.27(b),
which is the identity, since .
In , 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:
Exercise 6.1.49. Let be vectors in an inner product space.
- (a)Show that if and only if . Interpret the case , geometrically.
- (b)Over , show that if and only if and .
Uses. Proposition 6.1.4 (Sesquilinearity), Notation 6.1.1 (Real and complex scalars)
Expanding with linearity in the first slot and Proposition 6.1.4,
With , conjugate symmetry gives , so
(a) The real part of the right side is , which is if and only if (norms are nonnegative). In 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 if and only if its real and imaginary parts are. So if and only if and , that is, . For instance, and in qualify, but and in do not: they have equal norms, while
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)
Let , so that for every . Let . Since the list spans , for some scalars , and by Proposition 6.1.4,
By Proposition 6.1.37, , that is, .
Without the spanning hypothesis the conclusion fails: in with the list consisting of alone,
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)
Suppose ; the real case is the same with ranging over and the coefficients of Proposition 6.1.32(a). For , linearity gives
For injectivity, if , then , so by Proposition 6.1.27. So , and is injective by Theorem 2.6.11.
Exercise 6.1.52. Let be a real inner product space and .
- (a)Prove or disprove: if for all , then .
- (b)Show that for all if and only if
for all . - (c)Suppose
for all . Show that if for all , then .
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)
(a) False. The rotation of satisfies for every but is not (Example 6.1.39).
(b) Suppose for all . For , expanding as in the proof of Proposition 6.1.41,
A real inner product is symmetric, so
(c) By (b) and the hypothesis on ,
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)
Suppose
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
The identity (6.1.4) holds for every such , as its derivation used only how treats scalars in each slot. So
Uses. Corollary 6.1.19 ( forces ), Proposition 2.4.23 (Transpose of a product), Definition 2.4.1 (Matrix product)
Techniques. The trace of (Technique 6.1.18)
First, for , the entry of is
which is the entry of (Definition 2.4.1). So . By induction on , using ,
Next, if and , then
Now choose with . Then
Exercise 6.1.55. Let be skew-symmetric, .
- (a)Show that , with equality only if .
- (b)Deduce that no real skew-symmetric matrix satisfies . Show that is possible.
Uses. Proposition 6.1.16 (Frobenius inner product)
Techniques. The trace of (Technique 6.1.18)
(a) Since ,
with equality only if every .
(b) If , then , contradicting (a). On the other hand, is skew-symmetric with , and indeed
Exercise 6.1.56. For and , the products and are matrices. Show that, with the Frobenius inner product on and dot products on and ,
and deduce that .
Uses. Proposition 6.1.16 (Frobenius inner product), Definition 6.1.8 (Dot product), Definition 2.4.1 (Matrix product)
By Definition 2.4.1, the entry of is , and that of is . By Proposition 6.1.16,
which is . Taking and gives
Exercise 6.1.57. Let be unit vectors in an inner product space.
(a)Show that
- (b)Deduce that
, with equality if and only if . - (c)For three unit vectors in , find the largest possible value of and a configuration attaining it.
Uses. Proposition 6.1.29 (Expanding a norm), Proposition 6.1.4 (Sesquilinearity)
Techniques. Expand by multilinearity (Technique 5.1.7)
(a) Let . By sesquilinearity,
The terms with vanish, and each pair occurs twice, as and , with the same value. So the sum over is half of this, .
(b) Since , the sum is at most , with equality if and only if , that is, by Proposition 6.1.27.
(c) By (b) the sum is at most , with equality exactly when . This happens for , , and , the vertices of an equilateral triangle inscribed in the unit circle. Each side has squared length , and .
Exercise 6.1.58. This exercise shows that for , the formula on is never definite. (For it is, since forces .)
- (a)Find a nonzero with .
- (b)Show that for every prime there is a nonzero with , and deduce the same in for every .
Uses. Proposition 1.1.24 ( is a field if and only if is prime), Proposition 1.1.17 (No zero divisors)
(a) The squares in are (of ). Since , the vector works.
(b) For , works, since in . Let be odd. It suffices to find with , because then works.
Let . For , if and only if , which by Proposition 1.1.17 means or . For we have , since would give , and in for odd . So the nonzero elements fall into pairs , each pair having one square, and distinct pairs having distinct squares. Together with , has exactly elements.
The map is a bijection of , so
Exercise 6.1.59. Find the error in the following argument, and decide whether the claim is true.
Claim. If is linear in each slot and for all , then .
Proof. By the polarization identity, for all ,
Uses. Proposition 6.1.32 (Polarization identities), Proposition 5.1.10 (Alternating implies antisymmetric)
Techniques. Polarization (Technique 6.1.33)
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 were combined into . For a bilinear without symmetry, expanding gives
so the right side of the displayed formula is , not .
The claim is false. On ,
Exercise 6.1.60. Let be the real vector space of Riemann-integrable functions . Find the error in the following argument, and decide whether the claim is true.
Claim.
Proof. Products of integrable functions are integrable, so is defined. Symmetry and linearity follow from the properties of the integral, and since . Finally, if , then since we must have , so .
Uses. Lemma 6.1.14 (Nonnegative functions with zero integral), Proposition 6.1.13 (Integral inner products)
The error is in the last step. A nonnegative function with integral must vanish if it is continuous (Lemma 6.1.14), but not in general. Let and for . Then is Riemann-integrable and , and , since every Riemann sum over a partition of mesh is at most (the point lies in at most two subintervals). But .
So the claim is false: the formula is symmetric, bilinear, and positive on , but not definite. This is why Proposition 6.1.13 is stated for continuous functions.
Exercise 6.1.61. (Jordan–von Neumann, real case.) Let be a real vector space with a function satisfying, for all and : with equality only for ; ; ; and the parallelogram law
- (a)Show that , , and .
- (b)Show that
for all . - (c)Deduce that
for all . - (d)Show that
for all , and conclude that is an inner product on whose norm is .
Uses. Proposition 6.1.32 (Polarization identities), Proposition 6.1.30 (Parallelogram law), Exercise 2.1.51
(a) Since
(b) The parallelogram law for the pairs and reads
Subtract the second from the first and regroup the left side:
By the definition of , this says
(c) First,
the last step by the doubling rule applied to .
(d) Fix and let for . By (c),
so is continuous, and so is
Together with (c), is linear in the first slot. It is symmetric by (a), which over is conjugate symmetry, and 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.