Boundary Value Problems
Boundary conditions fix the solution at two ends instead of giving a starting value and slope at one point. That's a different question, and the answer can be exactly one solution, none, or infinitely many.
What the symbols mean
- Boundary condition
A value fixed at an end, like the temperature at the end of a rod.
Explanation
A boundary value problem is simply a differential equation where you know the answer's value at two ends, instead of its starting value and slope at one point. (The "boundary" is the edge of the interval, so the conditions sit at its two ends.) It's the natural setup for anything held at both ends, like a jump rope held by two people, a rod with each end at a set temperature, or a beam on two supports. The setup with and looks formal, but it's just two simple parts: the equation (the rule the curve has to follow everywhere) and the two boundary conditions (the heights and where it's pinned at and ). The surprise is that sometimes no curve fits, and sometimes infinitely many do. It's less mysterious than it sounds; bear with it.
Every problem so far gave you and at one starting point, and initial value problems have a reliable existence and uniqueness theorem: exactly one solution, every time. Now change the question. Instead of a starting value and slope, fix the value of at two different places, like a string tied down at both ends.
Boundary value problems don't have that guarantee, because the general solution's constants must satisfy conditions at two different places. Think of it this way: an initial condition sets the constants all at one spot, and the solution just runs from there. A boundary condition asks whether some solution that starts right also happens to land right at the far end, and sometimes the far end is out of reach.
For (general solution ):
- , : , . One solution.
- , : , and is anything. Infinitely many.
- , : would have to be both and . None.
Notice what goes wrong at . Both and have period , so at every solution is back where it started: , and has no say. The second condition either repeats the first (infinitely many solutions) or contradicts it (none).
A common mistake. It's tempting to think two conditions for two constants always give exactly one solution, because that's how it worked for initial value problems. It isn't so: the second and third cases above have two conditions and two constants, and still give infinitely many and none. What matters is whether the two conditions actually pin down different constants.
These are the problems that arise when a physical object (a string, a rod, a beam) is held at both ends. There's an animation further down that slides the right end and shows the solution bending harder and harder to reach it.
See it
Worked examples
Solve , , .
- 1
The general solution is , and the left end gives .
Practice
Type your answer and check it. Solve them all to complete the lesson.
Solve , , .
How many solutions does , , have?
How many solutions does , , have?
Solve , , .
Solve , , .
A cooling fin cm long has its base held above the air and its tip at air temperature. Its excess temperature satisfies with and . Find at the middle, .
The hardest one here. Get it, and you've got this lesson.
For which value of does , , have a solution at all? (For that , it has infinitely many.)
Where it's used
The sag of a cable between two poles, the temperature in a wall between two rooms and the deflection of a beam on two supports are boundary value problems.