3 Orthogonality relations

In general two functions f ( x ) , g ( x ) are said to be orthogonal to each other over an interval a x b if

a b f ( x ) g ( x ) d x = 0

It follows from the previous Task that sin x and cos x are orthogonal to each other over the interval 0 x 2 π . This is also true over any interval α x α + 2 π (e.g. π 2 x 5 π , or π x π ).

More generally there is a whole set of orthogonality relations involving these trigonometric functions on intervals of length 2 π (i.e. over one period of both sin x and cos x ). These relations are useful in connection with a widely used technique in engineering, known as Fourier analysis where we represent periodic functions in terms of an infinite series of sines and cosines called a Fourier series. (This subject is covered in HELM booklet  23.)

We shall demonstrate the orthogonality property

I m n = 0 2 π sin m x sin n x d x = 0

where m and n are integers such that m n .

The secret is to use a trigonometric identity to convert the integrand into a form that can be readily integrated.

You may recall the identity

sin A sin B 1 2 ( cos ( A B ) cos ( A + B ) )

It follows, putting A = m x and B = n x that provided m n

I m n = 1 2 0 2 π [ cos ( m n ) x cos ( m + n ) x ] d x = 1 2 sin ( m n ) x ( m n ) sin ( m + n ) x ( m + n ) 0 2 π = 0

because ( m n ) and ( m + n ) will be integers and sin ( integer × 2 π ) = 0 . Of course sin 0 = 0 .

Why does the case m = n have to be excluded from the analysis? (left to the reader to figure out!)

The corresponding orthogonality relation for cosines

J m n = 0 2 π cos m x cos n x d x = 0

follows by use of a similar identity to that just used. Here again m and n are integers such that m n .

Example 23

Use the identity sin A cos B 1 2 ( sin ( A + B ) + sin ( A B ) )  to show that

K m n = 0 2 π sin m x cos n x d x = 0 m and n integers, m n .

Solution

K m n = 1 2 0 2 π [ sin ( m + n ) x + sin ( m n ) x ] d x = 1 2 cos ( m + n ) x ( m + n ) cos ( m n ) x ( m n ) 0 2 π = 1 2 cos ( m + n ) 2 π 1 ( m + n ) + cos ( m n ) 2 π 1 ( m n ) = 0

(recalling that cos ( integer × 2 π ) = 1 ).

Task!

Derive the orthogonality relation

K m n = 0 2 π sin m x cos n x d x = 0 m and n integers, m = n

Hint: You will need to use a different trigonometric identity to that used in Example 23.

K m n = 0 2 π sin m x cos m x d x

Putting m = n 0 , and then using the identity sin 2 A 2 sin A cos A we get

K m m = 0 2 π sin m x cos m x d x = 1 2 0 2 π sin 2 m x d x = 1 2 cos 2 m x 2 m 0 2 π = 1 4 m ( cos 4 m π cos 0 ) = 1 4 m ( 1 1 ) = 0

Putting m = n = 0 gives K 00 = 1 2 0 2 π sin 0 cos 0 d x = 0 .

Note that the particular case m = n = 1 was considered earlier in this Section.