Course contentsShow
← Mathematics
Lesson 2451 of 3,12149. Partial Differential Equations (Intro)Free lesson

Applying Initial Conditions with Fourier Series

Use initial conditions and Fourier series to determine coefficients in the general solution.

Applying Initial Conditions with Fourier Series

You'll learn how to determine the unknown coefficients in your PDE solution by matching it to the initial temperature, displacement, or other physical data using Fourier series.

The Core Idea

When you separate variables and build a general solution to a PDE (like the heat or wave equation), you get an infinite series with unknown coefficients—typically written as something like:

u(x,t)=∑n=1∞Bnsin⁡(nπxL)e−λntu(x,t) = \sum_{n=1}^{\infty} B_n \sin\left(\frac{n\pi x}{L}\right) e^{-\lambda_n t}

But which coefficients BnB_n match your specific problem? That's where initial conditions come in. You know what u(x,0)u(x,0) looks like (the starting temperature distribution, the initial shape of a string, etc.). Setting t=0t=0 in your series gives:

u(x,0)=∑n=1∞Bnsin⁡(nπxL)=f(x)u(x,0) = \sum_{n=1}^{\infty} B_n \sin\left(\frac{n\pi x}{L}\right) = f(x)

This is exactly a Fourier sine series representation of f(x)f(x)! You find each BnB_n using the orthogonality of sine functions:

Bn=2L∫0Lf(x)sin⁡(nπxL) dxB_n = \frac{2}{L}\int_0^L f(x)\sin\left(\frac{n\pi x}{L}\right)\,dx

Think of it like this: Your initial condition f(x)f(x) is a recipe, and the BnB_n coefficients tell you how much of each "pure tone" (sine wave) to mix together to recreate that recipe.

The Process

  1. Write your general solution from separation of variables
  2. Apply t=0t=0 (or whatever initial time is given)
  3. Recognize the resulting equation as a Fourier series
  4. Use Fourier coefficient formulas to compute each BnB_n (or AnA_n, depending on boundary conditions)
  5. Substitute back into the general solution

Key Takeaway: Initial conditions unlock your PDE solution by converting it into a Fourier series problem—compute the coefficients by integrating the initial data against your eigenfunctions.