Skip to content
QFT.org

Search QFT.org

Enter a word or phrase.

    You can also browse the main navigation and chapter contents.

    Boundary Layers and Matched Asymptotics

    How can a very small coefficient multiply a term that cannot be neglected? Consider steady transport with weak diffusion. In most of a sample, the drift term dominates. Near a boundary, however, the solution can change over such a short distance that its second derivative compensates for the small diffusion coefficient. Dropping that term everywhere loses one boundary condition and produces the wrong limit near the wall.

    We will construct the inner and outer solutions of one forced problem, match them through the first correction, and prove a uniform error estimate. Its exact solution lets us distinguish the accuracy of the function from the accuracy of its derivative.

    Preparation: Asymptotic expansions, elementary linear ODEs, and boundary-value Green functions.

    The reduced equation loses a boundary condition

    Study the dimensionless problem

    −εy′′(x)+y′(x)=x,0<x<1,y(0)=y(1)=0,-\varepsilon y''(x)+y'(x)=x,\qquad 0<x<1, \qquad y(0)=y(1)=0,

    with ε>0\varepsilon>0 and the limit ε→0+\varepsilon\to0^+. A dimensional drift-diffusion equation with diffusivity D>0D>0, speed v>0v>0, and sample length LL has the ratio ε=D/(vL)\varepsilon=D/(vL) after rescaling. The chosen source xx makes the first correction nontrivial while keeping the exact solution accessible.

    Setting ε=0\varepsilon=0 leaves y0′=xy_0'=x, a first-order equation. It cannot generally satisfy both endpoint conditions. To decide which one belongs to the outer solution, inspect the homogeneous fast mode:

    −εy′′+y′=0⟹y=C1+C2ex/ε.-\varepsilon y''+y'=0 \quad\Longrightarrow\quad y=C_1+C_2e^{x/\varepsilon}.

    Written as e(x−1)/εe^{(x-1)/\varepsilon}, this mode decays as one moves inward from x=1x=1. It can correct the right boundary without disturbing the bulk. A corresponding mode attached to x=0x=0 would grow into the interior. Thus we impose the left condition on the outer solution and resolve the right condition in a layer.

    This location follows from the sign of the drift. The model and sign analysis in Hunter, §§4.3–4.4, pp.55–60 (PDF) use the opposite sign package for the second derivative and exhibit the corresponding left-endpoint layer.

    Outer expansion: hold the original coordinate fixed

    Seek

    yout(x;ε)=y0(x)+εy1(x)+⋯y_{\mathrm{out}}(x;\varepsilon) =y_0(x)+\varepsilon y_1(x)+\cdots

    for fixed x<1x<1. Substitution gives

    y0′=x,y1′=y0′′=1.y_0'=x,\qquad y_1'=y_0''=1.

    Imposing y0(0)=y1(0)=0y_0(0)=y_1(0)=0 yields

    y0(x)=x22,y1(x)=x.y_0(x)=\frac{x^2}{2},\qquad y_1(x)=x.

    The outer solution approaches 1/21/2 at the right boundary, whereas the required value is zero. Its error there is order one for every ε\varepsilon. In particular, pointwise convergence at each fixed x<1x<1 cannot be uniform on the closed interval.

    The first outer correction is useful even though it does not fix this mismatch. In fact, x2/2+εxx^2/2+\varepsilon x already solves the inhomogeneous differential equation exactly. What it lacks is the fast homogeneous mode needed to satisfy both boundaries.

    Inner expansion: find the scale by balancing derivatives

    Let the layer width be ℓ(ε)\ell(\varepsilon) and write

    ξ=1−xℓ(ε),y(x)=Y(ξ).\xi=\frac{1-x}{\ell(\varepsilon)},\qquad y(x)=Y(\xi).

    Across an order-one change in YY, the second- and first-derivative terms have sizes ε/ℓ2\varepsilon/\ell^2 and 1/ℓ1/\ell. Their balance requires ℓ=ε\ell=\varepsilon. With this choice, the exact rescaled equation is

    −Yξξ−Yξ=ε−ε2ξ,Y(0)=0.-Y_{\xi\xi}-Y_\xi=\varepsilon-\varepsilon^2\xi, \qquad Y(0)=0.

    The other physical boundary lies at ξ=1/ε\xi=1/\varepsilon. An expansion constructed for fixed ξ\xi should not have that distant boundary imposed on it directly; information from the bulk enters through matching.

    Write Y=Y0+εY1+⋯Y=Y_0+\varepsilon Y_1+\cdots. The leading equation is

    Y0′′+Y0′=0,Y0(0)=0,Y_0''+Y_0'=0,\qquad Y_0(0)=0,

    so Y0=C(1−e−ξ)Y_0=C(1-e^{-\xi}). To determine CC, move toward the overlap: ξ→∞\xi\to\infty while 1−x=εξ→01-x=\varepsilon\xi\to0. The outer leading term tends to 1/21/2, hence

    Y0(ξ)=12(1−e−ξ).\boxed{Y_0(\xi)=\frac12(1-e^{-\xi}).}

    The simultaneous conditions defining the overlap are

    1≪ξ≪ε−1,equivalentlyε≪1−x≪1.1\ll\xi\ll\varepsilon^{-1}, \qquad\text{equivalently}\qquad \varepsilon\ll1-x\ll1.

    They specify a region, not a single matching point. For example, 1−x=εα1-x=\varepsilon^\alpha with fixed 0<α<10<\alpha<1 approaches the right boundary on a scale larger than the layer width.

    Match the first correction before making a composite

    At the next order,

    Y1′′+Y1′=−1,Y1(0)=0.Y_1''+Y_1'=-1,\qquad Y_1(0)=0.

    Its general solution satisfying the boundary value is

    Y1(ξ)=C(1−e−ξ)−ξ.Y_1(\xi)=C(1-e^{-\xi})-\xi.

    To find the remaining constant, expand the outer solution in inner coordinates:

    yout(1−εξ;ε)=(1−εξ)22+ε(1−εξ)=12+ε(1−ξ)+ε2(ξ22−ξ).\begin{aligned} y_{\mathrm{out}}(1-\varepsilon\xi;\varepsilon) &=\frac{(1-\varepsilon\xi)^2}{2} +\varepsilon(1-\varepsilon\xi)\\ &=\frac12+\varepsilon(1-\xi) +\varepsilon^2\left(\frac{\xi^2}{2}-\xi\right). \end{aligned}

    The nondecaying terms of Y0+εY1Y_0+\varepsilon Y_1 must agree through the retained order. Therefore C=1C=1, and

    Y1(ξ)=1−ξ−e−ξ.Y_1(\xi)=1-\xi-e^{-\xi}.

    The common part through first order is 1/2+ε(1−ξ)1/2+\varepsilon(1-\xi). It includes a term linear in ξ\xi: matching only the constant limits would miss it. These are expansions in their respective regimes, so this polynomial identity does not assert that a fixed-ξ\xi remainder remains O(ε2)O(\varepsilon^2) all the way to ξ=1/ε\xi=1/\varepsilon.

    A composite approximation adds the two descriptions and subtracts their common part. At leading order,

    C0(x;ε)=x22−12e(x−1)/ε.C_0(x;\varepsilon) =\frac{x^2}{2}-\frac12e^{(x-1)/\varepsilon}.

    Through the first correction it is

    C1(x;ε)=x22+εx−(12+ε)e(x−1)/ε.\boxed{C_1(x;\varepsilon) =\frac{x^2}{2}+\varepsilon x -\left(\frac12+\varepsilon\right)e^{(x-1)/\varepsilon}.}

    Near the boundary the outer piece cancels the common part, leaving the inner behavior. Away from it the decaying inner correction disappears, leaving the outer behavior. This construction follows the overlap-subtraction method in Hunter, §§4.3.4–4.3.5, p.58 (PDF). Its accuracy still needs an estimate; matching by itself is not one.

    Two stacked plots. At epsilon 0.05, the outer parabola fails at the right boundary while the exact solution and leading composite turn toward zero. In the stretched coordinate, exact profiles for epsilon 0.1, 0.05, and 0.025 approach the leading inner profile.

    The upper panel compares the function on the full interval at ε=0.05\varepsilon=0.05. The lower panel holds ξ=(1−x)/ε\xi=(1-x)/\varepsilon fixed and shows convergence to Y0(ξ)=(1−e−ξ)/2Y_0(\xi)=(1-e^{-\xi})/2. The curves use the exact solution below; the first corrected composite is omitted because its function error is already about 10−910^{-9} at the upper panel's parameter value.

    The exact solution gives uniform error bounds

    Define

    δ=e−1/ε,r=e(x−1)/ε,A=12+ε.\delta=e^{-1/\varepsilon},\qquad r=e^{(x-1)/\varepsilon},\qquad A=\frac12+\varepsilon.

    Adding the homogeneous solutions to the particular solution and imposing both boundary values gives

    y(x;ε)=x22+εx−Ar−δ1−δ.\boxed{y(x;\varepsilon) =\frac{x^2}{2}+\varepsilon x -A\frac{r-\delta}{1-\delta}.}

    Both exponentials lie in [0,1][0,1] on the interval. This form also avoids the large intermediate e1/εe^{1/\varepsilon} that would arise from solving for the coefficient of ex/εe^{x/\varepsilon} directly.

    Subtracting the first composite produces

    y−C1=Aδ1−r1−δ.y-C_1=A\delta\frac{1-r}{1-\delta}.

    Since δ≤r≤1\delta\le r\le1, its maximum is attained at x=0x=0. Therefore the error is exactly

    ∥y−C1∥∞=(12+ε)e−1/ε,∥f∥∞=max⁡0≤x≤1∣f(x)∣.\boxed{\|y-C_1\|_\infty =\left(\frac12+\varepsilon\right)e^{-1/\varepsilon},} \qquad \|f\|_\infty=\max_{0\le x\le1}|f(x)|.

    This stronger-than-algebraic result is special to the chosen polynomial forcing: the first outer correction happens to terminate the inhomogeneous equation.

    For the leading composite,

    y−C0=ε(x−r)+Aδ1−r1−δ.y-C_0=\varepsilon(x-r) +A\delta\frac{1-r}{1-\delta}.

    It follows immediately that

    ∥y−C0∥∞≤ε+Aδ=O(ε).\|y-C_0\|_\infty\le\varepsilon+A\delta=O(\varepsilon).

    The error really is of order ε\varepsilon, rather than merely bounded by it. Evaluate at x=1−εx=1-\sqrt\varepsilon: then x→1x\to1 and r=e−1/ε→0r=e^{-1/\sqrt\varepsilon}\to0, so (y−C0)/ε→1(y-C_0)/\varepsilon\to1. Together with the upper bound this proves

    ∥y−C0∥∞ε⟶1.\frac{\|y-C_0\|_\infty}{\varepsilon}\longrightarrow1.

    A numerical comparison makes the two error scales visible:

    ε\varepsilon∥y−C0∥∞\lVert y-C_0\rVert_\infty∥y−C1∥∞\lVert y-C_1\rVert_\infty
    0.10.16.700×10−26.700\times10^{-2}2.724×10−52.724\times10^{-5}
    0.050.054.001×10−24.001\times10^{-2}1.134×10−91.134\times10^{-9}
    0.0250.0252.207×10−22.207\times10^{-2}2.230×10−182.230\times10^{-18}
    0.01250.01251.166×10−21.166\times10^{-2}9.250×10−369.250\times10^{-36}

    The exponentially small column comes from the proved error formula, checked with high-precision subtraction. Ordinary double-precision subtraction of two order-one functions cannot resolve the last entries reliably.

    A small function error does not control every observable

    Differentiation amplifies a rapidly varying layer. From the error identity,

    (y′−C0′)∣x=1=ε−1−Aδε(1−δ)⟶−1.\left.(y'-C_0')\right|_{x=1} =\varepsilon-1 -\frac{A\delta}{\varepsilon(1-\delta)} \longrightarrow-1.

    Thus C0C_0 converges uniformly as a function but does not converge in the norm that also measures its unweighted first derivative. Fluxes, stresses, and other derivative observables need their own estimates. The leading solution itself has a derivative of order 1/ε1/\varepsilon in the layer, consistent with an order-one change over a distance of order ε\varepsilon.

    Boundary data also matter independently of the differential residual. Both C1C_1 and the exact solution satisfy the same differential equation, yet C1(0)=−AδC_1(0)=-A\delta. An arbitrary multiple of e(x−1)/εe^{(x-1)/\varepsilon} has zero differential residual and can create an order-one error at the right boundary.

    For this operator one can turn residual and boundary errors into a uniform estimate. Put

    Lε=−εd2dx2+ddx.L_\varepsilon=-\varepsilon\frac{d^2}{dx^2}+\frac{d}{dx}.

    If Lεw=RL_\varepsilon w=R, ∥R∥∞≤ρ\|R\|_\infty\le\rho, and both endpoint magnitudes of ww are at most bb, then

    ∥w∥∞≤b+ρ.\boxed{\|w\|_\infty\le b+\rho.}

    To prove it, the functions z±=b+ρx±wz_\pm=b+\rho x\pm w have nonnegative boundary values and Lεz±≥0L_\varepsilon z_\pm\ge0. The one-dimensional maximum principle gives z±≥0z_\pm\ge0. One direct proof uses

    Lεz≥0⟹(e−x/εz′)′≤0.L_\varepsilon z\ge0 \quad\Longrightarrow\quad \left(e^{-x/\varepsilon}z'\right)'\le0.

    If zz had a negative interior minimum, its derivative would vanish there and could not become positive to its right, contradicting the nonnegative right boundary value. Thus ∣w(x)∣≤b+ρx≤b+ρ|w(x)|\le b+\rho x\le b+\rho. The constant is independent of ε\varepsilon on this unit interval.

    This estimate explains why the residual and the boundary mismatch together can certify the approximation here. For more general operators, stability constants may depend on the small parameter; a small residual alone is then even less informative.

    Summary

    A small highest-derivative coefficient reduces the outer equation's order and can lose boundary information. Dominant balance identifies the layer width, overlap matching fixes the inner constants, and subtracting the common part produces a composite solution. In the forced example the leading composite has a uniform O(ε)O(\varepsilon) function error, while the first correction leaves only an exponentially small boundary mismatch. Derivative observables and stability estimates remain separate parts of the analysis.

    Exercises

    1. Try placing the layer at the wrong end

    Impose the right boundary on the leading outer solution, and attempt to correct the left boundary using η=x/ε\eta=x/\varepsilon. Show why bounded matching is impossible.

    Solution

    The outer equation gives y0=(x2−1)/2y_0=(x^2-1)/2, whose value near the left endpoint is −1/2-1/2. With x=εηx=\varepsilon\eta, the leading inner equation is

    −Y0′′+Y0′=0,Y0=A+Beη.-Y_0''+Y_0'=0, \qquad Y_0=A+B e^\eta.

    A finite limit as η→∞\eta\to\infty requires B=0B=0. The left boundary condition then requires A=0A=0, but matching requires A=−1/2A=-1/2. These are incompatible. Allowing B≠0B\ne0 makes the correction grow into the interior and cannot match a finite outer value. The drift sign selects the other endpoint.

    2. Resolve the steep derivative

    Find the leading behavior of y′(1)y'(1) and the limiting integrated derivative across [1−cε,1][1-c\varepsilon,1], for fixed c>0c>0 and sufficiently small ε\varepsilon.

    Solution

    Differentiating the exact solution gives

    y′(x)=x+ε−Aε(1−δ)e(x−1)/ε.y'(x)=x+\varepsilon -\frac{A}{\varepsilon(1-\delta)}e^{(x-1)/\varepsilon}.

    Therefore y′(1)∼−1/(2ε)y'(1)\sim-1/(2\varepsilon). The integrated derivative is exactly the endpoint difference,

    ∫1−cε1y′(x)dx=y(1)−y(1−cε)⟶−12(1−e−c).\int_{1-c\varepsilon}^1y'(x)dx =y(1)-y(1-c\varepsilon) \longrightarrow-\frac12(1-e^{-c}).

    The large derivative over a shrinking interval gives a finite change in the function. Sending c→∞c\to\infty after this inner limit recovers the full leading drop −1/2-1/2 from the outer edge to the wall.

    3. Replace the source by a smooth function

    Let Lεy=f(x)L_\varepsilon y=f(x) with the same zero boundary values and f∈C1([0,1])f\in C^1([0,1]). Set F(x)=∫0xf(s)dsF(x)=\int_0^x f(s)ds. Construct a leading composite and prove a uniform error bound without finding the exact solution.

    Solution

    The outer solution is F(x)F(x). Its mismatch at x=1x=1 is F(1)F(1), so the decaying homogeneous mode gives

    C(x)=F(x)−F(1)e(x−1)/ε.C(x)=F(x)-F(1)e^{(x-1)/\varepsilon}.

    It satisfies C(1)=0C(1)=0, while C(0)=−F(1)e−1/εC(0)=-F(1)e^{-1/\varepsilon}. Since the exponential is homogeneous,

    LεC=f−εf′.L_\varepsilon C=f-\varepsilon f'.

    For w=y−Cw=y-C, the residual is εf′\varepsilon f' and the largest boundary mismatch is ∣F(1)∣e−1/ε|F(1)|e^{-1/\varepsilon}. The preceding stability estimate yields

    ∥y−C∥∞≤ε∥f′∥∞+∣F(1)∣e−1/ε.\|y-C\|_\infty \le\varepsilon\|f'\|_\infty +|F(1)|e^{-1/\varepsilon}.

    The first outer correction, if desired, solves y1′=f′y_1'=f' with y1(0)=0y_1(0)=0, so y1=f(x)−f(0)y_1=f(x)-f(0). If F(1)=0F(1)=0, there is no order-one leading boundary mismatch; the presence of a small highest-derivative coefficient does not force a nonzero layer amplitude for every choice of data.

    References

    • John K. Hunter, Asymptotic Analysis and Singular Perturbation Theory, February 2004, author's PDF, §§4.3.1–4.3.6, pp.55–59, for outer and inner limits, dominant balance, overlap matching, and a uniform composite; §4.4, pp.59–60, for the dependence of layer location on the drift coefficient.

    Scrollable formula. Use Left and Right arrow keys to reveal hidden content.

    Scrollable table. Use Left and Right arrow keys to reveal hidden columns.

    Scrollable figure. Use Left and Right arrow keys to reveal hidden content.