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 66341 - 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)
We look for a specific type of solution; namely, a product of a function of t only and a function of x only:
v(t,x)=T(t)X(x).
We substitute this function v into the differential equation (1), and divide by a2v. This gives
a2T(t)T′(t)=X(x)X′′(x).
The left-hand side of this equality depends only upon t. The right-hand side is independent of t. It follows that
X(x)X′′(x)=−λ,
where λ is a constant. Then
a2T(t)T′(t)=−λ.
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,+∞) (4)
and the boundary value problem
X′′(x)+λX(x)=0,x∈(0,L), (5)
X′(0)=0,X′(L)=0. (6)
respectively. Since we wish to have ux=0 for x=0 and x=L, we only consider those solutions of the last equation which also satisfy conditions (6).
This homogeneous problem always has the trivial solution X=0, but this is of no use to us. We are interested in cases where this is not the only solution. It is possible for non-negative λ only.
If $\lambda=0$, then there exists a nonzero solution $X_{0}=1$ of (5), (6). For $\lambda>0$ we have $X(x)=C_{1}\cos\sqrt{\lambda}x+C_{2}\sin\sqrt{\lambda}x$. Substituting $X$ into (6) 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 (4) 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