= Solution
Use the half-line transform $\widehat u(k,t)=\int_0^\infty e^{-ikx}u(x,t)\,dx$ and let $g_j(t)=\partial_x^j u(0,t)$. Integrating the <heat equation> twice by parts gives
$$
e^{k^2t}\widehat u(k,t)=\widehat u_0(k)-\widetilde g_1(k^2,t)-ik\widetilde g_0(k^2,t),\qquad
\widetilde g_j(k^2,t)=\int_0^te^{k^2s}g_j(s)\,ds.
$$
Here $\widehat u_0(k)=(1+ik)^{-2}$ and
$$
\widetilde g_0(k^2,t)=\frac{e^{k^2t}(k^2\sin t-\cos t)+1}{k^4+1},
$$
with removable singularities at the apparent denominator zeros. Let $D^+=\{\operatorname{Im}k>0,\operatorname{Re}k^2<0\}$, and orient its boundary from infinity on the $3\pi/4$ ray to zero and then out on the $\pi/4$ ray. Transform inversion and <contour deformation> give
$$
\boxed{u(x,t)=\frac1{2\pi}\int_{\mathbb R}\frac{e^{ikx-k^2t}}{(1+ik)^2}\,dk
-\frac1{2\pi}\int_{\partial D^+}e^{ikx-k^2t}\left[\frac1{(1-ik)^2}+2ik\widetilde g_0(k^2,t)\right]dk.}
$$
To eliminate the unknown boundary <derivative>, evaluate the transform identity at $-k$: $\widetilde g_1=\widehat u_0(-k)+ik\widetilde g_0-e^{k^2t}\widehat u(-k,t)$. The resulting extra <contour integral> of $e^{ikx}\widehat u(-k,t)$ vanishes by analyticity and decay in the upper half-plane. This proves that the boxed expression involves only the prescribed data. It is intended for $x,t>0$, with boundary and initial values obtained as limits.
Back to article page