Solve:
$$ \begin{cases} u_t = Ku_{xx}\\ u(0,y,t) = u(\pi,y,t) = 0\\ u_y(x,0,t) = u_y(x,\pi,t) = 0\\ u(x,y,0) = 1 \end{cases}$$
for $0 < x < \pi$, $0 < y < \pi$, $t>0$:
This was the problem given to me, but I don't believe it has a nontrivial solution (correct me if I'm wrong). Instead, I think the problem was meant to say: $$u_t = K(u_{xx} + u_{yy})$$ In this case,
Let $u(x,y,t) = f(x)g(y)h(t)$: $$\frac{h'(t)}{h(t)} = \frac{f"(x)}{f(x)} + \frac{g"(y)}{g(y)}$$ Let: $$\frac{f"(x)}{f(x)} = -n^2$$ $$\frac{g"(y)}{g(y)} = -m^2$$ $$\frac{h'(t)}{h(t)} = -(m^2 + n^2)$$ This leads to the seaparted solutions: $$f(x) = A\cos(nx) + B\sin(mx)$$ $$g(y) = C\cos(my) + D\sin(my)$$ $$h(t) = Ee^{-(n^2 + m^2)t}$$
$$u(o,y,t) = u(\pi,y,t) = 0 \space\text{ implies } \space A = 0$$ $$u_y(x,0,t) = u_y(x,\pi,t) = 0 \space\text{ implies } \space D = 0$$ Thus, $$u(x,y,t) = B\sin(nx)\cos(my)e^{-(n^2 + m^2)t}$$ To satisfy the initial value, we can exploit the superposition principle:
$$u(x,y,t) = \sum_{m=0}^\infty \sum_{n=0}^\infty B_{nm}\sin(nx)\cos(my)e^{-(n^2 + m^2)t}$$ $$u(x,y,0) = \sum_{m=0}^\infty \sum_{n=0}^\infty B_{nm}\sin(nx)\cos(my) = 1$$
This was as far as I was able to get. I'm unsure how to satisfy the initial condition given this double sum. Some help would be appreciated!