Finally we are in a position to solve the PDE problems which were derived in Chapter 2. We start with some examples involving the heat equation, leaving the general case for the exercises.

Example 1 Solve the heat equation initial-boundary-value problem

ut = 3uxx,

u(x, 0) = x(pi − x), u(0, t) = u(pi, t) = 0.