# Solving a heat equation problem(DSolve)

I'm brand new to Mathematica. I am trying to solve a heat equation problem, but I keep getting back the input on the output line.

The problem:

In:

heatequation = D[u[x, t], t] == 5*D[u[x, t], {x, 2}] + D[u[x, t], x] - u[x, t];
boundarycondition = {Derivative[1, 0][u][0, t] == 0, u[1, t] == 0};
initialcondition = u[x, 0] == 3;
sol = DSolve[{heatequation, initialcondition, boundarycondition}, u [x, t], {x, t}]


Out:

DSolve[{(u^(0,1))[x,t]==-u[x,t]+(u^(1,0))[x,t]+5 (u^(2,0))[x,t],u[x,0]==3,{(u^(1,0))[0,t]==0,u[1,t]==0}},u[x,t],{x,t}]

• DSolve[]'s support for PDE equations is still somewhat limited, so don't be surprised if some things don't work yet.See: Results on web page: 12000.org/my_notes/pde_in_CAS/maple_2019_and_mma_12/index.htm Commented Dec 2, 2019 at 15:57
• And this problem probably doesn't have a simple symbolic solution. (Somewhat related: mathematica.stackexchange.com/q/155817/1871) Is it necessary for you to obtain a symbolic solution? If not, try NDSolve instead. Commented Dec 4, 2019 at 6:48
• Also, the problem can be solved with Laplace transform symbolically. We already have a number of related posts, you can have a look: mathematica.stackexchange.com/… Commented Dec 4, 2019 at 7:19