An insulated rod of length ' l ' has its ends P and Q maintained at 0°C and 100°C respectively until steady state prevail. If temperature of P is raised to 20°C and that of Q is reduced to 80°C and kept so, find its temperature distribution.
Aryan Yadav, AIR 31, 2025
Heat Eqn $\Rightarrow$ $\frac{\partial^2 U}{\partial x^2} = \frac{1}{c^2}\frac{\partial U}{\partial t}$
Using Method of seperation of variables
let $U = X(x)\,T(t)$ be soln
$\Rightarrow c^2 X'' T = X T'$
$\Rightarrow \frac{X''}{X} = \frac{T'}{c^2 T} = K$ (constant)
Boundary conditions are:
$U(0,t) = 20$ -(1) (P) , $U(l,t) = 80$ -(2) (Q)
$U(x,0) = \frac{100x}{l}$ (Steady state) -(3)
Soln is of form $U = U_1(x) + U_2(x,t)$
$= 20 + \frac{60x}{l} + U_2(x,t)$ -(4)
Using boundary conditions, in above DE $\Rightarrow$ $K < 0 = -\lambda^2$
$\Rightarrow X = A_1 \cos \lambda x + B_1 \sin \lambda x$
$T = C_1 e^{\lambda^2 c^2 t}$
$\Rightarrow U_2(x,t) = (A\cos\lambda x + B\sin\lambda x)\,e^{\lambda^2 c^2 t}$
Using ④ & ①
$\Rightarrow U_2(0,t) = 0$ $\Rightarrow$ $A = 0$
Using ④ & ②
$\Rightarrow U_2(l,t) = 0$
$\Rightarrow B\sin\lambda l = 0$
$\Rightarrow \lambda = \frac{n\pi}{l}$ $n = 0, 1, 2, \ldots$
$\Rightarrow U_2(x,t) = \sum B_n \sin\left(\frac{n\pi x}{l}\right) e^{\frac{n^2\pi^2}{l^2}c^2 t}$ -⑤
Using ④ & ③
$\Rightarrow 20 + \frac{60x}{l} + U_2(x,0) = \frac{100x}{l}$
$\Rightarrow U_2(x,0) = \frac{40x}{l} - 20$
Using fouriers series $\Rightarrow$
$B_n = \frac{2}{l}\int_0^l \left(\frac{40x}{l} - 20\right)\sin\frac{n\pi x}{l}\,dx$
$= \text{Im}\left(\frac{2}{l}\int_0^l \left(\frac{40x}{l} - 20\right) e^{in\pi x/l}\,dx\right)$
$= \frac{2}{l}\left\{\left[\frac{40x}{l} - 20\right]\frac{l\,e^{in\pi x/l}}{in\pi}\Big|_0^l - \int_0^l \frac{40}{l}\,\frac{l\,e^{in\pi x/l}}{in\pi}\right\}$
$= \frac{2}{l}\left[(20e^{in\pi} + 20)\frac{l}{in\pi} - \left[\frac{l\,40\,e^{in\pi x/l}}{i^2 n^2 \pi^2}\right]_0^l\right]$
$= 2\left(\frac{20e^{in\pi} + 20}{in\pi} + \frac{40}{n^2\pi^2}(e^{in\pi} - 1)\right)$
Imaginary part $=$
$2\left(-\frac{20}{n\pi}(1 + \cos n\pi)\right) = -\frac{40}{n\pi}(1 + (-1)^{n-1})$
$= -\frac{80}{n\pi}$ when n is even
$= 0$ " " " odd
Hence $\Rightarrow$