In this video, we put together a general solution to the 1 d heat equation with 0 Dirichlet boundary conditions. This involves solving for the time function then superposing the un(t,x) in an infinite sum. As you can imagine initial conditions would play a role in how these answers would look and we use the aid of Fourier series to solve for coefficients. Best, KobeTutors.