Skip to content

Boundary conditions: Dirichlet, Neumann and Robin

5 min read

Short answer

Dirichlet conditions fix the value on the boundary (u=0u=0: a rod end held at zero). Neumann conditions fix the normal derivative (ux=0u_x=0: an insulated end with no heat flow). Robin conditions mix both. Each choice changes which modes are allowed: sines for Dirichlet, cosines for Neumann at both ends.

Dirichlet u = 0 compared with Neumann uₓ = 0Dirichlet u = 0Ends held at fixedtemperatureModes sin(nπx/L)Heat leaks out; u → 0Neumann uₓ = 0Ends insulatedModes cos(nπx/L), n ≥0Heat stays; u →average
The boundary condition decides the long-time behavior as well as the modes.

Effect on modes

For X′′+λX=0X''+\lambda X=0 on [0,L][0,L]: Dirichlet at both ends gives λn=(nπ/L)2\lambda_n=(n\pi/L)^2 with sin⁡\sin modes (n≥1n\ge1). Neumann at both ends gives the same λn\lambda_n with cos⁡\cos modes including n=0n=0, a constant, which is why insulated rods keep a non-zero average.

Choosing the right one

Use Dirichlet when you control or know the value (a fixed temperature, a clamped string). Use Neumann when you know the flux (insulation, a free end). Use Robin when the flux depends on the value (Newton cooling at the surface).

Worked example

A rod on [0,2][0,2] is insulated at both ends with initial temperature u(x,0)=xu(x,0)=x. What temperature does it approach?

With Neumann ends, the constant mode survives and the others decay. The limit is the average of the initial temperature: 12∫02x dx=1\dfrac12\int_0^2x\,dx=1. The rod tends to a uniform temperature of 11.

Try it yourself

Which modes does a string with one fixed end (u=0u=0) and one free end (ux=0u_x=0) allow?

Show the answer

sin⁡(2n−1)πx2L\sin\dfrac{(2n-1)\pi x}{2L} for n=1,2,…n=1,2,\ldots (odd quarter-waves): zero at the fixed end and flat at the free end.

Keep going with practice

Vidi's lessons on conservative fields and flux give the physical meaning of a Neumann condition.