1) Metric Spaces Flashcards

1
Q

Metric space defn

A

Definition 1.1 (Metric Space). A metric space (X, d) is a set X together with a function d : X × X → R that satisfies the following properties
(i) d(x, y) ⩾ 0; and d(x, y) = 0 ⇐⇒ x = y (positive definite); (ii) d(x, y) = d(y, x) (symmetric);
(iii) d(x,z)⩽d(x,y)+d(y,z)(triangleinequality).

The function d is called the metric.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Standard distance between two reals

A

d(x, y) = |x − y|.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Distance between two points on a plane

A

d(x, y) = d((x_1, x_2), (y_1, y_2)) = √[(x_1 − y_1)^2 + (x_2 − y_2)^2].

x,y vectors

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

E.g 1.2 standard metric

A

X = R. The standard metric is given by d1(x, y) = |x − y|.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

E.g of metrics
Exponential one -proof

Generic of discrete -proof

A

d(x,y)=|e^x −e^y|;

d(x, y) =
|x−y| if|x−y|⩽1,
1 if |x − y| ⩾ 1.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Discrete metric

A

d(x,y) =
{1 ifx̸=y,
{0 ifx=y.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

The Euclidean metric in R^n

A

If X= R^m. The standard metric

x
= (x_1, …,x_m)

y
= (y_1, …,y_m)
Then
d_2(x,y)=sqrt[(x_1 −y_1)^2 +(x_2 −y_2)^2 +…+(x_m −y_m)^2]

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Euclidean metric links

A

linked to the inner-product (scalar product),
x · y = x_1y_1 + x_2y_2 + . . . + x_my_m, since it is just sqrt[(x − y).(x − y)]

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

d_∞(x,y) in R^m

A

d∞(x,y)=
max{|x1 −y1|,|x2 −y2|,…,|xm −ym|}.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

metric on R^m
d_1

A

d_1(x,y)=|x1 −y1|+|x2 −y2|+…+|xm −ym|.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

d1 , d2 , d∞ are all ____ and ____

A

d1 , d2 , d∞ are all translation-invariant

d(x + z, y + z) = d(x, y)),

and positively homogeneous (i.e., d(kx, ky) = |k|d(x, y)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Metrics
For X = C[a,b]

d1 , d2 , d∞

A

d_2 (f, g)
= √ [∫_[a,b] |f(x) − g(x)|^2 dx]].
a
Again, this is linked to the idea of an inner product,

d_1(f, g) =

[∫_[a,b] |f(x) − g(x)|dx]].

the area between two graphs

d∞(f, g) = max{|f(x) − g(x)| : a ⩽ x ⩽ b}, the maximum vertical separation between two graphs.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Example 1.3. On C[0, 1] take
f(x) = x and g(x) = x^2 and calculate
d_1 (f,g)

A

d1(f, g) = the area between two graphs ∫_[b, a]
|f(x) − g(x)| dx
= [0.5x^2 - (1/3)x^3] on interval [0,1]
= 1/6

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Example 1.3. On C[0, 1] take
f(x) = x and g(x) = x^2 and calculate
d_2 (f,g)

A

d_2 (f, g)
= √ [∫_[a,b] |f(x) − g(x)|^2 dx]].

(x-x^2)^2 = x^2 +x^4 -2x^3
= (1/3)x^3 + 0.2x^5 -0.5x^4

= √(1/30)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Example 1.3. On C[0, 1] take
f(x) = x and g(x) = x^2 and calculate
d_ ∞(f,g)

A

d∞(f, g) = max{|f(x) − g(x)| : a ⩽ x ⩽ b}, the maximum vertical separation between two graphs.

d∞(f,g) =
max _{x∈ [0,1]} |x−x^2|= 1/4
(* y=x-x^2 , dy /dx= 1-2x has turning point x=0.5, y= 0.25 maximum second deriv =-2 *
1/4.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Remark 1.4 subsets of metric spaces

A

Any subset of a metric space is again a metric space its own right, by restricting the distance function to the subset.

17
Q

Example 1.5. a subspace of R.

A

(i) The interval [a, b] with d(x, y) = |x − y| is a subspace of R.

18
Q

Unit circle on R2.
With d2

A

The unit circle
{(x1,x2) ∈ R^2 : (x_1)^2 + (x_2)^2 = 1} with
d_2(x,y) = sqrt[(x1 − y1)^2 + (x2 − y2)^2 ]is a SUBSPACE of R2.

d_2(0,x) ≤ 1 sqrt( x_1 ^2 + x_2 ^2) ≤ 1

Looks like a circle

19
Q

Metric space P

A

The space of polynomials P is a metric space with any of the metrics inherited from C[a, b] above

20
Q

Useful applications of MS properties

A

d(x,y) = d(x-y,y-y) = d(x-y, o)

d(x,y) - d(a,b)| <= d(x,a) + d(y,b)

21
Q

Unit circle d_1 in R^2

A

SUBSPACE of R2.

d_1(0,x) ≤ ( x_1 + x_2 ) ≤ 1

Looks like a rhombus
Contained in unit circles in d_ inf and s
D_2

22
Q

Unit balls

A

{x ∈V: d(0,x) q } = B₁ (x)

23
Q

Unit circle on d∞

A

d∞(0,x)<= 1

max{x₁,x₂} <= 1

d((x_1, x_2), (y_1, y_2)) = max {|x_1 -y_1|, |x_2 - y_2| } what does the “unit circle” and “unit disk” about (0,0) look like?

Now one shouldn’t get the wrong impression. SOMETIMES one can get a visual image of what a disk (or “ball” in higher dimensions) and a circle (or “sphere”) look like. But sometimes visualizing is impossible.

Square

24
Q

Unit balls relationship

A

Ball d₁ ⊆ Ball d₂ ⊆ Ball d∞

25
Q

If has the property of closed under + and scalar multiplication

A

Vector space
Can be represented by basis #dimensions