Find the temperature in a bar of length l with both ends insulated and with initial
temperature in the rod being sin ( π x / l ) .
.
Expert's answer
Answer on Question 68975 - Math - Differential Equations
Find the temperature in a bar of length L with both ends insulated and with initial temperature in the rod being sinLπx.
Solution: We consider the initial boundary value problem for the heat equation
ut=a2uxx,x∈(0,L),t>0, (1)
u(0,x)=sinLπx, (2)
ux(t,0)=ux(t,L)=0. (3)
Let us find a special type of non-trivial solutions
v(t,x)=T(t)X(x) (4)
of (1) that satisfies conditions (3). We will show that there exists a countable set of such solutions
vn(t,x)=Tn(t)Xn(x),n=0,1,2,…
Then we will look for a solution u of (1)–(3) in the form
u(t,x)=∑n=0∞vn(t,x).
We substitute (4) into the differential equation (1), and divide by a2v. This gives
a2T(t)T′(t)=X(x)X′′(x).
The left-hand side of the equality depends only upon t and the right-hand one is independent of t. It follows that
a2T(t)T′(t)=X(x)X′′(x)=−λ,
where λ is a constant. Thus v(t,x)=T(t)X(x) is a solution of the heat equation that satisfies boundary conditions (3) if and only if T and X satisfy the ordinary differential equation
T′(t)+λa2T(t)=0,t∈(0,+∞) (5)
and the boundary value problem
X′′(x)+λX(x)=0,x∈(0,L), (6)
X′(0)=0,X′(L)=0. (7)
respectively.
The Sturm-Liouville problem (6)–(7) always admits the trivial solution X=0, but this is of no use to us. We must find all values of λ
for which there exist non-trivial solutions of (6)–(7). It is possible for non-negative λ only. In fact, if λ<0, then equation (6) has the general solution
X(x)=C1sinh(−λx)+C2cosh(−λx).
From boundary conditions (7) we have
C1=0,C2sinh(−λL)=0.
Therefore sinh(−λL)=0, which is impossible for the positive number −λL.
If λ=0, then there exists a nonzero solution X0=1 of (6), (7). For λ>0 we have X(x)=C1cosλx+C2sinλx. Substituting X into (7) yields
X′(x)=−C1λsinλx+C2λcosλx;
X′(0)=0⇒C2=0;
X′(L)=0⇒C1λsinλL=0⇒sinλL=0,
since both the constants C1 and C2 cannot be zero simultaneously. Then X need not be identically zero if and only if sinλL=0, that is, if
λn=L2π2n2,n=1,2,….
These values are called the eigenvalues of the problem. The corresponding solutions are
Xn(x)=cosLπnx,n=1,2,….
Next, we can solve equation (5) for all eigenvalues:
T0′=0⇒T0(t)=A0;
Tn′+L2a2π2n2Tn=0⇒Tn(t)=Ane−L2a2π2n2t.
We attempt to represent the solution u of (1)–(3) as an infinite series
u(t,x)=A0+∑n=1∞Ane−L2a2π2n2tcosLπnx.
We need to determine the coefficients An in such a way that initial condition (2) holds. We have
u(0,x)=A0+∑n=1∞AncosLπnx=sinLπx.
The last series is called a Fourier series of function sinLπx. Moreover,
"assignmentexpert.com" is professional group of people in Math subjects! They did assignments in very high level of mathematical modelling in the best quality. Thanks a lot