4.7. The Euclidean Space#

This section consolidates major results for the real Euclidean space Rn as a ready reference. R2 (the 2-dimensional plane) and R3 the 3-dimensional space are the most familiar spaces to us.

Rn is a generalization in n dimensions.

Definition 4.89 (Rn and Euclidean space)

For any positive integer n, the set of all n-tuples of real numbers forms an n-dimensional vector space over R which is denoted as Rn. It is sometimes called real coordinate space.

An element x in Rn is written as

x=(x1,x2,,xn),

where each xi is a real number.

Vector space operations on Rn are defined by:

x+y=(x1+y1,x2+y2,,xn+yn),x,yRn.αx=(αx1,αx2,,αxn)xRn,αR.

When equipped with the standard inner product and standard norm (defined below), Rn becomes the Euclidean space.

Definition 4.90 (Standard basis)

Rn comes with the standard ordered basis B={e1,e2,,en}:

e1=(1,0,,0),e2=(0,1,,0),en=(0,0,,1)

An arbitrary vector xRn can be written as

x=i=1nxiei.

4.7.1. Inner Products#

Definition 4.91 (Standard inner product/ dot product)

The standard inner product (a.k.a. dot product) on Rn is defined as:

x,y=i=1nxiyi=x1y1+x2y2++xnynx,yRn.

This makes Rn an inner product space.

Remark 4.10

The dot product is always a real number. Hence we have symmetry:

x,y=y,x

It is a real inner product.

Definition 4.92 (Q inner product)

Let Q be an n×n real symmetric positive definite matrix. The Q inner product is defined as:

x,yQxTQy.

Q inner product reduces to standard dot product when Q=I.

4.7.2. Norms#

We use norms as a measure of strength of a signal or size of an error. Different norms signify different aspects of the signal.

Definition 4.93 (Euclidean norm)

The length of the vector (a.k.a. Euclidean norm or 2 norm) is defined as:

x=x,x=i=1nxi2xRn.

This makes Rn a normed linear space.

4.7.2.1. Angles#

Definition 4.94 (Angle)

The angle θ between two vectors is given by:

θ=cos1x,yxy.

4.7.2.2. p Norms#

In addition to standard Euclidean norm, we define a family of norms indexed by p[1,] known as p norms over Rn.

Definition 4.95 (p norm)

Let p[1,]. For any nN, the lp norm denoted as p:RnR mapping any vector xRn to a non-negative number is defined as:

xp={(i=1n|xi|p)1p if p[1,)max1in|xi| if p=.

We mention the special cases. p=1 gives us:

x1=i=1n|xi|=|x1|+|x2|++|xn|.

p=2 gives us:

x2=(i=1n|xi|2)12

which is same as the standard Euclidean norm.

p= gives us:

x=max1in|xi|.

We need to justify that p norm defined as above is indeed a norm. Before that, we state the Hölder’s inequality for the Euclidean space.

Theorem 4.110 (Hölder’s inequality)

Let u,vRn. Let p[1,] and let q be its conjugate exponent.

We have:

(4.4)#uv1upvq

where uv denotes the element-wise multiplication given by:

uv=(u1v1,,unvn).

Proof. If u=0 or v=0, then (4.4) follows immediately.

Now, consider the case where u0 and v0.

If p=1, then q=. We have:

uv1=i=1n|uivi|max1jn|vj|i=1n|ui|=u1v.

The same argument applies for the case of p= and q=1 too. For the case of p,q(1,), we have:

up=(k=1n|uk|p)1pand vq=(k=1n|vk|q)1q.

We recall the Hölder's inequality for real numbers. For any nN, a1,,an0, b1,,bn0, p,q being conjugate exponents, we have:

k=1nakbk(k=1nakp)1p(k=1nbkq)1q.

Let ak=|uk| and bk=|vk|. Then

uv1=k=1n|ukvk|k=1n|uk||vk|(k=1n|uk|p)1p(k=1n|vk|q)1q=upvq.

We are now ready to prove that p norm is indeed a norm.

Theorem 4.111 (p norms are norms)

For any nN and any p[1,], the function p as defined in Definition 4.95 is a norm.

Proof. [Positive definiteness] By definition, if u0, then up>0. Similarly, up=0 implies u=0.

[Positive homogeneity] Let αR. If p<, then

αup=(k=1n|αuk|p)1p=|α|(k=1n|uk|p)1p=|α|up.

For p=,

αu=max1in|αui|=|α|max1in|ui|=|α|u.

[Triangle inequality] Let u,vRn. If p=1, then

u+v1=i=1n|ui+vi|i=1n|ui|+|vi|=u1+v1.

If p=, then:

u+v=max1in|ui+vi|max1in(|ui|+|vi|)max1in|ui|+max1in|vi|=u+v.

We are left with the case p(1,).

u+vpp=i=1n|ui+vi|p=i=1n|ui+vi||ui+vi|p1i=1n|ui||ui+vi|p1+i=1n|vi||ui+vi|p1.

By Hölder’s inequality:

i=1n|ui||ui+vi|p1(i=1n|ui|p)1p(i=1n|ui+vi|(p1)q)1q=up(i=1n|ui+vi|p)1q=upu+vppq.

Note that (p1)q=p since p,q are conjugate exponents.

Similarly:

i=1n|vi||ui+vi|p1vpu+vppq.

Combining, we get:

u+vpp(up+vp)u+vppq.

Note that:

ppq=p(11q)=p1p=1.

Thus, dividing both sides by u+vppq, we get:

u+vpup+vp

as desired.

4.7.2.3. 2 Norm#

As we can see from definition, 2 norm is same as the Euclidean norm.

So we have:

x=x2.

4.7.2.4. 1 Norm#

From above definition, we have

x1=i=1n|xi|=|x1|+|x2|++|xn|.

4.7.2.5. Quasi-norms#

In some cases it is useful to extend the notion of p norms to the case where 0<p<1.

In such cases norm as defined in Definition 4.95 doesn’t satisfy triangle inequality. Hence it is not a proper norm function. We call such functions as quasi-norms.

4.7.2.6. 0 “norm”#

Of specific mention is 0 “norm”. It isn’t even a quasi-norm. Note the use of quotes around the word norm to distinguish l0 “norm” from usual norms.

Definition 4.96 (0 “norm”)

0 “norm” is defined as:

x0=|supp(x)|

where supp(x)={i:xi0} denotes the support of x.

Note that x0 defined above doesn’t follow the definition in Definition 4.95.

Yet we can show that:

limp0xpp=|supp(x)|.

which justifies the notation.

Definition 4.97 (Q norm)

The Q norm induced by Q inner product is given by

xQ=xTQx.

4.7.2.7. Equivalence of Norms#

Rn is a finite dimensional vector space and all norms on Rn are equivalent. However, reaching this conclusion requires some hoofs to go through. Here is the roadmap.

  1. We first establish that 1 and 2 norms are equivalent.

  2. We then establish that 2 and norms are equivalent.

  3. We recall the Heine-Borel theorem for Euclidean metric and show that closed and bounded sets of (Rn,2) are compact.

  4. We then take advantage of the fact that equivalent norms lead to same topologies (open, closed and compact sets) as well as bounded sets and show that closed and bounded sets of (Rn,1) are also compact.

  5. We are then in a position to demonstrate that all norms on Rn are indeed equivalent.

Theorem 4.112 (Equivalence of 1 and 2 norms)

The 1 and 2 norms on Rn are equivalent. In particular, for any xRn

1nx1x2x1.

Alternatively,

x2x1nx2.

Proof. By Cauchy-Schwarz inequality

x1=i=1n|xi|=i=1n|xi|.1x212=nx2

where 1 is the vector of all ones. Thus,

1nx1x2.

Also,

x22=i=1n|xi|2(i=1n|xi|)2=x12.

Thus,

x2x1.

Thus, the two norms are equivalent.

Theorem 4.113 (Equivalence of 2 and norms)

The 2 and norms on Rn are equivalent. In particular, for any xRn

1nx2xx2.

Alternatively,

xx2nx.

Proof. Let x=sup{|xi|}.

  1. Then, |xi|x.

  2. Thus, |xi|2x2.

  3. Taking the sum x22nx2.

  4. Taking the square root x2nx.

For the other side, we note that

x2=(sup{|xi|})2i=1n|xi|2=x22.

Thus, xx2. Thus, the two norms are equivalent.

Theorem 4.114 (Equivalence of 1, 2, and |infty norms)

The 1, 2 and norms on Rn are equivalent.

Proof. We proceed as follows:

  1. By Theorem 4.112, 1 and 2 norms are equivalent.

  2. By Theorem 4.113, 2 and norms are equivalent.

  3. By Theorem 4.58, equivalence of norms is an equivalence relation.

  4. Hence, by transitivity, 1 and norms are equivalent.

Theorem 4.115 (Heine Borel theorem)

A subset of the normed linear space (Rn,2) is compact if and only if it is a closed and bounded set.

Proof. The distance metric induced by 2 is the Euclidean distance.

This result is follows directly from Theorem 3.84.

Theorem 4.116 (Closed and bounded sets under 1 norm)

A subset of the normed linear space (Rn,1) is compact if and only if it is a closed and bounded set.

Proof. We just need to show that if a set is closed and bounded in (Rn,1), then it is compact in (Rn,1).

  1. The norms 1 and 2 are equivalent (Theorem 4.114).

  2. Hence, the metrics induced by them are (strongly) equivalent (Theorem 4.59).

  3. Thus, the open sets and closed sets in (Rn,1) and (Rn,2) are identical.

  4. Hence, the compact sets in (Rn,1) and (Rn,2) are identical (Theorem 3.90).

  5. Also the bounded sets in (Rn,1) and (Rn,2) are identical due to Theorem 4.57.

  6. Now, let A be a closed and bounded set in (Rn,1).

  7. Then, A is closed and bounded in (Rn,2).

  8. But then by Heine Borel theorem, A is compact in (Rn,2).

  9. But then, A is compact in (Rn,1) also.

Theorem 4.117 (Equivalence of norms on the Euclidean space)

Let nN. All norms on Rn are equivalent.

Proof. The 1 norm 1:RnR is given by:

x1=i=1n|xi|.

We shall show that any norm :RnR is equivalent to 1:RnR. Then, since norm equivalence is an equivalence relation (Theorem 4.59), hence all norms are equivalent.

In particular, if a and b are two different norms on Rn, then a1 and b1 implies that ab due to Theorem 4.59.

Towards this end, let’s show that any norm is indeed equivalent to 1.

We first show that there exists a constant c1>0 such that

xc1x1xRn.
  1. Let {ei} be the standard basis for Rn.

  2. Let c=max{ei,i=1,,n}.

  3. Then, for any xRn, we have

    x=i=1nxieii=1nxiei=i=1n|xi|eii=1n|xi|c=cx1.

We now show that there exists a constant c2>0 such that

x1c2xxRn.
  1. Define a function g:(Rn,1)R as

    g(x)=xxRn.
  2. Then, for any x,yRn,

    |g(x)g(y)|=|xy|xycxy1.
  3. Thus, g is Lipschitz continuous on the normed linear space (Rn,1).

  4. Therefore, g is continuous.

  5. Now, let S={yRn|y1=1}.

  6. S is a closed set in (Rn,1) since it is the boundary of the unit ball.

  7. S is also bounded since y11 for every yS.

  8. Then, by Theorem 4.116 S is compact in (Rn,1).

  9. Hence, due to Theorem 3.85 g attains a minimum value at some yS over the compact set S.

  10. Let the minimum value of g over S be say m at some y0S.

  11. Note that 0S by definition since 01.

  12. Thus,

    m=g(y0)=y0>0.
  13. Thus, for all yS, we have ym>0.

  14. Now, for any nonzero xRn, the 1 normalized vector, y=xx1S.

  15. But then

    ymxx1mxmx1x11mx

    holds for every nonzero xRn.

  16. Also, the inequality x11mx is satisfied trivially by 0.

We have shown that for c1=c>0 and c2=1m>0

vc1v1 and v1c2v

holds true for every vRn.

Thus, the two norms and 1 are indeed equivalent.

4.7.3. Distances#

Definition 4.98 (Euclidean distance)

Distance between two vectors is defined as:

d(x,y)=xy=i=1n(xiyi)2.

This distance function is known as Euclidean metric.

This makes Rn a metric space.

4.7.4. General Euclidean Space#

We can generalize the definition of a Euclidean space to a more abstract case.

Definition 4.99 (General Euclidean space)

A finite dimensional real vector space V equipped with an inner product , is called a Euclidean space if it is endowed with the norm :VR given by

x=x,x.

The norm induced by the inner product is known as the Euclidean norm.

There are several properties emerging from this definition.

  1. Let V be a Euclidean space.

  2. The field of scalars is R.

  3. Assume that n=dimV.

  4. The inner product is a real inner product.

  5. V is isomorphic to Rn.

  6. If we choose a basis B={e1,,en} for V, then the coordinates for each vector vV form an element of Rn.

  7. This forms a direct bijective mapping between V and Rn.

  8. x2=x,x.

  9. The Euclidean norm makes it a normed linear space.

  10. Recall from Theorem 4.65 that a finite dimensional normed linear space is complete.

  11. Thus, V is a Banach space.

  12. V is an inner product space which is complete.

  13. Hence V is also a Hilbert space.

  14. Rn provides additional features like p norms. Corresponding norms can be induced on V by a coordinate mapping.

4.7.5. Complex Coordinate Space#

In this section we review important features of n-dimensional complex coordinate space Cn defined over a field of complex numbers.

Definition 4.100 (Complex coordinate space)

Let C denote the field of complex numbers. For any positive integer n, the set of all n-tuples of complex numbers forms an n-dimensional vector space over C which is denoted as Cn or (Cn,C) and sometimes called complex coordinate space or “complex vector space*.

An element x in Cn is written as

x=(x1,x2,,xn),

where each xi is a complex number.

Vector space operations on Cn are defined by:

x+y=(x1+y1,x2+y2,,xn+yn),x,yCn.αx=(αx1,αx2,,αxn)xCn,αC.

Cn comes with the standard ordered basis B={e1,e2,,en}:

(4.5)#e1=(1,0,,0),e2=(0,1,,0),en=(0,0,,1).

We note that the basis is same as the basis for n dimensional real vector space (the Euclidean space).

An arbitrary vector xCn can be written as

x=i=1nxiei.

4.7.5.1. Sesquilinear Inner Product#

Definition 4.101 (Standard inner product)

Standard inner product on Cn is defined as:

x,y=i=1nxiyi=x1y1+x2y2++xnynx,yCn

where yi denotes the complex conjugate. It is also known as the sesquilinear inner product.

This makes Cn an inner product space. This satisfies the inner product rule:

x,y=y,x.

4.7.5.2. Standard Norm#

Definition 4.102 (Norm)

The length of the vector (a.k.a. 2 norm) is defined as:

x=x,x=i=1nxixi=i=1n|xi|2xCn.

This makes Cn a normed linear space.

4.7.5.3. Standard Distance#

Definition 4.103 (Distance)

The standard distance between two vectors is defined as:

d(x,y)=xy=i=1n|xiyi|2.

This makes Cn a metric space. It reduces to the standard Euclidean distance between real vectors.

4.7.5.4. Norms#

In addition to standard norm, we define a family of norms indexed by p[1,] known as p norms over Cn.

Definition 4.104

p norm is defined as:

(4.6)#xp={(i=1n|x|ip)1pp[1,)max1in|xi|p=

We can see that:

x=x2.

4.7.5.5. 1 Norm#

From the general definition of p norms, we have

x1=i=1n|xi|=|x1|+|x2|++|xn|.

We use norms as a measure of strength of a signal or size of an error. Different norms signify different aspects of the signal.

4.7.5.6. Quasi-Norms#

In some cases it is useful to extend the notion of p norms to the case where 0<p<1.

In such cases norm as defined in (4.6) doesn’t satisfy triangle inequality, hence it is not a proper norm function. We call such functions as quasi-norms.

4.7.5.7. 0 “norm”#

Of specific mention is 0 “norm”. It isn’t even a quasi-norm. Note the use of quotes around the word norm to distinguish 0 “norm” from usual norms.

Definition 4.105

The 0 “norm” is defined as:

(4.7)#x0=|supp(x)|

where supp(x)={i|xi0} denotes the support of x.

Note that x0 defined above doesn’t follow the definition in (4.6). Yet we can show that:

limp0xpp=|supp(x)|

which justifies the notation.

4.7.6. Cn over R#

We next consider the real vector space of complex coordinates.

Definition 4.106 (Real vector space of complex coordinates)

For any positive integer n, the set of all n-tuples of complex numbers forms an n-dimensional vector space over R which is denoted as (Cn,R)

An element x in (Cn,R) is written as

x=(x1,x2,,xn),

where each xi is a complex number.

Vector space operations on (Cn,R) are defined by:

x+y=(x1+y1,x2+y2,,xn+yn),x,yCn.αx=(αx1,αx2,,αxn)xCn,αR.

Theorem 4.118 (Standard basis and dimension)

The standard basis for (Cn,R) is given by B={e1,e2,,en,en+1,,e2n}:

(4.8)#e1=(1,0,,0),e2=(0,1,,0),en=(0,0,,1),en+1=(i,0,,0),en+2=(0,i,,0),e2n=(0,0,,i).

The dimension of (Cn,R) is 2n.

It is easy to see that (Cn,R) is isomorphic to R2n.

4.7.6.1. Bilinear Inner Product#

Definition 4.107 (Bilinear inner product)

The bilinear inner product on (Cn,R) is defined as:

x,yB=Re(x,y)=i=1nRe(xiyi)=i=1nRe(xi)Re(yi)+Im(xi)Im(yi)x,yCn.

This inner product satisfies all the requirements of a real inner product (Definition 4.72) as shown in Example 4.25. This makes (Cn,R) a real inner product space.

4.7.6.2. Standard Norm#

Definition 4.108 (Norm on (Cn,R))

The length of the vector (a.k.a. 2 norm) is defined as:

x=x,xB=i=1nRe(xi)2+Im(xi)2=i=1n|xi|2xCn.

This makes (Cn,R) a normed linear space. We note that the definition of the norm for both (Cn,R) and (Cn,C) is identical.