Fourier series solutions VI - Inner product spaces

Warning

This note should be considered temporary, focusing only on what we need right now for the express purpose of understanding Fourier series. It will later be expanded and broken into many notes.

It turns out that much of the machinery we're building around Fourier series can be greatly streamlined if we take a minute to explore a way to define "orthogonality" for functions, very similar to the usual dot product for column vectors.

The dot product on Cn


Let's first extend the notion of dot product to vectors with complex coordinates, although we need one little adjustment.

First suppose z=a+ib is a single complex number. Using the complex plane as our guide, the point corresponding to z would be at coordinates (a,b), which is a distance a2+b2 from the origin. Because of this, it is reasonable to define the length of the complex number z as

|z|=a2+b2.

Notice that we then immediately have

|z|2=a2+b2.

Now, by comparison, notice that

z2=(a+ib)(a+ib)=(a2−b2)+i⋅2ab,

and so we almost never have |z|2=z2. This in contrast with real numbers, where for any real number x we always have |x|2=x2 (where |x| is the usual absolute value, which measures the distance of the point x from the origin on the real line). However, observe that

zz―=(a+ib)(a−ib)=a2+b2=|z|2.

Using this observation, it is hopefully reasonable to define the length of a complex vector v=[v1v2⋮vn]in Cn as

|v|2=|v1|2+|v2|2+⋯+|vn|2=v1v1―+v2v2―+⋯+vnvn―.

With this in mind, it should seem reasonable to extend the dot product on Rn to vectors in Cn$ as follows:

Definition of dot product on Cn

Given vectors v=⟨v1,v2,â€Ļ,vn⟩ and w=⟨w1,w2,â€Ļ,wn⟩ in Cn, we define their dot product to be the complex number denoted v∙w given by

v∙w=∑k=1nvkwk―.

Notice that if v and w happen to have real entries, then this new dot product is the same as our old dot product (since complex conjugation doesn't do anything to real numbers). Also, with this definition we always have

|v|2=v∙v,

both for vectors in Cn and Rn.

Extending the dot product to functions


Using the dot product on Cn defined above as inspiration, we define the following:

A definition of an inner product on functions

Suppose f,g:[0,1]→C are nice[1] complex-valued functions on [0,1]. We define their inner product to be the complex number denoted (f,g) given by

(f,g)=âˆĢ01f(t)g(t)―dt.

We can use this inner product to define a norm (or length) for functions f:[0,1]→C, by setting |f| to be the number given by

|f|2=(f,f)=âˆĢ01f(t)f(t)―dt=âˆĢ01|f(t)|2.

We say a function f is of unit length if |f|2=1.

We can also extend the notion of orthogonal to functions.

A definition of orthogonal for functions

We say two functions f,g:[0,1]→C are orthogonal if (f,g)=0.

Orthonormal bases


Orthonormal bases on Cn

Recall that in Cn we have the following collection of so-called standard basis vectors:

e1=[10⋮0],e2=[01⋮0],â€Ļ,en=[00⋮1].

This collection of vectors has many nice properties.

The second two properties above provide a super quick and easy way to write a given vector v in Cn as a linear combination of these basis vectors. Indeed, if we first suppose

v=∑k=1nckek,

then for each j=1,â€Ļ,n we can dot product both sides of the above equality with ej to obtain

v∙ej=(∑k=1nckek)∙ej=∑k=1nck(ek∙ej)=ck,

since those dot products are all zero except in the one case when k=j, for which ej∙ej=|ej|2=1.

In other words, we always have

v=∑k=1n(v∙ek)ek.

Extending the above ideas to our world of periodic functions

None of the above argument is restricted to Cn with the usual dot product and the standard basis. We can repeat the same logic in any vector space V which has an inner product, and any basis B that is orthonormal with respect to that inner product.

In particular, for each integer n let's write en(t)=e2Ī€int, considered as a function from [0,1] to C. Using the inner product we defined above, observe first that each of these functions has unit length:

|en|2=âˆĢ01en(t)en(t)―dt=âˆĢ01e2Ī€inte−2Ī€intdt=âˆĢ011dt=1.

These functions are also mutually orthogonal, since for every pair of integers m and n with n≠m we have

(en,em)=âˆĢ01en(t)em(t)―dt=âˆĢ01e2Ī€inte−2Ī€imtdt=âˆĢ0‘e2Ī€i(n−m)tdt=0.

So while it's not clear these set of these functions is a orthonormal basis, it's at least an orthonormal set. By the same logic used above, it follows that if a function f(t):[0,1]→C can be written as a linear combination

f(t)=∑n=−∞∞cnen(t)

then the coefficients must be given by

cn=(f,en)=âˆĢ01f(t)e−2Ī€intdt=f^(n).

The space L2([0,1])

In order to state a bunch of nice facts that are actually true, we need to nail down what it means for our functions to be "nice." We have been considering functions f:[0,1]→C and we would like to define the norm (or length) of such functions by the formula

|f|2=âˆĢ01|f(t)|2.

So at the very least we should restrict ourselves to functions f where the integral above exists and is finite. We will refer to the space of such functions as (a) Lebesgue space and denote it L2([0,1]).[2]

Suggested next notes


Fourier series solutions VII - Solving differential equations with Fourier series


  1. We'll decide what "nice" means later. â†Šī¸Ž

  2. Techincally, this isn't exactly the definition of this Lebesgue space, but it's close enough for what we're doing. â†Šī¸Ž