Mathematics.

pdes

Boundary Value Problems

Differential Equations30 minDifficulty7 out of 10

You should know: partial differential equations

Overview

A boundary value problem (BVP) is a differential equation paired with conditions specified at the edges (boundary) of the domain, rather than all at a single starting point as in an initial value problem. For a second-order ODE on [a,b], typical boundary conditions fix y(a) and y(b) (Dirichlet), y′(a) and y′(b) (Neumann), or a mix. Unlike initial value problems, which always have a unique solution under mild hypotheses, BVPs may have no solution, a unique solution, or infinitely many, depending on how the boundary conditions interact with the equation — this is the basis of Sturm–Liouville theory and eigenvalue problems. BVPs are the natural setting for steady-state and spatial problems: a hanging cable's shape, a beam's deflection, or the steady temperature along a rod all satisfy boundary, not initial, conditions.

Intuition

An initial value problem is like being told where a hiker starts and which direction they're walking — from that alone the whole path is determined. A boundary value problem is more like being told the trail must start at one specific trailhead AND end at a specific destination — some 'directions' of walking simply cannot connect the two endpoints, others connect them in exactly one way, and for special terrains there might be many different paths that satisfy both endpoint constraints. That last case, where only certain special values of a parameter (like λ, related to the tension or stiffness of a physical string) allow a nonzero solution meeting both endpoint conditions, is exactly the eigenvalue structure behind vibration modes of strings, drumheads, and the spatial part of the heat and wave equations.

Formal Definition

Definition

A standard two-point BVP and the eigenvalue problem that arises when the boundary conditions force only special values of a parameter to admit nonzero solutions:

y+p(x)y+q(x)y=0,y(a)=α, y(b)=βy'' + p(x)y' + q(x)y = 0, \qquad y(a) = \alpha, \ y(b) = \beta
Two-point Dirichlet BVP
y+λy=0,y(0)=0, y(L)=0y'' + \lambda y = 0, \qquad y(0)=0,\ y(L)=0
Eigenvalue BVP (vibrating string / Sturm–Liouville form)
λn=(nπL)2,yn(x)=sin ⁣(nπxL),n=1,2,3,\lambda_n = \left(\frac{n\pi}{L}\right)^2, \qquad y_n(x) = \sin\!\left(\frac{n\pi x}{L}\right), \quad n=1,2,3,\ldots
Eigenvalues and eigenfunctions

Worked Examples

  1. General solution of the ODE from its characteristic roots r=±i.

    y(x)=C1cosx+C2sinxy(x) = C_1\cos x + C_2\sin x
  2. Apply y(0)=0.

    y(0)=C1=0y(0) = C_1 = 0
  3. Apply y(π/2)=3 with C₁=0.

    y(π/2)=C2sin(π/2)=C2=3y(\pi/2) = C_2\sin(\pi/2) = C_2 = 3

Answer: y = 3 sin x (verify: y″ = -3sin x, so y″+y = -3sin x+3sin x = 0 ✓; y(0)=0 ✓; y(π/2)=3sin(π/2)=3 ✓).

Practice Problems

Difficulty 6/10

Solve the BVP y″ = 0, y(0)=1, y(2)=5.

Difficulty 7/10

Find the eigenvalues of y″+λy=0 with y(0)=0, y(L)=0, for general L.

Difficulty 7/10

A steady rod of length L=π has temperature satisfying u″(x)=0 with fixed end temperatures u(0)=20°C, u(π)=80°C. Find u(x) and its value at the midpoint.

Quiz

A boundary value problem differs from an initial value problem in that:
For y″+λy=0 with y(0)=0, y(L)=0, nonzero solutions exist only when:
Compared to initial value problems, boundary value problems can have:

Summary

  • A boundary value problem pairs a differential equation with conditions at two or more points, rather than all at one initial point.
  • Existence/uniqueness for BVPs is more delicate than for IVPs — solutions may be absent, unique, or (at special eigenvalues) infinite in number.
  • The eigenvalue BVP y″+λy=0 with y(0)=y(L)=0 gives λₙ=(nπ/L)² and yₙ=sin(nπx/L), the building blocks of Fourier-series solutions to the heat and wave equations.

References