

















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


















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
(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
−
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
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 = ⎥ ⎦
φ φ = =
π
−π
π
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
−
xdx p
n f(x)sin p
b
p
p
−
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.
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
(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
xdx L
n x cos L
a π
Hence,
f x
n
n
x
n
n
= + cos
=
∞
2 2
2 2 1
π
π
(b) 3 3
2 n 1 2 n L
0
2 n n
n
xdx L
n x sin L
b π
π
Hence
x L
n sin n
n
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
xdx L
2 n x cos L
a π
π
n
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
x L
2 n cos n
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.
Linear Equation
The general form of a linear second-order partial differential equation in two
independent variables x and y is given by
u
x
u
x y
u
y
u
x
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
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
Hence,
u = A 2 e
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
u
x
u
x y
u
y
u
x
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
parabolic if B
2
elliptic if B
2
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
Heat Equation:
Assumptions:
this surface.
constants.
Initial Conditions
u(x, 0) = f(x), 0 < x < L
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:
u
n
u
n
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
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
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
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
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
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
L
0
π
π
Standing Waves or Normal Modes
= − = −λ
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
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
0
n x a
n f(x)cos
b a
n asinh
Example: Find the potential distribution of following electrostatic field
Solution: Separating the variables gives
X
= − = −λ
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
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
A (^) n ⎩
π
That is,
∞
=
π ⎟ ⎠
⎛ π − π
n odd
x a
n y sin a
n exp n
u(x,y)
We can approximate the solution as
π
π
π
−
a
y sinh
a
x sin
tan
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
∞
=
π
⎧ π
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
⎛ π −
π
π
b
0 n n a b
n dy A cosh b
n G(y)sin b
a b
n sinh