Real Analysis

Arun Ram
Department of Mathematics and Statistics
University of Melbourne
Parkville, VIC 3010 Australia
aram@unimelb.edu.au

Last update: 19 July 2014

Lecture 25

A metric space is a set X with a function d:X×X→ℝ≥0 such that

(a) if p∈X then d(p,p)=0,
(b) if p,q∈X then d(p,q)≠0,
(c) if p,q∈X then d(p,q)=d(q,p),
(d) if p,q,r∈X then d(p,r)≤d(p,q)+d(q,r).

The point of this lecture is to show:

If X is ℝn and d:ℝn×ℝn⟶ ℝ≥0is given by d(x,y)=|y-x| then the triangle inequality holds: |x+y|≤|x| +|y|. or, if x=p-q and y=q-r then |p-r|= |p-q+q-r|< |p-q|+ |q-r| so that d(p,r)≤ d(p,q)+ d(q,r) and (d) holds.

ℝn will be our favourite example of a metric space.

The triangle and Schwartz inequalities

The inner product on ℝn is the function ℝn×ℝn ⟶ ℝ (x,y) ⟼ ⟨x,y⟩ given by ⟨x,y⟩= (x1,…,xn) (y1⋮yn) =x1y1+⋯+xnyn =∑i=1nxiyi.

The absolute value on ℝn is the function ℝn ⟶ ℝ≥0 x ⟼ |x| given by|x|= x12+⋯+xn2 =⟨x,x⟩. Pictorially, |x| is the distance from x=(x1,…,xn) to the origin (2,1,3) x y z ℝ3 = {(x,y,z) | x,y,z∈ℝ}and ℝn = { (x1,…,xn)  | x1,x2,… ,xn∈ℝ } , ℝ1 = {x | x∈ℝ}=ℝ ℝ2 = { (a,b) |  a,b∈ℝ } can be identified with ℂ = {a+bi | a,b∈ℝ}.

Lagrange's identity

If x=(x1,…,xn)∈ℝn and y=(y1,y2,…,yn)∈ℝn then (∑i=1nxi2) (∑i=1nyi2)- (∑i=1nxiyi)2 =12∑i,j (xiyj-xjyi)2.

Proof.

12∑i,j=1n (xiyj-xjyi)2 = 12∑i,j=1n xi2yj2-2xi yjxjyi+ xj2yi2 = 12 ∑i,j=1n xi2yj2+ 12 ∑i,j=1n xj2yi2- ∑j,i=1n xiyixjyj = ∑i,j=1n xi2yj2- (∑i=1nxiyi)2 = (∑i=1nxi2) (∑j=1nyj2)- (∑i=1nxiyi)2.

□

If n=2, 12 ( (x1y1-x1y1)2+ (x1y2-x2y1)2+ (x2y1-x1y2)2+ (x2y2-x2y2)2 ) . = … = (x12+x22) (y12+y22)- (x1y1+x2y2)2.

(The Schwartz inequality) If x,y∈ℝn then ⟨x,y⟩≤ |x||y|.

Proof.

Lagrange's identity tells us |x|2|y|2 -⟨x,y⟩2≥0. So (|x||y|)2 ≥⟨x,y⟩2. So |x||y|≥ ⟨x,y⟩.

□

(The triangle inequality) Let x,y∈ℝn. Then |x+y|≤|x|+ |y|.

Proof.

⟨x+y,x+y⟩ = ⟨x,x⟩+ ⟨x,y⟩+ ⟨y,x⟩+ ⟨y,y⟩ = |x|2+ 2⟨x,y⟩+ |y|2 ≤ |x|2+ 2|x||y|+ |y|2 = (|x|+|y|)2. So |x+y|2≤ (|x|+|y|)2. So |x+y|≤ |x|+|y|.

□

Note that Lagrange's identity works with ℝ replaced by any field, and the Schwartz and triangle inequalities are valid with ℝ replaced by any ordered field.

Notes and References

These are notes from a 2010 course on Real Analysis 620-295. This page comes from 100507Lect25.pdf and was given on 7 May 2010.

page history