Dirichlet and Neumann Boundary Conditions
Encoding the Boundary: Dirichlet, Neumann, Robin and Mixed Conditions
1. What a boundary condition says
Every boundary value problem needs information on the boundary ∂Ω of its region Ω. The three classical types differ in what they prescribe.
Type | Form | Prescribes | Typical physical meaning |
|---|---|---|---|
Dirichlet (first kind) | u=g | the value | fixed temperature; clamped string or membrane; conductor at fixed potential |
Neumann (second kind) | ∂u/∂n=g | the outward normal derivative | prescribed heat flux; g=0: insulated boundary or free string end |
Robin (third kind) | ∂u/∂n+hu=g | a combination of value and derivative | convective exchange with surroundings; an end attached to an elastic support |
A condition is homogeneous when g=0. A mixed problem uses different types on different parts of the boundary, for example Dirichlet on one end of a rod and Neumann on the other. Some texts also use 'mixed' for the Robin type, so check which meaning is intended.
2. The outward normal derivative, and why signs matter
The normal derivative is ∂u/∂n=∇u⋅n, where n is the unit normal pointing out of the region.
- On an interval 0<x<L: at x=L, n points in the +x direction, so ∂u/∂n=ux(L). At x=0, n points in the −x direction, so ∂u/∂n=−ux(0).
- On a rectangle, the outward normal derivative is −ux on the left edge, +ux on the right, −uy on the bottom and +uy on the top.
- On a circle r=a: ∂u/∂n=ur.
3. From physics to a condition: heat flux
Fourier's law gives the heat flux vector q=−k∇u, where k is thermal conductivity. The heat flowing out across the boundary per unit area is q⋅n=−k∂u/∂n.
Example. A rod 0<x<L with k=25 W m−1K−1 loses heat through its right end at 75 W m−2. Outward flux: −kux(L,t)=75, so ux(L,t)=−3 K m−1. The temperature falls toward the end through which heat is leaving, which is a useful sign check.
At a left end the outward normal is reversed. The same physical statement, heat leaving the rod, then gives a positive ux, because the temperature must fall as you move leftward, out of the rod.
4. Convection: the Robin condition
Newton's law of cooling says the heat flux leaving a surface is hc(u−T∞), where hc is a heat-transfer coefficient and T∞ the surrounding temperature. Setting this equal to the conductive flux leaving gives
−k∂n∂u=hc(u−T∞)⟺∂n∂u+khcu=khcT∞.
Two limits give useful checks. As hc/k→0, the boundary becomes insulated (Neumann). As hc/k→∞, the surface is forced to T∞ (Dirichlet). The sign of the h term is physical: with h>0, a surface hotter than its surroundings loses heat.
5. Other settings
- Vibrating string. A clamped end is u=0 (Dirichlet). An end attached to a massless ring sliding without friction on a vertical rod cannot carry vertical force, so the tension's vertical component Tux vanishes: ux=0 (Neumann). An end attached to a spring of stiffness κ gives a Robin condition.
- Electrostatics. A conductor held at a known potential gives Dirichlet data. A known surface charge fixes the jump in the normal component of the electric field, which gives Neumann-type data.
6. Setup technique: removing steady nonhomogeneous conditions
Many solution methods need homogeneous boundary conditions. If the boundary data do not depend on time, find a simple function w that satisfies the equation's steady form and the boundary conditions, then write u=v+w.
Example. For ut=kuxx on 0<x<1 with u(0,t)=30 and u(1,t)=90, the linear function w=30+60x satisfies w′′=0, w(0)=30 and w(1)=90. Then v=u−w satisfies the same heat equation with v(0,t)=v(1,t)=0, and its initial data are v(x,0)=u(x,0)−w(x). With Neumann or Robin conditions the idea is the same, but w must satisfy those conditions, including any coefficient that multiplies u.
Common misconception. "A zero Dirichlet condition means nothing flows across the boundary." Zero value and zero flux are different statements. An end held at 0 °C can carry a large heat flux.
A metal rod along 0<x<L has thermal conductivity k=50 W m−1K−1. Its lateral surface is insulated. A heater supplies heat into the rod through the end x=0 at a steady rate of 200 W m−2. Temperature u is in kelvin and x in metres. Which boundary condition at x=0 is correct?
Mark Yourself Question
- Grab a piece of paper and try this problem yourself.
- When you're done, check the "I have answered this question" box below.
- View the solution and report whether you got it right or wrong.
A rod along 0<x<L has thermal conductivity k=40 W m−1K−1. Its end x=L exchanges heat with surrounding air at T∞=20 ∘C by convection with heat-transfer coefficient hc=25 W m−2K−1.
(i) Write the boundary condition at x=L in the form ux(L,t)+βu(L,t)=γ, giving β and γ with units. (ii) At an instant when the end temperature is u(L,t)=80 ∘C, what is ux(L,t)?