Consider the problem , , , with boundary condition , and initial condition .

Solve in two steps. First transform the problem into a problem with homogeneous boundary conditions, but inhomogeneous PDE, and then solve. Write , where is (affine) linear in , that is


The initial boundary value problem for becomes
PDE:
where
BC:
IC:

Now solve for .

The eigenfunctions to use are

First decompose the inhomogeneity in the PDE as
,
where
You find that
,
where


Then

help (formulas)

You can earn partial credit on this problem.