Orthogonality of Eigenfunctions
Orthogonality of Eigenfunctions
1. Definition of Orthogonality
Rb
We say functions f (x) and g(x) are orthogonal on a < x < b if a f (x)g(x) dx = 0 .
[Motivation: Let’s approximate the integral with a Riemann sum, as follows. Take a
large integer N , put h = (b − a)/N and partition the interval a < x < b by defining
x1 = a + h, x2 = a + 2h, . . . , xN = a + N h = b. Then
Z b
f (x)g(x) dx ≈ f (x1 )g(x1 )h + · · · + f (xN )g(xN )h
a
= (uN · vN )h
where uN = (f (x1 ), . . . , f (xN )) and vN = (g(x1 ), . . . , g(xN )) are vectors containing the values
of f and g. The vectors uN and vN are said to be orthogonal (or perpendicular) if their dot
product equals zero (uN · vN = 0), and so when we let N → ∞ in the above formula it makes
Rb
sense to say the functions f and g are orthogonal when the integral a f (x)g(x) dx equals
zero.]
Rπ π
Example. sin x and cos x are orthogonal on −π < x < π, since −π sin x cos x dx = 21 sin2 x −π = 0.
2. Integration Lemma
Suppose functions Xn (x) and Xm (x) satisfy the differential equations
Xn00 + λn Xn = 0, a < x < b,
00
Xm + λm Xm = 0, a < x < b,
for some numbers λn , λm . Then
Z b
0
(λn − λm ) Xn (x)Xm (x) dx = [Xn (x)Xm (x) − Xn0 (x)Xm (x)]ba .
a
Proof.
Z b
LHS = [(λn Xn )Xm − Xn (λm Xm )] dx by taking the λ’s inside the integral
a
Z b
= [−Xn00 Xm + Xn Xm
00
] dx since λn Xn = −Xn00 and λm Xm = −Xm
00
a
Z b
0
= [Xn Xm − Xn0 Xm ]0 dx as you can check by differentiating!
a
= RHS by the Fundamental Theorem of Calculus.
1
3. Boundary Conditions
Consider a function X(x) for a < x < b. Four boundary condition (“BC”) types are:
Dirichlet BC X(a) = X(b) = 0
Neumann BC X 0 (a) = X 0 (b) = 0
Mixed1 BC X(a) = X 0 (b) = 0
Mixed2 BC X 0 (a) = X(b) = 0
Periodic BC X(a) = X(b), X 0 (a) = X 0 (b)
(The two varieties of Mixed BC are very similar, differing only as to which endpoint has
X = 0 and which has X 0 = 0.)