Docsity

Fourier Series and Integral Transform Methods in Mathematical Analysis, Lecture notes of Differential Equations

Partial preview of the text

Download Fourier Series and Integral Transform Methods in Mathematical Analysis and more Lecture notes Differential Equations in PDF only on Docsity!

Chapter 11-

Chapter 11 Orthogonal Functions and

Fourier Series

11.1 Orthogonal Functions

In vector analysis, for the inner product, we have

(1) ( u , v ) = ( v , u )

(2) (k u , v ) = k( u , v ) where k is a scalar

(3) ( u , u ) = 0 if u = 0 and ( u , u ) > 0 if u ٛ 0

(4) ( u + v , w ) = ( u , w ) + ( v , w )

Inner Product for functions

The inner product of two functions on the interval [a, b] is defined as

b

a

(f 1 ,f 2 ) f 1 (x)f 2 (x)dx

Orthogonal Functions

If the inner product of two functions is zero, i.e.,

b

a

(f 1 ,f 2 ) f 1 (x)f 2 (x)dx= 0

then f 1 and f 2 are said to be orthogonal.

Example: f 1 (x) = x

2 and f 2 (x) = x

3 are orthogonal on [-1, 1] since

(f ,f ) x x dx 0

1

1

2 3

1 2 =^ ∫ ⋅ =

−

Orthogonal Sets

A set of real-valued functions

{φ 0 (x), φ 1 (x), φ 2 (x), .....}

is said to be orthogonal on an interval [a, b] if

( , ) (x) (x)dx 0 , m n

b

a

φ m φn =∫φm φn = ≠

Norm or Length || φ (x)||

φ = φ

b

a

2 (x) (x)dx

Orthonormal set

If {φn(x)} is an orthogonal set of functions on [a, b] with the properties that

||φn(x)|| = 1 for n = 0, 1, 2, .... , then {φn(x)}is said to be an othonormal set on the interval.

Example: {1, cosx, cos2x, .... } are an othogonal set on [-π, π] since

m n

sin(m n)x

m n

sin(m n)x

( (^) m , n) cosmxcosnxdx = ⎥ ⎦

φ φ = =

π

−π

π

, m ٛ n

The norms of each function in the set are

||φ 0 || = 2π

xdx 0 p

n cos

p

p

π

for n > 0

xdx 0 p

n sin

p

p

π

for n > 0

π π

p, m n

0 , m n xdx p

n xcos p

m cos

p

p

π π

p, m n

0 , m n xdx p

n xsin p

m sin

p

p

xdx 0 p

n xsin p

m cos

p

p

π π

Note: This set is complete on [-p, p].

Suppose f is a function defined on [-p, p] that can be expanded in the

trigonometric series

∞

=

⎛ (^) π

π = +

n 1

n n

0 x p

n x b sin p

n a cos 2

a f(x)

then the cosfficients can be determined in exactly the same manner as in the discussion of

Generalized Fourier series.

p

p 0 f(x)dx p

a

xdx p

n f(x)cos p

a

p

p

n ∫

−

π

xdx p

n f(x)sin p

b

p

p

n ∫

−

π

The trigonometric series is said to be the Fourier series of the function f and the

coefficients are referred to as Fourier coefficients of f.

Example 1: Expand < <π

−π< <

π−

0 x

x 0

x,

f (x) in a Fourier series.

Solution:

( x)dx

f(x)dx

a 0 0

π π− = π

π

π π

−π

π

π− = π

π

π π

−π 2

n

0 n n

( x)cosnxdx

f(x)cosnxdx

a

n

( x)sinnxdx

f(x)sinnxdx

b 0 n π− = π

π

π π

−π

Therefore,

∞

π

π

n 1

2

n

sinnx n

cosnx n

f(x)

Conditions for Convergence

Let f and f' be piecewise continuous on the interval (-p, p). Then the Fourier series

of f on the interval converges to f(x) at a point of continuity. At a point of discontinuity,

the Fourier series will converges to the average

f x( + +) f x( −)

Periodic Extension

A Fourier series not only represents the function on the interval [-p, p] but also

gives the periodic extension of f outside this interval. At the end points of x = -p and x =

p, the Fourier series will converges to

f ( − p ) +f p( )

  • −

Example 2: For the function in example 1, at 0, ٛ 2 π, ٛ 4 π, ..., the series converges to π/

and at ٛ π, ٛ 3 π, ... , the series converges to zero.

11.3 Fourier Cosine and Sine Series

Even functions : f(x) = f(-x)

Odd functions : f(x) = -f(x)

Properties of even and odd functions:

(1) The product of two even functions is even

(2) The product of two odd functions is even

(3) The product of an even function and an odd function is odd

(4) The sum (difference) of two even functions is even

(5) The sum (difference) of two odd functions is odd

(6) If f is even, then

−

a

0

a

a

f(x)dx 2 f(x)dx

(7) If f is odd, then

f(x)dx 0

a

a

Fourier Cosine and Sine Series

(1) The Fourier series of an even function on the interval (-p, p) is the cosine series

f x

a a

n

p

n x n

( ) = + cos

=

∞

0

1

π

where

p

0 0 f(x)dx p

a

xdx p

n f(x)cos p

a

p

0

n ∫

π

(2) The Fourier series of an odd function on the interval (-p, p) is the sine series

f x b

n

p

n x n

( ) = sin

=

∞

π

1

The graph of S 15 has pronounced spikes near the discontinuities at x = 0, ٛ π, and so on.

This overshooting behavior near discontinuous points of f is known as Gibbs

phenomenon.

Half-Range Expansions

If f(x) is defined on the interval 0 < x < L, then we can expand the functions in

three ways:

(1) Cosine series with period 2L

(2) Sine series with period 2L

(3) Fourier series with period L

where (1) and (2) are known as half-range expansion.

(1) (2) (3)

Example 6 Expand f(x) = x

2 , 0 < x < L (a) in a cosine series, (b) in a sine series, and (c)

in a Fourier series.

Solution:

(a)

L 2

0

2 0 L 3

x dx L

a = =

2 2

2 n L

0

2 n n

4 L ( 1 )

xdx L

n x cos L

a π

π

Hence,

f x

L L

n

n

L

x

n

n

= + cos

=

∞

2 2

2 2 1

π

π

(b) 3 3

2 n 1 2 n L

0

2 n n

4 L[( 1 ) 1 ]

n

2 L ( 1 )

xdx L

n x sin L

b π

π

π

Hence

x L

n sin n

4 L[( 1 ) 1 ]

n

2 L ( 1 )

f(x)

n 1

3 3

2 n 1 2 n π

π

π

∞

=

(c)

L 2

0

2 0 L 3

x dx L

a = =

2 2

2 L

0

2 n n

L

xdx L

2 n x cos L

a π

π

π

π

n

L

xdx L

2 n x sin L

b

2 L

0

2 n

Hence,

∞

⎧ (^) π

π

π

π

n 1

2

2 2

2 2

x L

2 n sin n

L

x L

2 n cos n

L
L

f(x)

Periodic Driving Force

We consider the differential equation

m

d x

dt

kx f t

2

2

The driving force can be represented by a half-range sine expansion

f t b

n

p

n t n

( ) = sin

=

∞

π

1

Then we can assume a particular solution of the form

x t B

n

p

p n t n

( ) = sin

=

∞

π

1

Example: Suppose m = 1/16 and k = 4 and f(t) is shown in the figure. Please find a

particular solution.

Chapter 12 Partial Differential Equation and

Boundary-Value Problems in Rectangular

Coordinates

12.1 Separable Partial Differential Equations

Linear Equation

The general form of a linear second-order partial differential equation in two

independent variables x and y is given by

A

u

x

B

u

x y

C

u

y

D

u

x

E

u

y

Fu G

2

2

2 2

2

where A, B, C, ... , G are functions of x and y. When G(x, y) = 0, the equation is said to

be homogeneous; otherwise it is nonhomogeneous.

Separation of Variables

By seeking a particular solution, we suppose

u(x, y) = X(x)Y(y)

Example: Find product solutions of

2

2

u

x

u

y

Solution: Suppose

u(x, y) = X(x)Y(y)

then

X

X
Y
Y

or

2 2 = = λ −λ

Case I when λ

2 > 0, we get two equations

X" - 4λ

2 X = 0 and Y' - λ

2 Y = 0

These equations have the solutions

X = c 1 cosh2λx + c 2 sinh2λx and Y = c 3 e

λ 2 y

Hence,

u = A 1 e

λ 2 y cosh2λx + B 1 e

λ 2 y sinh2λx

Case II when -λ

2 < 0, the two equations are

X" + 4λ

2 X = 0 and Y' + λ

2 Y = 0

The solutions are

X = c 4 cos2λx + c 5 sin2λx and Y = c 6 e

  • λ 2 y

Hence,

u = A 2 e

  • λ 2 y cos2λx + B 2 e - λ 2 y sin2λx

Case III when λ

2 = 0. it follows that

X" = 0 and Y' = 0

so that

X = c 7 x + c 8 and Y = c (^9)

The solution of u is

u = A 3 x + B 3

Note: Separation of variables is not a general method for finding particular solutions;

some linear partial differential equations are simply not separable.

Superposition Princilple

If u 1 , u 2 , ... , uk are solutions of a homogeneous linear partial differential equation,

then the linear combination

u = c 1 u 1 + c 2 u 2 + ... + c (^) kuk

where c (^) i , i = 1, 2, ... , k, are constants, is also a solution.

Note: General solution 的 重 疊 原 理 僅 適 用 於 Homogeneous case; 但 不 適 用

nonhomogeneous case。同理,若有boundary or initial conditions存在,也只是適用邊界或

初始條件為零的情形。

Classification of Equations

The linear second-order partial differential equation

A

u

x

B

u

x y

C

u

y

D

u

x

E

u

y

Fu

2

2

2 2

2

where A, B, C, D, E, and F are real constants, is said to be

hyperbolic if B 2

  • 4AC > 0

parabolic if B

2

  • 4AC = 0

elliptic if B

2

  • 4AC < 0

12.2 Classical Equations and Boundary-Value Problem

One-dimensional Heat Equation:

k

u

x

u

t

2

2

= , k > 0

One-dimensional Wave Equation:

a

u

x

u

t

2

2

2

2

2

Two-dimensional Laplace Equation:

∂

2

2

2

2

2 0

u

x

u

y

  • = ∇s u=

Heat Equation:

Assumptions:

  1. The flow of heat within the rod takes place only in the x-direction.
  2. The lateral, or curved, surface of the rod is insulated; that is, no heat escapes from

this surface.

  1. No heat is generated within the rod.
  2. The rod is homogeneous; that is, the mass per unit volume ρ is a constant.
  3. The specific heat γ and thermal conductivity K of the material of the rod are

constants.

Initial Conditions

  1. First partial derivative of t: Single initial condition

u(x, 0) = f(x), 0 < x < L

  1. Second partial derivative of t: two initial conditions

u(x, 0) = f(x),

u

t

g x

t=

0

( ), 0 < x < L

Boundary Conditions

We have to specify the boundary conditions at all boundary points at any time t to

solve the problem. In general, there are three types of boundary conditions:

  1. Dirichlet condition: u
  2. Neumann condition:

u

n

  1. Robin condition:

u

n

  • hu, where h is a constant.

Boundary-Value Problem:

The condition to solve the problem: Initial conditions at all points and Boundary

conditions at all time.

For example:

Solve: a

u

x

u

t

2

2

2

2

2

Subject to: u(x, 0) = f(x),

u

t

g x

t=

0

( ), 0 < x < L

u(0, t) = 0, u(L, t) = 0, t > 0

Solve:

2

2

2

2

2 0

u

x

u

y

  • = ∇s u= , 0 < x

12.4 Wave Equation

a

u

x

u

t

2

2

2

2

2

= , 0 < x < L, t > 0

u(0, t) = 0, u(L, t) = 0, t > 0

u(x, 0) = f(x),

u

t

g x

t=

0

( ), 0 < x < L

Solution: Seoaratiing variables gives

X

X
T

a T

2

2 λ

so that

X" + λ

2 X = 0

T" + λ

2 a

2 T = 0

and therefore

X = c 1 cosλx + c 2 sinλx

T = c 3 cosλat + c 4 sinλat

The boundary condition gives

c 1 = 0 and λ

π

n

L

Thus, solutions satisfying the boundary condition are

x L

n t sin L

n a t B sin L

n a u (^) n(x,t) Ancos n

π ⎟ ⎠

⎛ π

π

and

x L

n t sin L

n a t B sin L

n a u(x,t) A cos

n 1

n n

π ⎟ ⎠

⎛ π

π

∞

=

Setting t = 0 gives

f x A

n

L

n x n

( ) = sin

=

∞

π

1

which is a half-range expansion for f in a sine series. Hence,

π

L

0 n xdx L

n f(x)sin L

A

The partial derivative of u with respect to t at t = 0 gives

∞

= =

π ⎟ ⎠

⎛ π = = ∂

n 1

n t 0

x L

n sin L

n a g(x) B t

u

Hence,

xdx L

n g(x)sin n a

B

L

0

n ∫

π

π

Standing Waves or Normal Modes

X
X
Y
Y

= − = −λ

2

X" + λ

2 X = 0

Y" - λ

2 Y = 0

and

X = c 1 cosλx + c 2 sinλx

Y = c 3 coshλx + c 4 sinhλx

For λ = 0, we have

X = c 1 + c 2 x

Y = c 3 + c 4 y

For λ

2 case, the solutions are

X = c 1 coshλx + c 2 sinhλx

Y = c 3 cosλx + c 4 sinλx

Under the first three boundary conditions, the third set of solutions is zero, and the second

set is

XY = A 0 y

The first set of the solutions is

XY A

n

a

y

n

a

= (^) nsinh cos x

π π , n = 1, 2, 3, ...

The superposition principle yields another solution is

u x y A y A

n

a

y

n

a

n x n

( , ) = + sinh cos

=

∞

1

π π

Substituting y = b gives

∞

=

π ⎟ ⎠

⎛ π = = +

n 1

0 n x a

n b cos a

n u(x,b) f(x) Ab A sinh

This leads to

a

0 0 f(x)dx ab

A

π

π

a

0

n x a

n f(x)cos

b a

n asinh

A

Example: Find the potential distribution of following electrostatic field

Solution: Separating the variables gives

X

X
Y
Y

= − = −λ

2

where λ is a number greater than zero. Hence, the solution forms we should choose is

X = c 1 sinλx

Y = c 2 e

  • λy

The boundary conditions at x = 0 and x = a leads to

λ

π n

n

a

= , n = 1, 2, 3, ...

The series solution form is

∞

=

π ⎟ ⎠

⎛ π = −

n 1

n x a

n y sin a

n u(x,y) A exp

The boundary condition at y = 0 gives

for n even

for n odd

n

4 V

A (^) n ⎩

π

That is,

∞

=

π ⎟ ⎠

⎛ π − π

n odd

x a

n y sin a

n exp n

4 V

u(x,y)

We can approximate the solution as

π

π

π

−

a

y sinh

a

x sin

tan

2 V

u( x,y)

1

Dirichlet Problem

A boundary-value problem in which we seek a solution to an elliptic partial

differential equation, such as Laplace's equation within a region such that u takes on

prescribed valuues on the entire boundary of the region is called a Dirichlet problem.

Superposition Pronciple

A Dirichlet problem for a retangle can be solved readily by separation of variables

when homogeneous boundary conditions are specified on two parallel boundaries.

However, the method of separation of variables is not applicable to a Dirichlet problem

when the boundary conditions on all four sides of the retangle are not homogeneous. To

get around this difficuility we break the problem

∂

2

2

2

2

u

x

u

y

  • = , 0 < x A solution of probblem II is

∞

=

π

⎧ π

π

n 1

2 n n y b

n x sin b

n x B sinh b

n u (x,y) A cosh

π

b

0 n ydy b

n F(y)sin b

A

⎛ π −

π

π

b

0 n n a b

n dy A cosh b

n G(y)sin b

a b

n sinh

B