Section 9.3 attached a number to a pair of vectors,
the dot product. Taken with itself, it gives , the square of the length that Pythagoras
assigns to in the
plane. This section takes its square root and calls it
the length of ,
defines the distance between two points, and checks that
for both
agree with the modulus of Chapter 3. Lengths are
awkward, since each is the root of a sum, while their
squares are polynomials in the coordinates. So the
section’s method is to move to squares, compute there,
and come back. It ends by comparing the length of with the sizes of its
coordinates, the comparison that analysis in several
variables uses most often.
Length
In the plane, the point is the far corner of a right
triangle with legs and . By Pythagoras
its distance from the origin is . For
the legs
are and , and the distance is
.
Chapter 3 gave this number a name, the modulus (Definition 3.2.1).
In space the same picture, used twice, gives . The pictures stop at three coordinates,
but the formula does not, and the expression under the
root is the dot product . The
pictures are motivation only. What we need from them is
one property: a length is zero only for the point at the
origin.
Quick check. Is there a vector
in some
with ?
Solution. No. By Proposition 9.3.1
(c), , with equality only for . A nonzero has some , and that one
term already makes the sum positive.
So
is never negative. Every non-negative element of a
complete ordered field has exactly one non-negative
square root (Number Systems: From to , Proposition 6.1.4).
The field is
complete (Number Systems: From to , Theorem 5.5.2),
so the root of exists. This
is where the completeness of enters the
chapter.
Length is the root of the dot product of a vector
with itself. We take this root as the length of
.
For example, , because
and . The uniqueness
clause of Number Systems: From to , Proposition 6.1.4
identifies the root by these two properties. Each norm
computed below can be checked the same way: the claimed
root is and
its square is the given number. The norm is well
defined, since by Proposition 9.3.1
(c).
Two facts about roots carry most of the proofs in
this section. The first is the uniqueness clause just
used: if and , then . The second is the rule of
comparing squares from Section 3.3, a
consequence of Number Systems: From to , Proposition 2.4.3
(g) together with trichotomy: for real , and likewise with on both sides. The
hypothesis
matters: ,
but . Swapping the roles shows that matters too.
Proposition
9.4.1 (Basic Properties of the Norm)
Let
and .
- (a) , and if and only
if .
- (b) .
- (c) .
- (d) For , .
- (e) for every
.
- (f) If , the vectors
with that are
parallel to are
exactly and .
Idea. Each part is a statement
about a root, so it is checked on squares: compute the
square with the dot-product laws of Section 9.3, then
identify the root by its sign and its square.
Proof.
(c) This is the
defining property of the root: .
(d) A square root
is non-negative by definition. If , then , and
by
uniqueness, as and . Conversely, if , then by (c), so by Proposition 9.3.1
(c).
(e) A scalar
comes out of each slot of the dot product. Then (c)
turns the dot products back into squared norms: The number is , as a product of two non-negative numbers:
, and
by
(a) above. Its square is . So and are
non-negative with the same square, and they are equal by
comparing squares.
(f) For , (Definition 9.3.1),
so . As in Proposition 3.2.1,
and
, so
by uniqueness.
(g) by
Proposition 9.3.1
(d), and since and .
(h) Let , so by (a),
and put . The vectors are parallel to
(Definition 9.2.3),
and by (b) their norms are . Conversely, let with parallel to . Since , a vector
parallel to is a
multiple of
(Section 9.2, after Definition 9.2.3),
so for some
. Then
by (b), so . Since
is or , we get or . This proves the
proposition.
Part (b) says that stretching a vector by stretches its length by
; the
absolute value is needed, since .
Part (d) says that on the norm is the old absolute value, so
the double bars extend the single ones and nothing
clashes.
Dividing a nonzero vector by its norm gives a vector
of length . For
example, has
norm , and by (b)
the vector has norm .
Definition
9.4.2 (Unit Vector)
A unit vector is a vector with . For we write , and call it the
unit vector in the direction of .
The division is allowed because for , by part (a) of
Proposition 9.4.1.
Part (b) shows that is a unit vector. By part (f), the
only other unit vector parallel to is . Replacing
by is called
normalizing . For example, is
the unit vector in the direction of , and the standard
vectors are
unit vectors by (e).
Quick check. Compute . Is
a
unit vector?
Solution. , since and . And , so the norm is
:
yes.
Warning. The length of a vector is
not the sum of the sizes of its
coordinates. , not ;
since , this also shows . (Here because
.) The
norm respects scalar multiples, by Proposition 9.4.1
(b), but not sums.
Distance
The distance between two points should be the length
of the displacement from one to the other, in the language of
Section 9.2. We use ; it has the same length, by part (b)
below.
Definition
9.4.3 (Distance)
For , the distance from to is .
For example, . For
, by
Proposition 9.4.1
(d). That is the distance on the line of Number
Systems: From
to ,
Chapter 4 (Number Systems: From to , Definition 4.1.1).
Proposition
9.4.2 (Basic Properties of the Distance)
For all and :
- (a) , and if and only
if ;
- (b) ;
- (c) ;
- (d) .
Part (c) says that sliding both points by the same
vector does not change their distance; (d) says that
scaling the picture by scales distances by
. The
property that matters most is missing from the list: the
triangle inequality . It is the one property
of distance that needs an idea, and Section 9.5 supplies
it.
The plane
is the complex plane
Chapter 3 defined as the set (Definition 3.1.1)
and measured its elements with the modulus. This chapter
has now put a second structure on the same set. The two
fit together exactly.
Proposition
9.4.3 (The Plane and the Complex
Numbers)
Let
and be
elements of , and let .
- (a) The sum is the same in
and in , and so is the
difference .
The scalar multiple equals the complex
product ,
that is, the product in of the real number
with (Proposition 3.1.1).
- (b) .
- (c) , and
so .
Idea. Every part compares two
formulas in the coordinates . Write both
sides out by the definitions of Chapter 3 and of this
chapter, and read off that they agree.
Proof.
(a) Both sums are
by
the two definitions. By the multiplication rule of Definition 3.1.1,
, which is
. In particular
,
and , so is the negative of in as well; hence both
differences are .
(b) The conjugate
of is (Definition 3.2.1).
By the multiplication rule, Its real part is
(Definition 9.3.1).
(c) Both are
,
by the definitions of the norm and of the modulus. Then
by (a).
So every result of this chapter about , read at , is a result about
. The order of
the factors in (b) does not matter: , since the two
products are conjugate (Theorem 3.2.2 (a),
(b)). The coordinate bound (a) at the end of this
section is, for , the first two inequalities of Lemma 3.3.1. In
the other direction, the multiplication of has no counterpart in
for general
in this chapter;
Section 9.5 explains why that matters.
Comparing
lengths through their squares
Norms do not expand: is the root
of a sum, and nothing splits it. Squared norms do,
because and the dot product is linear in
each slot. The first example is the theorem of
Pythagoras, with “right angle” read as “dot product
zero” (Definition 9.3.2).
For instance, , and indeed .
Proposition
9.4.4 (Theorem of Pythagoras)
Let . Then and the same holds with in place of .
Idea (Scratch work). We want an
equivalence between a statement about norms and a
statement about a dot product. Norms cannot be expanded.
So first we rewrite every squared norm as a dot product,
and then we expand.
|
|
| (Proposition 9.4.1
(c)) |
|
| linearity and symmetry (Proposition 9.3.1
(a), (b)) |
|
| cancel ; |
, which is true |
The case
is the same table with in the
third row.
Proof. Section 9.3 expanded
by linearity and symmetry, just after Proposition 9.3.1.
By Proposition 9.4.1
(c), these read
(9.4.1)
So holds if and only if
. This holds if and only if , since
in and has no zero divisors
(Number Systems: From to , Lemma 4.1.1
(d)). By Definition 9.3.2,
says .
The proof never mentions an angle or a triangle.
Pythagoras’ theorem is now an identity about squares of
norms, with a dot product as the error term. The
identity Eq. 9.4.1
is behind the proofs of the parallelogram law and of
polarization below, so the way of working deserves a
name.
Example
(Method: expand the square)
How it goes. To prove an identity or
an inequality between norms:
- If lengths are compared, compare their squares
instead. This is allowed because both sides are .
- Write each squared norm as a dot product, .
- Expand by linearity and symmetry, as in Eq. 9.4.1.
- Compare the expansions. Then return from squares to
lengths by comparing squares.
When to use it. Identities and
inequalities among the norms of sums, differences and
multiples of vectors; conditions such as .
Common mistakes. A common mistake is
to drop the cross term , which
turns every expansion into Pythagoras. Another is to
square a side that may be negative, such as ;
comparing squares does not apply there.
The second worked example is the law of the
parallelogram. In the plane, the parallelogram spanned
by and has diagonals and . The law says that
the squares of the two diagonals add up to the squares
of the four sides. For and , the diagonals are and , and .
Proposition
9.4.5 (Parallelogram Law)
For all ,
Proof. We expand the squares, as in
Example (Method: expand the square).
No lengths are compared, only squares, so we never pass
to roots. Each side is a sum of dot products: by Proposition 9.4.1
(c). The identity Eq. 9.4.1
expands both: Now add the two lines: the cross terms and cancel,
and what is left is . This proves the law.
Subtracting the two lines instead of adding them
makes the norms cancel and keeps the cross term. That
gives the dot product back from lengths.
Proposition
9.4.6 (Polarization)
For all :
- (a) ;
- (b) .
Proof.
- (a) Subtract the
second expansion in the proof of Proposition 9.4.5
from the first: ; divide
by . (b)
Solve the second expansion, , for .
Polarization says that lengths determine dot
products: whoever knows every distance knows every dot
product. For instance, let preserve distances,
for all , and suppose . Then , and (b) gives . Which maps behave like this is a
question for the linear algebra volumes.
Length
against coordinates
Analysis in several variables keeps changing between
two ways of saying that is small: is small, or
every coordinate is small. The two are
equivalent, with constants that depend only on . For example, for the
largest size of a coordinate is , and .
So , where the second inequality holds since
. In general, let , the largest size of a
coordinate; the maximum exists and is one of the listed
numbers (Sets and Functions, Proposition 3.3.8).
Proposition
9.4.7 (Norm against Coordinates)
Let
and .
- (a)
for every ; hence
.
- (b) .
Idea. The square is a sum of non-negative terms.
Keeping one term and dropping the rest makes it smaller,
which gives (a); replacing every term by the largest one
makes it larger, which gives (b). In both parts we work
with squares and come back by comparing squares.
Proof. By Proposition 9.4.1
(c), . Every term
is , since a square is
never negative.
(a) Fix . A sum of non-negative
terms is at least each of its terms (Proposition 1.1.5
(b)), so . Since , this
reads . Both and are , so comparing
squares gives . The maximum is one of the numbers
, so .
(b) For every
, , so
by Number Systems: From to , Proposition 4.1.2
(d), that is, . A sum of terms, each at most
, is at most
(Proposition 1.1.5
(c)), so . The number is , and its square is
. So , and comparing squares
gives .
Neither constant can be improved. For , , so (a)
is an equality. For , and , so (b) is an
equality. For
both parts say .
The proposition is used mostly in the following form,
about the points near a given point . Recall that
says (Number Systems: From to , Proposition 4.1.3
(d)). So “ for every ” says that lies in the open box
of Definition 9.1.2,
centered at .
Corollary
9.4.8 (Balls and Boxes)
Let
and , and
let .
- (a) If , then
for every .
- (b) If for every , then .
In words: take the set of points at distance less
than from , a disc in the plane.
It sits inside the open square of half-side centered at . It contains the
smaller open square of half-side , whose
corners lie on the boundary circle. In the same holds with
boxes, and the inner box shrinks as grows. The analysis
volumes use the corollary to pass between “close in
distance” and “close in every coordinate”, so that a
limit in can
be taken one coordinate at a time.
Exercises
A. Check your
understanding
Exercise
(A1)
- (a) Compute and the
unit vector in the direction of .
- (b) Compute .
- (c) For ,
compute , and , and check
both bounds of Proposition 9.4.7.
- (d) Where does the
proof of Proposition 9.4.7
use that every term is ?
- (e) Why does Corollary 9.4.8
(b) assume and not ?
Answer with an example for .
- (f) State the idea
of the proof of Proposition 9.4.7
(b) in two sentences.
Solution.
(a) , since and . The unit vector
is .
(b) The
difference is , so the distance is
.
(c) , , and .
Indeed .
(d) In (a), to
drop all terms except : the sum is at
least one of its terms only because the other terms are
non-negative (Proposition 1.1.5
(b)). Part (b) does not need it.
(e) With in place of , the statement
is false for every . Since , we have , so we
can choose with
; for ,
is such a choice, since then . Let . Then for every , but by Proposition 9.4.1
(b), since . For , and the two
versions agree.
(f) The square
is a sum
of squares, each
at most , so it
is at most .
Both and
are
non-negative, so the inequality between their squares
gives the inequality between the numbers.
B. Practice
Exercise
(B1: Prove or disprove)
Prove or disprove each statement for all , .
- (a) If , then
or .
- (b) If , then
.
- (c) If , then .
- (d) .
- (e) If , then .
Solution.
(a)
False. Take and . Both have norm
(Proposition 9.4.1
(e)), but and (compare first coordinates: ).
(b)
True. By linearity and symmetry (Proposition 9.3.1
(a), (b)), , which
is when .
(c)
True. By Proposition 9.4.4,
used for and
for , both
and
equal . The two norms are non-negative with
equal squares, so they are equal by comparing
squares.
(d)
True. By Proposition 9.4.5,
, and .
(e)
False. Take , , which are
orthogonal (Proposition 9.3.1
(d)). Then , but .
Exercise
(B2)
Let ,
and
. Show
that , and check the theorem of Pythagoras for the
triangle with corners , , by computing the three
squared side lengths.
Solution. and , and
. The squared sides are , , and, since , . Indeed , as Proposition 9.4.4
(with , , ) predicts. The
two legs have length , and the third side has
length .
Exercise
(B3)
Let with . Prove that a point satisfies
if and only if and check that the midpoint satisfies
this equation.
Hint: which method compares two lengths?
Solution. We expand the squares (Example (Method: expand the square)).
Both distances are non-negative, so by comparing squares
if and only if . By Eq. 9.4.1,
Cancelling , the two are
equal if and only if , that is, by linearity,
. Divide by .
For : by linearity and symmetry, , so .
The hypothesis is not used in the equivalence, which holds
for too (both
sides then hold for every ). It makes the vector
nonzero, so
that the equation is a genuine condition on ; Chapter 10 calls such
a set a hyperplane, and this one is the perpendicular
bisector of and
.
C. Going deeper
Exercise
(C1: Find the error)
The conclusion of the following argument is true. Is
the argument correct? If not, name the line that fails,
say why, and repair it.
“Claim. For every and every
, .
Proof. (1) The other terms of
are non-negative, so . (2)
Taking non-negative square roots, which preserves , we get . (3) Since for every
real , this gives
.
(4) Applying this to , whose norm is , gives . (5) So
.”
Solution. The conclusion is true:
it is Proposition 9.4.7
(a). The argument is not correct. The one bad line is
(3). It cites the “fact” for every
real , which is
false. Citing a false general fact is never allowed; it
is (N9) in the list of Logic and Proof (Logic and Proof, Example (What is not allowed)).
A counterexample to the step: for , . The correct fact is , by
Proposition 9.4.1
(d).
The other lines are correct:
- Line (1) is Proposition 1.1.5
(b).
- Line (2) is comparing squares, since and are
non-negative with squares .
- Line (4) uses (Proposition 9.4.1
(b)).
- Line (5) holds because is or .
Even line (3) can be saved. The true inequality holds,
as (Number Systems: From to , Proposition 4.1.3
(c)). With it, lines (3)–(5) prove the claim. So the
argument reaches a true conclusion, and only one of its
lines needs a different justification. A correct
conclusion does not make every line correct.
Repair. Replace (3) by “
(Proposition 9.4.1
(d))”; then (2) gives at
once, and lines (4) and (5) become unnecessary.