12.1 Orthogonal Functions

INTRODUCTION

In certain areas of advanced mathematics, a function is considered to be a generalization of a vector. In this section we shall see how the two vector concepts of inner, or dot, product and orthogonality of vectors can be extended to functions. The remainder of the chapter is a practical application of this discussion.

Inner Product

Recall, if u = u1i + u2 j + u3k and v = v1i + v2 j + v3k are two vectors in R3 or 3-space, then the inner product or dot product of u and v is a real number, called a scalar, defined as the sum of the products of their corresponding components:

In Chapter 7, the inner product was denoted by uv.

The inner product (u, v) possesses the following properties:

  1. (u, v) = (v, u)
  2. (ku, v) = k(u, v), k a scalar
  3. (u, u) = 0 if u = 0 and (u, u) > 0 if u0
  4. (u + v, w) = (u, w) + (v, w).

We expect any generalization of the inner product to possess these same properties.

Suppose that f1 and f2 are piecewise-continuous functions defined on an interval [a, b].* Since a definite integral on the interval of the product f1(x) f2(x) possesses properties (i)–(iv) of the inner product of vectors, whenever the integral exists we are prompted to make the following definition.

DEFINITION 12.1.1 Inner Product of Functions

The inner product of two functions f1 and f2 on an interval [a, b] is the number

Orthogonal Functions

Motivated by the fact that two vectors u and v are orthogonal whenever their inner product is zero, we define orthogonal functions in a similar manner.

DEFINITION 12.1.2 Orthogonal Functions

Two functions f1 and f2 are said to be orthogonal on an interval [a, b] if

(1)

EXAMPLE 1 Orthogonal Functions

The functions f1(x) = x2 and f2(x) = x3 are orthogonal on the interval [–1, 1]. This fact follows from (1):

(f1, f2) =

Unlike vector analysis, where the word orthogonal is a synonym for perpendicular, in this present context the term orthogonal and condition (1) have no geometric significance.

Orthogonal Sets

We are primarily interested in infinite sets of orthogonal functions.

DEFINITION 12.1.3 Orthogonal Set

A set of real-valued functions {ø0(x), ø1(x), ø2(x), …} is said to be orthogonal on an interval [a, b] if

(2)

Orthonormal Sets

The norm, or length u, of a vector u can be expressed in terms of the inner product. The expression (u, u) = u2 is called the square norm, and so the norm is u = . Similarly, the square norm of a function øn is øn(x)2 = (øn, øn), and so the norm, or its generalized length, is øn(x) = . In other words, the square norm and norm of a function øn in an orthogonal set {øn(x)} are, respectively,

(3)

If {øn(x)} is an orthogonal set of functions on the interval [a, b] with the property that øn(x) = 1 for n = 0, 1, 2, …, then {øn(x)} is said to be an orthonormal set on the interval.

EXAMPLE 2 Orthogonal Set of Functions

Show that the set {1, cos x, cos 2x, …} is orthogonal on the interval [–π, π].

SOLUTION

If we make the identification ø0(x) = 1 and øn(x) = cos nx, we must then show that ø0(x)øn(x) dx = 0, n ≠ 0, and øm(x)øn(x) dx = 0, mn. We have, in the first case, for n ≠ 0,

and in the second, for mn,

EXAMPLE 3 Norms

Find the norms of each function in the orthogonal set given in Example 2.

SOLUTION

For ø0(x) = 1 we have from (3)

ø0(x)2 = dx = 2π

so that ø0(x) = . For øn(x) = cos nx, n > 0, it follows that

Thus for n > 0, øn(x) = .

An orthogonal set can be made into an orthonormal set.

Any orthogonal set of nonzero functions {øn(x)}, n = 0, 1, 2, …, can be normalized—that is, made into an orthonormal set—by dividing each function by its norm. It follows from Examples 2 and 3 that the set

is orthonormal on the interval [–π, π].

Vector Analogy

We shall make one more analogy between vectors and functions. Suppose v1, v2, and v3 are three mutually orthogonal nonzero vectors in 3-space. Such an orthogonal set can be used as a basis for 3-space; that is, any three-dimensional vector can be written as a linear combination

u = c1v1 + c2v2 + c3v3, (4)

where the ci , i = 1, 2, 3, are scalars called the components of the vector. Each component ci can be expressed in terms of u and the corresponding vector vi . To see this we take the inner product of (4) with v1:

(u, v1) = c1(v1, v1) + c2(v2, v1) + c3(v3, v1) = c1v12 + c2 ⋅ 0 + c3 ⋅ 0.

Hence

In like manner we find that the components c2 and c3 are given by

Hence (4) can be expressed as

(5)

Orthogonal Series Expansion

Suppose {øn(x)} is an infinite orthogonal set of functions on an interval [a, b]. We ask: If y = f(x) is a function defined on the interval [a, b], is it possible to determine a set of coefficients cn , n = 0, 1, 2, …, for which

f(x) = c0ø0(x) + c1ø1(x) + + cnøn(x) + ?(6)

As in the foregoing discussion on finding components of a vector, we can find the coefficients cn by utilizing the inner product. Multiplying (6) by øm(x) and integrating over the interval [a, b] gives

By orthogonality, each term on the right-hand side of the last equation is zero except when m = n. In this case we have

f(x)øn(x) dx = cn øn2 (x) dx.

It follows that the required coefficients cn are given by

.

In other words, (7)

where (8)

With inner product notation, (7) becomes

(9)

Thus (9) is seen to be the function analogue of the vector result given in (5).

DEFINITION 12.1.4 Orthogonal Set/Weight Function

A set of real-valued functions {ø0(x), ø1(x), ø2(x), …} is said to be orthogonal with respect to a weight function w(x) on an interval [a, b] if

The usual assumption is that w(x) > 0 on the interval of orthogonality [a, b]. The set {1, cos x, cos 2x, …} in Example 2 is orthogonal with respect to the weight function w(x) = 1 on the interval [–π, π].

If {øn(x)} is orthogonal with respect to a weight function w(x) on the interval [a, b], then multiplying (6) by w(x)øn(x) and integrating yields

(10)

where (11)

The series (7) with coefficients cn given by either (8) or (10) is said to be an orthogonal series expansion of f or a generalized Fourier series.

Complete Sets

The procedure outlined for determining the coefficients cn was formal; that is, basic questions on whether an orthogonal series expansion such as (7) is actually possible were ignored. Also, to expand f in a series of orthogonal functions, it is certainly necessary that f not be orthogonal to each øn of the orthogonal set {øn(x)}. (If f were orthogonal to every øn, then cn = 0, n = 0, 1, 2, ….) To avoid the latter problem we shall assume, for the remainder of the discussion, that an orthogonal set is complete. This means that the only continuous function orthogonal to each member of the set is the zero function.

REMARKS

Suppose that { f0(x), f1(x), f2(x), …} is an infinite set of real-valued functions that are continuous on an interval [a, b]. If this set is linearly independent on [a, b] (see page 364 for the definition of an infinite linearly independent set), then it can always be made into an orthogonal set and, as described earlier in this section, can be made into an orthonormal set. See Problem 27 in Exercises 12.1.

12.1 Exercises Answers to selected odd-numbered problems begin on page ANS-31.

In Problems 1–6, show that the given functions are orthogonal on the indicated interval.

  1. f1(x) = x, f2(x) = x2; [–2, 2]
  2. f1(x) = x3, f2(x) = x2 + 1; [–1, 1]
  3. f1(x) = ex, f2(x) = xexex; [0, 2]
  4. f1(x) = cos x, f2(x) = sin2 x; [0, π]
  5. f1(x) = x, f2(x) = cos 2x; [–π/2, π/2]
  6. f1(x) = ex, f2(x) = sin x; [π/4, 5π/4]

In Problems 7–12, show that the given set of functions is orthogonal on the indicated interval. Find the norm of each function in the set.

  1. {sin x, sin 3x, sin 5x, …}; [0, π/2]
  2. {cos x, cos 3x, cos 5x, …}; [0, π/2]
  3. {sin nx}, n = 1, 2, 3, …; [0, π]
  4. , n = 1, 2, 3, …; [0, p]
  5. , n = 1, 2, 3, …; [0, p]
  6. , n = 1, 2, 3, …,
    m = 1, 2, 3, …; [–p, p]

In Problems 13 and 14, verify by direct integration that the functions are orthogonal with respect to the indicated weight function on the given interval.

  1. H0(x) = 1, H1(x) = 2x, H2(x) = 4x2 – 2; w(x) = , (–∞, ∞)
  2. L0(x) = 1, L1(x) = –x + 1, L2(x) = x2 – 2x + 1; w(x) = ex, [0, ∞)
  3. Let {øn(x)} be an orthogonal set of functions on [a, b] such that ø0(x) = 1. Show that øn(x) dx = 0 for n = 1, 2, ….
  4. Let {øn(x)} be an orthogonal set of functions on [a, b] such that ø0(x) = 1 and ø1(x) = x. Show that (αx + β)øn(x) dx = 0 for n = 2, 3, … and any constants α and β.
  5. Let {øn(x)} be an orthogonal set of functions on [a, b]. Show that øm(x) + øn(x)2 = øm(x)2 + øn(x)2, mn.
  6. From Problem 1 we know that f1(x) = x and f2(x) = x2 are orthogonal on [–2, 2]. Find constants c1 and c2 such that f3(x) = x + c1x2 + c2x3 is orthogonal to both f1 and f2 on the same interval.
  7. The set of functions {sin nx}, n = 1, 2, 3, …, is orthogonal on the interval [–π, π]. Show that the set is not complete.
  8. Suppose f1, f2, and f3 are functions continuous on the interval [a, b]. Show that (f1 + f2, f3) = (f1, f3) + (f2, f3).

A real-valued function is said to be periodic with period if for all x in the domain of f. If T is the smallest positive value for which holds, then T is called the fundamental period of f. In Problems 21–26, determine the fundamental period T of the given function.

Discussion Problems

  1. The Gram–Schmidt process for constructing an orthogonal set that was discussed in Section 7.7 carries over to a linearly independent set { f0(x), f1(x), f2(x), …} of real-valued functions continuous on an interval [a, b]. With the inner product , define the functions in the set to be

    and so on.

    1. Write out ø3(x) in the set.
    2. By construction, the set is orthogonal on [a, b]. Demonstrate that ø0(x), ø1(x), and ø2(x) are mutually orthogonal.
    1. Consider the set of functions {1, x, x2, x3, …} defined on the interval [–1, 1]. Apply the Gram–Schmidt process given in Problem 27 to this set and find ø0(x), ø1(x), ø2(x), and ø3(x) of the orthogonal set B′.
    2. Discuss: Do you recognize the orthogonal set?
  2. Verify that the inner product (f1, f2) in Definition 12.1.1 satisfies properties (i)–(iv) given on page 681.
  3. In R3, give an example of a set of orthogonal vectors that is not complete. Give a set of orthogonal vectors that is complete.
  4. The function

    where the coefficients An and Bn depend only on n, is periodic. Find the period T of f.

 

*The interval could also be (–∞, ∞), [0, ∞), and so on.