Determining Coefficients from Initial Conditions
What You'll Learn
You'll learn how to use the orthogonality property of eigenfunctions to extract Fourier coefficients from a given initial temperature distribution in a heat equation problem.
The Core Idea
When solving the heat equation using separation of variables, you arrive at a general series solution like:
u(x,t) = Σ Bₙ sin(nπx/L) e^(−(nπ/L)²kt)
The problem is: what are the mysterious coefficients Bₙ?
The answer comes from your initial condition u(x,0) = f(x), which gives:
f(x) = Σ Bₙ sin(nπx/L)
This is a Fourier sine series! To find each Bₙ individually, we exploit the orthogonality of the eigenfunctions sin(nπx/L).
How Orthogonality Works
Eigenfunctions from Sturm-Liouville problems are orthogonal—they're "perpendicular" in function space. For sine functions on [0,L]:
∫₀ᴸ sin(mπx/L) sin(nπx/L) dx = 0 if m ≠ n, and L/2 if m = n
The extraction trick: Multiply both sides of f(x) = Σ Bₙ sin(nπx/L) by sin(mπx/L) and integrate:
∫₀ᴸ f(x) sin(mπx/L) dx = Σ Bₙ ∫₀ᴸ sin(nπx/L) sin(mπx/L) dx
All terms vanish except when n = m, leaving:
∫₀ᴸ f(x) sin(mπx/L) dx = Bₘ · (L/2)
Therefore:
Bₘ = (2/L) ∫₀ᴸ f(x) sin(mπx/L) dx
Analogy
Think of orthogonality like color filters: if you shine mixed light through a red filter, only red passes through. Similarly, integrating with sin(mπx/L) "filters out" only the Bₘ coefficient.
Key Takeaway: Use orthogonality to isolate each Fourier coefficient by integrating the initial condition against the corresponding eigenfunction; for sine series, Bₙ = (2/L) ∫₀ᴸ f(x) sin(nπx/L) dx.