Question #40483

The ends A and B of a rod 20cm long have the temperature at 30 degree centigrade and 80 degree centigrade respectively until steady state prevails . The temperature of the ends are changed to 40 degree centigrade to 60 degree centigrade respectively . Find the temperature distribution in the rod at time t .
1

Expert's answer

2014-03-24T09:41:43-0400

Answer on Question #40483, Math, Differential Calculus | Equations

The ends A and B of a rod 20cm long have the temperature at 30 degree centigrade and 80 degree centigrade respectively until steady state prevails. The temperatures of the ends are changed to 40 degree centigrade to 60 degree centigrade respectively. Find the temperature distribution in the rod at time t.

Solution

At time t=0t = 0 steady state prevails:


2u(x,0)x2=0, for 0x20,\frac {\partial^ {2} u (x , 0)}{\partial x ^ {2}} = 0, \text{ for } 0 \leq x \leq 20,u(0,0)=30 and u(20,0)=80.u (0, 0) = 3 0 \text{ and } u (2 0, 0) = 8 0.


The solution to this boundary value problem is easily found, since the general solution of the differential equation is u(x)=Ax+Bu(x) = Ax + B; where A and B are arbitrary constants. Then the boundary conditions reduce to u(0)=B=30u(0) = B = 30 and u(20)=A20+B=80u(20) = A \cdot 20 + B = 80.

We conclude that B=30B = 30 and A=803020=52A = \frac{80 - 30}{20} = \frac{5}{2}.

So the steady-state initial temperature is


u(x,0)=52x+30.u (x, 0) = \frac {5}{2} x + 3 0.


We will start this section by solving the initial/boundary value problem


ut(x,t)=kuxx(x,t) for t>0 and 0<x<20,u _ {t} (x, t) = k u _ {x x} (x, t) \text{ for } t > 0 \text{ and } 0 < x < 20,u(0,t)=40 and u(20,t)=60, for t>0,u (0, t) = 4 0 \text{ and } u (2 0, t) = 6 0, \text{ for } t > 0,u(x,0)=52x+30, for 0x20.u (x, 0) = \frac {5}{2} x + 3 0, \text{ for } 0 \leq x \leq 2 0.


It is useful for both mathematical and physical purposes to split the problem into two parts. We first find the steady-state temperature that satisfies the boundary conditions. A steady-state temperature is one that does not depend on time. Then ut=0u_{t} = 0, so the heat equation simplifies to uxx=0u_{xx} = 0. Hence we are looking for a function us(x)u_{s}(x) defined for 0x200 \leq x \leq 20 such that


2us(x)x2=0, for 0<x<20,\frac {\partial^ {2} u _ {s} (x)}{\partial x ^ {2}} = 0, \text{ for } 0 < x < 20,us(0,t)=40 and us(20,t)=60 for t>0.u _ {s} (0, t) = 4 0 \text{ and } u _ {s} (2 0, t) = 6 0 \text{ for } t > 0.


The solution to this boundary value problem is easily found, since the general solution of the differential equation is us(x)=Ax+Bu_{s}(x) = Ax + B; where A and B are arbitrary constants. Then the boundary conditions reduce to


us(0)=B=40 and us(20)=A20+B=60.u _ {s} (0) = B = 4 0 \text{ and } u _ {s} (2 0) = A \cdot 2 0 + B = 6 0.


We conclude that B=40B = 40 and A=604020=1A = \frac{60 - 40}{20} = 1.

So the steady-state temperature is


uS(x,0)=x+40.u _ {S} (x, 0) = x + 4 0.


It remains to find v=uusv = u - u_{s}. It will be a solution to the heat equation, since both uu and usu_{s} are, and the heat equation is linear. The boundary and initial conditions that vv satisfies can be calculated from those for uu and usu_{s}. Thus, v=uusv = u - u_{s}, must satisfy

vt(x,t)=kvxx(x,t)v_{t}(x,t) = kv_{xx}(x,t) for t>0t > 0 and 0<x<200 < x < 20

u(0,t)=0u(0,t) = 0 and u(20,t)=0u(20,t) = 0, for t>0t > 0

v(x,0)=u(x,0)us=52x+30(x+40)=32x10, for 0x20.v (x, 0) = u (x, 0) - u _ {s} = \frac {5}{2} x + 3 0 - (x + 4 0) = \frac {3}{2} x - 1 0, \text { for } 0 \leq x \leq 2 0.


Having found the steady-state temperature us and the temperature v\mathbf{v}, the solution to the original problem is u(x,t)=v(x,t)+us(x)u(x,t) = v(x,t) + u_s(x).

Let's hunt for solutions in the product form


v(x,t)=X(x)T(t),v (x, t) = X (x) T (t),


where T(t)T(t) is a function of tt and X(x)X(x) is a function of xx.

When we insert v(x,t)=X(x)T(t)v(x,t) = X(x)T(t) into the heat equation vt(x,t)=kvxx(x,t)v_{t}(x,t) = kv_{xx}(x,t), we get


X(x)T(t)=kX(x)T(t).X (x) T ^ {\prime} (t) = k X ^ {\prime \prime} (x) T (t).


The key step is to separate the variables by bringing everything depending on tt to the left, and everything depending on xx to the right. Dividing equation by kX(x)T(t)kX(x)T(t), we get


T(t)kT(t)=X(x)X(x).\frac {T ^ {\prime} (t)}{k T (t)} = \frac {X ^ {\prime \prime} (x)}{X (x)}.


Since xx and tt are independent variables, the only way that the left-hand side, a function of tt, can equal the right-hand side, a function of xx, is if both functions are constant. Consequently, there is a constant that we will write as λ-\lambda; such that T(t)kT(t)=λ\frac{T'(t)}{kT(t)} = -\lambda and X(x)X(x)=λ\frac{X''(x)}{X(x)} = -\lambda or


T(t)λkT(t)=0 and X(x)+λX(x)=0.T ^ {\prime} (t) - \lambda k T (t) = 0 \text { and } X ^ {\prime \prime} (x) + \lambda X (x) = 0.


The first equation has the general solution


T(t)=Ceλkt.T (t) = C e ^ {- \lambda k t}.


Suppose that λ>0\lambda > 0 and λ=ω2\lambda = \omega^2. Then the differential equation is X(x)+ω2X(x)=0X''(x) + \omega^2 X(x) = 0, which has the general solution


X(x)=acosωx+bsinωx.X (x) = a \cos \omega x + b \sin \omega x.


For this solution the boundary condition X(0)=0X(0) = 0 becomes a=0a = 0. Then the boundary condition X(20)=0X(20) = 0 becomes


bsin20ω=0.b \sin 2 0 \omega = 0.


We are only interested in nonzero solutions, so we must have sin20ω=0\sin 20\omega = 0. This occurs if 20ω=nπ20\omega = n\pi for some positive integer nn. When this is true we have the eigenvalue λ=ω2=n2π2400\lambda = \omega^2 = \frac{n^2\pi^2}{400}. For any nonzero constant bb, X(x)=bsin(nπx20)X(x) = b\sin \left(\frac{n\pi x}{20}\right) is an eigenfunction.

Finally, we get the product solutions,


vn(x,t)=en2π2kt400sin(nπx20),v _ {n} (x, t) = e ^ {- \frac {n ^ {2} \pi^ {2} k t}{4 0 0}} \sin \left(\frac {n \pi x}{2 0}\right),


for n=1,2,3,n = 1, 2, 3, \ldots.

We are naturally led to consider the infinite series


v(x,t)=n=1bnvn(x,t)=n=1bnen2π2kt400sin(nπx20).v(x, t) = \sum_{n=1}^{\infty} b_n v_n(x, t) = \sum_{n=1}^{\infty} b_n e^{-\frac{n^2 \pi^2 k t}{400}} \sin\left(\frac{n \pi x}{20}\right).


Using the series definition for vv, the initial condition becomes


v(x,0)=32x10=n=1bnsin(nπx20),v(x, 0) = \frac{3}{2} x - 10 = \sum_{n=1}^{\infty} b_n \sin\left(\frac{n \pi x}{20}\right),


where


bn=220020(32x10)sin(nπx20)dx=320020xsin(nπx20)dx020sin(nπx20)dx=+20πn(1(1)n).b_n = \frac{2}{20} \int_0^{20} \left(\frac{3}{2} x - 10\right) \sin\left(\frac{n \pi x}{20}\right) dx = \frac{3}{20} \int_0^{20} x \sin\left(\frac{n \pi x}{20}\right) dx - \int_0^{20} \sin\left(\frac{n \pi x}{20}\right) dx = + \frac{20}{\pi n} (1 - (-1)^n).bn=320400πn(1)n+20πn(1(1)n)=20πn(14(1)n).b_n = - \frac{3}{20} \frac{400}{\pi n} (-1)^n + \frac{20}{\pi n} (1 - (-1)^n) = \frac{20}{\pi n} (1 - 4 \cdot (-1)^n).v(x,t)=n=120πn(14(1)n)sin(nπx20).v(x, t) = \sum_{n=1}^{\infty} \frac{20}{\pi n} (1 - 4 \cdot (-1)^n) \sin\left(\frac{n \pi x}{20}\right).


The temperature distribution in the rod at time tt is


u(x,t)=x+40+n=120πn(14(1)n)sin(nπx20).u(x, t) = x + 40 + \sum_{n=1}^{\infty} \frac{20}{\pi n} (1 - 4 \cdot (-1)^n) \sin\left(\frac{n \pi x}{20}\right).

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

Assignment Expert
15.12.20, 02:59

Dear Satyam Verma, You are welcome. We are glad to be helpful. If you liked our service, please press a like-button beside the answer field. Thank you!

Satyam Verma
13.12.20, 09:30

Your solution is best for understanding... Thanks a lot

LATEST TUTORIALS
APPROVED BY CLIENTS