7.06 Method of Eigenfunction Expansions
7.06 Method of Eigenfunction Expansions
ϕn (x) = sin , λn = ( ) , n = 1, 2, 3, … .
L L
We can use these eigenfunctions to obtain a solution of the nonhomogeneous problem (7.6.1). We begin by assuming the solution
is given by the eigenfunction expansion
∞
n=1
In general, we assume that v(x, t) and ϕ (x) satisfy the same boundary conditions and that v(x, t) and v (x, t) are continuous
n x
functions.Note that the difference between this eigenfunction expansion and that in Section 4.3 is that the expansion coefficients
are functions of time.
In order to carry out the full process, we will also need to expand the initial profile, f (x), and the source term, Q(x, t), in the basis
of eigenfunctions. Thus, we assume the forms
f (x) = u(x, 0)
∞
n=1
n=1
L
⟨Q, ϕn ⟩ 1
qn (t) = = ∫ Q(x, t)ϕn (x)dx. (7.6.7)
2 2
∥ ϕn ∥ ∥ ϕn ∥ 0
The next step is to insert the expansions (7.6.3) and (7.6.5) into the nonhomogeneous heat equation (7.6.1). We first note that
7.6.1 https://math.libretexts.org/@go/page/90962
∞
n=1
n=1
n=1
This is a linear first order ordinary differential equation for the unknown expansion coefficients.
We further note that the initial condition can be used to specify the initial condition for this first order ODE. In particular,
∞
n=1
The coefficients can be found as generalized Fourier coefficients in an expansion of f (x) in the basis . These are given by
ϕn (x)
Equation (7.6.6).
Recall from Appendix B that the solution of a first order ordinary differential equation of the form
′
y (t) + a(t)y(t) = p(t)
After integrating, the solution can be found providing the integral is doable.
For the current problem, we have
d
kλn t kλn t
(an (t)e ) = qn (t)e . (7.6.10)
dt
Integrating, we have
7.6.2 https://math.libretexts.org/@go/page/90962
t
kλn t kλn τ
an (t)e − an (0) = ∫ qn (τ )e dτ ,
0
or
t
−kλn t −kλn (t−τ)
an (t) = an (0)e +∫ qn (τ )e dτ .
0
n=1
∞ t
−kλn t −kλn (t−τ)
= ∑ [an (0)e +∫ qn (τ )e dτ ] ϕn (x). (7.6.11)
n=1 0
We will apply this theory to a more specific problem which not only has a heat source but also has nonhomogeneous boundary
conditions.
Example 7.6.1
Solution
This problem has the same nonhomogeneous boundary conditions as those in Example 7.3.2. Recall that we can define
We can now apply the method of eigenfunction expansions to find v(x, t) . The eigenfunctions satisfy the homogeneous
problem
′′
ϕn + λn ϕn = 0, ϕn (0) = 0, ϕn (1) = 0.
Now, let
∞
n=1
n=1
Due to the linear independence of the eigenfunctions, we can equate the coefficients of the sin nπx terms. This gives
7.6.3 https://math.libretexts.org/@go/page/90962
2 2
ȧn (t) + n π an (t) = 0, n ≠ 3,
2
ȧ3 (t) + 9 π a3 (t) = t, n = 3. (7.6.14)
This is a system of first order ordinary differential equations. The first set of equations are separable and are easily solved. For
n ≠ 3 , we seek solutions of
d
2 2
an = −n π an (t).
dt
−9 π
2
t −9 π
2
t
1 9π
2
τ
1 9π
2
τ
= a3 (0)e +e [ τe − e ] ,
2 2 2
9π (9 π )
0
−9 π
2
t
1 1 −9 π
2
τ
= a3 (0)e + t− [1 − e ]. (7.6.15)
2 2
9π (9 π 2 )
n=1
where
2 2
−n π t
an (t) = an (0)e , n ≠3
2 1 1 2
−9 π t −9 π τ
a3 (t) = a3 (0)e + t− [1 − e ] (7.6.17)
2 2
9π (9 π ) 2
n=1
It is clear that we have an (0) =0 for n ≠ 2 and a 2 (0) =3 . Thus, the series for v(x, t) has two nonvanishing coefficients,
2
−4 π t
a2 (t) = 3 e
1 1 2
−9 π τ
a3 (t) = t− [1 − e ]. (7.6.18)
2 2
9π (9 π )
2
7.6.4 https://math.libretexts.org/@go/page/90962
Therefore, the final solution is given by
2
2 −9 π τ
9 π t − (1 − e )
2
−4 π t
u(x, t) = 2 + (t − 2)x + 3 e sin 2πx + sin 3πx.
4
81π
The method of eigenfunction expansions relies on the use of eigenfunctions, ϕ (r) , for α ∈ J ⊂ Z α
2
a set of indices typically of
the form (i, j) in some lattice grid of integers. The eigenfunctions satisfy the eigenvalue equation
2
∇ ϕα (r) = −λα ϕα (r), ϕα (r) = 0, on ∂D.
We assume that the solution and forcing function can be expanded in the basis of eigenfunctions,
α∈J
α∈J
Inserting this form into the forced wave equation (7.6.19), we have
2 2
utt = c ∇ u + Q(r, t)
2
∑ äα (t)ϕα (r) = −c ∑ λα aα (t)ϕα (r) + ∑ qα (t)ϕα (r)
2
0 = ∑ [ äα (t) + c λα aα (t) − qα (t)] ϕα (r). (7.6.21)
α∈J
The linear independence of the eigenfunctions then gives the ordinary differential equation
2
äα (t) + c λα aα (t) = qα (t).
We can solve this equation with initial conditions a α (0) and ȧ α (0) found from
α∈J
α∈J
Example 7.6.2
Solution
It is enough to specify Q(r, t) in order to solve for the time dependence of the expansion coefficients. A simple example is the
case of periodic forcing, Q(r, t) = h(r) cos ωt . In this case, we expand Q in the basis of eigenfunctions,
α∈J
α∈J
7.6.5 https://math.libretexts.org/@go/page/90962
Inserting these expressions into the forced wave equation (7.6.19) , we obtain a system of differential equations for the
expansion coefficients,
2
äα (t) + c λα aα (t) = γα cos ωt.
In order to solve this equation we borrow the methods from a course on ordinary differential equations for solving
nonhomogeneous equations. In particular we can use the Method of Undetermined Coefficients as reviewed in Section B.3.1.
The solution of these equations are of the form
−−
where ω 0α = c √λα .
The particular solution is found by making the guess a αp (t) = Aα cos ωt . Inserting this guess into Equation (ceqn2), we have
2 2
[−ω + c λα ] Aα cos ωt = γα cos ωt
γα
2 2
Aα = , ω ≠ c λα .
2 2
−ω + c λα
−−
where ω 0α = c √λα and ω 2 2
≠ c λα
In the case where ω = c λ , we have a resonant solution. This is discussed in Section FO on forced oscillations. In this case
2 2
α
the Method of Undetermined Coefficients fails and we need the Modified Method of Undetermined Coefficients. This is
because the driving term, γ cos ωt, is a solution of the homogeneous problem. So, we make a different guess for the particular
α
solution. We let
2
aαp (t) = −ω t (Aα cos ωt + Bα sin ωt) − 2ωAα sin ωt + 2ωBα cos ωt
2
= −ω aαp (t) − 2ωAα sin ωt + 2ωBα cos ωt (7.6.26)
Therefore, A α =0 and
γα
Bα = .
2ω
7.6.6 https://math.libretexts.org/@go/page/90962
The full general solution is then
γα
aα (t) = c1α cos(ωt) + c2α sin(ωt) + t sin ωt,
2ω
−−
where ω = c√λ . α
We see from this result that the solution tends to grow as t gets large. This is what is called a resonance. Essentially, one is
driving the system at its natural frequency for one of the frequencies in the system. A typical plot of such a solution in Figure
7.6.1.
This page titled 7.6: Method of Eigenfunction Expansions is shared under a CC BY-NC-SA 3.0 license and was authored, remixed, and/or curated
by Russell Herman via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit history is available
upon request.
7.6.7 https://math.libretexts.org/@go/page/90962