Heat Equation with Non-Zero Temperature Boundaries — Question 1

PDF ↗

Question 1

Let κ,L>0\kappa,L>0 and A,B,C∈ℝA,B,C\in\mathbb R. Solve ut=κuxx,0<x<L,u(0,t)=A,u(L,t)=B,u_t=\kappa u_{xx},\quad 0<x<L,\quad u(0,t)=A,\quad u(L,t)=B, with u(x,0)=A+(B−A)x/L+Csin⁡(πx/L)u(x,0)=A+(B-A)x/L+C\sin(\pi x/L). Define the rightward diffusive flux as j=−κuxj=-\kappa u_x; the outward flux at the right endpoint is j(L,t)j(L,t).

Tasks

  1. Determine the unique stationary temperature and explain why it need not have zero flux.

  2. Subtract that stationary field, solve the transformed initial-boundary problem, and verify the reconstructed solution against every original datum.

  3. Take L=κ=1L=\kappa=1, A=1A=1, B=3B=3, C=2C=2. Determine when the right reservoir receives heat from the rod and when it supplies heat to the rod. Find the exact switching time.

  4. Compute total heat and its flux balance in this example. Sketch profiles at t=0,0.08,0.3t=0,0.08,0.3, together with the stationary field, and explain why the hotter endpoint can initially receive heat.

Original worksheet page 1: question and worked solution for 9-6-001
Show solutionHide solution

Question 1 – Solution

Strategy. Separate the maintained stationary gradient from the transient temperature excess.

Step 1: Find the stationary conduction state. Stationarity requires S″=0S''=0, and the two boundary values give S(x)=A+(B−A)x/L,jS=−κ(B−A)/L.\boxed{S(x)=A+(B-A)x/L,\qquad j_S=-\kappa(B-A)/L.} This state is unique because a linear function is determined by two endpoint values. Unless A=BA=B, it carries a constant nonzero flux. Stationary temperature means zero local storage rate, not an absence of heat transport.

Step 2: Solve the homogeneous-boundary transient. With v=u−Sv=u-S, vt=κvxxv_t=\kappa v_{xx}, v(0,t)=v(L,t)=0v(0,t)=v(L,t)=0 and v(x,0)=Csin⁡(πx/L)v(x,0)=C\sin(\pi x/L). Thus, writing λ=κπ2/L2\lambda=\kappa\pi^2/L^2, u(x,t)=S(x)+Ce−λtsin⁡(πx/L).\boxed{u(x,t)=S(x)+Ce^{-\lambda t}\sin(\pi x/L).} Since S″=0S''=0, differentiation verifies the PDE. The sine vanishes at both ends, and at t=0t=0 the original initial field is recovered exactly.

Step 3: Determine the direction of endpoint heat flow. For the given numbers, ux(1,t)=2−2πe−π2tu_x(1,t)=2-2\pi e^{-\pi^2t}, so j(1,t)=−2+2πe−π2tj(1,t)=-2+2\pi e^{-\pi^2t}. The right reservoir receives heat when j>0j>0, that is 0≤t<t*:=log⁡π/π20\le t<t_*:=\log\pi/\pi^2. At t*t_* the right flux vanishes; for t>t*t>t_* it supplies heat to the rod. The eventual rightward flux is −2-2.

Step 4: Verify the global balance and the profiles. Here H(t)=∫01udx=2+(4/π)e−π2tH(t)=\int_0^1u\,dx=2+(4/\pi)e^{-\pi^2t}, so H′=−4πe−π2tH'=-4\pi e^{-\pi^2t}. Directly j(0,t)=−2−2πe−π2tj(0,t)=-2-2\pi e^{-\pi^2t} and j(1,t)=−2+2πe−π2tj(1,t)=-2+2\pi e^{-\pi^2t}, giving H′=j(0,t)−j(1,t)H'=j(0,t)-j(1,t). Initially the interior exceeds the right endpoint temperature, so heat can leave through that endpoint despite its being hotter than the left one.

See the diagram in the original worksheet below.

Original worksheet page 2: question and worked solution for 9-6-001

Original worksheet layout. Use Enlarge or open the PDF for a closer view.