<< Chapter < Page Chapter >> Page >
Review of inner products and inner product spaces.

Inner products

We have defined distances and norms to measure whether two signals are different from each other and to measure the “size” of a signal. However, it is possible for two pairs of signals with the same norms and distance to exhibit different behavior - an example of this contrast is to pick a pair of orthogonal signals and a pair of non-orthogonal signals, as shown in [link] .

An example of orthogonality in a two-dimensional space: distances and norms are not indicative of orthogonality; two pairs of vectors with the same distance can have arbitrary angle between them.

To obtain a new metric that distinguishes between orthogonal and non-orthogonal we use the inner product , which provides us with a new metric of “similarity”.

Definition 1 An inner product for a vector space ( X , R , + , · ) is a function · , · : X × X R , sometimes denoted ( · | · ) , with the following properties: for all x , y , z X and a R ,

  1. x , y = y , x ¯ (complex conjugate property),
  2. x + y , z = x , z + y , z (distributive property),
  3. α x , y = α x , y (scaling property),
  4. x , x 0 and x , x = 0 if and only if x = 0 .

A vector space with an inner product is called an inner product space or a pre-Hilbert space.

It is worth pointing out that properties (2-3) say that the inner product is linear, albeit only on the first input. However, if R = R , then the properties (2-3) hold for both inputs and the inner product is linear on both inputs.

Just as every norm induces a distance, every inner product induces a norm: | | x | | i = x , x .

Hilbert spaces

Definition 2 An inner product space that is complete under the metric induced by the induced norm is called a Hilbert space .

Example 1 The following are examples of inner product spaces:

  1. X = R n with the inner product x , y = i = 1 n x i y i = y T x . The corresponding induced norm is given by | | x | | i = x , x = i = 1 n x i 2 = | | x | | 2 , i.e., the 2 norm. Since ( R n , · 2 ) is complete, then it is a Hilbert space.
  2. X = C [ T ] with inner product x , y = T x ( t ) y ( t ) d t . The corresponding induced norm is | | x | | i = T x ( t ) 2 d t = | | x | | 2 , i.e., the L 2 norm.
  3. If we allow for X = C [ T ] to be complex-valued, then the inner product is defined by x , y = T x ( t ) y ( t ) ¯ d t , and the corresponding induced norm is | | x | | i = T x ( t ) x ( t ) ¯ d t = T | x ( t ) | 2 d t = | | x | | 2 .
  4. X = C n with inner product x , y = i = 1 n x i y i ¯ = y H x ; here, x H denotes the Hermitian of x . The corresponding induced norm is | | x | | i = i = 1 n | x i | 2 = | | x | | 2 .

Theorem 1 (Cauchy-Schwarz Inequality) Assume X is an inner product space. For each x , y X , we have that | x , y | | | x | | i | | y | | i , with equality if ( i ) y = a x for some a R ; ( i i ) x = 0 ; or ( i i i ) y = 0 .

Proof: We consider two separate cases.

  • if y = 0 then x , y = y , x ¯ = 0 · y , x ¯ = 0 ¯ y , x ¯ = 0 x , y = 0 = x i y i . The proof is similar if x = 0 .
  • If x , y 0 then 0 x - a y , x - a y = x , x - a y , x - a ¯ x , y + a a ¯ y , y , with equality if x - a y = 0 , i.e., x = a y for some a R . Now set a = x , y y , y , and so a ¯ = y , x y , y . We then have
    0 x , x - x , y y , y y , x - y , x y , y x , y + x , y y , y y , x y , y y , y x , x - x , y ¯ x , y | | y | | 2 = | | x | | 2 - | x , y | 2 | | y | | 2 .
    This implies | x , y | 2 | | y | | 2 | | x | | 2 , and so since all quantities involved are positive we have | x , y | | | x | | · | | y | | .

Properties of inner products spaces

In the previous lecture we discussed norms induced by inner products but failed to prove that they are valid norms. Most properties are easy to check; below, we check the triangle inequality for the induced norm.

Lemma 1 If x i = x , x , then x + y i x i + y i .

From the definition of the induced norm,

x + y i 2 = x + y , x + y , = x , x + x , y + y , x + y , y , = x i 2 + x , y + x , y ¯ + y i 2 = x i 2 + 2 real ( x , y ) + y i 2 .

At this point, we can upper bound the real part of the inner product by its magnitude: real ( x , y ) | x , y | . Thus, we obtain

x + y i 2 x i 2 + 2 | x , y | + y i 2 , x i 2 + 2 x i y i + y i 2 , ( x i + y i ) 2 ,

where the second inequality is due to the Cauchy-Schwarz inequality. Thus we have shown that x + y i x i + y i . Here's an interesting (and easy to prove) fact about inner products:

Lemma 2 If x , y = 0 for all x X then y = 0 .

Proof: Pick x = y , and so y , y = 0 . Due to the properties of an inner product, this implies that y = 0 .

Earlier, we considered whether all distances are induced by norms (and found a counterexample). We can ask the same question here: are all norms induced by inner products? The following theorem helps us check for this property.

Theorem 2 (Parallelogram Law) If a norm · is induced by an inner product, then x + y 2 + x - y 2 = 2 ( x 2 + y 2 ) for all x , y X .

This theorem allows us to rule out norms that cannot be induced.

Proof: For an induced norm we have x 2 = x , x . Therefore,

x + y 2 + x - y 2 = x + y , x + y + x - y , x - y , = x , x + x , y + y , x + y , y + x , x - x , y - y , x + y , y , = 2 x , x + 2 y , y , = 2 ( x 2 + y 2 ) .

Example 2 Consider the normed space ( C [ T ] , L ) , and recall that x = sup t T | x ( t ) | . If this norm is induced, then the Parallelogram law would hold. If not, then we can find a counterexample. In particular, let T = [ 0 , 2 π ] , x ( t ) = 1 , and y ( t ) = cos ( t ) . Then, we want to check if x + y 2 + x - y 2 = 2 ( x 2 + y 2 ) . We compute:

x = 1 , y = 1 , x + y = 1 + cos ( t ) = sup t T | 1 + cos ( t ) | = 1 + 1 = 2 , x - y = 1 - cos ( t ) = sup t T | 1 - cos ( t ) | = 1 - ( - 1 ) = 2 .

Plugging into the two sides of the Parallelogram law,

2 2 + 2 2 = 2 ( 1 2 + 1 2 ) , 8 = 4 ,

and the Parallelogram law does not hold. Thus, the L norm is not an induced norm.

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Introduction to compressive sensing. OpenStax CNX. Mar 12, 2015 Download for free at http://legacy.cnx.org/content/col11355/1.4
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Introduction to compressive sensing' conversation and receive update notifications?

Ask