Skip to content
Date: Oct 2, 2026
Builds on Chapter 7 and Chapter 8.

Dirichlet’s principle, Theorem 3.10, says that among all functions with given boundary values the harmonic one has the least energy. Riemann turned this round into an existence proof: the energy is bounded below by zero, so take a function that minimizes it, and that function is harmonic. The argument has a hole, which Weierstrass pointed out in 1870: a quantity bounded below has an infimum, but nothing guarantees a function at which the infimum is attained. One can take a sequence of smooth functions whose energies decrease to the infimum. Does the sequence converge, and to what?

In general it does not converge to anything smooth. The smooth functions \(\sqrt{x^2+1/j}\) have uniformly bounded energy on \((-1,1)\) and converge to \(\lvert x\rvert\) , which has a corner. With respect to the size that the energy measures, the space of smooth functions has holes. The repair is the same as the passage from rational to real numbers: fill the holes. The functions that fill them are exactly those with square-integrable weak derivatives, in the sense of Chapter 8. This chapter builds that space, establishes what it means for such a function to vanish on the boundary, proves the inequality that makes the energy control the function, and rewrites boundary value problems as equations in the new space.

Throughout, \(\Omega\subseteq\mathbb R^n\) is open, \(L^2(\Omega)\) is the space of square-integrable functions on \(\Omega\) , with functions equal almost everywhere identified, and

\[ (u,v)=\int_\Omega uv\,dx,\qquad\lVert u\rVert=\Bigl(\int_\Omega u^2\,dx\Bigr)^{1/2} \]

are its inner product and norm. For a vector field such as \(\nabla u\) , \(\lVert\nabla u\rVert^2\) means \(\int_\Omega\lvert\nabla u\rvert^2dx\) . The Cauchy–Schwarz inequality \(\lvert(u,v)\rvert\le\lVert u\rVert\,\lVert v\rVert\) is used constantly; it is the case \(p=2\) of Hölder’s inequality (math.measure-theory.holder-minkowski).

9.1 The space of functions with finite energy

Definition 9.1 (first-order Sobolev space). The space \(H^1(\Omega)\) consists of all \(u\in L^2(\Omega)\) whose weak first derivatives \(\partial_1u,\dots,\partial_nu\) exist and belong to \(L^2(\Omega)\) . Its inner product and norm are

\[ (u,v)_{H^1}=\int_\Omega uv\,dx+\int_\Omega\nabla u\cdot\nabla v\,dx,\qquad\lVert u\rVert_{H^1}=\bigl(\lVert u\rVert^2+\lVert\nabla u\rVert^2\bigr)^{1/2}. \]

Every function in \(C^1(\overline\Omega)\) on a bounded \(\Omega\) belongs to \(H^1(\Omega)\) , with its classical gradient. So do continuous piecewise \(C^1\) functions on an interval, by Theorem 8.6. The point of the definition is the next theorem, which is false for either of those smaller spaces.

Theorem 9.2 (completeness). \(H^1(\Omega)\) is a Hilbert space: every sequence that is Cauchy in the norm \(\lVert\cdot\rVert_{H^1}\) converges in that norm to an element of \(H^1(\Omega)\) .

Proof. Let \((u_j)\) be Cauchy in \(H^1(\Omega)\) . Then \((u_j)\) and each \((\partial_iu_j)\) are Cauchy in \(L^2(\Omega)\) , which is complete (math.measure-theory.lp-completeness). So there are \(u\) and \(w_1,\dots,w_n\) in \(L^2(\Omega)\) with \(u_j\to u\) and \(\partial_iu_j\to w_i\) in \(L^2\) . It remains to show that \(w_i\) is the weak derivative \(\partial_iu\) . For a test function \(\varphi\) ,

\[ \int_\Omega u_j\,\partial_i\varphi\,dx=-\int_\Omega\partial_iu_j\,\varphi\,dx \]

for each \(j\) . By the Cauchy–Schwarz inequality the left side differs from \(\int u\,\partial_i\varphi\,dx\) by at most \(\lVert u_j-u\rVert\,\lVert\partial_i\varphi\rVert\) and the right side from \(-\int w_i\varphi\,dx\) by at most \(\lVert\partial_iu_j-w_i\rVert\,\lVert\varphi\rVert\) ; both tend to zero. Hence \(\int u\,\partial_i\varphi\,dx=-\int w_i\varphi\,dx\) , so \(u\in H^1(\Omega)\) with \(\partial_iu=w_i\) , and \(\lVert u_j-u\rVert_{H^1}\to0\) .

The proof shows why weak derivatives are the right notion: the defining identity survives limits in \(L^2\) , whereas pointwise differentiability does not.

Example 9.1: Which functions on an interval have finite energy

On \(\Omega=(-1,1)\) consider four functions.

The absolute value. \(u=\lvert x\rvert\) has weak derivative \(\operatorname{sgn}x\) , so \(u\in H^1\) with \(\lVert u\rVert^2=\tfrac23\) , \(\lVert u'\rVert^2=2\) , and \(\lVert u\rVert_{H^1}^2=\tfrac83\) .

A cusp. \(u=\lvert x\rvert^{3/4}\) is continuous with pointwise derivative \(\tfrac34\operatorname{sgn}(x)\lvert x\rvert^{-1/4}\) , which is integrable and is the weak derivative. Its square, \(\tfrac{9}{16}\lvert x\rvert^{-1/2}\) , has integral \(\tfrac9{16}\cdot4=\tfrac94\) over \((-1,1)\) . So \(u\in H^1\) although its derivative is unbounded.

A sharper cusp. \(u=\lvert x\rvert^{1/2}\) has the weak derivative \(\tfrac12\operatorname{sgn}(x)\lvert x\rvert^{-1/2}\) , whose square \(\tfrac14\lvert x\rvert^{-1}\) is not integrable. So \(u\notin H^1\) , although it is continuous and has a weak derivative. In general \(\lvert x\rvert^{\alpha}\) with \(\alpha>0\) belongs to \(H^1(-1,1)\) exactly when \(\alpha>\tfrac12\) .

A jump. The Heaviside function has no weak derivative at all, so it is not in \(H^1\) .

9.2 One dimension: finite energy implies continuity

On an interval the members of \(H^1\) can be described completely.

Theorem 9.3 (finite energy on an interval). Let \(u\in H^1(a,b)\) with \(a<b\) finite. Then \(u\) is equal almost everywhere to a continuous function \(\tilde u\) on \([a,b]\) , and for all \(x,y\in[a,b]\)

\[ \tilde u(y)-\tilde u(x)=\int_x^yu'(s)\,ds,\qquad\lvert\tilde u(y)-\tilde u(x)\rvert\le\lvert y-x\rvert^{1/2}\,\lVert u'\rVert . \]

Moreover \(\max\lvert\tilde u\rvert\le(b-a)^{-1/2}\lVert u\rVert+(b-a)^{1/2}\lVert u'\rVert\) .

Proof. Since \(u'\in L^2(a,b)\) and the interval is bounded, \(u'\) is integrable, and \(w(x)=\int_a^xu'(s)\,ds\) is well defined. By the Cauchy–Schwarz inequality \(\lvert w(y)-w(x)\rvert\le\lvert y-x\rvert^{1/2}\lVert u'\rVert\) , so \(w\) is continuous. We claim that \(w\) has the weak derivative \(u'\) . For a test function \(\varphi\) on \((a,b)\) , exchanging the order of integration,

\[ \int_a^bw\,\varphi'\,dx=\int_a^b\Bigl(\int_a^xu'(s)\,ds\Bigr)\varphi'(x)\,dx=\int_a^bu'(s)\Bigl(\int_s^b\varphi'(x)\,dx\Bigr)ds=-\int_a^bu'(s)\varphi(s)\,ds , \]

since \(\varphi(b)=0\) . Hence \(u-w\) has weak derivative zero, and by Exercise 8.5 it equals a constant \(c\) almost everywhere. Put \(\tilde u=w+c\) . The first two statements follow from the corresponding ones for \(w\) .

For the bound, \(\int_a^b\tilde u^2dx=\lVert u\rVert^2\) , so the continuous function \(\lvert\tilde u\rvert\) takes at some point \(x_0\) a value at most \((b-a)^{-1/2}\lVert u\rVert\) ; otherwise its square would integrate to more than \(\lVert u\rVert^2\) . Then \(\lvert\tilde u(x)\rvert\le\lvert\tilde u(x_0)\rvert+(b-a)^{1/2}\lVert u'\rVert\) for every \(x\) .

From now on we take the continuous representative and write \(u\) for it. The theorem says three things. An \(H^1\) function on an interval is continuous, indeed Hölder continuous with exponent \(\tfrac12\) . The fundamental theorem of calculus holds for it, with the weak derivative. And its values at points, in particular at the endpoints, are controlled by its \(H^1\) norm, so that convergence in \(H^1\) implies uniform convergence.

None of this survives in higher dimensions. Example 8.2 exhibited an unbounded function in the unit ball of \(\mathbb R^3\) with finite Dirichlet energy, and Exercise 8.10 another in the plane. In two or more dimensions a function in \(H^1\) need not be continuous and does not have a value at a point. Saying what it means for such a function to “vanish on the boundary” therefore takes a definition.

9.3 Functions that vanish on the boundary

Definition 9.4 (zero boundary values). \(H_0^1(\Omega)\) is the closure of the test functions \(\mathcal D(\Omega)\) in \(H^1(\Omega)\) : a function \(u\in H^1(\Omega)\) belongs to \(H_0^1(\Omega)\) if there are test functions \(\varphi_j\) with \(\lVert\varphi_j-u\rVert_{H^1}\to0\) .

A closed subspace of a Hilbert space is a Hilbert space, so \(H_0^1(\Omega)\) is one, with the inner product of \(H^1(\Omega)\) . Its members are the limits, in the energy sense, of functions that vanish near the boundary. In one dimension this is what one hopes.

Theorem 9.5 (zero boundary values on an interval). \(H_0^1(a,b)=\{u\in H^1(a,b):u(a)=u(b)=0\}\) .

Proof. If \(\varphi_j\to u\) in \(H^1\) with \(\varphi_j\) test functions, then by the last bound of Theorem 9.3 applied to \(\varphi_j-u\) the convergence is uniform on \([a,b]\) , so \(u(a)=\lim\varphi_j(a)=0\) and likewise at \(b\) .

Conversely let \(u\in H^1(a,b)\) with \(u(a)=u(b)=0\) , so that \(\int_a^bu'\,ds=0\) . Test functions are dense in \(L^2(a,b)\) , a fact from Measure Theory, so choose test functions \(\psi_j\to u'\) in \(L^2\) . Fix a test function \(\rho\) with \(\int\rho=1\) and put \(\chi_j=\psi_j-\bigl(\int\psi_j\bigr)\rho\) . Since \(\int\psi_j\to\int u'=0\) , also \(\chi_j\to u'\) in \(L^2\) , and each \(\chi_j\) has integral zero. By Exercise 8.5, \(\varphi_j(x)=\int_a^x\chi_j\,ds\) is a test function. Then \(\varphi_j'=\chi_j\to u'\) in \(L^2\) , and \(\lvert\varphi_j(x)-u(x)\rvert=\bigl\lvert\int_a^x(\chi_j-u')\,ds\bigr\rvert\le(b-a)^{1/2}\lVert\chi_j-u'\rVert\) , so \(\varphi_j\to u\) uniformly and hence in \(L^2\) . Thus \(\varphi_j\to u\) in \(H^1\) .

In higher dimensions the corresponding statement is the trace theorem, which we quote without proof. If \(\Omega\) is bounded with \(C^1\) boundary, the restriction map \(u\mapsto u|_{\partial\Omega}\) , defined for \(u\in C^1(\overline\Omega)\) , satisfies \(\int_{\partial\Omega}u^2\,dS\le C\lVert u\rVert_{H^1}^2\) and so extends to a bounded linear map, the trace, from \(H^1(\Omega)\) to \(L^2(\partial\Omega)\) ; and \(H_0^1(\Omega)\) is exactly the set of functions with zero trace. In particular a function in \(C^1(\overline\Omega)\) that vanishes on \(\partial\Omega\) belongs to \(H_0^1(\Omega)\) . Apart from this last fact, everything below uses only Definition 9.4, and it holds for every bounded open set, however rough its boundary.

9.4 The Poincaré inequality

A function that vanishes on the boundary cannot be large without having a large gradient somewhere. Theorem 5.7 used this on an interval; here is the general statement.

Theorem 9.6 (Poincaré inequality). Let \(\Omega\) be an open set contained in a slab \(\{x:a<x_1<a+d\}\) of width \(d\) . Then for every \(u\in H_0^1(\Omega)\) ,

\[ \lVert u\rVert\le\frac{d}{\sqrt2}\,\lVert\nabla u\rVert . \]

Proof. First let \(\varphi\) be a test function on \(\Omega\) , extended by zero to all of \(\mathbb R^n\) , and write \(x=(x_1,x')\) . Since \(\varphi(a,x')=0\) ,

\[ \varphi(x_1,x')^2=\Bigl(\int_a^{x_1}\partial_1\varphi(s,x')\,ds\Bigr)^2\le(x_1-a)\int_a^{a+d}\lvert\partial_1\varphi(s,x')\rvert^2\,ds \]

by the Cauchy–Schwarz inequality. Integrating in \(x_1\) from \(a\) to \(a+d\) gives a factor \(\tfrac12d^2\) , and integrating in \(x'\) then gives \(\lVert\varphi\rVert^2\le\tfrac12d^2\lVert\partial_1\varphi\rVert^2\le\tfrac12d^2\lVert\nabla\varphi\rVert^2\) . For a general \(u\in H_0^1(\Omega)\) take test functions \(\varphi_j\to u\) in \(H^1\) ; both sides of the inequality for \(\varphi_j\) converge to the corresponding quantities for \(u\) .

We write \(C_P\) for the smallest constant with \(\lVert u\rVert\le C_P\lVert\nabla u\rVert\) on \(H_0^1(\Omega)\) ; the theorem says \(C_P\le d/\sqrt2\) . On an interval of length \(L\) , Corollary 7.9 gives the exact value \(C_P=L/\pi\) , first for continuous piecewise \(C^1\) functions and then, by the density argument just used, for all of \(H_0^1(0,L)\) . The inequality has two consequences that the rest of the theory rests on.

First, on \(H_0^1(\Omega)\) the Dirichlet energy alone is as good as the full norm:

\[ \lVert\nabla u\rVert^2\le\lVert u\rVert_{H^1}^2\le(1+C_P^2)\,\lVert\nabla u\rVert^2\qquad(u\in H_0^1(\Omega)). \]

So \(\lVert\nabla u\rVert\) is a norm on \(H_0^1(\Omega)\) equivalent to \(\lVert u\rVert_{H^1}\) . Second, the inequality is false on \(H^1(\Omega)\) : a nonzero constant has zero gradient. The boundary condition is what excludes constants, and this is the weak form of the fact, seen in Theorem 3.9, that the Dirichlet problem has a unique solution while the Neumann problem determines its solution only up to a constant.

9.5 The Dirichlet problem in weak form

Consider the problem \(-\Delta u=f\) in \(\Omega\) , \(u=0\) on \(\partial\Omega\) . Suppose for the moment that \(u\) is a classical solution, smooth up to the boundary. Multiply the equation by a test function \(v\) and use Green’s first identity; the boundary term vanishes and

\[ \int_\Omega\nabla u\cdot\nabla v\,dx=\int_\Omega fv\,dx . \]

Only first derivatives of \(u\) remain. The identity makes sense for \(u\in H^1\) , and the boundary condition can be expressed by membership in \(H_0^1\) .

Definition 9.7 (weak solution of the Dirichlet problem). Let \(\Omega\) be a bounded open set and \(f\in L^2(\Omega)\) . A function \(u\) is a weak solution of \(-\Delta u=f\) in \(\Omega\) , \(u=0\) on \(\partial\Omega\) , if

\[ u\in H_0^1(\Omega)\qquad\text{and}\qquad\int_\Omega\nabla u\cdot\nabla v\,dx=\int_\Omega fv\,dx\quad\text{for all }v\in H_0^1(\Omega). \]

Both sides are continuous in \(v\) with respect to the \(H^1\) norm, so it is enough to require the identity for test functions \(v\) ; then it says precisely that \(-\Delta u=f\) in the sense of distributions, Definition 8.8. A weak solution is thus a distributional solution with two further properties: finite energy, and zero boundary values in the sense of \(H_0^1\) . The same letter is used for the unknown and the test function’s space on purpose: the solution is sought in the space from which the test functions are taken.

Theorem 9.8 (consistency with classical solutions). Let \(\Omega\) be bounded with \(C^1\) boundary and \(f\) continuous on \(\overline\Omega\) .

(a) If \(u\in C^2(\overline\Omega)\) satisfies \(-\Delta u=f\) in \(\Omega\) and \(u=0\) on \(\partial\Omega\) , then \(u\) is a weak solution.

(b) If \(u\) is a weak solution and \(u\in C^2(\Omega)\) , then \(-\Delta u=f\) at every point of \(\Omega\) .

Proof. (a) By the remark following Theorem 9.5, \(u\in H_0^1(\Omega)\) . For a test function \(v\) , Green’s first identity gives \(\int\nabla u\cdot\nabla v\,dx=-\int v\,\Delta u\,dx=\int fv\,dx\) , and by density the identity extends to all \(v\in H_0^1(\Omega)\) . (b) For a test function \(v\) , integrating by parts in the weak identity gives \(\int(-\Delta u-f)v\,dx=0\) . The function \(-\Delta u-f\) is continuous, so it vanishes by Lemma 8.2(a).

Theorem 9.9 (uniqueness and the energy estimate). A weak solution of the Dirichlet problem, if it exists, is unique, and it satisfies

\[ \lVert\nabla u\rVert\le C_P\,\lVert f\rVert . \]

Proof. Take \(v=u\) in the definition: \(\lVert\nabla u\rVert^2=(f,u)\le\lVert f\rVert\,\lVert u\rVert\le C_P\lVert f\rVert\,\lVert\nabla u\rVert\) , and divide by \(\lVert\nabla u\rVert\) if it is not zero. If \(u_1,u_2\) are weak solutions for the same \(f\) , their difference is a weak solution for \(f=0\) , so \(\lVert\nabla(u_1-u_2)\rVert=0\) and, by the Poincaré inequality, \(u_1=u_2\) .

This is the energy method of Theorem 3.9 again. There it required \(u\in C^2(\overline\Omega)\) and a boundary smooth enough for Green’s identity. Here it is one line and requires nothing, because the solution itself is an admissible test function. Applied to the difference of two solutions with different data, the estimate gives \(\lVert\nabla(u_1-u_2)\rVert\le C_P\lVert f_1-f_2\rVert\) : continuous dependence in the energy norm.

Theorem 9.10 (Dirichlet’s principle, weak form). A function \(u\in H_0^1(\Omega)\) is a weak solution of the Dirichlet problem if and only if it minimizes

\[ J(v)=\frac12\int_\Omega\lvert\nabla v\rvert^2\,dx-\int_\Omega fv\,dx \]

over \(H_0^1(\Omega)\) .

Proof. For \(u,w\in H_0^1(\Omega)\) and real \(t\) , expanding the square,

\[ J(u+tw)=J(u)+t\Bigl(\int_\Omega\nabla u\cdot\nabla w\,dx-\int_\Omega fw\,dx\Bigr)+\frac{t^2}{2}\lVert\nabla w\rVert^2 . \]

If \(u\) is a weak solution the middle term vanishes, so \(J(u+w)\ge J(u)\) for all \(w\) . If \(u\) is a minimizer, the quadratic polynomial \(t\mapsto J(u+tw)\) has its minimum at \(t=0\) , so its linear coefficient vanishes, for every \(w\) .

What is still missing is existence. In the classical setting that was the hard part, and Chapter 4 obtained it only for special regions. In \(H_0^1(\Omega)\) it will follow in the next chapter from a general theorem about Hilbert spaces, for every bounded open set. That is the return on the investment in completeness.

Example 9.2: A load with a jump

On \(\Omega=(0,1)\) let \(f=1\) on \((0,\tfrac12)\) and \(f=0\) on \((\tfrac12,1)\) . There is no classical solution of \(-u''=f\) , because \(u''\) would have to jump. Look for a weak solution that is quadratic on the left half, linear on the right half, and \(C^1\) across the midpoint: \(u=ax-\tfrac12x^2\) for \(x\le\tfrac12\) and \(u=b(1-x)\) for \(x\ge\tfrac12\) . Matching values and slopes at \(x=\tfrac12\) gives \(\tfrac12a-\tfrac18=\tfrac12b\) and \(a-\tfrac12=-b\) , so \(a=\tfrac38\) and \(b=\tfrac18\) :

\[ u(x)=\tfrac38x-\tfrac12x^2\ \ (0\le x\le\tfrac12),\qquad u(x)=\tfrac18(1-x)\ \ (\tfrac12\le x\le1). \]

This \(u\) is \(C^1\) and piecewise \(C^2\) , it vanishes at both ends, so \(u\in H_0^1(0,1)\) , and its derivative \(u'\) is continuous and piecewise \(C^1\) with weak derivative \(-f\) . For any \(v\in H_0^1(0,1)\) , integrating by parts, \(\int_0^1u'v'\,dx=-\int_0^1(u')'v\,dx=\int_0^1fv\,dx\) . So \(u\) is the weak solution.

Two numerical confirmations. With \(v=\sin(\pi x)\) the right side is \(\int_0^{1/2}\sin(\pi x)\,dx=\tfrac1\pi\approx0.3183\) , and evaluating \(\int_0^1u'v'\,dx\) with the explicit \(u'\) gives the same number. With \(v=u\) both sides equal \(\tfrac{5}{192}\) , so \(\lVert u'\rVert=\sqrt{5/192}\approx0.1614\) , within the bound \(C_P\lVert f\rVert=\tfrac1\pi\sqrt{1/2}\approx0.2251\) of Theorem 9.9.

Example 9.3: A point load revisited

The delta \(\delta_{1/2}\) is not in \(L^2(0,1)\) , so Definition 9.7 does not cover the string of Example 8.4. But all the definition uses of \(f\) is the linear map \(v\mapsto\int fv\,dx\) on \(H_0^1\) , and in one dimension the map \(v\mapsto v(\tfrac12)\) is just as good: for \(v\in H_0^1(0,1)\) , Theorem 9.3 gives \(v(\tfrac12)=\int_0^{1/2}v'\,dx=-\int_{1/2}^1v'\,dx\) , so \(2v(\tfrac12)=\int_0^1\operatorname{sgn}(\tfrac12-x)\,v'(x)\,dx\) and

\[ \lvert v(\tfrac12)\rvert\le\tfrac12\,\lVert v'\rVert . \]

The weak problem “find \(u\in H_0^1(0,1)\) with \(\int_0^1u'v'\,dx=v(\tfrac12)\) for all \(v\in H_0^1(0,1)\) ” therefore makes sense, and the displayed identity shows that its solution has \(u'=\tfrac12\operatorname{sgn}(\tfrac12-x)\) : the tent of Example 8.4, with energy \(\lVert u'\rVert^2=\tfrac14=u(\tfrac12)\) .

In the plane the same problem has no solution of finite energy. The map \(v\mapsto v(x_0)\) is not defined on \(H_0^1\) of a disc, whose members need not be continuous, and the candidate solution, Green’s function, has a logarithmic singularity with infinite Dirichlet energy (Exercise 8.10). A point load is an acceptable idealization for a string and not for a membrane.

9.6 Natural boundary conditions and variable coefficients

Neumann conditions. Consider \(-\Delta u+u=f\) in \(\Omega\) with \(\partial u/\partial\nu=g\) on \(\partial\Omega\) . Multiply by a function \(v\in C^1(\overline\Omega)\) that is not required to vanish on the boundary and apply Green’s first identity:

\[ \int_\Omega\nabla u\cdot\nabla v\,dx+\int_\Omega uv\,dx=\int_\Omega fv\,dx+\int_{\partial\Omega}gv\,dS . \]

The weak formulation is: find \(u\in H^1(\Omega)\) such that this holds for all \(v\in H^1(\Omega)\) . The boundary condition does not appear in the choice of space. It is recovered from the identity: if a weak solution happens to be in \(C^2(\overline\Omega)\) , testing with \(v\in\mathcal D(\Omega)\) gives the differential equation, and then testing with general \(v\) and integrating by parts leaves \(\int_{\partial\Omega}(\partial u/\partial\nu-g)\,v\,dS=0\) for all \(v\) , which forces \(\partial u/\partial\nu=g\) . Conditions that are consequences of the weak identity are called natural. Conditions built into the space, like the Dirichlet condition, are called essential.

Variable and discontinuous coefficients. For a symmetric matrix \(A(x)\) and a function \(c(x)\) , the equation \(-\nabla\cdot(A\nabla u)+cu=f\) with \(u=0\) on the boundary has the weak form

\[ u\in H_0^1(\Omega),\qquad\int_\Omega A\nabla u\cdot\nabla v\,dx+\int_\Omega cuv\,dx=\int_\Omega fv\,dx\quad\text{for all }v\in H_0^1(\Omega). \]

This makes sense when the entries of \(A\) and \(c\) are merely bounded and measurable. If \(A\) jumps across an interface, as the conductivity does between two materials, the classical equation is meaningless at the interface, but the weak form is unaffected, and it automatically enforces the correct physical condition there: continuity of the normal flux \(A\nabla u\cdot\nu\) . That is the conservation law of Section 1.2, which never required the flux to be differentiable. For an inhomogeneous Dirichlet condition \(u=g\) one writes \(u=u_g+w\) with \(u_g\in H^1(\Omega)\) any function having the boundary values \(g\) and \(w\in H_0^1(\Omega)\) , and solves for \(w\) .

Example 9.4: A natural boundary condition appears by itself

On \((0,1)\) consider the weak problem: find \(u\in H^1(0,1)\) with

\[ \int_0^1\bigl(u'v'+uv\bigr)\,dx=v(0)\qquad\text{for all }v\in H^1(0,1). \]

The right side is a legitimate functional by Theorem 9.3. To find the classical problem behind it, suppose \(u\in C^2[0,1]\) and integrate by parts: \(\int_0^1(-u''+u)v\,dx+u'(1)v(1)-u'(0)v(0)=v(0)\) . Test functions give \(-u''+u=0\) ; then \(v\) with \(v(1)=1\) , \(v(0)=0\) gives \(u'(1)=0\) , and \(v\) with \(v(0)=1\) , \(v(1)=0\) gives \(-u'(0)=1\) . So the problem is \(-u''+u=0\) with unit flux entering at the left end and an insulated right end. Its solution is

\[ u(x)=\frac{\cosh(1-x)}{\sinh1}. \]

Check against the weak identity. With \(v=1\) : \(\int_0^1u\,dx=\sinh(1)/\sinh(1)=1=v(0)\) . With \(v=x\) : \(\int_0^1u'\,dx=u(1)-u(0)=\dfrac{1-\cosh1}{\sinh1}\) and \(\int_0^1xu\,dx=\dfrac{\cosh1-1}{\sinh1}\) , which sum to \(0=v(0)\) . No boundary condition was imposed on the space, and both were obtained.

Common mistake. Putting a natural condition into the space, or leaving an essential one out. For the Neumann problem a student restricts to test functions with \(\partial v/\partial\nu=0\) “so that they satisfy the boundary condition”. But for \(v\in H^1\) the gradient is only square-integrable and has no boundary values, so the restriction is meaningless there, and for smooth \(v\) it throws away exactly the test functions needed to recover the condition. In the other direction, testing the Dirichlet problem with functions that do not vanish on the boundary leaves the term \(\int_{\partial\Omega}(\partial u/\partial\nu)\,v\,dS\) in the identity, involving an unknown that the formulation cannot control. The rule: conditions on the value of \(u\) go into the space, for trial and test functions alike; conditions on the flux come out of the identity. A second mistake is to treat a weak solution as classical without proof. Example 9.2 has a weak solution that is not twice differentiable. Whether a weak solution is smoother than \(H^1\) is a separate question, that of regularity, and its answer depends on the data and on the boundary.

Every boundary value problem of this chapter has taken the same abstract shape: a Hilbert space \(V\) , a bilinear expression \(a(u,v)\) , a linear functional \(\ell(v)\) , and the requirement \(a(u,v)=\ell(v)\) for all \(v\in V\) . Uniqueness came from testing with \(v=u\) . What property of \(a\) made that work, and is the same property enough to guarantee that a solution exists?

Exercises

  1. Decide which of the functions \(x^{2/3}\) , \(x^{1/3}\) , \(\sqrt x\) , and \(\min(x,1-x)\) belong to \(H^1(0,1)\) , and compute \(\lVert u\rVert_{H^1}^2\) for \(u=x^{2/3}\) .

    Answer

    For \(x^\alpha\) on \((0,1)\) the derivative \(\alpha x^{\alpha-1}\) is square-integrable exactly when \(\alpha>\tfrac12\) . So \(x^{2/3}\in H^1\) , while \(x^{1/3}\) and \(\sqrt x\) are not, the latter being the borderline case with \(\int_0^1\tfrac{1}{4x}dx\) divergent. The tent \(\min(x,1-x)\) is continuous and piecewise linear, so it is in \(H^1\) . For \(u=x^{2/3}\) : \(\lVert u\rVert^2=\int_0^1x^{4/3}dx=\tfrac37\) and \(\lVert u'\rVert^2=\tfrac49\int_0^1x^{-2/3}dx=\tfrac43\) , so \(\lVert u\rVert_{H^1}^2=\tfrac37+\tfrac43=\tfrac{37}{21}\) .

  2. Let \(u\in H^1(a,b)\) . Use Theorem 9.3 to prove that if \(u'\ge0\) almost everywhere then \(u\) is nondecreasing, and that if \(u'=0\) almost everywhere then \(u\) is constant.

    Hint

    By Theorem 9.3, \(u(y)-u(x)=\int_x^yu'(s)\,ds\) for the continuous representative. The integral of a nonnegative function over \([x,y]\) with \(x<y\) is nonnegative; the integral of a function that vanishes almost everywhere is zero.

  3. Prove that if \(u,v\in H^1(a,b)\) on a bounded interval then \(uv\in H^1(a,b)\) with \((uv)'=u'v+uv'\) , and deduce the integration by parts formula \(\int_a^bu'v\,dx=u(b)v(b)-u(a)v(a)-\int_a^buv'\,dx\) .

    Hint

    By Theorem 9.3 both \(u\) and \(v\) are continuous, hence bounded, so \(uv\) and \(u'v+uv'\) are in \(L^2\) . Approximate: choose smooth \(u_j\to u\) and \(v_j\to v\) in \(H^1\) , for instance by integrating test-function approximations of \(u'\) and \(v'\) as in the proof of Theorem 9.5; convergence is then also uniform. Pass to the limit in \(\int u_jv_j\varphi'\,dx=-\int(u_j'v_j+u_jv_j')\varphi\,dx\) . The integration by parts formula is Theorem 9.3 applied to \(uv\) .

  4. Let \(u_j(x)=\sqrt{x^2+1/j}\) on \((-1,1)\) . Prove that \(u_j\to\lvert x\rvert\) in \(H^1(-1,1)\) , and explain why this shows that \(C^1[-1,1]\) is not complete in the \(H^1\) norm.

    Solution

    Each \(u_j\) is smooth on \([-1,1]\) , with \(u_j'(x)=x/\sqrt{x^2+1/j}\) .

    Convergence in mean square. Since \(\sqrt{x^2+1/j}-\lvert x\rvert=\dfrac{1/j}{\sqrt{x^2+1/j}+\lvert x\rvert}\le\dfrac{1/j}{\sqrt{1/j}}=j^{-1/2}\) , we have \(0\le u_j-\lvert x\rvert\le j^{-1/2}\) uniformly, so \(\lVert u_j-\lvert x\rvert\rVert^2\le2/j\to0\) .

    Convergence of derivatives. The weak derivative of \(\lvert x\rvert\) is \(\operatorname{sgn}x\) . For \(x\ne0\) , \(u_j'(x)\to x/\lvert x\rvert=\operatorname{sgn}x\) , and \(\lvert u_j'-\operatorname{sgn}x\rvert\le2\) . By dominated convergence \(\int_{-1}^1(u_j'-\operatorname{sgn}x)^2dx\to0\) . Explicitly, \(1-\dfrac{\lvert x\rvert}{\sqrt{x^2+1/j}}\le\min\bigl(1,\tfrac{1}{2jx^2}\bigr)\) , and splitting the integral at \(\lvert x\rvert=j^{-1/2}\) gives a bound of order \(j^{-1/2}\) .

    So \(u_j\to\lvert x\rvert\) in \(H^1(-1,1)\) . The sequence \((u_j)\) is therefore Cauchy in the \(H^1\) norm and consists of \(C^1\) functions, but its limit \(\lvert x\rvert\) is not \(C^1\) ; and it has no other limit, since limits in a normed space are unique. A Cauchy sequence in \(C^1[-1,1]\) with no limit in \(C^1[-1,1]\) shows that this space is not complete for the \(H^1\) norm. \(H^1\) is the completion: it contains exactly the limits of such sequences.

  5. Prove that every \(u\in H_0^1(0,L)\) satisfies \(\max\lvert u\rvert\le\tfrac12\sqrt L\,\lVert u'\rVert\) , and find a function for which equality holds.

    Solution

    Let \(u\in H_0^1(0,L)\) , continuous by Theorem 9.3, with \(u(0)=u(L)=0\) by Theorem 9.5. For any \(x\in[0,L]\) the same theorem gives two representations,

    \[ u(x)=\int_0^xu'(s)\,ds\qquad\text{and}\qquad u(x)=-\int_x^Lu'(s)\,ds . \]

    Taking absolute values and adding, \(2\lvert u(x)\rvert\le\int_0^x\lvert u'\rvert\,ds+\int_x^L\lvert u'\rvert\,ds=\int_0^L\lvert u'\rvert\,ds\) . By the Cauchy–Schwarz inequality the last integral is at most \(\sqrt L\,\lVert u'\rVert\) . Hence \(\lvert u(x)\rvert\le\tfrac12\sqrt L\,\lVert u'\rVert\) for every \(x\) .

    Equality requires equality in Cauchy–Schwarz, so \(\lvert u'\rvert\) constant, and \(u'\) of one sign on each side of the point \(x\) where the maximum is attained; the two representations then force that point to be the midpoint. The tent \(u(x)=\min(x,L-x)\) has \(\max u=L/2\) and \(\lVert u'\rVert=\sqrt L\) , so \(\tfrac12\sqrt L\,\lVert u'\rVert=L/2\) : equality holds. The constant \(\tfrac12\) improves the constant \(1\) that Theorem 9.3 would give by using the boundary condition at both ends.

  6. Decide which of \(\sin(\pi x)\) , \(x\) , \(x(1-x)\) , the constant \(1\) , and \(\min(x,1-x)\) belong to \(H_0^1(0,1)\) . Then show that the distance in the \(H^1\) norm from the constant function \(1\) to the subspace \(H_0^1(0,1)\) is at least \(\tfrac12\) .

    Answer

    By Theorem 9.5 the members are the \(H^1\) functions vanishing at both ends: \(\sin(\pi x)\) , \(x(1-x)\) , and \(\min(x,1-x)\) . The function \(x\) fails at \(x=1\) and the constant \(1\) at both ends. For \(v\in H_0^1(0,1)\) put \(w=1-v\) ; then \(w(0)=1\) , and Theorem 9.3 gives \(1\le\max\lvert w\rvert\le\lVert w\rVert+\lVert w'\rVert\le\sqrt2\,\lVert w\rVert_{H^1}\) , so the distance is at least \(1/\sqrt2>\tfrac12\) .

  7. For \(u=x(1-x)\) on \((0,1)\) compute \(\lVert u\rVert^2\) and \(\lVert u'\rVert^2\) , and compare the ratio \(\lVert u\rVert^2/\lVert u'\rVert^2\) with the constant \(\tfrac12d^2\) of Theorem 9.6 and with the sharp constant \(1/\pi^2\) .

    Answer

    \(\lVert u\rVert^2=\int_0^1x^2(1-x)^2dx=\tfrac1{30}\) and \(\lVert u'\rVert^2=\int_0^1(1-2x)^2dx=\tfrac13\) , with ratio \(\tfrac1{10}\) . Theorem 9.6 guarantees at most \(\tfrac12\) ; the sharp constant is \(1/\pi^2\approx0.1013\) . The parabola is within about one percent of the extremal function \(\sin(\pi x)\) .

  8. Show by example that the Poincaré inequality fails on \(H^1(0,L)\) , and prove the substitute: if \(u\in H^1(0,L)\) and \(\int_0^Lu\,dx=0\) , then \(\lVert u\rVert\le L\lVert u'\rVert\) .

    Solution

    Failure. The constant function \(u=1\) belongs to \(H^1(0,L)\) with \(\lVert u\rVert=\sqrt L>0\) and \(\lVert u'\rVert=0\) , so no inequality \(\lVert u\rVert\le C\lVert u'\rVert\) can hold on \(H^1(0,L)\) .

    The substitute. Let \(u\in H^1(0,L)\) with \(\int_0^Lu\,dx=0\) , and take the continuous representative. A continuous function with zero integral cannot be positive everywhere or negative everywhere, so by the intermediate value theorem there is \(x_0\in[0,L]\) with \(u(x_0)=0\) . By Theorem 9.3, for every \(x\) ,

    \[ \lvert u(x)\rvert=\lvert u(x)-u(x_0)\rvert\le\lvert x-x_0\rvert^{1/2}\lVert u'\rVert\le\sqrt L\,\lVert u'\rVert . \]

    Squaring and integrating over \((0,L)\) , \(\lVert u\rVert^2\le L\cdot L\,\lVert u'\rVert^2\) , that is, \(\lVert u\rVert\le L\lVert u'\rVert\) .

    The condition of zero mean removes the constants, as the boundary condition did in \(H_0^1\) . This is the inequality behind the Neumann problem: on the subspace of mean-zero functions the energy \(\lVert u'\rVert^2\) again controls the whole \(H^1\) norm. The best constant is \(L/\pi\) , attained by \(\cos(\pi x/L)\) , by the cosine analogue of Corollary 7.9.

  9. Derive the weak formulation of \(-(p(x)u')'+q(x)u=f\) on \((0,1)\) with \(u(0)=0\) and \(p(1)u'(1)+\beta u(1)=\gamma\) . State the space, the bilinear form, and the functional, and say which boundary condition is essential and which is natural.

    Answer

    Multiply by \(v\) with \(v(0)=0\) and integrate by parts: \(\int_0^1(pu'v'+quv)\,dx-p(1)u'(1)v(1)=\int_0^1fv\,dx\) . Substituting \(p(1)u'(1)=\gamma-\beta u(1)\) : the space is \(V=\{v\in H^1(0,1):v(0)=0\}\) , the form is \(a(u,v)=\int_0^1(pu'v'+quv)\,dx+\beta u(1)v(1)\) , and the functional is \(\ell(v)=\int_0^1fv\,dx+\gamma v(1)\) . The condition at \(x=0\) is essential; the Robin condition at \(x=1\) is natural.

  10. For \(0<a<1\) find the weak solution \(u\in H_0^1(0,1)\) of \(\int_0^1u'v'\,dx=v(a)\) for all \(v\in H_0^1(0,1)\) , compute its energy \(\lVert u'\rVert^2\) , and prove that \(\lvert v(a)\rvert\le\sqrt{a(1-a)}\,\lVert v'\rVert\) for all \(v\in H_0^1(0,1)\) , with equality for a suitable \(v\) .

    Solution

    Guided by Example 9.3, the solution should be Green’s function of Example 4.2 with source at \(a\) :

    \[ u(x)=(1-a)\,x\ \ (0\le x\le a),\qquad u(x)=a\,(1-x)\ \ (a\le x\le1). \]

    It is continuous and piecewise linear with \(u(0)=u(1)=0\) , so \(u\in H_0^1(0,1)\) , with \(u'=1-a\) on \((0,a)\) and \(u'=-a\) on \((a,1)\) . For \(v\in H_0^1(0,1)\) , using Theorem 9.3 on each piece,

    \[ \int_0^1u'v'\,dx=(1-a)\bigl(v(a)-v(0)\bigr)-a\bigl(v(1)-v(a)\bigr)=(1-a)v(a)+a\,v(a)=v(a). \]

    So \(u\) is a weak solution, and it is the only one by the argument of Theorem 9.9. Its energy is

    \[ \lVert u'\rVert^2=a(1-a)^2+(1-a)a^2=a(1-a), \]

    which also equals \(u(a)\) , as testing with \(v=u\) requires.

    For the inequality, the identity just proved and the Cauchy–Schwarz inequality give, for every \(v\in H_0^1(0,1)\) ,

    \[ \lvert v(a)\rvert=\Bigl\lvert\int_0^1u'v'\,dx\Bigr\rvert\le\lVert u'\rVert\,\lVert v'\rVert=\sqrt{a(1-a)}\,\lVert v'\rVert , \]

    with equality for \(v=u\) . The constant is largest, \(\tfrac12\) , at the midpoint, in agreement with Example 9.3, and tends to zero as \(a\) approaches either end, where functions in \(H_0^1\) are pinned.

  11. A student sets up the weak form of \(-u''+u=f\) on \((0,1)\) with \(u'(0)=u'(1)=0\) in the space \(V=\{v\in H^1(0,1):v'(0)=v'(1)=0\}\) . Explain why \(V\) is not well defined as a subspace of \(H^1(0,1)\) , why its natural replacement is all of \(H^1(0,1)\) , and where the boundary conditions then come from.

    Solution

    For \(v\in H^1(0,1)\) the derivative \(v'\) is an element of \(L^2(0,1)\) : an equivalence class of functions defined up to sets of measure zero. It has no value at the single points \(0\) and \(1\) . Theorem 9.3 gives point values to \(v\) , not to \(v'\) . So the conditions \(v'(0)=v'(1)=0\) do not define a subset of \(H^1(0,1)\) at all.

    One might take instead the smooth functions satisfying the conditions and close up in the \(H^1\) norm. But that closure is all of \(H^1(0,1)\) : any smooth \(v\) can be changed near the endpoints, on intervals of length \(\varepsilon\) , into a function with zero slope there at a cost in the \(H^1\) norm that tends to zero with \(\varepsilon\) , because the \(H^1\) norm does not see the derivative at a point. The condition is not stable under \(H^1\) limits, in contrast to the Dirichlet condition, which is, by the bound in Theorem 9.3.

    So the correct space is \(H^1(0,1)\) itself, with the weak form \(\int_0^1(u'v'+uv)\,dx=\int_0^1fv\,dx\) for all \(v\in H^1(0,1)\) . The boundary conditions come out of the identity, as in Example 9.4: if the solution is \(C^2[0,1]\) , integrating by parts gives \(\int_0^1(-u''+u-f)v\,dx+u'(1)v(1)-u'(0)v(0)=0\) , and the freedom to choose \(v(0)\) and \(v(1)\) arbitrarily forces \(u'(0)=u'(1)=0\) . They are natural conditions.

  12. Suppose \(u\in C^2[0,1]\) satisfies \(\int_0^1(u'v'+uv)\,dx=\int_0^1fv\,dx+\gamma v(1)\) for all \(v\in H^1(0,1)\) , where \(f\) is continuous and \(\gamma\) is a constant. Prove that \(-u''+u=f\) on \((0,1)\) , \(u'(0)=0\) , and \(u'(1)=\gamma\) .

    Solution

    Since \(u\in C^2[0,1]\) and \(v\in H^1(0,1)\) , the integration by parts of Exercise 9.3 applies to \(u'\) and \(v\) :

    \[ \int_0^1u'v'\,dx=u'(1)v(1)-u'(0)v(0)-\int_0^1u''v\,dx . \]

    The weak identity becomes

    \[ \int_0^1\bigl(-u''+u-f\bigr)v\,dx+\bigl(u'(1)-\gamma\bigr)v(1)-u'(0)\,v(0)=0\qquad\text{for all }v\in H^1(0,1). \]

    Step 1. Take \(v\) a test function on \((0,1)\) ; the boundary terms vanish, and since \(-u''+u-f\) is continuous, Lemma 8.2(a) gives \(-u''+u=f\) on \((0,1)\) .

    Step 2. With the integral now zero for every \(v\) , the identity reads \((u'(1)-\gamma)v(1)-u'(0)v(0)=0\) for all \(v\in H^1(0,1)\) . The choice \(v(x)=x\) gives \(u'(1)=\gamma\) , and the choice \(v(x)=1-x\) gives \(u'(0)=0\) .

    No boundary condition was imposed on the space \(H^1(0,1)\) . Both were forced by the identity: the term \(\gamma v(1)\) in the functional produced the inhomogeneous Neumann condition at \(x=1\) , and the absence of a corresponding term at \(x=0\) produced the homogeneous one there.

  13. On \((0,1)\) let \(a(x)=1\) for \(x<\tfrac12\) and \(a(x)=3\) for \(x>\tfrac12\) . Find the function \(u\in H^1(0,1)\) with \(u(0)=0\) , \(u(1)=1\) , and \(\int_0^1au'v'\,dx=0\) for all \(v\in H_0^1(0,1)\) . Verify that the flux \(au'\) is continuous at the interface although \(u'\) is not.

    Answer

    \(u\) is piecewise linear with slopes \(s_1\) on \((0,\tfrac12)\) and \(s_2\) on \((\tfrac12,1)\) . Testing with \(v\in H_0^1(0,1)\) gives \(s_1v(\tfrac12)-3s_2v(\tfrac12)=0\) , so \(s_1=3s_2\) : the flux \(au'\) is continuous. With \(\tfrac12s_1+\tfrac12s_2=1\) this gives \(s_1=\tfrac32\) , \(s_2=\tfrac12\) , so \(u=\tfrac32x\) on the left, \(u=\tfrac12+\tfrac12x\) on the right, and \(u(\tfrac12)=\tfrac34\) . The flux is \(\tfrac32\) on both sides; the slope drops by a factor of three where the conductivity rises by that factor.

  14. For \(f=1\) on \((0,1)\) minimize \(J(v)=\tfrac12\int_0^1(v')^2dx-\int_0^1v\,dx\) over the one-parameter families \(v=c\,x(1-x)\) and \(v=c\sin(\pi x)\) . Compare the two minimum values with each other and with \(J\) of the weak solution, and explain the ordering by Theorem 9.10.

    Answer

    For \(v=c\,x(1-x)\) : \(J=\tfrac16c^2-\tfrac16c\) , minimized at \(c=\tfrac12\) with \(J=-\tfrac1{24}\approx-0.04167\) . For \(v=c\sin(\pi x)\) : \(J=\tfrac{\pi^2}{4}c^2-\tfrac2\pi c\) , minimized at \(c=4/\pi^3\) with \(J=-4/\pi^4\approx-0.04106\) . The weak solution is \(u=\tfrac12x(1-x)\) , which lies in the first family, so the first minimum is the global one; the second family does not contain \(u\) , and by Theorem 9.10 its minimum must be larger.

  15. Let \(u_1,u_2\in H_0^1(\Omega)\) be the weak solutions of the Dirichlet problem with data \(f_1,f_2\in L^2(\Omega)\) . Prove that \(\lVert u_1-u_2\rVert_{H^1}\le C_P\sqrt{1+C_P^2}\,\lVert f_1-f_2\rVert\) , and explain how this, with uniqueness and the existence theorem to come, makes the problem well-posed in the sense of Definition 1.4.

    Solution

    The difference \(w=u_1-u_2\) belongs to \(H_0^1(\Omega)\) and, subtracting the two weak identities, satisfies \(\int_\Omega\nabla w\cdot\nabla v\,dx=\int_\Omega(f_1-f_2)v\,dx\) for all \(v\in H_0^1(\Omega)\) . So \(w\) is the weak solution with datum \(f_1-f_2\) , and Theorem 9.9 gives \(\lVert\nabla w\rVert\le C_P\lVert f_1-f_2\rVert\) . By the Poincaré inequality \(\lVert w\rVert\le C_P\lVert\nabla w\rVert\) , hence

    \[ \lVert w\rVert_{H^1}^2=\lVert w\rVert^2+\lVert\nabla w\rVert^2\le(1+C_P^2)\,\lVert\nabla w\rVert^2\le(1+C_P^2)\,C_P^2\,\lVert f_1-f_2\rVert^2 , \]

    and taking square roots gives the claim.

    For well-posedness in the sense of Definition 1.4 one must name the classes and the measures of size: data \(f\in L^2(\Omega)\) measured in the \(L^2\) norm, solutions \(u\in H_0^1(\Omega)\) measured in the \(H^1\) norm. Requirement (ii), uniqueness, is Theorem 9.9. Requirement (iii), continuous dependence, is the inequality just proved: the map from data to solution is Lipschitz with constant \(C_P\sqrt{1+C_P^2}\) . Requirement (i), existence for every \(f\in L^2(\Omega)\) , is the theorem of Chapter 10. Compare Theorem 3.7, which gave well-posedness in the maximum norm for classical solutions but had to assume existence.

  16. Use Example 8.2 to show that \(u(x)=\lvert x\rvert^{-1/4}\) belongs to \(H^1(B)\) for the unit ball \(B\subset\mathbb R^3\) and compute \(\lVert u\rVert_{H^1}^2\) . Why does this function show that Theorem 9.3 has no analogue in three dimensions?

    Answer

    By Example 8.2 with \(n=3\) and \(a=\tfrac14<\tfrac12\) , \(u\) has a weak gradient with \(\lVert\nabla u\rVert^2=\tfrac\pi2\) , and \(\lVert u\rVert^2=4\pi\int_0^1r^{-1/2}r^2dr=\tfrac{8\pi}{5}\) . So \(\lVert u\rVert_{H^1}^2=\tfrac{8\pi}{5}+\tfrac{\pi}{2}=\tfrac{21\pi}{10}\) . The function is unbounded near the origin, so it has no continuous representative and no bound of its maximum by its \(H^1\) norm can hold.

  17. On the unit square compute \(\lVert u\rVert^2\) and \(\lVert\nabla u\rVert^2\) for \(u=\sin(\pi x)\sin(\pi y)\) , and compare the ratio with the bound of Theorem 9.6. Using Exercise 7.11’s eigenfunctions and Parseval’s identity in two variables, explain why \(C_P=1/(\pi\sqrt2)\) for the square.

    Hint

    \(\lVert u\rVert^2=\tfrac14\) and \(\lVert\nabla u\rVert^2=2\pi^2\cdot\tfrac14=\tfrac{\pi^2}{2}\) , with ratio \(1/(2\pi^2)\approx0.0507\) , against the bound \(\tfrac12\) . Expanding \(u\in H_0^1\) in the products \(\sin(m\pi x)\sin(n\pi y)\) with coefficients \(c_{mn}\) , Parseval gives \(\lVert u\rVert^2=\tfrac14\sum c_{mn}^2\) and \(\lVert\nabla u\rVert^2=\tfrac14\sum\pi^2(m^2+n^2)c_{mn}^2\ge2\pi^2\lVert u\rVert^2\) , with equality for \(m=n=1\) .

Search knowledge base

Explore

On this page

Note