For the general solution of the differential equation in the following cases use a and b for your constants and list the functions in alphabetical order, for example . For the variable type the word lambda, for type alpha, otherwise treat these as you would any other variable.


Solve the heat equation

This models the heat equation in a long thin rod with insulated ends. Since we have not solved this boundary value problem, we have to start from scratch
We look for solutions of the form .
The PDE can be rewritten using this solution as (placing constants in the DE for T) into
= =

Note: Use the prime notation for derivatives, so the derivative of is written as . Do NOT use
The boundary conditions in the PDE translate into boundary conditions for the differential equation in X:
Since these differential equations are independent of each other, they can be separated
DE in X:
BCs in X: Note: You have to input all four answers to this question or WeBWorK will mark it wrong.


DE in T:

This leads us to a Sturm-Louiville problem. In each case the general solution in X is written with constants a and b and the general solution in Y is written with constants c and d.
Case 1:

Using this formula


Making X a constant function. We get the constant solution another way, so we will discard this case.

Case 2:


That simplifies X down to . Using the simplified X:

Therefore and



Case 3:


So X simplifies to . Using the simplified X:

Which leads us to the eigenvalues
Note n = 0 is the constant from above, including it would have been redundant.
Since this case has nontrivial solutions we now solve the differential equation in T using c as the constant:

So for each n the product (without constants)is a solution of the PDE with boundary conditions:


To get the initial conditions we need a series solution of the form


which we recognize as a Fourier series:


You can earn partial credit on this problem.