Download as pdf or txt
Download as pdf or txt
You are on page 1of 4

Section 9-6 : Heat Equation with Non-Zero Temperature Boundaries

In this section we want to expand one of the cases from the previous section a little bit. In the previous
section we look at the following heat problem.
∂u ∂ 2u
=k 2
∂t ∂x
u ( x, 0 ) f ( x ) =
= u ( 0, t ) 0=u ( L, t ) 0

Now, there is nothing inherently wrong with this problem, but the fact that we’re fixing the temperature
on both ends at zero is a little unrealistic. The other two problems we looked at, insulated boundaries
and the thin ring, are a little more realistic problems, but this one just isn’t all that realistic so we’d like
to extend it a little.

What we’d like to do in this section is instead look at the following problem.
∂u ∂ 2u
=k 2
∂t ∂x (1)
u ( x, 0 ) f ( x ) =
= u ( 0, t ) T=
1 u ( L, t ) T2

In this case we’ll allow the boundaries to be any fixed temperature, T1 or T2 . The problem here is that
separation of variables will no longer work on this problem because the boundary conditions are no
longer homogeneous. Recall that separation of variables will only work if both the partial differential
equation and the boundary conditions are linear and homogeneous. So, we’re going to need to deal
with the boundary conditions in some way before we actually try and solve this.

Luckily for us there is an easy way to deal with them. Let’s consider this problem a little bit. There are
no sources to add/subtract heat energy anywhere in the bar. Also, our boundary conditions are fixed
temperatures and so can’t change with time and we aren’t prescribing a heat flux on the boundaries to
continually add/subtract heat energy. So, what this all means is that there will not ever be any forcing
of heat energy into or out of the bar and so while some heat energy may well naturally flow into our out
of the bar at the end points as the temperature changes eventually the temperature distribution in the
bar should stabilize out and no longer depend on time.

Or, in other words it makes some sense that we should expect that as t → ∞ our temperature
distribution, u ( x, t ) should behave as,
lim u ( x, t ) = uE ( x )
t →∞

where u E ( x ) is called the equilibrium temperature. Note as well that is should still satisfy the heat
equation and boundary conditions. It won’t satisfy the initial condition however because it is the
temperature distribution as t → ∞ whereas the initial condition is at t = 0 . So, the equilibrium
temperature distribution should satisfy,
d 2u E
=0 =uE ( 0 ) T=
1 uE ( L ) T2 (2)
dx 2

This is a really easy 2nd order ordinary differential equation to solve. If we integrate twice we get,
uE ( x=
) c1 x + c2
and applying the boundary conditions (we’ll leave this to you to verify) gives us,
T2 − T1
uE ( x =
) T1 + x
L

Okay, just what does this have to do with solving the problem given by (1) above? We’ll let’s define the
function,
( x, t ) u ( x, t ) − u E ( x )
v= (3)
where u ( x, t ) is the solution to (1) and u E ( x ) is the equilibrium temperature for (1).

Now let’s rewrite this as,


( x, t ) v ( x, t ) + u E ( x )
u=
and let’s take some derivatives.
∂u ∂v ∂uE ∂v ∂ 2u ∂ 2 v ∂ 2u E ∂ 2 v
= + = = + = 2
∂t ∂t ∂t ∂t ∂x 2 ∂x 2 ∂x 2 ∂x

In both of these derivatives we used the fact that u E ( x ) is the equilibrium temperature and so is
independent of time t and must satisfy the differential equation in (2).

What this tells us is that both u ( x, t ) and v ( x, t ) must satisfy the same partial differential equation.
Let’s see what the initial conditions and boundary conditions would need to be for v ( x, t ) .
v ( x, 0 ) =u ( x, 0 ) − uE ( x ) = f ( x ) − uE ( x )
v ( 0, t ) = u ( 0, t ) − uE ( 0 ) = T1 − T1 = 0
v ( L, t ) = u ( L, t ) − uE ( L ) = T2 − T2 = 0

So, the initial condition just gets potentially messier, but the boundary conditions are now
homogeneous! The partial differential equation that v ( x, t ) must satisfy is,
∂v ∂ 2v
=k 2
∂t ∂x
v ( x, 0 ) = f ( x ) − uE ( x ) v ( 0, t ) =
0 v ( L, t ) =
0

We saw how to solve this in the previous section and so we the solution is,
 nπ 
2

 nπ x  − k  L  t
v ( x, t ) = ∑ Bn sin  e
n =1  L 
where the coefficients are given by,
 nπ x 
L
2⌠
Bn =  ( f ( x ) − uE ( x ) ) sin   dx n=
1, 2,3,
L ⌡0  L 

The solution to (1) is then,


( x, t ) u E ( x ) + v ( x, t )
u=
 nπ 
2

T −T ∞
 nπ x  − k  L  t
T1 + 2 1 x + ∑ Bn sin 
= e
L n =1  L 
and the coefficients are given above.

You might also like