advanced30 min studyLesson 434 in Mathematics

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

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 εu′′+u′=0\varepsilon u''+u'=0 on the unit interval with values zero at the left and one at the right, for positive parameter. Setting the parameter to zero leaves u′=0u'=0, 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 δ\delta, write x=δXx=\delta X and assume an order-one change in the function across order-one inner coordinate. The second derivative term scales as ε/δ2\varepsilon/\delta^2 and the first derivative as 1/δ1/\delta. Their balance requires δ=ε\delta=\varepsilon. 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.

x=εX,u(x)=U(X),εu′′+u′=ε−1(UXX+UX)=0x=\varepsilon X,\qquad u(x)=U(X),\qquad \varepsilon u''+u'=\varepsilon^{-1}(U_{XX}+U_X)=0
The layer coordinate balances both derivative terms. The transformed equation retains the order lost by the outer reduction.↔ Scroll wide equations horizontally.

Decay selects the endpoint and matching value

The inner equation has solutions equal to a constant plus a decaying exponential in XX. It can therefore approach a bounded outer constant as XX 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 1−e−X1-e^{-X}. 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.

uexact(x)=1−e−x/ε1−e−1/ε,uapp(x)=1−e−x/ε,∥uexact−uapp∥L∞[0,1]=e−1/εu_{\mathrm{exact}}(x)=\frac{1-e^{-x/\varepsilon}}{1-e^{-1/\varepsilon}},\qquad u_{\mathrm{app}}(x)=1-e^{-x/\varepsilon},\qquad \|u_{\mathrm{exact}}-u_{\mathrm{app}}\|_{L^\infty[0,1]}=e^{-1/\varepsilon}
For this particular constant-coefficient problem, the exact formula proves a uniform exponentially small error, with its maximum at the right endpoint. Such a bound is not automatic for general boundary layers.↔ Scroll wide equations horizontally.

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 x→0x\to0 and x/ε→∞x/\varepsilon\to\infty, for example x=εx=\sqrt\varepsilon. 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.

Measure a resolved left layer

For ε=0.1\varepsilon=0.1, evaluate the leading inner approximation at x=εx=\varepsilon and certify its worst absolute error on the unit interval.

  1. At x=εx=\varepsilon, the stretched coordinate is one, so the approximation is 1−e−1≈0.63212055881-e^{-1}\approx0.6321205588. This order-one transition would be missed by the outer constant alone.

  2. The exact solution divides that value by 1−e−101-e^{-10}. Its value is approximately 0.63214925840.6321492584.

  3. For every position the difference is nonnegative and increases toward the right endpoint. The exact maximum is e−10≈0.00004539993e^{-10}\approx0.00004539993.

The result

The layer approximation resolves the order-one boundary transition and has a uniform absolute error below 0.0000454 for this parameter.

Explore the model

Interactive lab

Interactive lab · heat

Compare exponential decay lengths through an exact decay model

Reset and set both mode n=1n=1 and diffusivity κ=1\kappa=1. After two Steps, time is one and the normalized amplitude is e−1e^{-1}. Reset and set both n=2,κ=1n=2,\kappa=1; after two Steps predict e−4e^{-4}. The amplitude is the displayed spatial norm divided by π\sqrt\pi. 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.

Compare exponential decay lengths through an exact decay modelThe 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. Current readings: Current amplitude: 1; Spatial L² norm: 1.772; Decay rate · κn²: 3.6 /s. All parameters are adjustable with the labeled controls below.Periodic heat equation mode 3 at time 0: the amplitude is 1.0π/2π3π/22π−1−0.500.51x · periodic intervalTemperature perturbation uExact mode · n = 3
Current temperature modeInitial sineCurrent amplitude
Current amplitude
1
Spatial L² norm
1.772
Decay rate · κn²
3.6 /s
t = 0 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.

Check your understanding

For εu″ + u′ = 0 with different endpoint values and ε > 0, what is the boundary-layer width selected by derivative balance?

Try it yourself

Change the equation to εu′′−u′=0\varepsilon u''-u'=0, retaining u(0)=0,u(1)=1u(0)=0,u(1)=1. 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 uapp=e(x−1)/εu_{\mathrm{app}}=e^{(x-1)/\varepsilon}. The exact solution is [e(x−1)/ε−e−1/ε]/[1−e−1/ε][e^{(x-1)/\varepsilon}-e^{-1/\varepsilon}]/[1-e^{-1/\varepsilon}]. Their maximum absolute difference is e−1/εe^{-1/\varepsilon}, attained at the left endpoint. The sign change reverses the direction of the decaying inner mode.

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.