• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 3 out of 22 pages
Exam (elaborations)

MATH 464 Class 2 Review - Metric Spaces | Complete Solutions, Latest Update, 2026/2027 | Concordia University

Document preview thumbnail
Preview 3 out of 22 pages

MATH 464 Class 2 Review - Metric Spaces | Complete Solutions, Latest Update, 2026/2027 | Concordia University

Content preview

Metric spaces


Math 464: Class 2
Metric spaces


The notion of metric space is a far-reaching generalization of the intuitive spaces Rn . Let us start with a
motivating example.
Consider X “ Rn “ tpx1 , x2 , . . . , xn q : xj P Ru. The Euclidean distance between two points x, y P Rn is
defined by the Pitagorean formula g
f n
def f ÿ
dpx, yq “ e pxj ´ yj q2 (1)
j“1

We can, and shall, regard d above as a function on X ˆ X with values in R` (the nonnegative real numbers); it
is clear from the formula that the distance is never a negative number. What are the properties of d?
0 for any pair x, y P X we have dpx, yq ě 0;
1 the equality dpx, yq “ 0 occurs if and only if x “ y;
2 dpx, yq “ dpy, xq (symmetry);
3 the distance satisfies the triangle inequality, namely, for all x, y, z P X

dpx, yq ď dpx, zq ` dpz, yq. (2)


The first three properties of d are rather obvious. Let us verify the triangle inequality.
We first need the






, Metric spaces




Lemma 1 (Cauchy-Schwartz inequality)

Let x, y P Rn ; then
ˇ ˇ g g
ˇ n
f n f n 2
ˇ f ÿ f ÿ
ˇ ÿ ˇ
ˇ
ˇ x y
j jˇ ď
ˇ e x2
j
e yj (3)
ˇj“1 ˇ j“1 j“1

Furthermore the equality occurs if and only if x “ cy for some scalar number c.

Proof. Let t P R and consider the function

“C
hkkkikkkj “B
hkkkkkikkkkkj “A
hkkkikkkj
n n n n
2 2 2 2
ÿ ÿ ÿ ÿ
f ptq “ pxj ´ tyj q “ xj ´2t xj yj `t yj (4)
j“1 j“1 j“1 j“1


This function is a parabola in t and it is clearly always positive. The minimum of f ptq is for t “ B
A
and this
minimum value must be nonnegative, thus


B2 B2 B2
0 ď f pB{Aq “ C ´ 2 ` A“C´ (5)
A A2 A

This yields AC ´ B 2 ě 0 or B 2 ď AC. This inequality is precisely the square of (3).
As for the second assertion suppose that we have B 2 “ AC; this occurs iff the minimum of f ptq is zero at some
t “ c. But this can only happen if xj “ cyj for all j, namely x “ cy. Q.E.D.






, Metric spaces




We now prove the triangle inequality as a consequence of the Cauchy-Schwartz inequality. To simplify the
computation we notice that dpx, yq is not changed if we add the same vector c to both x, y. Thus it is sufficient
to show the inequality (2) in the case where z is the zero vector. Now, squaring (2) we obtain

n n n n
2 2 2 2
ÿ ÿ ÿ ÿ
dpx, yq “ pxj ´ yj q “ xj ` yj ´ 2 xj yj ď (6)
j“1 j“1 j“1 j“1
ˇ ˇ ¨ ˛1
n n ˇ n ˇ n
ˇ C.S. ÿ n n n 2
2 2 2 2 2 2
ÿ ÿ ˇ ÿ ÿ ÿ ÿ
ď xj ` yj ` 2 ˇˇ xj yj ˇˇ ď xj ` yj ` 2 ˝ xj yj ‚ “ (7)
j“1 j“1 ˇj“1 ˇ j“1 j“1 j“1 j“1
´ ¯2
2 2
“ dpx, 0q ` dpy, 0q ` 2dpx, 0qdpy, 0q “ dpx, 0q ` dpy, 0q (8)


and thus, taking square root,
dpx, yq ď dpx, 0q ` dp0, yq (9)

The general case is obtained by translation.
Now the distance function d tells us how close or far are points; it is also called a metric

The idea

Forget about the details of the formula for d and of the example for X and retain only the four properties above as
a definition.

Document information

Study
Unknown
Uploaded on
September 23, 2026
Number of pages
22
Written in
2026/2027
Type
Exam (elaborations)
Contains
Questions & answers
CA$27.39

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
Bri254
4.0
(183)
Sold
927
Followers
738
Items
3640
Last sold
1 week ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions