The weak derivative condition is
Both integrals exist since are locally integrable and the test function has compact support. Derivatives are defined up to almost-everywhere equality. The space consists of whose first weak derivatives all lie in . One standard norm is
A sum in the last formula gives an equivalent norm. For restriction to , extend any by zero to . Its support is compactly contained in , so the extension is smooth. The identity over then reduces exactly to the identity over , proving locality of the weak derivative.
For the jump contribution to a piecewise weak derivative, integration by parts on the two sides of the joining point gives the distributional derivative
The coefficient is the right trace minus the left trace . If a locally integrable weak derivative existed, locality on each open side would identify it almost everywhere with the displayed regular part. Substituting that into the global test identity would force for every test function, hence . Equivalently a nonzero Dirac point mass cannot be represented by a locally integrable derivative.
For the point-mass term vanishes, and both the function and its piecewise derivative are bounded on the finite interval. Thus and hence in every listed . Therefore membership holds exactly for . Changing a single point value is irrelevant to Sobolev membership; it cannot remove mismatched one-sided traces when .
The Lax-Milgram theorem states that a bounded bilinear form on a real Hilbert space , satisfying for some , has for each a unique with for all . Moreover .
For a compact operator on a Hilbert space, the Fredholm alternative says that has closed range, finite-dimensional kernel and cokernel of equal dimension, and
Thus a zero kernel gives unique solvability for every right-hand side; a nonzero kernel gives solvability exactly under the adjoint orthogonality conditions, and then all solutions differ by a kernel vector.
Take . Gårding's inequality supplies constants , with . Therefore for the shifted form is coercive. It is bounded for every fixed , and is bounded on . Lax-Milgram gives unique weak solvability for , with . The inequality itself follows, for example, by absorbing the drift cross-term using Young's inequality and allowing a lower correction for .
For the compact inverse and adjoint of a coercive elliptic operator, under the additional zero-shift coercivity assumption, define by for all , and let be this solution viewed in . The solution operator is linear and bounded into , and the Rellich-Kondrachov compact embedding makes compact. Rewriting the weak equation as gives
Conversely an solution of this operator equation lies in , because it equals , and satisfies the weak differential equation.
For constant drift coefficients and zero Dirichlet traces, integration by parts gives . Symmetry of the principal coefficients therefore makes the unshifted weak form of the displayed formal adjoint. The shifted adjoint equation requires
The spectral shift in an adjoint weak formulation is essential: the printed sentence omitting it is false for nonzero . For instance take a smooth ball, , any nonzero and . The printed unshifted identity holds, but whenever . This counterexample also meets zero-shift coercivity and constant-drift assumptions. The corrected identity above is used for the remainder of the argument.
Let solve , which exists by Lax-Milgram because the diagonal coercivity is unchanged. For ,
Thus , viewed as an operator, is exactly . Applying this inverse to the corrected shifted adjoint equation gives
and the converse follows from its range lying in , just as before.
Finally let the original homogeneous equation have a nonzero solution. Its parameter is nonzero, since the unshifted problem is coercive. Fredholm gives solvability precisely when for every . Such a satisfies , so . Hence the necessary and sufficient condition is
When this holds, the solutions are an affine translate of the original finite-dimensional homogeneous solution space. The compatibility space is the adjoint kernel; a drift term does not generally permit replacing it by the original kernel.
For the log-cosh obstacle variational inequality, the admissible set is convex: for any , remains above the obstacle and in for . Minimality and the right derivative at zero therefore give
The one-sided sign comes from admissibility, which permits motion toward every but does not permit an arbitrary negative variation at a contact point.
Now fix . Smoothness on and continuity of the obstacle give a strictly positive minimum of on the compact support of . Hence is admissible for both signs of sufficiently small . Applying the inequality to both variations yields
Integration by parts gives distributionally on , and smoothness makes it pointwise. Thus
On the contact set the variational inequality, rather than unrestricted stationarity, remains the governing statement. Convexity of the energy also makes the inequality sufficient for minimization; strict monotonicity implies at most one minimizer, although existence was already stipulated in this part.
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.
For one coordinate, integration by parts gives : the test function vanishes outside a compact subset of , so there is no boundary contribution. Repeat this operation once for each of the coordinate differentiations in the multi-index . Each operation contributes a factor , giving
All intermediate functions are continuous on the relevant compact support, since and .
An integrable example on the whole real line is the tent function
It is not differentiable at . For a test function , split the integral into and and use integration by parts. The endpoint terms at vanish because , and those at zero cancel because is continuous. The result is . Thus the corners obstruct classical differentiability but not this weak derivative.
In dimension one, the Sobolev embedding theorem gives . Therefore
and, for fixed ,
Hence the operator is well-defined and monotone in one dimension.
In every dimension it is not well-defined on all of . We exhibit for which the purported pairing is infinite. Choose a ball compactly contained in , put , and multiply each following radial expression by a smooth cutoff function that equals one near .
For , set with . The local Sobolev norm is finite because
whereas
since .
For , take on a sufficiently small ball. With , the gradient integral is proportional to , while the weighted integral is proportional to . Its integral is finite because the area factor contributes exponential decay in . These singular functions have the indicated weak derivatives; deleting a small central ball and passing to the limit in integration by parts leaves no boundary term.
Thus need not be integrable in dimensions at least two. This is the squared Sobolev gradient counterexample. With the additional restriction , the form is well-defined and monotone in any dimension.
Fix , write , , and let on this interval. The Hermite interpolation conditions give both
Two applications of integration by parts therefore give
On this single cubic piece, the same calculation also gives
Here inside the interval, and all four endpoint values of are zero. Since , we obtain the exact identity
This is an integral inequality, with no assertion that the integrand on the left has one sign pointwise. The stronger nodal derivative conditions make the boundary terms vanish on each interval separately; part (i) only needed their cancellation after summing.
The stated Hermite interpolating polynomial exists uniquely in . Indeed, a polynomial in the kernel of a linear map of the value-and-derivative data map has a double root of a polynomial at each of distinct interpolation nodes. A nonzero such polynomial would have polynomial degree at least , which is impossible. The map is therefore an injective function and a linear map between vector spaces of the same finite dimension of a vector space, , and hence is a linear isomorphism. No higher smoothness of the original function is required to construct it.
An explicit illustration uses interpolation nodes , values , and zero derivatives at every interpolation node. The clamped cubic spline is on and its reflection on . Its Hermite interpolating polynomial is the quartic polynomial . On , , and the corresponding reflected formula holds on . Direct integration gives , , and , exactly as the energy identity predicts.
Put . Matching interpolation data and endpoint derivatives gives
The endpoint slope constraints make a clamped cubic spline. The decisive step in its minimum roughness property of a clamped cubic spline is the orthogonality identity
Prove it separately on each interval. Two applications of integration by parts, using the vanishing fourth derivative of the cubic piece, give
The second boundary term is zero because vanishes at both endpoints of this interval. Sum over . At each interior spline knot, the two values of agree because both factors are continuous, so the contributions cancel. The remaining outer boundary terms vanish because is zero at both outer endpoints. This proves the identity.
Expanding the square now gives the stronger exact equality
The last integral is nonnegative, proving the required inequality. It measures the excess second derivative roughness penalty of over .
The argument applies directly to twice continuously differentiable competitors. More generally it holds when is an absolutely continuous function and is square-integrable, the usual finite-energy class for this second derivative roughness penalty. Mere existence of pointwise second derivatives does not by itself guarantee that all displayed integrals exist; the variational statement is understood for admissible competitors with this regularity.
Write and . Subtraction of the two boundary value problems gives , with . Multiply by and apply integration by parts:
Consequently the required energy identity is
The nonlinear term is nonnegative pointwise, since
This is the monotonicity energy estimate for a semilinear Dirichlet problem for the monotone function . Apply Young's inequality for products, , inside the last integral and discard the nonnegative nonlinear term. Moving to the left gives
In particular, equal forcing gives , proving uniqueness and a quantitative continuous dependence on forcing estimate for this boundary value problem.
Multiply the equation for by and the equation for by , then subtract. The terms cancel and the derivative terms combine into a Wronskian boundary derivative:
Integrating over the interval eliminates the boundary term because both eigenfunctions vanish at both endpoints. Since their eigenvalues differ,
This is orthogonality in a weighted inner product in the regular Sturm-Liouville setting; the endpoint values must justify the integration by parts.
The time-independent Schrödinger equation is
Put . For , differentiation gives . Substitution cancels the terms in and leaves .
The Gaussian integral gives . Hence a normalized wave function is
Multiplication by any constant of modulus one gives the same quantum state. The position probability density is . Its first moment vanishes by oddness. Integration by parts gives , with the boundary term zero. Therefore
The moment-generating function is where finite. For independent , independence factors the expectation, giving wherever both factors are finite.
For the given probability density function and , put to obtain
Here , obtained by repeated integration by parts. For the defining integral diverges.
Each has moment-generating function , so independence gives
The uniqueness theorem for moment-generating functions applies when the functions are finite on a neighborhood of zero. Hence the sum has the same distribution as , a Gamma distribution of shape and rate one, with the displayed probability density function in the source.
Let be a smooth variation with . Assuming the usual continuous second derivatives of , stationarity of the functional under gives its first variation
Integration by parts removes the derivative of ; its boundary term vanishes because the endpoint values are fixed. Thus
for every such variation. The fundamental lemma of the calculus of variations implies the Euler-Lagrange equation .
For arc length, , so
The function is strictly increasing; hence is constant. With endpoints and , , the extremal is
It is also the global shortest curve: integrating the unit displacement vector dotted with the curve velocity gives the endpoint distance, which is at most the integrated speed by Cauchy-Schwarz inequality; the straight segment attains equality. A vertical segment is described parametrically or after rotating axes, since it cannot be represented by on a nontrivial horizontal interval.
With fixed endpoint values, a smooth extremal satisfies the Euler-Lagrange equation . If has no explicit dependence, differentiation gives
Thus is constant, the Beltrami identity.
For this integrand, and , so the equation is . Consequently
The two constants are fixed uniquely by the prescribed values at distinct endpoints. Equivalently, writing these values as ,
Its first integral is , which is constant. Using only that first integral without the Euler-Lagrange equation could admit spurious constant functions, so the differential equation was used directly.
For any nonzero endpoint-vanishing perturbation , the linear terms in vanish by the Euler-Lagrange equation and integration by parts; also . The remainder is
Hence the extremal is the unique strict global minimum, and cannot be a maximum.
Take a smooth variation with vanishing on the boundary; compactly supported test functions suffice for the interior equation. At an extremum, the first variation is zero:
Integration by parts removes the derivatives from . The boundary terms vanish, giving
The fundamental lemma of the calculus of variations gives the Euler-Lagrange equation
This is the classical equation for sufficiently smooth admissible extrema; for weaker regularity the first-variation identity supplies its weak form.
For the squared-gradient integrand, the equation is , namely the Laplace equation. Put and write any admissible function as , with on the boundary. The energy identity is
By the divergence theorem, the middle integral is ; equivalently it vanishes by weak integration by parts for zero-trace functions. The final term is nonnegative and vanishes at . Thus this is a global minimum, not merely a stationary value:
On any bounded parameter interval , the derivative of the integrand has the integrable majorant
The dominated convergence theorem therefore justifies differentiation under the integral sign at every real , giving
Use integration by parts in this absolutely convergent integral, with . Both boundary terms vanish, since the sine is zero at and the Gaussian tends to zero at infinity. Hence
It follows that , or equivalently . This identity holds on all of , including zero. With the supplied Gaussian integral value,
The fourth power comes from the printed phase ; the parameter has been differentiated with that phase throughout.
Take independent smooth variations and . Differentiating the functional and using integration by parts gives its first variation
First choose variations vanishing at the endpoints. To use the stated form of the fundamental lemma of the calculus of variations, take with arbitrary smooth , and similarly for . The lemma makes vanish, and hence makes the unweighted coefficient vanish in the interior; continuity extends this to the endpoints. Applying the same argument to gives the Euler-Lagrange equations
If either endpoint value of or is free, the corresponding variation there is arbitrary. The remaining boundary term gives the natural boundary conditions for a free endpoint: for a free value and for a free value at that endpoint. With both coordinates free at both endpoints, all four conditions apply.
For the specified integrand these equations reduce to
and the natural conditions are at each free endpoint. Eliminating gives
Its four independent modes give the full general solution
At zero, and . Vanishing forces , giving
At the two derivative conditions become and . Their coefficient determinant is nonzero, so . Thus the unique stationary extremal with all four natural boundary conditions is . The word extremal here means a stationary point of the functional; the indefinite integrand does not require this point to be a minimum.
Use for . For the source's functions,
The last integral follows by the substitution and integration by parts. Since converges, (ii) permits summing the integrals and identifies an integrable almost-everywhere sum.
For every , the geometric series gives
The functions vanish on , and the single endpoint does not change the integral. Use the supplied integral of to obtain
The estimates include negative through its absolute value, and the case gives zero on both sides.
The monotone convergence theorem states that if pointwise almost everywhere and the functions are measurable, then , allowing the value infinity.
Interpret the displayed densities as zero outside , so no undefined logarithm is evaluated there. Each is nonnegative and measurable. With ,
where the last equality is integration by parts. This is finite, proving Lebesgue integrability.
The nonnegative partial sums satisfy, for ,
They vanish outside the interval as well. Monotone convergence therefore gives
The series is finite by comparison with the convergent series , whose convergence follows from the integral test. Since , this finite integral proves absolute Lebesgue integrability as required.