Euclidean spaces

We would like to study multivariate functions (i.e., functions of many variables), continuous multivariate functions in particular. To define continuity, we need a measure of "closeness" between points. One measure of closeness is the Euclidean distance. The set Rn (with nN) with the Euclidean distance function is called a Euclidean space. This is the space where our functions of interest live.

The real line is a geometric representation of R, the set of all real numbers. That is, each aR is represented as the point a on the real line.

The coordinate plane, or the x-y plane, is a geometric representation of R2, the set of all pairs of real numbers. Each pair of real numbers (a,b) is visualized as the point (a,b) in the plane.

Remark. Recall that R2=R×R={(x,y)|x,yR} is the Cartesian product of R with itself, its elements such as (x,y) are ordered pairs of real numbers.

The coordinate space, or the x-y-z space, is a geometric representation of R3, the set of all triples of real numbers.

Remark. Recall that R3=R×R×R={(x,y,z)|x,y,zR} is also a Cartesian product, its elements such as (x,y,z) are ordered triples of real numbers.

We can naturally extend this idea. For any nN, we can consider an n-tuple of real numbers (a1,a2,,an) and the set Rn of all such n-tuples. We can "visualize" each element of Rn as a "point"' in the n-dimensional space. For example, (a1,a2,,an)Rn is a point where the x1-coordinate is a1, x2-coordinate is a2, and so on.

Univariate functions (i.e., functions with one variable) are often defined on an interval. We would like to extend the notion of an interval to Rn. But first, we need the notion of distance.

Definition (Euclidean distance)

  Let x=(x1,x2,,xn) and y=(y1,y2,,yn) be points in Rn. The (Euclidean) distance d(x,y) between x and y is defined as (Eq:Distance)d(x,y)=i=1n(xiyi)2.

Remark. The distance d(x,y) is also denoted as xy or xy2. Recall the definition of the length of an n-dimensional vector.

Definition (Euclidean space)

The set Rn equipped with the distance defined in (Eq:Distance) is called the n-dimensional Euclidean space.
Remark. Sometimes, we say the pair (Rn,d), where d is the distance function, is the Euclidean space.
Remark. In mathematics, we generally use the term space to mean a set with some "structure." In the case of Euclidean space, the "structure" is specified by the distance. Other examples of spaces include vector space, probability space, topological space, Hilbert space, etc.

You might have learned the following lemma in Linear Algebra:

Lemma (Cauchy-Schwarz inequality)

For a=(a1,a2,,an),b=(b1,b2,,bn)Rn, we have
(Eq:CauchySchwarzIneq)|i=1naibi|i=1nai2i=1nbi2.
Proof. The result is trivial if a=(0,0,,0). Suppose a(0,0,,0). For any tR
0i=1n(ait+bi)2=(i=1nai2)t2+2(i=1naibi)t+(i=1nbi2).
The last quadratic form of t has at most one real root because it is non-negative;  hence its discriminant is non-positive:
(i=1naibi)2(i=1nai2)(i=1nbi2)0,
from which we conclude that
(i=1naibi)2(i=1nai2)(i=1nbi2).
Taking the square root of both sides, we have (Eq:CauchySchwarzIneq). ■
Remark: If we regard a,bRn as vectors in a vector space with the scalar product (i.e., dot product) a,b and induced norm , the Cauchy-Schwarz inequality reads:
|a,b|ab.

Theorem (Distance axioms)

  1. (Non-negativity) For any x,yRn, d(x,y)0. In particular, d(x,y)=0 if and only if x=y.
  2. (Symmetry) For any x,yRn, d(x,y)=d(y,x).
  3. (Triangle inequality) For x,y,zRn, d(x,z)d(x,y)+d(y,z).
Proof. (1) and (2) are trivial. We show (3) only.
Let x=(x1,x2,,xn),y=(y1,y2,,yn),z=(z1,z2,,zn), and ai=xiyi,bi=yizi. Note that xizi=(xiyi)+(yizi)=ai+bi. Then, we need to prove
i=1n(ai+bi)2i=1nai2+i=1nbi2. 
Noting that both sides are non-negative, squaring both sides gives
(Eq:Ineq1)i=1n(ai+bi)2i=1nai2+i=1nbi2+2i=1nai2i=1nbi2.
The left-hand side is
i=1n(ai+bi)2=i=1nai2+i=1nbi2+2i=1naibi. Canceling common terms, the above inequality (Eq:Ineq1) to be proved becomes
i=1naibii=1nai2i=1nbi2.
But this is trivial from the Cauchy-Schwarz inequality (Eq:CauchySchwarzIneq) in the above Lemma. Now, trace this argument backward, and the triangle inequality follows from the Cauchy-Schwarz inequality. 

Remark. For any set S, if a function d:S×SR satisfies the above properties of distance, then this function d may be considered as a distance function in S. The above properties can be used as axioms to define a distance in any set (if possible). Generally, a set S with a distance function d is called a metric space.

Example. For x,yRn, let us define the following function:
d1(x,y)=i=1n|xiyi|. This function satisfies all the distance axioms. Thus, (Rn,d1) is a metric space. The function d1 is sometimes called the L1 distance. In comparison, the Euclidean distance is also called the L2 distance.

Definition (ε-neighbor)

For xRn and ε>0, the ε-neighbor of x is defined as
Nε(x)={yRnd(x,y)<ε}.
Nε(x) is also called the open ball with radius ε centered at x.

Example
  • In R, Nε(x)=(xε,x+ε) is an open interval.
  • In R2, let a=(a1,a2). Then, Nε(a)={(x1,x2)R2|(x1a1)2+(x2a2)2<ε2} is the interior of the circle with radius ε centered at a.
  • In R3, an ε-neighbor is the interior of a sphere.


Comments

Popular posts from this blog

Birth process

Branching processes: Mean and variance

Informal introduction to formal logic