• No results found

17. Inner product spaces Definition Let V be a real vector space. An inner product on V is a function

N/A
N/A
Protected

Academic year: 2021

Share "17. Inner product spaces Definition Let V be a real vector space. An inner product on V is a function"

Copied!
6
0
0

Loading.... (view fulltext now)

Full text

(1)

17. Inner product spaces

Definition 17.1. Let V be a real vector space. An inner product on V is a function

h , i : V × V −→ R, which is

• symmetric, that is

hu, vi = hv, ui.

• bilinear, that is linear (in both factors):

hλu, vi = λhu, vi, for all scalars λ and

hu

1

+ u

2

, vi = hu

1

, vi + hu

2

, vi, for all vectors u

1

, u

2

and v.

• positive that is

hv, vi ≥ 0.

• non-degenerate that is if hu, vi = 0 for every v ∈ V then u = 0.

We say that V is a real inner product space. The associated quadratic form is the function

Q : V −→ R, defined by

Q(v) = hv, vi.

Example 17.2. Let A ∈ M

n,n

(R) be a real matrix. We can define a function

h , i : R

n

× R

n

−→ R, by the rule

hu, vi = u

t

Av.

The basic rules of matrix multiplication imply that this function is bi- linear. Note that the entries of A are given by

a

ij

= e

ti

Ae

j

= he

i

, e

j

i.

In particular, it is symmetric if and only if A is symmetric that is A

t

= A. It is non-degenerate if and only if A is invertible, that is A has rank n. Positivity is a little harder to characterise.

Perhaps the canonical example is to take A = I

n

. In this case if u = (r

1

, r

2

, . . . , r

n

) and v = (s

1

, s

2

, . . . , s

n

) then u

t

I

n

v = P r

i

s

i

. Note

1

(2)

that if we take u = v then we get P r

i2

. The square root of this is the Euclidean distance.

Definition 17.3. Let V be a real vector space. A norm on V is a function

k.k : V −→ R, what has the following properties

kkvk = |k|kvk, for all vectors v and scalars k.

• positive that is

kvk ≥ 0.

• non-degenerate that is if kvk = 0 then v = 0.

• satisfies the triangle inequality, that is ku + vk ≤ kuk + kvk.

Lemma 17.4. Let V be a real inner product space.

Then

k.k : V −→ R, defined by

kvk = phv, vi, is a norm on V .

Proof. It is clear that the norm satisfies the first property and that it is positive. Suppose that u ∈ V . By assumption there is a vector v such that

hu, vi 6= 0.

Consider

0 ≤ hu + tv, u + tvi

= hu, ui + 2thu, vi + t

2

hv, vi.

If hv, vi = 0 then certainly hu, ui > 0. Otherwise put t = − hu, vi

hv, vi > 0.

Then

hu, ui + 2thu, vi + t

2

hv, vi = hu, ui + thu, vi.

(3)

Once again

hu, ui > (hu, vi)

2

hv, vi > 0.

Thus the norm is non-degenerate.

Now suppose that u and v ∈ V . Then

hu + v, u + vi = hu, ui + 2hu, vi + hv, vi

≤ kuk

2

+ 2kuk · kvk + kvk

2

= (kuk + kvk)

2

.

Taking square roots gives the triangle inequality.  Note that one can recover the inner product from the norm, using the formula

2hu, vi = Q(u + v) − Q(u) − Q(v),

where Q is the associated quadratic form. Note the annoying ap- pearence of the factor of 2.

Notice also that on the way we proved:

Lemma 17.5 (Cauchy-Schwarz-Bunjakowski). Let V be a real inner product space.

If u and v ∈ V then

hu, vi ≤ kuk · kvk.

Definition 17.6. Let V be a real vector space with an inner product.

We say that two vectors v and w are orthogonal if hu, vi = 0.

We say that a basis v

1

, v

2

, . . . , v

n

is an orthogonal basis if the vectors v

1

, v

2

, . . . , v

n

are pairwise orthogonal. If in addition the vectors v

i

have length one, we say that v

1

, v

2

, . . . , v

n

is an orthonormal basis.

Lemma 17.7. Let V be a real inner product space.

(1) If the vectors v

1

, v

2

, . . . , v

m

are pairwise orthogonal then they are independent. In particular if m = dim V then v

1

, v

2

, . . . , v

m

are an orthogonal basis of V .

(2) If v

1

, v

2

, . . . , v

n

are an orthonormal basis of V and v ∈ V then v = X

r

i

v

i

, where

r

i

= hv, v

i

i.

3

(4)

Proof. We first prove (1). Suppose that

r

1

v

1

+ r

2

v

2

+ · · · + r

m

v

m

= 0.

Taking the inner product of both sides with v

j

gives 0 = hr

1

v

1

+ r

2

v

2

+ · · · + r

m

v

m

, v

j

i

=

m

X

i=1

r

i

hv

i

, v

j

i

= r

j

hv

j

, v

j

i.

As

hv

j

, v

j

i 6= 0, it follows that r

j

= 0. This is (1).

The proof of (2) is similar. 

So how does one find an orthonormal basis?

Algorithm 17.8 (Gram-Schmidt). Let v

1

, v

2

, . . . , v

n

be independent vectors in a real inner product space V .

(1) Let 1 ≤ k ≤ n be the largest index such that v

1

, v

2

, . . . , v

k

are orthonormal.

(2) If k = m then stop.

(3) Otherwise let

u

k+1

= v

k+1

− r

1

v

1

− r

2

v

2

− · · · − r

m

v

m

, where r

i

= hv

k+1

, v

i

i. Replace v

k+1

by

u

k+1

ku

k+1

k , and return to (1).

In practice the algorithm works as follows. First we replace v

1

by v

1

kv

1

k ,

so that v

1

has unit length. Then we consider v

2

. We have to subtract some of v

1

to ensure that it is orthogonal to v

1

. So consider a vector of the form

u = v

2

+ λv

1

,

where λ is chosen to make u orthogonal to v

1

. We have 0 = hu, v

1

i = hv

2

, v

1

i + λhv

1

, v

1

i, so that

λ = −hv

2

, v

1

i.

(5)

Then we rescale to get a vector of unit length. At the next stage, we can choose λ and µ so that

v

3

+ λv

1

+ µv

2

,

is orthogonal v

1

and v

2

. The key thing is that since v

1

and v

2

are orthogonal, our choice of λ and µ are independent of each other.

For example, consider the vectors

v

1

= (1, −1, 1), v

2

= (1, 0, 1) and v

3

= (1, 1, 2), in R

3

with the usual inner product. The first step is to replace v

1

by

v

1

= 1

√ 3 (1, −1, 1).

Now let

u = (1, 0, 1) − 2

3 (1, −1, 1)

= 1

3 (1, 2, 1).

Then we replace u by a vector parallel to u of unit length v

2

= 1

√ 6 (1, 2, 1).

Finally we put

u = (1, 1, 2) − 2

3 (1, −1, 1) − 5

6 (1, 2, 1)

= 1

2 (−1, 0, 1).

Finally we replace u by a vector of unit length, v

3

= 1

√ 2 (−1, 0, 1).

Thus v

1

= 1

√ 3 (1, −1, 1) v

2

= 1

√ 6 (1, 2, 1) and v

3

= 1

√ 2 (−1, 0, 1), is the orthonormal basis produced by Gram-Schmidt.

One very useful property of inner products is that we get canonically defined complimentary linear subspaces:

Lemma 17.9. Let V be a finite dimensional real inner product space.

If U ⊂ V is a linear subspace, then let

U

= { w ∈ V | hw, ui = 0, ∀u ∈ U },

the set of all vectors orthogonal to every element of U . Then

5

(6)

• U

is a linear subspace of V .

• U ∩ U

= {0}.

• U and U

span V .

In particular V is isomorphic to U ⊕ U

.

Proof. We first prove (1). Suppose that w

1

and w

2

∈ U

. Pick u ∈ U . Then

hw

1

+ w

2

, ui = hw

1

, ui + hw

2

, ui

= 0 + 0 = 0.

It follows that w

1

+ w

2

∈ U

and so U

is closed under addition. Now suppose that w ∈ U

and λ is a scalar. Then

hλw, ui = λhw, ui

= λ0 = 0.

Thus λw ∈ U

and so U

is closed under scalar multiplication. Thus U

is a linear subspace of V . This is (1).

Suppose that w ∈ U ∩ U

. Then hw, wi = 0.

But then w = 0. This is (2).

Suppose that v ∈ V . If v ∈ U there is nothing to prove. Otherwise pick an orthonormal basis u

1

, u

2

, . . . , u

k

of U . Then the vectors v, u

1

, u

2

, . . . , u

k

are independent. By Gram-Schmidt we may find scalars r

1

, r

2

, . . . , r

k

such that

w = v − X r

i

u

i

,

is orthogonal to u

1

, u

2

, . . . , u

k

(in fact r

i

= hv, u

i

i). But then w is orthogonal to U , that is w ∈ U

. Let u = P r

i

u

i

∈ U . Then v = u+w.

This is (3). 

References

Related documents

In weighing the evidence, the Panel took into account that consumption of non-digestible carbohydrates results in reduced post-prandial blood glucose (and

Based on the findings of the survey, it is recommended that the private sector should adopt the following health care measures for the employers: conduct health audit of all

Combining Properties and Evidence to Support Overall Confor- mance Claims: Safety-critical system development increasingly relies on using a diverse set of verification

Request approval to 1) accept a grant award from, and enter into a grant agreement with, the American Psychological Association Board of Educational Affairs to pursue accreditation

The State of California, Department of Insurance (CDI) has awarded the District Attorney¶s Office (DA) $4,700,955 for the Automobile Insurance Fraud (AIF) Program, $2,121,829 for

77273 with Caban Resources, LLC (Caban), effective upon Board approval to: (i) extend the term of the Agreement for the period July 1, 2015 through June 30, 2016 with an option

Pursuant to Insurance Code Sections 1872.8(b)(1)(d) (AIF), 1874.8 (Urban Grant), 1872.83(d) (WCIF), and 1872.85(c)(2) (DHIF), CDI is authorized to award and distribute certain funds

If you’re a beer buff, take a guided tour at Deschutes Brewery to learn more about how the craft beer scene got its start in Central Oregon, then visit a few.. of the city’s