Boundary value problem
A boundary-value problem is a type of math problem about change, called a differential equation, that has extra rules attached. These rules are called boundary conditions. A solution to a boundary-value problem is a solution to the differential equation that also follows those boundary conditions.
Boundary-value problems appear in several areas of physics, because almost every physical differential equation has them. Problems about the wave equation, such as finding normal modes, are often written as boundary-value problems. One large and important group of them is the Sturm–Liouville problems. For these problems, when the equations are linear, the work involves eigenfunctions of a differential operator.
To be useful in real applications, a boundary-value problem should be well posed. This means that for any given input there is exactly one solution, and that solution changes smoothly when the input changes. Much of the theory in the field of partial differential equations is spent proving that the boundary-value problems coming from science and engineering are well posed.
One of the earliest boundary-value problems to be studied is the Dirichlet problem. It asks for the harmonic functions, which are the solutions to Laplace's equation. Its solution was given by Dirichlet's principle.
Explanation
Boundary value problems are similar to initial value problems. A boundary value problem has conditions set at the edges, or "boundaries," of the independent variable. An initial value problem has all of its conditions set at one value, which is at the lower boundary of the domain. That is why it is called the "initial" value. A boundary value is a data value that matches a minimum or maximum input, internal, or output value set for a system or component.
For example, if time is the variable over the range from 0 to 1, a boundary value problem sets values at both t = 0 and t = 1. An initial value problem sets a value and its rate of change at t = 0. Finding the temperature along an iron bar with one end kept at absolute zero and the other end at the freezing point of water is also a boundary value problem. In one simple example, the boundary conditions y(0) = 0 and y(π/2) = 2 lead to one unique solution, y(x) = 2sin(x).
Types of boundary value problems
The three standard classes of conditions are Dirichlet, Neumann and Cauchy or Robin, along with mixed conditions and boundary at infinity.
A type 1 condition, Dirichlet boundary condition, sets the value of the function itself. For example, if one end of an iron rod is held at absolute zero, the value at that point is known. A type 2 condition, Neumann boundary condition, sets the value of the normal derivative of the function. For example, if there is a heater at one end of an iron rod, energy is added at a constant rate, but the actual temperature is not known. A type 3 condition is the Robin condition. If the boundary is a curve or surface that gives a value to both the normal derivative and the variable itself, it is a Cauchy boundary condition. A type 0 boundary condition has no physical boundary.
Boundary value problems are also classified by the type of differential operator involved. For an elliptic operator, one discusses elliptic boundary value problems. For a hyperbolic operator, one discusses hyperbolic boundary value problems. These categories are further divided into linear and various nonlinear types.
Applications
See also: Laplace's equation § Boundary conditions
In electrostatics, a common problem is to find a function that describes the electric potential of a given region. If the region has no charge, the potential must be a solution to Laplace's equation, which is called a harmonic function. The boundary conditions in this case are the Interface conditions for electromagnetic fields.
If there is no current density in the region, it is also possible to define a magnetic scalar potential using a similar method.

Quiz time!
5 questions about Boundary value problem
What are the extra rules attached to a differential equation in a boundary-value problem called?
Keep exploring
This article is a child-friendly adaptation of the Wikipedia article on Boundary value problem, available under CC BY-SA 4.0.
Images from Wikimedia Commons. Tap any image to view credits and license.