Definition · advanced
Weak derivatives and Sobolev spaces
Adapted
Defines the weak derivative of a locally integrable function, the Sobolev spaces and built from it, and the weak formulation of the Poisson problem, and shows that a smooth weak solution is a classical one.
Prerequisites: L^p spaces, Test functions and distributions, Hilbert spaces, Green's identities
Let be open. Write
for the locally integrable functions, and for the smooth functions whose support is a compact subset of — the test functions of test functions and distributions.
Let be a multi-index, , and . Given , a function is the th weak derivative of , written , if
If no such exists, has no th weak derivative. The motivation is that (W) is the identity that repeated integration by parts gives when : the compact support of kills every boundary term, so the formula survives with the derivatives on alone, and that side of it asks nothing of beyond local integrability.
Stakgold and Holst write the same definition, and both they and Evans call the resulting the weak or distributional derivative. The two words are justified: (W) says exactly that the distribution is the distribution , where . The weak derivative is therefore the special case of the distributional derivative in which the answer happens again to be a function. The delta is the standard example where it is not.
Let .
- Uniqueness. If and both satisfy (W) for the same , then almost everywhere. So is determined as an element of , that is, up to a null set.
- Consistency. If and , then the classical is also the weak one. Hence the notation is unambiguous.
Both are needed before the symbol may be used at all; Stakgold and Holst record them in the same breath as the definition, and set the first as their Exercise 2.6.1.
Part 2 is the integration by parts that motivated the definition. Part 1 reduces to a single fact: a locally integrable function that is orthogonal to every test function vanishes almost everywhere. That fact is itself proved by smoothing — a test function concentrated near a point reports the local average of there, and averages at all small scales determine off a null set.
Step 1 (the vanishing lemma). Let satisfy for every . Then almost everywhere.
Fix a mollifier: a function with , support in the unit ball and , and set . Let be open with compact, and let . For the function lies in , because its support is the closed ball of radius about , which is a compact subset of by the choice of . The hypothesis, applied to that test function, gives
On the other hand for a slightly larger , and mollification converges in : in as . The limit of the zero function is zero, so almost everywhere on . Exhausting by countably many such — for instance — gives almost everywhere on .
Step 2 (uniqueness). Subtract the two instances of (W). The left-hand sides are identical, so
after dividing by . Step 1 with gives almost everywhere.
Step 3 (consistency). Let , and . Choose an open with smooth boundary such that and compact. On both and are , so one integration by parts in the variable gives
for any function , and the boundary integral vanishes whenever vanishes near . Starting from and iterating times — at each stage the function playing the role of is a derivative of , hence still supported in , so every boundary term is zero — produces
which is (W) with the classical derivative. Both and are continuous, hence locally integrable, so is an admissible candidate, and by Step 2 it is the only one.
Fix an integer and . The Sobolev space consists of those whose weak derivative exists and lies in for every with ; this includes , so as well. Its norm is
As always in spaces, functions equal almost everywhere are identified. Stakgold and Holst define the same space by requiring and for , which is the same condition written differently.
For one writes , the letter recording that this one is a Hilbert space. The case of interest here is :
where is the vector of first weak derivatives, so that . The second piece alone,
is the Dirichlet seminorm; it is only a seminorm, since it vanishes on constants.
Finally, is the closure of in the norm of : a function lies in exactly when there are with . Evans defines this way for all and notes that it is to be read as the condition " on for ", a reading made precise only by the theory of traces, which is not developed here. For our purposes is the definition of " and on "; no pointwise meaning is attached to the boundary values of an function.
is an inner product on , and is complete in the induced norm. Hence is a Hilbert space, and so is the closed subspace .
Completeness is inherited from , one derivative at a time. A Cauchy sequence in is Cauchy in in each of its slots, so each slot has a limit; the only thing to check is that the limits of the derivatives really are the derivatives of the limit, and that is read off by passing to the limit in the defining identity (W), whose two sides are continuous in the norm.
Bilinearity and symmetry are immediate, and forces in , so the form is an inner product.
For completeness, let be Cauchy in . Then and each are Cauchy in , because each of those norms is dominated by the norm. By the completeness of (the Riesz–Fischer theorem of spaces) there are with and in .
It remains to identify as the weak derivative of . Fix . Each lies in , so
Both sides converge: by the Cauchy–Schwarz inequality, , and similarly on the right with in place of . (Here and are in because they are bounded with compact support.) In the limit,
which is (W) for . So , hence and . (This is the route of Evans's proof that is complete, specialised to , and written out for the identification step.)
A closed subspace of a complete space is complete, and is closed by construction, being a closure.
Let be open and bounded and let . Define the bilinear form and the linear functional
A function is a weak solution of the Dirichlet problem
if and
Three remarks on the formulation.
- Both integrals in (P) converge absolutely for and , by the Cauchy–Schwarz inequality; so the definition asks nothing that is not finite.
- It is enough to test against : that set is dense in by definition, and both sides of (P) are continuous in for the norm. For the resulting identity says precisely that in the sense of distributions, which is the formulation Stakgold and Holst take as primary.
- The membership carries the boundary condition, and (P) carries the equation. Evans makes exactly this split, and chooses for that reason.
This is Evans's definition with and ; the general second-order divergence-form operator is treated in the Lax–Milgram theorem and the Dirichlet problem, which is also where (P) is shown to have exactly one solution.
Let be open and bounded and let .
- If satisfies at every point of , then is a weak solution of (P).
- Conversely, if is in addition continuous on , and if is a weak solution of (P) with , then at every point of .
Only what the proof uses is assumed. Both halves are interior arguments that never approach , so nothing is asked of the boundary and no pointwise boundary values appear: the boundary condition enters solely through the membership , which is how (P) carries it. Continuity of is needed only in part 2, where a pointwise equation has to be recovered from an integral one.
Stakgold and Holst prove both halves for a general linear operator of order with smooth coefficients and a continuous right-hand side: a classical solution is weak, and a weak solution with continuous derivatives is classical. The statement above is that theorem for , with their hypothesis " has continuous derivatives" read as , and with the continuity of the right-hand side dropped from part 1, which does not use it; (P) asks only . The caveat in part 1 — that must be assumed to lie in , rather than merely to vanish on — is also ours; the distributional formulation that Stakgold and Holst work with does not mention the space, whereas the formulation (P) does.
Both directions are the same integration by parts, read in opposite senses. Forwards, multiply the equation by a test function and move one derivative across; the boundary term dies because the test function has compact support. Backwards, move the derivative back, which is allowed because is now assumed twice differentiable; what is left is the statement that the continuous function integrates to zero against every test function, and the only continuous function that does that is zero — otherwise, put a bump where it is positive.
Part 1. Let and let be open with and compact. On the function is , so Green's first identity (Green's identities) gives
and the boundary integral vanishes because is identically zero near . Since pointwise and both integrands vanish off , this reads . Both and are bounded linear functionals on — again by Cauchy–Schwarz, and — and they agree on the dense set , so they agree on all of . With by hypothesis, is a weak solution.
Part 2. Let be a weak solution lying in , and let . Running the display above in reverse — the identity holds for any function on , whatever equation it satisfies — turns into
Put , a continuous function on . Suppose for some ; replacing by if necessary, assume . By continuity there is a ball with on which . Take
the standard bump: it is smooth, supported in , and strictly positive on . Then , contradicting the display. Hence , that is, throughout .
- Local integrability of in (W). Without it, the right-hand side of (W) need not be defined, and the definition would silently become the distributional one. Many ordinary functions have no weak derivative at all: the Heaviside step on satisfies , so (W) would force for every , which no locally integrable can do — take bumps shrinking to the origin with and , so that by dominated convergence while stays at . Its distributional derivative exists and is . So for any , and the jump is exactly the obstruction.
- Compact support of the test functions. This is what kills every boundary term in Step 3 of the first proof, and it is why (W) says nothing whatever about the behaviour of near . The boundary condition must therefore be imposed separately, and is how it is done.
- regularity in Part 2 above. Only with two classical derivatives may the integration by parts be run backwards; without them the symbol has no meaning and the conclusion cannot even be stated. The hypothesis is a genuine restriction and not a formality, because a weak solution need not have two derivatives. On take , which lies in , and
This is Lipschitz and vanishes at , so its truncations have compact support in and converge to it in , putting ; and away from the origin. Integrating by parts separately on and therefore gives for every : the two boundary terms at the origin are and cancel, because is continuous there. By the density remark under (P), is a weak solution of (P). But has a corner at , so does not exist and there is no pointwise equation at the origin. Such a witness must also have a discontinuous : in one dimension a weak solution with continuous is automatically , since then has weak derivative and so agrees almost everywhere with the function . That a weak solution of (P) is in fact smooth when and are — elliptic regularity — is a separate theorem, and it is false for hyperbolic equations, which is the deeper reason the weak theory is worth having.
- Boundedness of . None of the arguments above uses it; it stands in the weak formulation only because that is where it starts to matter. In particular it is not needed for the inclusion , which holds for every open , by Cauchy–Schwarz on compactly contained sets, these having finite measure. Boundedness is essential in the Lax–Milgram theorem and the Dirichlet problem: the Poincaré inequality, and with it the coercivity of , needs to be confined in at least one direction. On the form is not coercive on , and (P) with has only the zero solution for a different reason.
- Weak derivatives are not local limits. A function can lie in and still be unbounded on every open set, as Evans shows by superposing the singularities over a sequence dense in the unit ball (his Example 4, p. 246). His construction needs , so for it is available only in dimension . Membership of a Sobolev space buys integrability of derivatives, not pointwise good behaviour.
- Multiply and integrate. Multiply the equation by a test function and integrate over .
- Integrate by parts to move derivatives off the unknown and onto , usually until both carry the same number. For a second-order equation in divergence form, becomes minus a boundary integral.
- Sort the boundary data. A condition that appears in the surviving boundary integral (a prescribed flux, a Neumann or Robin condition) is natural: substitute it and keep the integral. A condition on itself (Dirichlet) is essential: it cannot be substituted, and must instead be built into the space of competitors.
- Choose the space . Take the largest space in which every remaining integral is finite — for a second-order problem, — and cut it down by the essential conditions. Homogeneous Dirichlet data on all of give .
- Name the pieces. Write the result as for all , with bilinear and linear.
- Check the two bounds. Verify and . Together with coercivity, these are exactly the hypotheses of the Lax–Milgram theorem, which then supplies a unique solution.
- Inhomogeneous Dirichlet data are reduced to homogeneous ones: find any taking the prescribed boundary values and solve for , moving to the right-hand side. Evans describes this reduction on p. 297.
Step 3 explains an asymmetry that often puzzles a first reader. Stakgold and Holst carry it out for the mixed problem with on and on the complementary piece . After the integration by parts the surface integral survives; the competitors vanish on , which deletes that part of it, and on the rest the boundary condition is substituted, sending to the right-hand side and into the form. Nothing whatever is imposed on the competitors over .
For (P) with Dirichlet data replaced by Neumann data — , , empty, on all of — this reads
with the whole of as the space: the boundary data have been absorbed into the right-hand side. Evans poses the homogeneous case of exactly this formulation, with the same test space , as his Problem 4 (p. 344). The price is visible in the display: taking gives the compatibility condition , necessary for a solution to exist; and a solution is never unique, since adding a constant to changes neither side of the display. The form is accordingly not coercive on — constants have zero Dirichlet energy — so the Neumann problem is not merely the Dirichlet problem with a larger space; it is the absence of an essential condition, not the surface term, that makes it harder. This absorption of the data is the same phenomenon as the natural boundary conditions of the calculus of variations (natural boundary conditions) — and it is the same calculation, since is the first variation of a quadratic functional.
Let be the open unit disc in , and let be the radial slit along the positive -axis. Using polar coordinates with the angle taken in the range (so that is smooth on ), define
Equivalently , with the branch cut taken along . This is the model singularity of a crack tip or a re-entrant corner.
-
It is continuous, and vanishes on the slit. As and as , and respectively, so extends continuously by across and by at the origin. It is smooth on .
-
Its classical gradient. In the orthonormal polar frame,
- That gradient is the weak gradient on all of . Call the field in step 2 ; it is defined off , a null set. Let and write , on which is smooth up to the boundary. The divergence theorem gives
The boundary has three parts. On the outer circle . On the two faces of the slit , by step 1 — this is the crucial point, and it is why no jump term appears. On the circle , the integrand is bounded by and the length is , so that piece is . Meanwhile and (step 4), so the integrals over tend to zero. Letting gives (W) for : the weak gradient of on is .
- The norms, in closed form. With ,
The second integral is the one worth pausing over: the integrand blows up like , but the area element contributes a factor , and converges. Hence
(The second number agrees with the golden ratio to five figures and no further; the coincidence is empty.)
- But . Writing with , the Cauchy–Riemann equations give and . Since ,
One power of has been lost and the integral now diverges. So has first weak derivatives in and no second ones.
- What equation it solves. is harmonic on , being the imaginary part of a holomorphic function there, so it is a weak solution of Laplace's equation on the slit disc. On the whole disc it is not: repeating the computation of step 3 with in place of , the two faces of the slit now contribute, because the outward normal derivative equals on each face, and
So , as a distribution on , is a layer supported on the slit. Changing the domain changed the problem — which is the content of step 3 of the method above.
The moral for computation: the solution of a Dirichlet problem on a domain with a re-entrant corner of interior angle behaves like there, here and the exponent . It is in the energy space, so the weak theory applies without apology, but a finite element method that assumes extra smoothness will converge slowly unless the mesh is refined at the corner.
The finite element method. Equation (P) is the starting point of every finite element code. One replaces by a finite-dimensional subspace — typically continuous functions that are polynomials on each triangle of a mesh, which lie in precisely because continuity across the faces is enough to prevent a jump term in the weak derivative, exactly as in step 3 of the example — and solves for all . That is a linear system in the coefficients of , with a sparse, symmetric, positive definite matrix. See the finite element method and, for the variational ancestor of the same idea, the Rayleigh–Ritz method.
Why engineering problems are posed weakly in the first place. A composite material has a discontinuous conductivity or permittivity; across the interface is continuous but is not, so no classical solution exists even for perfectly smooth data. The weak formulation never differentiates , accepts , and recovers the interface conditions — continuity of and of the normal component of — as consequences rather than hypotheses.
Energy. For the Poisson problem is twice the Dirichlet energy, and is the space on which that energy is finite. That is not a coincidence of notation: the conserved quantity of energy and uniqueness for the wave equation is the squared -type norm of the solution, and the estimates of energy estimates and well-posedness are statements about curves in these spaces. Physically, admitting every finite-energy configuration — rather than only the smooth ones — is what makes the variational principle have a minimiser.
Quantum mechanics. The expectation of the kinetic energy of a state is , finite exactly when . This is the form domain of the Hamiltonian, the natural home for the variational estimates of ground-state energies, and the reason that Sobolev inequalities control how singular an attractive potential may be before a system collapses (the framework of quantum mechanics).