Choose the Sobolev space encoding the homogeneous essential boundary conditions, set
after the appropriate integration by parts, and define the energy functional
Its first variation is , so its stationary points are exactly the solutions of the weak formulation
If is bounded, symmetric, and coercive and , the Lax-Milgram theorem supplies a unique weak solution . Moreover, for every ,
unless . Thus is strictly convex, and is its unique global minimizer. This proves existence and uniqueness of the minimizer and of the weak solution simultaneously.
Choose a cutoff function supported in , equal to one on , and satisfying . Use as a test function in the weak formulation:
The Cauchy-Schwarz inequality followed by Young inequality gives
and hence
This is the Caccioppoli inequality. The numerical constant is convention-dependent and is normally absorbed into the displayed estimate; replacing the radii by fixed intermediate radii gives the stated form with one universal constant.
Assume with , with , and . The natural energy space is the Sobolev space . Multiplying
by and using integration by parts gives the weak formulation
where
The form is bounded, and the Poincaré inequality together with makes it coercive:
The functional is bounded by the Cauchy-Schwarz inequality. The Lax-Milgram theorem therefore gives a unique weak solution.
Define the energy
If is the weak solution, then for every ,
Thus is the unique minimizer of . Conversely, differentiating at recovers , so the minimization and weak problems are equivalent.
The Ritz method chooses a finite-dimensional conforming space and minimizes over . Its minimizer satisfies
For a basis this becomes , with
Coercivity makes the stiffness matrix symmetric positive definite, so the discrete minimizer exists and is unique.
Subtracting the continuous and discrete equations gives Galerkin orthogonality,
In the energy norm , for any ,
After cancellation and minimization over , this proves the sharp symmetric form of the Céa lemma:
For a mesh , take to be the continuous functions that are affine on each interval and vanish at the endpoints. The interior piecewise-linear hat functions form a basis, and each overlaps only its two neighbours, so is symmetric tridiagonal. In the illustrative case and on a uniform mesh, its diagonal and neighbouring entries are
If , its nodal interpolant satisfies . The best-approximation estimate therefore gives , and a standard duality argument improves the error to under the corresponding elliptic regularity. This completes the route from the boundary-value problem through its variational principle to a sparse, stable finite-element approximation.
Multiply the differential equation by and integrate. The Hardy inequality on an interval makes the terms containing and integrable. For smooth , integration by parts gives
because and the Neumann boundary condition is . Therefore
The density of smooth functions in a Sobolev space and continuity of all four terms extend this weak formulation to every .
For compactly supported smooth variations , differentiating at gives
This is the weak formulation. Taking or separates its two equations. When are smooth, integration by parts transfers each derivative from the test function; the fundamental lemma of the calculus of variations then recovers exactly the two pointwise equations in part (a).
Define the energy
Its first variation in direction is
Thus its minimizer satisfies the weak formulation
which is the weak equation . Positive definiteness makes strictly convex, so this stationary point is the unique minimizer; under uniform positivity of , existence follows from the Lax-Milgram theorem.
Write . If is a classical solution, multiply by a smooth function and apply the divergence theorem. The Neumann boundary condition removes the boundary term and gives
The density of smooth functions in a Sobolev space and boundedness of the coefficients extend this identity to every , so is a weak solution.
Conversely, take to be a test function compactly supported in . The weak formulation says
The fundamental lemma of the calculus of variations gives the equation in . Under the regularity implicit in the stated notion of a classical solution, it holds pointwise. Applying integration by parts again with arbitrary leaves
where is the trace operator. Traces of smooth functions can be chosen arbitrarily on the boundary, so the boundary fundamental lemma of the calculus of variations gives . Thus is a classical solution.
Testing the weak formulation with the constant function proves the necessary compatibility condition
Assume first that is connected and this condition holds. On the mean-zero Sobolev space
use the norm . To prove the needed Poincare-Wirtinger inequality, suppose it failed. There would be with and . The Rellich-Kondrachov compactness theorem gives a subsequence converging strongly in and weakly in to a function . Its weak derivative vanishes, so connectedness makes constant; its zero mean makes it zero. This contradicts . Hence is an equivalent Hilbert space norm on .
Define
Boundedness of makes a bounded bilinear form, while uniform ellipticity gives
so it is a coercive bilinear form. The Cauchy-Schwarz inequality and the Poincare-Wirtinger inequality make a bounded linear functional. The Lax-Milgram theorem supplies a unique satisfying for every mean-zero . For arbitrary , subtract its mean; the omitted constant contributes zero on both sides because and . Thus solves the original problem.
If two solutions exist, their difference satisfies , so uniform ellipticity gives . It is therefore constant on . The solution is unique up to an additive constant, and its mean-zero representative is unique. If is disconnected, the precise condition is on every connected component , and one independent additive constant remains on each component.
Suppose and are weak solutions with the same trace, and put . The weak formulation permits itself as a test function, giving
Thus is almost everywhere constant, and its zero trace makes that constant zero. This proves uniqueness.
The weak identity also says that in the sense of distributions. The Weyl lemma therefore gives and pointwise. The assumed continuity on retains the prescribed boundary values, so the weak solution is the unique classical solution in .
Multiply the Poisson equation by and apply Green's first identity. The Dirichlet boundary condition makes the trace of vanish on , while the Neumann boundary condition makes the boundary flux vanish on . Thus the weak formulation is: find such that
where
First choose a test function . The weak formulation and integration by parts give
The fundamental lemma of the calculus of variations implies pointwise because and is continuous. The Dirichlet boundary condition on already follows from and continuity of .
For arbitrary , Green's first identity and the interior equation now reduce the weak identity to
The traces of smooth members of can be chosen freely on compact subsets of . Another application of the fundamental lemma of the calculus of variations, now on the boundary, gives pointwise on . Hence is a classical solution of the complete mixed boundary value problem.
Solve the adjoint transport equation
backward with terminal value zero. Along the characteristic flow map , the required solution is
Differentiation under the integral verifies the equation. If has compact support in , then vanishes for and for , so as required.
When the initial datum is zero, inserting this into the weak formulation gives
for every . Thus almost everywhere. The difference of two bounded weak solutions has zero initial datum, so this proves uniqueness.
A weak solution is a function satisfying the weak formulation
Multiplication by a test function and integration by parts give this identity from the classical equation. Conversely it is the equation in the sense of distributions, with the zero boundary condition encoded by the zero-boundary Sobolev space. Testing only against is equivalent, by its density in and continuity of both sides.
A weak solution belongs to the zero-boundary Sobolev space and satisfies
The boundedness of and the Cauchy-Schwarz inequality make the drift term integrable. This weak formulation moves one derivative from the Laplacian onto the test function, while retaining the first-order drift term.
A weak solution is such that
Let and define the Nemytskii operator on . It satisfies . It is continuous in : from any sequence in , every subsequence has a further subsequence converging almost everywhere; continuity and boundedness of , followed by the dominated convergence theorem, give convergence of the corresponding in . This subsequence criterion proves continuity of the whole sequence.
For , the Lax-Milgram theorem defines the inverse Dirichlet solution map by . Testing with and using the Poincaré inequality yields
The Rellich-Kondrachov compactness theorem makes compact. Therefore is a nonlinear compact operator and its image lies in the closed ball of radius . This ball is nonempty, closed, bounded and convex. The Schauder fixed-point theorem gives . Since , its defining identity is exactly the required weak formulation. Thus a weak solution exists. This is the bounded semilinear Dirichlet existence theorem.
Replace by . At a positive interior maximum , the neighbour average is no larger than , so . Thus cannot have such an interior maximum. The positive-maximum form of the discrete maximum principle therefore remains valid:
With the error equation is , where under the preceding regularity assumptions. Since for the same Discrete Poisson barrier on a square, the comparison functions prove
There is no loss of uniqueness: apply the positive-maximum argument to both signs of a homogeneous discrete solution. The continuous weak formulation also has the coercive bilinear form , so the added positive reaction term strengthens its positive energy.
The weak formulation is
The boundary condition is encoded by . The Sobolev embedding in dimension three gives , hence also on the bounded domain. All energy terms and all the displayed pairings are therefore finite.
Pointwise, for a constant , since the difference is a quartic with positive leading coefficient. The Poincaré inequality and Young inequality give . Consequently
Thus the infimum is finite and a minimizing sequence is bounded in . Extract a weakly convergent subsequence there. The Rellich-Kondrachov theorem states that on a bounded domain in dimension three the embedding is compact for . A subsequence therefore converges strongly in to the same limit . The potential terms and forcing converge, while the gradient norm is weakly lower semicontinuous. The weak limit retains zero trace. Hence and attains the absolute minimum.
For any , the function has a minimum at zero. Differentiating its polynomial terms gives . These differentiations are justified by the Sobolev integrability already noted. This is the weak formulation, proving every energy minimizer is a weak solution.
The Lax-Milgram theorem gives, for a bounded coercive bilinear form on a real Hilbert space and every bounded linear functional, a unique vector representing that functional through the form, with the inverse bound supplied by coercivity. The Fredholm alternative for a compact operator says that is invertible if its kernel is zero; in general its range is closed and consists exactly of vectors orthogonal to in the Hilbert-space case.
Uniform ellipticity gives for some . Bounded coefficients make bounded on , and for ,
The forcing is bounded on . The Lax-Milgram theorem therefore gives a unique weak solution for every .
When , choose the shift and let be the unique solution of . Thus in the weak sense. The equation is equivalent to , or
Conversely a solution in of this operator equation lies in because it equals , and satisfies the variational equation. The assumed boundedness , followed by the compact Rellich embedding , proves compactness of as an operator.
By the supplied kernel assumption, consists of constants. Also . Since is a self-adjoint operator, the Fredholm alternative condition is , and
Therefore a weak solution exists exactly when the mean of is zero, and solutions differ by a constant. On a disconnected domain the actual kernel would consist of constants on each component and the condition would apply separately on each; the question's given kernel assumption specifies the single-constant case.
For a general coefficient matrix, the stated variational definition encodes zero conormal flux . It agrees with ordinary zero normal derivative only under additional conditions on . The argument above uses the weak formulation explicitly defined in the paper, so does not require that stronger boundary identification.
Petrov-Galerkin method Created 2026-10-14 Updated 2026-10-31
The Petrov-Galerkin method chooses an approximate solution in a finite-dimensional trial vector space and tests a weak formulation against a possibly different test space . For a bilinear form and a linear functional , it imposes for every . Taking recovers the usual Galerkin method. Different test functions can alter stability and accuracy; the Galerkin orthogonality is then against the test space and need not be an orthogonal projection in an energy norm.
In three dimensions let have compact support. Let solve and extend it by zero. There is a unique with for all . Indeed Holder inequality and the homogeneous Sobolev inequality make the right side a continuous linear functional in the gradient norm, and the Riesz representation theorem applies to this Hilbert space.
The weak formulation says that is the orthogonal projection of onto the closed subspace consisting of zero extensions of . These subspaces increase with and their union contains every test function, which is dense by the definition of the homogeneous Sobolev space. The best-approximation property of orthogonal projection therefore gives . The homogeneous Sobolev inequality also gives . This convergence does not generally extend to the inhomogeneous Sobolev space , as the spherical mean of a Poisson solution outside its source shows for a source of nonzero total mass.