Boundary layers and inner–outer expansions
Resolve a lost boundary condition on a stretched coordinate and verify a uniform error bound in an exact linear example.
On this page
The question for today
What you’ll understand
- Identify the order reduction that signals a singular boundary problem.
- Derive the layer width by balancing derivative terms.
- Check layer location and approximation error against an exact solution.
A small coefficient multiplying the highest derivative can disappear in the limiting equation, reducing its order. The reduced equation then cannot usually satisfy all the original boundary conditions. The missing condition is often restored in a narrow region where derivatives become large enough to compensate for the small coefficient. An outer approximation describes the slowly varying interior, while an inner approximation resolves that rapid region on a stretched coordinate. The layer's location follows from the decay direction of the inner equation, not from an arbitrary preference for the left endpoint.
The reduced equation has fewer conditions to satisfy
Study on the unit interval with values zero at the left and one at the right, for positive parameter. Setting the parameter to zero leaves , a first-order equation whose constant solution cannot meet both different endpoint values. This order reduction warns that a regular expansion across the whole closed interval is impossible. It does not tell us yet which endpoint supplies the layer or what width to use. Those follow by rescaling the complete equation.
Near a candidate left layer of width , write and assume an order-one change in the function across order-one inner coordinate. The second derivative term scales as and the first derivative as . Their balance requires . On this scale the small coefficient is no longer negligible. This conclusion uses the actual first-order derivative coefficient and the assumed order-one amplitude; different equations, turning coefficients, or smaller boundary mismatches can require different scalings.
Decay selects the endpoint and matching value
The inner equation has solutions equal to a constant plus a decaying exponential in . It can therefore approach a bounded outer constant as grows away from the left boundary. A similar coordinate measured inward from the right would give an exponentially growing mode for this sign of transport, making an order-one right layer incompatible with a bounded matching value. The right boundary consequently determines the outer constant one, and the left inner solution restores the zero value there.
The leading inner function is . It tends to one as the inner coordinate grows, consistent with the outer constant. This is a matching statement involving two different limiting descriptions: fixed positive position for the outer region and fixed stretched position for the inner region. The full function may approach one at every fixed interior point while retaining zero exactly at the boundary. Uniform convergence to that constant on the closed interval is therefore impossible.
Approximation domains must be checked
The outer constant is accurate away from the left layer but has error one at the left boundary. The inner exponential resolves distances comparable with the parameter and in this simple case also provides a uniformly accurate composite expression by itself. An overlap region satisfies both and , for example . There the inner function approaches its matching constant and the outer description remains meaningful. Choosing a coordinate without an overlap can produce incompatible local approximations.
Substitution into the equation and boundary data checks different aspects of an approximation. Here the proposed expression satisfies the differential equation exactly and one endpoint exactly, while the other endpoint mismatch is exponentially small. The exact comparison controls how that mismatch affects the whole solution. In a nonlinear or variable-coefficient problem, small boundary and equation residuals can be amplified; a uniform stability estimate is still needed to turn a formally matched construction into a quantitative theorem.
Work it through
Measure a resolved left layer
For , evaluate the leading inner approximation at and certify its worst absolute error on the unit interval.
At , the stretched coordinate is one, so the approximation is . This order-one transition would be missed by the outer constant alone.
The exact solution divides that value by . Its value is approximately .
For every position the difference is nonnegative and increases toward the right endpoint. The exact maximum is .
The layer approximation resolves the order-one boundary transition and has a uniform absolute error below 0.0000454 for this parameter.
The living notebook
Explore the model
Interactive lab · heat
Compare exponential decay lengths through an exact decay model
Reset and set both mode and diffusivity . After two Steps, time is one and the normalized amplitude is . Reset and set both ; after two Steps predict . The amplitude is the displayed spatial norm divided by . This illustrates exponential decay with a faster scale, but it is a periodic heat mode in time, not a solver for the spatial boundary-layer equation.
- Current amplitude
- 1
- Spatial L² norm
- 1.772
- Decay rate · κn²
- 3.6 /s
The exact periodic heat-equation mode is u(x,t) = exp(−κn²t) sin(nx), on [0,2π]. Playback advances physical time. The initial sine is shown separately, and the unnormalized L² norm is √π exp(−κn²t). This analytic instrument does not run a finite-difference solver or test discretization stability. Parameter changes pause playback and recompute the model at the current elapsed time. Reset restores both parameters and returns time to zero. Playback starts paused. Adjust either parameter, then choose Play or Step.
Look forA stretched variable keeps a rapidly decaying factor visible instead of replacing it prematurely by zero.
Pause & reason
Check your understanding
Your turn
Try it yourself
Change the equation to , retaining . Identify the layer endpoint and give a leading approximation with its exact maximum error.
Take a moment to make a prediction or work it out on paper. Open a hint when you need one.
Give me a hint
Use the coordinate measured inward from the right endpoint and compare with the exact exponential solution.
Compare with the solution
The layer is at the right endpoint and . The exact solution is . Their maximum absolute difference is , attained at the left endpoint. The sign change reverses the direction of the decaying inner mode.
Keep the idea
Take it with you
- Highest-derivative order reduction can prevent a global regular expansion.
- Balance derivatives to obtain the stretched coordinate and check decay direction.
- Uniform error bounds require an exact comparison or a separate stability proof.
Read further
Original sources and deeper explanations to follow at your own pace.
Optional progress, saved in this browser when available. Revisit any lesson at any time.
Lesson not marked complete.