Source

Adapted from my own handwritten and hand-typed notes from Year 1 to Year 3 of my EEE degree

This is the main worked problem of the PDE topic: temperature in an insulated bar of length whose ends are held at .

Problem

Conditions:

  • boundary conditions: , for all
  • initial condition: , the initial temperature profile

Step 1: separate

Put , so and :

Step 2: boundary value problem for F

with , . Check the sign of :

  • : , then and force (trivial)
  • : , then and force (trivial)
  • : . gives . with needs

So and

Only these discrete values work.

Step 3: G and the full solution

With , the equation is , so . Each

satisfies the PDE and both boundary conditions. These are the eigenfunctions, with eigenvalues . One usually cannot match , so by superposition take

Setting : , so the are the Fourier sine coefficients of :

Worked example

Initial profile (a hump with peak at the middle).

Solution:

  • so for odd and 0 for even

Higher modes decay much faster (rate ), so after a while the bar looks like a single sine hump that slowly cools to 0.

Same method on the wave equation

Not worked in the lectures, but the same steps on with , and give

with and . The time part now oscillates instead of decaying.