[Math] One dimensional heat equation with boundary conditions

ap.analysis-of-pdesheat equation

Consider the heat equation
$$u_t = u_{xx}$$
for $t \ge 0$, $0 \le x \le L$, given boundary conditions
$$u(0,t) = u(L,t) = f(t)$$
and an initial condition
$$u(x,0) = g(x)$$
for some continuous functions $g(x)$ on $[0,T]$ and $f(t)$ on $[0,\infty)$.

Is there an explicit solution for $u$? In particular, I was wondering if $u$ can be expressed in terms of some integral involving $g$ and $f$.

Best Answer

Imposing some conditions on $f$ and $g$ the solution can be represented via Green's function G: $$ u(x,t)=\int_0^L G(x,y,t)g(y)\,dy+\int_0^t\partial_y G(x,0,t-\tau)f(\tau)\,d\tau- $$ $$ \int_0^t\partial_y G(x,L,t-\tau)f(\tau)\,d\tau. $$ Green's function for the first BVP on a segment can be written out explicitly as series, see ch. 3, $\S7$ in A. Friedman, Partial differential equations of parabolic type.

Related Question