Formulating Boundary Value Problems: What Data to Give, Where, and Whether the Problem Makes Sense

1. Equation plus data

A PDE on its own has infinitely many solutions. For example, both u=xu = x and u=e−tsin⁡xu = e^{-t}\sin x satisfy ut=uxxu_t = u_{xx}. A physical problem is only specified once we add side conditions, and the art of formulation is giving the right amount of the right kind of data in the right place.


  • Initial data are prescribed at t=0t = 0 at every point of the spatial domain, for example u(x,0)=f(x)u(x,0) = f(x) for 0<x<L0 < x < L.
  • Boundary data are prescribed at every point of the spatial boundary for all t>0t > 0, for example u(0,t)=a(t)u(0,t) = a(t) and u(L,t)=b(t)u(L,t) = b(t).


What defines the type of a condition is the part of the domain where it is imposed, not whether it contains a derivative. A condition at t=0t = 0 is initial data even if it involves utu_t, and a condition at x=Lx = L is boundary data even if it involves only uu.

2. How much data each classical equation takes

Problem on a bounded spatial region

Initial data

Boundary data

Heat, ut=k ∇2uu_t = k\,\nabla^2 u

one: uu at t=0t=0

one condition at each boundary point, for all t>0t>0

Wave, utt=c2 ∇2uu_{tt} = c^2\,\nabla^2 u

two: uu and utu_t at t=0t=0

one condition at each boundary point, for all t>0t>0

Laplace or Poisson, ∇2u=f\nabla^2 u = f

none (no time variable)

one condition at each point of the whole closed boundary


The count of initial conditions matches the order of the time derivative. Boundary conditions are needed because information reaches the interior from the edges. On an infinite line there are no edges, and growth conditions at infinity play that role.

3. Common boundary-condition choices

  • Dirichlet: prescribe the value, u=gu = g. A rod end held at a fixed temperature, or a string end clamped in place.
  • Neumann: prescribe the outward normal derivative, ∂u/∂n=g\partial u/\partial n = g. g=0g = 0 is an insulated end or a free string end.
  • Robin: prescribe ∂u/∂n+hu=g\partial u/\partial n + h u = g. This models convective heat exchange with surroundings.
  • Periodic: u(0,t)=u(L,t)u(0,t) = u(L,t) and ux(0,t)=ux(L,t)u_x(0,t) = u_x(L,t). This models a thin ring.


Different conditions can be used on different parts of the boundary. At a corner where initial and boundary data meet, continuous data should agree, for example f(0)=a(0)f(0) = a(0). If they do not, the heat equation still has a solution that is smooth for t>0t > 0, but it is not continuous up to the corner at t=0t = 0.

4. Well-posedness

Hadamard called a problem well posed if (1) a solution exists, (2) it is unique, and (3) it depends continuously on the data, so small changes in the data produce small changes in the solution. The third condition matters in practice because measured data always contain errors.

Uniqueness: the energy method

For ut=kuxxu_t = k u_{xx} with Dirichlet data, suppose u1u_1 and u2u_2 both solve the problem. Their difference ww has zero initial and boundary data. Set E(t)=12∫0Lw2 dxE(t) = \tfrac12\int_0^L w^2\,dx. Integrating by parts, E′(t)=−k∫0Lwx2 dx≤0E'(t) = -k\int_0^L w_x^2\,dx \le 0, and since E(0)=0E(0) = 0 and E≥0E \ge 0, E≡0E \equiv 0. Hence w≡0w \equiv 0 and the solution is unique.

Existence can require compatible data

Pure Neumann problems need a consistency check. Consider u′′(x)=2u''(x) = 2 on 0<x<10<x<1 with u′(0)=1u'(0) = 1 and u′(1)=βu'(1) = \beta. Integrating gives u′(1)−u′(0)=∫012 dx=2u'(1) - u'(0) = \int_0^1 2\,dx = 2, so a solution exists only if β=3\beta = 3. Even then, u=x2+x+Cu = x^2 + x + C works for every constant CC, so uniqueness holds only up to an additive constant. In several dimensions the divergence theorem gives the analogous condition ∬Ωf dA=∮∂Ω∂u/∂n ds\iint_\Omega f\,dA = \oint_{\partial\Omega} \partial u/\partial n\,ds for ∇2u=f\nabla^2 u = f.

Continuous dependence can fail

On 0<x<π0<x<\pi with zero Dirichlet ends, u=e−n2tsin⁡(nx)u = e^{-n^2 t}\sin(nx) solves ut=uxxu_t = u_{xx}. Forward in time, the mode decays, which is the stable direction. Now try to recover the state at t=0t = 0 from data at t=1t = 1. A measurement error εsin⁡(5x)\varepsilon\sin(5x) at t=1t = 1 corresponds to an error εe25sin⁡(5x)≈7.2×1010 εsin⁡(5x)\varepsilon e^{25}\sin(5x) \approx 7.2\times10^{10}\,\varepsilon\sin(5x) at t=0t = 0, and higher modes are amplified even more.


The backward heat problem is therefore ill posed. Fine detail of an earlier temperature profile has been erased by diffusion, and no stable recovery is possible without extra assumptions.


Common misconception. "Having as many conditions as the order of the equation guarantees a good problem." The placement and kind of data matter as much as the count. Elliptic problems take data around the whole boundary, and evolution problems take their extra data at the initial time, not at a final time.

Temperature in a rod satisfies ut=k uxxu_t = k\,u_{xx} for 0<x<L0 < x < L, t>0t > 0, with the side conditions

u(x,0)=f(x)u(x,0) = f(x) for 0<x<L0<x<L,    u(0,t)=0u(0,t) = 0 for t>0t>0,    ux(L,t)=0u_x(L,t) = 0 for t>0t>0.

Which classification is correct?

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

A string of length LL satisfies utt=c2uxxu_{tt} = c^2 u_{xx} for 0<x<L0<x<L, t>0t>0. Which set of side conditions gives a well-posed problem?

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

Mark Yourself Question

  1. Grab a piece of paper and try this problem yourself.
  2. When you're done, check the "I have answered this question" box below.
  3. View the solution and report whether you got it right or wrong.

Let Ω\Omega be the rectangle 0<x<2, 0<y<10<x<2,\ 0<y<1. Consider

∇2u=6xy\nabla^2 u = 6xy in Ω\Omega,    ∂u∂n=g\dfrac{\partial u}{\partial n} = g on the boundary of Ω\Omega,

where nn is the outward unit normal and

  • g=1g = 1 on the left edge x=0x = 0,
  • g=cg = c (a constant) on the top edge y=1y = 1,
  • g=0g = 0 on the right edge x=2x = 2 and on the bottom edge y=0y = 0.

For which value of cc can this problem have a solution? Give the exact value.

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors