Login
📚 Differential Equations for Engineers
Chapters ▾
⇩ Download ▾

4.9 Steady State Temperature and the Laplacian

Suppose we have an insulated wire, a plate, or a 3-dimensional object. We apply certain fixed temperatures on the ends of the wire, the edges of the plate, or on all sides of the 3-dimensional object. We wish to find out what is the steady state temperature distribution. That is, we wish to know what will be the temperature after long enough period of time.

We are really looking for a solution to the heat equation that is not dependent on time. Let us first solve the problem in one space variable. We are looking for a function u that satisfies

u t = k u x x ,

but such that ut=0 for all x and t. Hence, we are looking for a function of x alone that satisfies uxx=0. It is easy to solve this equation by integration and we see that u=Ax+B for some constants A and B.

Suppose we have an insulated wire, and we apply constant temperature T1 at one end (say where x=0) and T2 on the other end (at x=L where L is the length of the wire). Then our steady state solution is

u ( x ) = T 2 T 1 L x + T 1 .

This solution agrees with our common sense intuition with how the heat should be distributed in the wire. So in one dimension, the steady state solutions are basically just straight lines.

Things are more complicated in two or more space dimensions. Let us restrict to two space dimensions for simplicity. The heat equation in two space variables is

u t = k ( u x x + u y y ) ,

(4.9.1)

or more commonly written as ut=kΔu or ut=k2u. Here the Δ and 2 symbols mean 2x2+2y2. We will use Δ from now on. The reason for using such a notation is that you can define Δ to be the right thing for any number of space dimensions and then the heat equation is always ut=kΔu. The operator Δ is called the Laplacian.

OK, now that we have notation out of the way, let us see what does an equation for the steady state solution look like. We are looking for a solution to Equation (4.9.1) that does not depend on t, or in other words ut=0. Hence we are looking for a function u(x,y) such that

Δ u = u x x + u y y = 0 .

This equation is called the Laplace equationto the power 1. Solutions to the Laplace equation are called harmonic functions and have many nice properties and applications far beyond the steady state heat problem.

Harmonic functions in two variables are no longer just linear (plane graphs). For example, you can check that the functions x2y2 and xy are harmonic. However, if you remember your multi-variable calculus we note that if uxx is positive, u is concave up in the x direction, then uyy must be negative and u must be concave down in the y direction. Therefore, a harmonic function can never have any “hilltop” or “valley” on the graph. This observation is consistent with our intuitive idea of steady state heat distribution; the hottest or coldest spot will not be inside.

Commonly the Laplace equation is part of a so-called Dirichlet problemsquared. That is, we have a region in the xy-plane and we specify certain values along the boundaries of the region. We then try to find a solution u defined on this region such that u agrees with the values we specified on the boundary.

For simplicity, we consider a rectangular region. Also for simplicity we specify boundary values to be zero at 3 of the four edges and only specify an arbitrary function at one edge. As we still have the principle of superposition, we can use this simpler solution to derive the general solution for arbitrary boundary values by solving 4 different problems, one for each edge, and adding those solutions together. This setup is left as an exercise.

We wish to solve the following problem. Let h and w be the height and width of our rectangle, with one corner at the origin and lying in the first quadrant.

Δ u = 0 , u ( 0 , y ) = 0 for  0 < y < h , u ( x , h ) = 0 for  0 < x < w , u ( w , y ) = 0 for  0 < y < h , u ( x , 0 ) = f ( x ) for  0 < x < w .

(4.9.2)

Diagram of a rectangle with corners (0,0), (w,0), (0,h) and (w,h) and delta u equals 0 inside; the left, right and top edges are labelled u equals 0 and the bottom edge u equals f of x.
Figure 1

The method we apply is separation of variables. Again, we will come up with enough building-block solutions satisfying all the homogeneous boundary conditions (all conditions except (4.9.6)). We notice that superposition still works for the equation and all the homogeneous conditions. Therefore, we can use the Fourier series for f(x) to solve the problem as before.

We try u(x,y)=X(x)Y(y). We plug u into the equation to get

X Y + X Y = 0 .

We put the Xs on one side and the Ys on the other to get

X X = Y Y .

The left hand side only depends on x and the right hand side only depends on y. Therefore, there is some constant λ such that λ=XX=YY. And we get two equations

X + λ X = 0 , Y λ Y = 0 .

Furthermore, the homogeneous boundary conditions imply that X(0)=X(w)=0 and Y(h)=0. Taking the equation for X we have already seen that we have a nontrivial solution if and only if λ=λn=n2π2w2 and the solution is a multiple of

X n ( x ) = sin ( n π w x ) .

For these given λn, the general solution for Y (one for each n) is

Y n ( y ) = A n cosh ( n π w y ) + B n sinh ( n π w y ) .

(4.9.7)

We only have one condition on Yn and hence we can pick one of An or Bn to be something convenient. It will be useful to have Yn(0)=1, so we let An=1. Setting Yn(h)=0 and solving for Bn we get that

B n = cosh ( n π h w ) sinh ( n π h w ) .

After we plug the An and Bn we into (4.9.7) and simplify, we find

Y n ( y ) = sinh ( n π ( h y ) w ) sinh ( n π h w ) .

We define un(x,y)=Xn(x)Yn(y). And note that un satisfies (4.9.2) - (4.9.5).

Observe that

u n ( x , 0 ) = X n ( x ) Y n ( 0 ) = sin ( n π w x ) .

Suppose

f ( x ) = n = 1 b n sin ( n π x w ) .

Then we get a solution of (4.9.2) - (4.9.6) of the following form.

u ( x , y ) = n = 1 b n u n ( x , y ) = n = 1 b n sin ( n π w x ) ( sinh ( n π ( h y ) w ) sinh ( n π h w ) ) .

As un satisfies Equation (4.9.2) - (4.9.5) and any linear combination (finite or infinite) of un must also satisfy (4.9.2) - (4.9.5), we see that u must satisfy Equations (4.9.2) - (4.9.5). By plugging in y=0 it is easy to see that u satisfies (4.9.6) as well.

Footnotes

[1] Named after the French mathematician Pierre-Simon, marquis de Laplace (1749–1827).

[2] Named after the German mathematician Johann Peter Gustav Lejeune Dirichlet (1805–1859).

Adapted from Differential Equations for Engineers by Jiří Lebl (Oklahoma State University), hosted on LibreTexts (math.libretexts.org) and licensed under CC BY-SA 4.0. Changes were made. License: CC-BY-SA-4.0.