Partial Differential Equations III/IV

[6pt] Exercise Sheet 4: Solutions


  1. 1.

    Green’s functions. By the Fundamental Theorem of Calculus, integrating u′′(y)=f(y) over [0,z], for any z[0,1], gives

    0zu′′(y)𝑑y=-0zf(y)𝑑yu(z)=u(0)-0zf(y)𝑑y=-0zf(y)𝑑y,

    where we have used the boundary condition u(0)=0. Integrating again, this time over [0,x], gives

    0xu(z)𝑑z=-0x0zf(y)𝑑y𝑑zu(x)=u(0)-0x0zf(y)𝑑y𝑑z.

    Taking x=1 and using the boundary condition u(1)=0 yields

    0=u(0)-010zf(y)𝑑y𝑑zu(0)=010zf(y)𝑑y𝑑z.

    Therefore

    u(x)=010zf(y)𝑑y𝑑z-0x0zf(y)𝑑y𝑑z.

    By interchanging the order of integration we can write this as

    u(x) =01y1f(y)𝑑z𝑑y-0xyxf(y)𝑑z𝑑y
    =01(1-y)f(y)𝑑y-0x(x-y)f(y)𝑑y
    =0x(1-y)f(y)𝑑y+x1(1-y)f(y)𝑑y-0x(x-y)f(y)𝑑y
    =0x(1-x)f(y)𝑑y+x1(1-y)f(y)𝑑y.

    Therefore

    u(x)=01G(x,y)f(y)𝑑y

    with

    G(x,y)={1-xif yx,1-yif yx.
  2. 2.

    Homogenization.

    • (i)

      Integrate (aε(y)uε(y))=-f(y) over y[0,z]:

      0z(aε(y)uε(y))𝑑y=-0zf(y)𝑑y aε(z)uε(z)-aε(0)uε(0)=-0zf(y)𝑑y
      uε(z)=aε(0)uε(0)aε(z)-1aε(z)0zf(y)𝑑y.

      Now integrate over z[0,x]:

      0xuε(z)𝑑z=0x[aε(0)uε(0)aε(z)-1aε(z)0zf(y)𝑑y]𝑑z
      uε(x)=uε(0)=0+aε(0)uε(0)0x1aε(z)𝑑z-0x1aε(z)0zf(y)𝑑y𝑑z. (1)

      We determine uε(0) by evaluating this expression at x=1:

      uε(1)=0=aε(0)uε(0)011aε(z)𝑑z-011aε(z)0zf(y)𝑑y𝑑z
      aε(0)uε(0)=(011aε(z)𝑑z)-1011aε(z)0zf(y)𝑑y𝑑z.

      Substituting this into (1) gives

      uε(x)=(011aε(z)𝑑z)-1011aε(z)0zf(y)𝑑y𝑑z0x1aε(z)𝑑z-0x1aε(z)0zf(y)𝑑y𝑑z

      as required.

    • (ii)

      Taking ε=εn=1n gives

      uεn(x)=(011a(nz)𝑑z)-1011a(nz)0zf(y)𝑑y𝑑z0x1a(nz)𝑑z-0x1a(nz)0zf(y)𝑑y𝑑z.

      We are told in the hint to use the Riemann-Lebesgue Lemma, which states that if gL() is 1–periodic, then for any interval [c,d],

      limncdg(nz)h(z)𝑑z=cdg¯h(z)𝑑z  hL1()C1() (2)

      Applying (2) with c=0, d=1, g(z)=1/a(z), and h(z)=1 on [c,d] gives

      limn011a(nz)𝑑z=01(1a)¯𝑑z=(1a)¯.

      (Technical remark: We cannot take h(z)=1 for all z, else hL1(). But we can take h to be any function in L1()C1() such that h=1 on [c,d]. The choice of h outside [c,d] does not matter since it does not affect the integrals in (2).)

      Applying (2) with c=0, d=x, g(z)=1/a(z) (since a is periodic and bounded below by a positive constant, g is periodic and bounded), and h(z)=1 on [c,d] gives

      limn0x1a(nz)𝑑z=0x(1a)¯𝑑z=x(1a)¯.

      Applying (2) with c=0, d=1, g(z)=1/a(z), and h(z)=0zf(y)𝑑y on [c,d] gives

      limn011a(nz)0zf(y)𝑑y𝑑z=(1a)¯010zf(y)𝑑y𝑑z.

      Finally, applying (2) with c=0, d=x, g(z)=1/a(z), and h(z)=0zf(y)𝑑y on [c,d] gives

      limn0x1a(nz)0zf(y)𝑑y𝑑z=(1a)¯0x0zf(y)𝑑y𝑑z.
      limnuεn(x)=u0(x):=x(1a)¯010zf(y)dydz-(1a)¯0x0zf(y)dydz. (3)
    • (iii)

      This is simply a matter of interchanging the order of integration:

      u0(x) =x(1a)¯010zf(y)𝑑y𝑑z-(1a)¯0x0zf(y)𝑑y𝑑z
      =x(1a)¯01y1f(y)𝑑z𝑑y-(1a)¯0xyxf(y)𝑑z𝑑y
      =x(1a)¯01(1-y)f(y)𝑑y-(1a)¯0x(x-y)f(y)𝑑y
      =(1a)¯{0x[x(1-y)-(x-y)]f(y)𝑑y+x1x(1-y)f(y)𝑑y}
      =(1a)¯{0xy(1-x)f(y)𝑑y+x1x(1-y)f(y)𝑑y}
      =01G(x,y)f(y)𝑑y

      with

      G(x,y)={(1a)¯y(1-x)if yx,(1a)¯x(1-y)if yx.
    • (iv)

      Clearly u0 satisfies the boundary conditions. By the Fundamental Theorem of Calculus, differentiating equation (3) gives

      u0(x)=(1a)¯010zf(y)𝑑y𝑑z-(1a)¯0xf(y)𝑑y.

      Differentiating again gives

      u0′′(x)=-(1a)¯f(x).

      Therefore

      -a0u0′′(x)=-1(1a)¯[-(1a)¯f(x)]=f(x)

      as required.

    • (v)

      By definition,

      a¯=01a(x)𝑑x=01212𝑑x+1211𝑑x=1212+121=34

      On the other hand,

      a0=(011a(x)𝑑x)-1=(0122𝑑x+1211𝑑x)-1=(122+121)-1=(32)-1=23

      Therefore a0a¯. In fact the Cauchy-Schwarz inequality can be used to show that

      a0a¯

      for any choice of a.

    • (vi)

      Without loss of generality we can assume that c>0. Using the hint and integration by parts gives

      cdg(nz)h(z)𝑑z =cd(1n0nzg(y)𝑑y)h(z)𝑑z
      =1n0nzg(y)𝑑yh(z)|cd-cd1n0nzg(y)𝑑yh(z)𝑑z. (4)

      Let z[c,d],n and let nz(nz-1,nz] denote floor(nz), which is the largest integer less than or equal to nz. Since a is 1–periodic,

      0nzg(y)𝑑y=0nzg(y)𝑑y+nznzg(y)𝑑y=nz01g(y)𝑑y+nznzg(y)𝑑y. (5)

      Observe that

      z-1n=nz-1n<nznnzn=z.

      Therefore by the Pinching Lemma (Squeezing Lemma)

      limnnzn=z. (6)

      Also

      |1nnznzg(y)𝑑y|1n(nz-nz)gL()1ngL().

      Therefore

      limn1nnznzg(y)𝑑y=0. (7)

      By combining equations (5), (6), (7) we find that

      limn1n0nzg(y)𝑑y=z01g(y)𝑑y. (8)

      Therefore the limit of the first term on the right-hand side of equation (4) is

      limn1n0nzg(y)𝑑yh(z)|cd=z01g(y)𝑑yh(z)|cd. (9)

      Now we find the limit of the second term on the right-hand side of (4). By the computations above

      |cd1n0nzg(y)𝑑yh(z)𝑑z-cdz01g(y)𝑑yh(z)𝑑z|
      cd|1n0nzg(y)𝑑y-z01g(y)𝑑y||h(z)|𝑑z
      cd|nzn01g(y)𝑑y+1nnznzg(y)𝑑y-z01g(y)𝑑y||h(z)|𝑑z
      cd(|nzn01g(y)𝑑y-z01g(y)𝑑y|+1nnznz|g(y)|𝑑y)|h(z)|𝑑z
      cd|nz-nzn01g(y)𝑑y||h(z)|𝑑z+1ngL()hL1([c,d])
      cd1n01|g(y)|𝑑y|h(z)|𝑑z+1ngL()hL1([c,d])
      2ngL()hL1([c,d])0 as n.

      Therefore

      limncd1n0nzg(y)𝑑yh(z)𝑑z=cdz01g(y)𝑑yh(z)𝑑z. (10)

      Combining (4), (9), (10) and then integrating by parts yields

      limncdg(nz)h(z)𝑑z =z01g(y)𝑑yh(z)|cd-cdz01g(y)𝑑yh(z)𝑑z
      =cd01g(y)𝑑yh(z)𝑑z
      =cdg¯h(z)𝑑z

      as required.

  3. 3.

    Radial symmetry of Laplace’s equation on n. Let v:n be a harmonic function. Let RO(n,) and define w:n by w(𝒙):=v(R𝒙). Then

    wxi =j=1nvxj(R𝒙)jxi=j=1nvxjxik=1nRjkxk
    =j=1nvxjk=1nRjkxkxi=j=1nvxjk=1nRjkδki
    =j=1nvxjRji.

    To be precise

    wxi(𝒙)=j=1nvxj(R𝒙)Rji.

    (This can also be written as w(𝒙)=RTv(R𝒙).)

    Now we compute the second partial derivatives:

    wxixi =xij=1nvxj(R𝒙)Rji
    =j=1nk=1nvxjxk(R𝒙)kxiRji
    =j=1nk=1nvxjxkRjixil=1nRklxl
    =j=1nk=1nvxjxkRjil=1nRklxlxi
    =j=1nk=1nvxjxkRjil=1nRklδil
    =j=1nk=1nvxjxkRjiRki.

    Therefore

    Δw =i=1nwxixi
    =i=1nj=1nk=1nvxjxkRjiRki
    =j=1nk=1nvxjxki=1nRjiRki
    =j=1nk=1nvxjxki=1nRji(RT)ik
    =j=1nk=1nvxjxk(RRT)jk
    =j=1nk=1nvxjxkIjk (11)

    since R is an orthogonal matrix. There are two ways to conclude from here: If are are familiar with the matrix inner product, then (11) gives

    Δw=D2v:I=trace(D2v)=Δv=0

    since v is harmonc. Otherwise we can continue from (11) using indices:

    Δw=j=1nk=1nvxjxkIjk=j=1nk=1nvxjxkδjk=j=1nvxjxj=Δv=0,

    as required.

  4. 4.

    Fundamental solution of Poisson’s equation in 3D.

    • (i)

      One way of computing ΦL1(BR(𝟎)) is using spherical polar coordinates:

      ΦL1(BR(𝟎)) =BR(𝟎)|Φ(𝒙)|𝑑𝒙
      =14πBR(𝟎)1|𝒙|𝑑𝒙
      =14πϕ=02πθ=0πr=0R1rr2sinθdrdθdϕ
      =14π02π1𝑑ϕ0πsinθdθ0Rr𝑑r
      =R22

      Another way of computing ΦL1(BR(𝟎)) is as follows:

      ΦL1(BR(𝟎)) =BR(𝟎)|Φ(𝒙)|𝑑𝒙
      =0R(Br(𝟎)|Φ(𝒚)|𝑑S(𝒚))𝑑r
      =0R(Br(𝟎)14π1|𝒚|𝑑S(𝒚))𝑑r
      =14π0R(Br(𝟎)1r𝑑S(𝒚))𝑑r
      =14π0R(area(Br(𝟎))1r)𝑑r
      =14π0R(4πr21r)𝑑r
      =0Rr𝑑r
      =R22
    • (ii)

      Let K3 be compact. Since K is bounded, there exists R>0 such that KBR(𝟎). Therefore

      K|Φ(𝒙)|𝑑𝒙BR(𝟎)|Φ(𝒙)|𝑑𝒙=R22<.

      Therefore ΦLloc1(3).

    • (iii)

      By part (i),

      limRΦL1(BR(𝟎))=limRR22=+.

      Therefore ΦL1(3).

    • (iv)

      By the Chain Rule

      Φ(𝒙)=14π(-1|𝒙|2)|𝒙|=14π(-1|𝒙|2)𝒙|𝒙|=-14π𝒙|𝒙|3.

      Let K3 be compact. Since K is bounded, there exists R>0 such that KBR(𝟎). Therefore

      K|Φ(𝒙)|𝑑𝒙 BR(𝟎)|Φ(𝒙)|𝑑𝒙
      =BR(𝟎)14π1|𝒙|2𝑑𝒙
      =14πϕ=02πθ=0πr=0R1r2r2sinθdrdθdϕ
      =14π02π1𝑑ϕ0πsinθdθ0R1𝑑r
      =R
      <.

      Therefore ΦLloc1(3).

  5. 5.

    Fundamental solution of Poisson’s equation in 1D. We compute

    u′′(x) =(Φ*f)′′(x)
    =(f*Φ)′′(x) (symmetry of convolution)
    =d2dx2-Φ(y)f(x-y)𝑑y
    =-Φ(y)d2dx2f(x-y)𝑑y
    =-0yd2dx2f(x-y)𝑑y
    =-0yd2dy2f(x-y)𝑑y
    =yddyf(x-y)|-0--0ddyf(x-y)𝑑y (integration by parts)
    =-f(x) (Fundamental Theorem of Calculus)

    as required.

  6. 6.

    The function spaces L1 and Lloc1. Let f:, f(x)=|x|k, k. By integrating we see that

    • (i)

      fL1((-R,R)) for k>-1,

    • (ii)

      fL1((R,)) for k<-1,

    • (iii)

      fLloc1() for k>-1,

    • (iv)

      fL1() for any k (by parts (i),(ii)).

  7. 7.

    Properties of the convolution.

    • (i)

      Let φLloc1(), fCc() and let K=supp(f). Choose R>0 such that K[-R,R]. In particular, f=0 outside the interval [-R,R]. Therefore

      |(φ*f)(x)| =|-φ(x-y)f(y)𝑑y|
      =|-RRφ(x-y)f(y)𝑑y|
      -RR|φ(x-y)||f(y)|𝑑y
      max[-R,R]|f|-RR|φ(x-y)|𝑑y
      =max[-R,R]|f|-R-xR-x|φ(z)|𝑑z
      <

      since φLloc1() and [-R-x,R-x] is compact.

    • (ii)

      Now assume that φL1(). By Lemma 4.12, fL(). Therefore

      |(φ*f)(x)| -|φ(x-y)||f(y)|𝑑y
      supy|f(y)|-|φ(x-y)|𝑑y
      =supy|f(y)|-|φ(z)|𝑑z
      =fL()φL1().

      Therefore

      φ*fL()=supx|(φ*f)(x)|fL()φL1()<

      and so φ*fL(), as required.

    • (iii)

      The convolution is commutative since

      (φ*f)(x) =-φ(x-y)f(y)𝑑y
      =-φ(z)f(x-z)(-1)𝑑z (z=x-y)
      =-φ(z)f(x-z)𝑑z
      =(f*φ)(x)

      as required.

  8. 8.

    The Poincaré inequality for functions that vanish on the boundary. Let fC1([a,b]) satisfy f(a)=f(b)=0. Then

    f(x)=f(a)+axf(y)𝑑y=axf(y)𝑑y

    since f(a)=0. Therefore

    |f(x)| =|axf(y)𝑑y|
    =|ax1f(y)𝑑y|
    |ax12𝑑y|1/2|ax|f(y)|2𝑑y|1/2 (Cauchy-Schwarz)
    (x-a)1/2(ab|f(y)|2𝑑y)1/2.

    Squaring and integrating gives

    ab|f(x)|2𝑑x ab(x-a)ab|f(y)|2𝑑y𝑑x
    =ab(x-a)𝑑xab|f(y)|2𝑑y
    =12(x-a)2|abab|f(y)|2𝑑y
    =12(b-a)2ab|f(y)|2𝑑y.

    This is the Poincaré inequality with C=12(b-a)2.

  9. 9.

    The Poincaré inequality on unbounded domains.

    • (i)

      For n, define fn: by

      fn(x)={0if x(-,-n-1],(x-(-n-1))2(x-(-n+1))2if x[-n-1,-n],1if x[-n,n],(x-(n+1))2(x-(n-1))2if x[n,n+1],0if x[n+1,).

      (Exercise: Sketch fn to get a better understanding of the example.) Observe that

      fn(-n-1)=fn(n+1)=0,
      fn(-n)=fn(n)=1,
      fn(-n-1)=fn(-n)=fn(n)=fn(n+1)=0.

      Therefore fnC1(). We also have fnL2() since

      fnL2()2=-|fn(x)|2𝑑x<-n-1n+11𝑑x=2(n+1).

      We compute

      fnL2()2 =-|fn(x)|2𝑑x
      =2nn+1[ddx(x-(n+1))2(x-(n-1))2]2𝑑x
      =2nn+1[2(x-(n+1))(x-(n-1))2+2(x-(n+1))2(x-(n-1))]2𝑑x
      =201[2(y-1)(y+1)2+2(y-1)2(y+1)]2𝑑y (y=x-n)

      which is independent of n. But

      fnL2()2=-|fn(x)|2𝑑x>-nn|fn(x)|2𝑑x=2n.

      Therefore

      fnL2()=constant,fnL2()n

      as required. This means that, given any C>0, we can choose N large enough so that

      -|fN(x)|2𝑑x>C-|fN(x)|2𝑑x,

      which means that the Poincaré inequality on does not hold. We constructed this counter example using spreading; the support of fn spreads as n without changing the L2–norm of fn.

    • (ii)

      Let Ω=(a,b)×(-,). Let fC1(Ω¯)L2(Ω) with fL2(Ω) and with f(a,y)=f(b,y)=0 for all y. Then

      Ω|f(𝒙)|2𝑑𝒙 =-(ab|f(x,y)|2𝑑x)𝑑y
      -(Cab|fx(x,y)|2𝑑x)𝑑y (Poincaré inequality in x)
      C-ab(|fx(x,y)|2+|fy(x,y)|2)𝑑x𝑑y
      =CΩ|f(𝒙)|2𝑑𝒙

      as required.

  10. 10.

    The Poincaré constant depends on the domain. There exits C1>0 such that

    01|f(x)|2𝑑xC101|f(x)|2𝑑x (12)

    for all fC1([0,1]) with f(0)=f(1)=0. Let gC1([0,L]) with g(0)=g(L)=0. Then

    0L|g(x)|2𝑑x =01|g(Ly)|2L𝑑y (y=x/L)
    =L01|f(y)|2𝑑y (f(y):=g(Ly))
    LC101|f(y)|2𝑑y (equation (12))
    =LC101|Lg(Ly)|2𝑑y (f(y)=Lg(Ly))
    =L3C101|g(Ly)|2𝑑y
    =L2C10L|g(x)|2𝑑x (y=x/L)
    =CL0L|g(x)|2𝑑x

    with CL=L2C1, as desired.

  11. 11.

    Eigenvalues of -Δ: Can you hear the shape of a drum? Multiply the PDE -Δu=λu by u¯ (the complex conjugate of u) and integrate over Ω:

    -Ωu¯Δu𝑑𝒙=λΩu¯u𝑑𝒙 -Ωu¯u𝒏dL+Ωu¯ud𝒙=λΩ|u|2𝑑𝒙.

    The boundary condition u=0 on Ω implies that u¯=0 on Ω and so

    Ωu¯ud𝒙=λΩ|u|2𝑑𝒙 Ω|u|2𝑑𝒙=λΩ|u|2𝑑𝒙
    λ=Ω|u|2𝑑𝒙Ω|u|2𝑑𝒙> 0

    as required.

  12. 12.

    The optimal Poincaré constant and eigenvalues of -Δ.

    • (i)

      Multiply the PDE -Δu=λu by u and integrate over Ω:

      -ΩuΔu𝑑𝒙=λΩu2𝑑𝒙Ω|u|2𝑑𝒙=λΩu2𝑑𝒙

      since u=0 on Ω. Rearranging gives

      λ=Ω|u|2𝑑𝒙Ω|u|2𝑑𝒙.
    • (ii)

      Let uC2(Ω¯)V minimise E. Let φV. Define uε=u+εφV and define g(ε)=E[uε], ε. Since E is minimised by u, then g is minimised by 0. It follows that

      0 =g(0)
      =ddε|ε=0E[uε]
      =ddε|ε=0Ω|uε|2𝑑𝒙Ω|uε|2𝑑𝒙
      =2Ωuφd𝒙Ω|u|2𝑑𝒙-2Ω|u|2𝑑𝒙Ωuφ𝑑𝒙(Ω|u|2𝑑𝒙)2.

      The numerator must be zero. Rearranging gives

      Ωuφd𝒙=(Ω|u|2𝑑𝒙Ω|u|2𝑑𝒙)Ωuφ𝑑𝒙.

      Integrating by parts gives

      -ΩΔuφ𝑑𝒙=(Ω|u|2𝑑𝒙Ω|u|2𝑑𝒙)Ωuφ𝑑𝒙.

      Since this holds for all φV, the Fundamental Lemma of the Calculus of Variations implies that

      -Δu=(Ω|u|2𝑑𝒙Ω|u|2𝑑𝒙)uin Ω.

      If we define

      λ=Ω|u|2𝑑𝒙Ω|u|2𝑑𝒙,

      then

      -Δu=λuin Ω.

      In other words, u is an eigenfunction of -Δ. By definition

      E[u]=Ω|u|2𝑑𝒙Ω|u|2𝑑𝒙=λ.

      Since u minimises E, then λ must be the smallest eigenvalue of -Δ on V, i.e., λ=λ1, otherwise we obtain a contradiction. Therefore E[u]=λ1, as required.

    • (iii)

      Let C>0 satisfy

      fL2(Ω)CfL2(Ω)

      for all fC1(Ω¯) with f=0 on Ω. Then

      1CfL2(Ω)fL2(Ω)

      for all fV and so

      1CinffVfL2(Ω)fL2(Ω).

      The smallest value of C satisfying this inequality is C=CP where

      1CP=inffVfL2(Ω)fL2(Ω).
    • (iv)

      Combining parts (ii) and (iii) gives

      1CP=inffVfL2(Ω)fL2(Ω)=inffVE[v]1/2=(inffVE[v])1/2=λ1.

      Therefore

      CP=1λ1

      as desired.

    • (v)

      If Ω=(0,2π), then the corresponding eigenvalue problem is

      -u′′=λuin (0,2π),u(0)=u(2π)=0.

      The eigenfunctions are un(x)=sin(nx2) (see Exercise Sheet 5, Q16) and the corresponding eigenvalues are λn=n2/4, n. Therefore λ1=1/4 and CP=1/1/4=2. In Q8 we obtained the Poincaré constant (b-a)/2=2π, which is obviously much bigger than the optimal constant CP=2.

  13. 13.

    Uniqueness for Poisson’s equation with Robin boundary conditions. Let u1 and u2 be solutions of

    -Δu=f in Ω,
    u𝒏+αu=g on Ω.

    Let w=u1-u2. Since the PDE is linear, subtracting the equations satisfied by u1 and u2 gives

    -Δw=0 in Ω,
    w𝒏+αw=0 on Ω.

    Multiply -Δw=0 by w and integrate by parts over Ω:

    -ΩwΔw𝑑𝒙=0 -Ωww𝒏dS+Ω|w|2𝑑𝒙=0
    αΩw2𝑑S+Ω|w|2𝑑𝒙=0

    since w𝒏=-αw on Ω. But α>0. Therefore

    Ωw2𝑑S=0,Ω|w|2𝑑𝒙=0.

    The second equation implies that w=𝟎 and hence w= constant (or at least constant on each connected component of Ω). The first equation implies that this constant must be zero. Therefore w=0 and u1=u2, as required.

  14. 14.

    Uniqueness for a more general elliptic problem. Consider the linear, second-order, elliptic PDE

    -div(Au)+𝒃u+cu=f in Ω, (13)
    u=g on Ω.

    (i) Suppose that u1,u2C2(Ω¯) satisfy (13). Let w=u1-u2. Since the PDE is linear, subtracting the equations satisfied by u1 and u2 gives

    -div(Aw)+𝒃w+cw=0 in Ω, (14)
    w=0 on Ω.

    Clearly w=0 satisfies (14). We want to show that it is the only solution. Multiply the PDE for w by w and integrate over Ω:

    0 =Ωw(-div(Aw)+𝒃w+cw)𝑑𝒙
    =-Ωwdiv(Aw)𝑑𝒙+Ωw𝒃wd𝒙+Ωcw2𝑑𝒙
    =-Ωw(Aw)𝒏𝑑S+Ωw(Aw)𝑑𝒙+Ωw𝒃wd𝒙+Ωcw2𝑑𝒙
    =Ωw(Aw)𝑑𝒙+Ωw𝒃wd𝒙+Ωcw2𝑑𝒙 (15)

    since w=0 on Ω. Observe that

    Ωw(Aw)𝑑𝒙=Ω(w)TAwd𝒙αΩ|w|2𝑑𝒙 (16)

    by the assumption that A is uniformly positive definite (take 𝒚=w in 𝒚TA(𝒙)𝒚α|𝒚|2). Integrating by parts gives

    Ωw𝒃wd𝒙 =Ωw2𝒃𝒏𝑑S-Ωwdiv(w𝒃)𝑑𝒙
    =-Ωwdiv(w𝒃)𝑑𝒙 (w=0 on Ω)
    =-Ωw(w𝒃+wdiv𝒃)𝑑𝒙 (product rule)
    =-Ωw𝒃wd𝒙

    by the assumption that div𝒃=0. Therefore

    Ωw𝒃wd𝒙=-Ωw𝒃wd𝒙Ωw𝒃wd𝒙=0. (17)

    Combining (15), (16), (17) yields

    αΩ|w|2𝑑𝒙+Ωcw2𝑑𝒙0.

    But c0 by assumption. Therefore

    αΩ|w|2𝑑𝒙=0

    and so w=𝟎 in Ω. Hence w is constant (or at least constant on each connected component of Ω). But w=0 on Ω. Therefore w=0, as required.

    (ii) The idea is the same as for (i). Let un be the unique solution to the PDE with An and let u be the unique solution to the PDE with the matrix A. Define wn:=un-u. We need to show that wn0 in L2(Ω) as n+. Taking the two PDEs, subtracting them and multiplying the resulting PDE by wn, we obtain

    0 =Ωwn(-div(Anun)+div(Au)+𝒃wn+cwn)𝑑𝒙. (18)

    Proceeding exactly as in (i), we find

    Ωwn𝒃wnd𝒙=0.

    Moreover, we compute (using integration by parts, since wn=0 on Ω)

    Ωwn[-div(Anun)+div(Au)]𝑑𝒙
    =Ωwn[-div(Anun)+div(Anu)-div(Anu)+div(Au)]𝑑𝒙
    =Ωwn[-div(An(un-u))-div((An-A)u)]𝑑𝒙
    =Ω[wn(Anwn)+wn((An-A)u)]𝑑𝒙
    Ω[α|wn|2+wn((An-A)u)]𝑑𝒙

    So, all these arguments yield

    Ω[α|wn|2+wn((An-A)u)+cwn2]𝑑𝒙0.

    Now, for any ε>0, Young’s inequality yields

    Ωwn((An-A)u)𝑑𝒙=-ε2Ω|wn|2𝑑𝒙-Ω12ε|An-A|2|u|2𝑑𝒙.

    By setting ε:=α, the previous two identities imply

    Ω[α2|wn|2+cwn2]𝑑𝒙12αAn-AL2Ω|u|2𝑑𝒙.

    And by the non-negative property of c, one has

    Ωα2|wn|2𝑑𝒙12αAn-AL2Ω|u|2𝑑𝒙.

    We conclude by the facts that Ω|u|2𝑑𝒙 is bounded and An-AL0, as n+.

  15. 15.

    Uniqueness for a degenerate diffusion equation. Clearly u=π satisfies

    Δum=0 in Ω,
    u=π on Ω.

    We use the energy method to show that it is the only positive solution. Let v be any positive solution. Subtracting the PDE for u from the PDE for v and multiplying by (v-u) gives

    0=(v-u)(Δvm-Δum)=(v-π)(Δvm-Δπm)=(v-π)Δvm.

    Now integrate over Ω:

    0 =Ω(v-π)Δvm𝑑𝒙
    =Ω(v-π)div(vm)d𝒙 (Δ=div)
    =Ω(v-π)div(mvm-1v)𝑑𝒙 (Chain Rule)
    =Ω(v-π)=0mvm-1v𝒏dS-Ω(v-π)=vmvm-1vd𝒙 (Integration by parts)
    =-Ωmvm-1|v|2𝑑𝒙.

    Therefore

    Ωmvm-1|v|2𝑑𝒙=0.

    But v>0, by assumption. Hence v=𝟎 in Ω and so v is constant in Ω. Since v=π on Ω, we conclude that v=π everywhere, as required.

  16. 16.

    The H01 and H1 norms.

    • (i)

      We need to check that L2([a,b]) satisfies the three properties of a norm: positivity, 1–homogeneity, and the triangle inequality. First we prove positivity. Let fC([a,b]). Clearly fL2([a,b])0. Suppose that fL2([a,b])=0 and assume for contradiction that f0. Since f is continuous, then there exists x0(a,b), h>0 and ε>0 such that |f(x)|>ε for all x(x0-h,x0+h). Therefore

      fL2([a,b])2x0-hx0+h|f(x)|2𝑑xx0-hx0+hε2𝑑x=2hε2>0,

      which is a contradiction. Second we check that L2([a,b]) is 1–homogeneous. Let λ. Then

      λfL2([a,b])=(ab|λf(x)|2)1/2=|λ|(ab|f(x)|2)1/2=|λ|fL2([a,b])

      as required. Finally, we prove the triangle inequality. Let f,gC([a,b]). Then

      f+gL2([a,b])2 =ab(f(x)+g(x))2𝑑x
      =abf(x)2𝑑x+2abf(x)g(x)𝑑x+abg(x)2𝑑x
      abf(x)2𝑑x+2(abf(x)2𝑑x)1/2(abg(x)2𝑑x)1/2+abg(x)2𝑑x
        (by the Cauchy-Schwarz inequality)
      =fL2([a,b])2+2fL2([a,b])gL2([a,b])+gL2([a,b])2
      =(fL2([a,b])+gL2([a,b]))2.

      Taking the square root gives the triangle inequality.

      Remark: An alternative proof is to prove that the function (,):C([a,b])×C([a,b]),

      (f,g)=abf(x)g(x)𝑑x,

      is an inner product on C([a,b]). It then follows that f:=(f,f) is a norm on C([a,b]) (the norm induced by the inner product; see Definition A.16 in the lecture notes). But this is just the L2–norm L2([a,b]).

      Remark: The Cauchy-Schwarz inequality can be proved by considering the quadratic polynomial

      tp(t):=f+tgL2([a,b])2.

      Since p is non-negative, then it must have non-positive discriminant, i.e., if p(t)=αt2+βt+γ, then β2-4αγ0. It is easy to check that this condition is exactly the Cauchy-Schwarz inequality.

    • (ii)

      We will prove that the function (,)H1:C1([a,b])×C1([a,b]) defined by

      (f,g)H1:=abf(x)g(x)𝑑x+abf(x)g(x)𝑑x

      is an inner product on C1([a,b]). It then follows that

      fH1([a,b])=(f,f)H1

      is a norm on C1([a,b]) (see Definition A.16 in the lecture notes). It is clear that (,)H1 is symmetric and bilinear and that (f,f)H10 for all fC1([a,b]). Suppose that (f,f)H1=0. Then fH1([a,b])=0 and in particular fL2([a,b])=0. Therefore f=0 by part (i).

    • (iii)

      This is similar to part (ii). We will prove that the function (,)H01:V×V defined by

      (f,g)H01:=abf(x)g(x)𝑑x

      is an inner product on V. It is clear that (,)H01 is symmetric and bilinear and that (f,f)H010 for all fV. Suppose that (f,f)H01=0. Then fH01([a,b])=0 and in particular fL2([a,b])=0. Therefore f=0 by part (i) and so f is a constant function. But f(a)=f(b)=0 and hence f=0, as required.

    • (iv)

      We need to find constants c,C>0 such that

      cfH01([a,b])fH1([a,b])CfH01([a,b])fV.

      Let fV. We have

      fH01([a,b])=fL2([a,b])(fL2([a,b])2+fL2([a,b])2)1/2=fH1([a,b]).

      Therefore c=1. On the other hand,

      fH1([a,b])2=fL2([a,b])2+fL2([a,b])2CP2fL2([a,b])2+fL2([a,b])2

      where CP is the Poincaré constant. Therefore we can take C=(CP2+1)1/2.

  17. 17.

    Continuous dependence. Let uC2(Ω¯) satisfy

    -div(Au)+cu=f in Ω,
    u=0 on Ω.

    Multiplying the PDE by u and integrating over Ω gives

    Ωfu𝑑𝒙 =Ωu(-div(Au)+cu)𝑑𝒙
    =-Ωudiv(Au)𝑑𝒙+cΩu2𝑑𝒙
    =-Ωu(Au)𝒏𝑑S+Ωu(Au)𝑑𝒙+cΩu2𝑑𝒙
    =Ω(u)TAud𝒙+cΩu2𝑑𝒙 (u=0 on Ω)
    αΩ|u|2𝑑𝒙+cΩu2𝑑𝒙 (A is uniformly positive definite)
    min{α,c}(Ω|u|2𝑑𝒙+Ωu2𝑑𝒙)
    =min{α,c}uH1(Ω)2

    by definition of the H1–norm. Therefore

    min{α,c}uH1(Ω)2Ωfu𝑑𝒙fL2(Ω)uL2(Ω)fL2(Ω)uH1(Ω)

    where we have used the Cauchy-Schwarz inequality and the fact that vL2(Ω)vH1(Ω) for all vC1(Ω¯). Cancelling one power of uH1(Ω) from both sides gives the desired result:

    uH1(Ω)CfL2(Ω)

    with C=1/min{α,c}.

    Remark: Note that this estimate degenerates as c tends to 0 (C+ as c0). If c=0 or c is small then a better estimate can be obtained using the Poincaré inequality: As above

    Ωfu𝑑𝒙αΩ|u|2𝑑𝒙+cΩu2𝑑𝒙αΩ|u|2𝑑𝒙=αuH01(Ω)2.

    Therefore

    αuH01(Ω)2Ωfu𝑑𝒙fL2(Ω)uL2(Ω)CPfL2(Ω)uL2(Ω)=CPfL2(Ω)uH01(Ω)

    where CP(Ω) is the Poincaré constant. Cancelling one power of uH01(Ω) from both sides gives

    uH01(Ω)CfL2(Ω)

    with C=CP/α.

  18. 18.

    Continuous dependence with a first-order term.

    • (a)

      Let uC2(Ω¯) satisfy

      -kΔu+𝒃u+cu=f in Ω, (19)
      u=0 on Ω.

      Multiply the PDE by u and integrate over Ω:

      -kΩuΔu𝑑𝒙+Ωu𝒃ud𝒙+Ωcu2𝑑𝒙=Ωfu𝑑𝒙
      -k[Ωuu𝒏dS-Ω|u|2𝑑𝒙]+Ωu𝒃ud𝒙+Ωcu2𝑑𝒙=Ωfu𝑑𝒙
      kuL2(Ω)2+Ω(𝒃u)u𝑑𝒙+cuL2(Ω)2=Ωfu𝑑𝒙fL2(Ω)uL2(Ω)

      by the Cauchy-Schwarz inequality.

    • (b)

      Let ε>0. Then

      |Ω(𝒃u)u𝑑𝒙| 𝒃L(Ω)Ω|u||u|𝑑𝒙
      𝒃L(Ω)uL2(Ω)uL2(Ω) (Cauchy-Schwarz)
      =𝒃L(Ω)(2εuL2(Ω))(12εuL2(Ω))
      𝒃L(Ω)(εuL2(Ω)2+14εuL2(Ω)2)

      by the Young inequality.

    • (c)

      Combining parts (a) and (b) gives

      fL2(Ω)uL2(Ω) kuL2(Ω)2+Ω(𝒃u)u𝑑𝒙+cuL2(Ω)2
      kuL2(Ω)2-|Ω(𝒃u)u𝑑𝒙|+cuL2(Ω)2
      kuL2(Ω)2-𝒃L(Ω)(εuL2(Ω)2+14εuL2(Ω)2)+cuL2(Ω)2
      =(k-ε𝒃L(Ω))uL2(Ω)2+(c-𝒃L(Ω)4ε)uL2(Ω)2.
    • (d)

      Let ε>0 satisfy k-ε𝒃L(Ω)>0, i.e., let

      0<ε<k𝒃L(Ω). (20)

      Let

      c0=𝒃L(Ω)4ε.

      If c>c0, then

      c-𝒃L(Ω)4ε>0.

      Therefore if c>c0 and ε satisfies (20), then

      k-ε𝒃L(Ω)>0,c-𝒃L(Ω)4ε>0

      and so by part (c)

      fL2(Ω)uH1(Ω) fL2(Ω)uL2(Ω)
      min{k-ε𝒃L(Ω),c-𝒃L(Ω)4ε}(uL2(Ω)2+uL2(Ω)2)
      =min{k-ε𝒃L(Ω),c-𝒃L(Ω)4ε}uH1(Ω)2.

      Therefore if c>c0 and ε satisfies (20), then

      uH1(Ω)MfL2(Ω)

      with

      M=1min{k-ε𝒃L(Ω),c-𝒃L(Ω)4ε}.

      For example, if we choose

      ε=12k𝒃L(Ω),

      then

      c0=𝒃L(Ω)2k,M=1min{k/2,c-c0}=max{2k,1c-c0}.
    • (e)

      Let vC2(Ω¯) satisfy (19). Then w=u-v satisfies (19) with f=0. Therefore by part (d)

      wH1(Ω)0

      and so w=0 and u=v, as required.

  19. 19.

    Neumann boundary conditions for variational problems.

    • (i)

      Let uC1(Ω¯) be a minimiser of E. For any φV, ε, define uε=u+εφ. Then uεC1(Ω¯) since the sum of C1 functions is C1. Let g(ε)=E[uε]. Note that uε=u when ε=0. Therefore g is minimised by ε=0 since E is minimised by u. Hence

      0 =g(0)=ddε|ε=0E[uε]
      =ddε|ε=0[12Ω|uε|2𝑑𝒙-Ωfuε𝑑𝒙]
      =ddε|ε=0[12Ω(u+εφ)(u+εφ)𝑑𝒙-Ωf(u+εφ)𝑑𝒙]
      =12Ωddε|ε=0[(u+εφ)(u+εφ)]d𝒙-Ωfddε|ε=0(u+εφ)d𝒙
      =12Ω[φ(u+εφ)+(u+εφ)φ]|ε=0d𝒙-Ωfφ𝑑𝒙
      =Ωuφd𝒙-Ωfφ𝑑𝒙.

      Therefore

      Ωuφd𝒙=Ωfφ𝑑𝒙for all φC1(Ω¯) (21)

      as required.

    • (ii)

      First choose a test function φC1(Ω¯) such that φ=0 on Ω. Since uC2(Ω¯), we can integrate by parts in (21) to obtain

      Ωuφ𝒏dS-Ωdivu=Δuφ𝑑𝒙=Ωfφ𝑑𝒙Ω(-Δu-f)φ𝑑𝒙=0

      because φ=0 on Ω. Since this holds for all test functions φC1(Ω¯) such that φ=0 on Ω, the Fundamental Lemma of the Calculus of Variations implies that

      -Δu-f=0in Ω (22)

      as required. We still need to show that u satisfies the Neumann boundary condition. Now take any test function φC1(Ω¯) in (21) and integrate by parts as before to obtain

      Ωuφ𝒏dS-ΩΔuφ𝑑𝒙=Ωfφ𝑑𝒙 Ωuφ𝒏dS+Ω(-Δu-f)=0 by (22)φ𝑑𝒙=0
      Ωu𝒏φdS=0.

      Since this holds for all φC1(Ω¯), then u𝒏=0 on Ω, as required.

  20. 20.

    The p–Laplacian operator.

    • (i)

      Let uC2(Ω¯)V minimise Ep. For any φV, ε, define uε=u+εφ. Observe that uε vanishes on the boundary of Ω since both u and φ vanish there. Also uεC1(Ω¯) since the sum of C1 functions is C1. Hence uεV. Define g(ε)=Ep[uε]. Now uε=u when ε=0. Therefore g is minimised by ε=0 since Ep is minimised by u. We have reduced the problem of minimising the functional Ep to minimising the function of one variable g. Since g is minimised at ε=0,

      0 =g(0)
      =ddε|ε=0Ep[uε]
      =ddε|ε=0[1pΩ|uε|p𝑑𝒙-Ωfuε𝑑𝒙]
      =1pΩddε|ε=0|u+εφ|pd𝒙-Ωfddε|ε=0(u+εφ)d𝒙
      =1pΩp|u+εφ|p-1u+εφ|u+εφ|φ|ε=0d𝒙-Ωfφ𝑑𝒙
      =Ω|u|p-2uφd𝒙-Ωfφ𝑑𝒙 (23)

      where the differentiation was performed using the Chain Rule and the fact that

      ddxxp=pxp-1,𝒚|𝒚|=𝒚|𝒚|,ddε(u+εφ)=φ.

      Recall the integration by parts formula

      Ω𝒈hd𝒙=Ω𝒈h𝒏𝑑S-Ωhdiv𝒈𝑑𝒙.

      By applying this with h=φ, 𝒈=|u|p-2u, we can rewrite equation (23) as

      0=Ω|u|p-2uφ𝒏dS-Ωφdiv(|u|p-2u)𝑑𝒙-Ωfφ𝑑𝒙.

      But φ=0 on Ω since φV. Therefore

      0=Ω[div(|u|p-2u)+f]φ𝑑𝒙for all φV.

      Since φ is arbitrary, the Fundamental Lemma of the Calculus of Variations gives

      div(|u|p-2u)+f=0in Ω.

      Therefore

      -div(|u|p-2u)=Δpu=fin Ω

      as required. Note that u=0 on Ω by definition of V.

    • (ii)

      Multiply the PDE -div(|u|p-2u)=f by u and integrate by parts over Ω to obtain

      -Ωudiv(|u|p-2u)𝑑𝒙=Ωfu𝑑𝒙
      -Ωu(|u|p-2u)𝒏𝑑S+Ω|u|p-2uud𝒙=Ωfu𝑑𝒙
      Ω|u|p𝑑𝒙=Ωfu𝑑𝒙 (24)

      since u=0 on Ω. Therefore

      Ep[u] =1pΩ|u|p𝑑𝒙-Ωfu𝑑𝒙
      =1pΩ|u|p𝑑𝒙-Ω|u|p𝑑𝒙 (by equation (24))
      =1-ppΩ|u|p𝑑𝒙
      =1-ppΩfu𝑑𝒙 (by equation (24))

      as required.

  21. 21.

    The minimal surface equation: PDEs and soap films. Let uC2(Ω¯)V be a minimiser of A. Let ε and φC1(Ω¯) with φ=0 on Ω. Define uε=u+εφ. Then uεV since the sum of continuously differential functions is continuously differentiable and, if 𝒙Ω, then

    uε(𝒙)=u(𝒙)+εφ(𝒙)=g(𝒙)+ε0=g(𝒙)

    as required. Define h: by h(ε)=A[uε]. Then h(0)=A[u] and so 0 is a minimum point of h since u is a minimum point of A. Therefore

    0 =h(0)
    =ddε|ε=0A[uε]
    =ddε|ε=0Ω1+|uε|2𝑑𝒙
    =Ωddε|ε=01+|u+εφ|2d𝒙
    =Ω12(1+|u+εφ|2)-1/2 2|u+εφ|u+εφ|u+εφ|φ|ε=0d𝒙
    =Ωu1+|u|2φd𝒙.

    This means that u is a weak solution of the minimal surface equation. Since uC2(Ω¯), then we can integrate by parts to obtain

    0 =Ωu1+|u|2φd𝒙
    =Ωφu1+|u|2𝒏𝑑S-Ωdiv(u1+|u|2)φ𝑑𝒙
    =-Ωdiv(u1+|u|2)φ𝑑𝒙

    since φ=0 on Ω. This holds for all φC1(Ω¯) with φ=0. Therefore u satisfies the minimal surface equation

    div(u1+|u|2)=0in Ω.

    by the Fundamental Lemma of the Calculus of Variations (Lemma 3.20).

  22. 22.

    Homogenization and the calculus of variations.

    • (i)

      Let uC2([0,1])V minimise E. For any ε and any φC1([0,1]) such that φ(0)=φ(1)=0, define uε=u+εφ. Then

      uε(0)=u(0)+εφ(0)=l+ε0=l

      and similarly uε(1)=r. Therefore uεV. Define F(ε)=E[uε]. Now uε=u when ε=0. Therefore the minimum of F is attained at 0 since the minimum of E is attained at u. We have reduced the problem of minimising the functional E to minimising the function of one variable F. Since F is minimised at 0,

      0 =F(0)
      =ddε|ε=0E[uε]
      =ddε|ε=0[1201a(x)|uε(x)|2𝑑x-01f(x)uε(x)𝑑x]
      =ddε|ε=0[1201a(x)(u(x)+εφ(x))2𝑑x-01f(x)(u(x)+εφ(x))𝑑x]
      =01a(x)u(x)φ(x)𝑑x-01f(x)φ(x)𝑑x. (25)

      Since uC2([0,1]), we can use integration by parts to rewrite equation (25) as

      0=a(x)u(x)φ(x)|01-01(a(x)u(x))φ(x)𝑑x-01f(x)φ(x)𝑑x=-01[(a(x)u(x))+f(x)]φ(x)𝑑x.

      But this holds for all φC1([0,1]) such that φ(0)=φ(1)=0. Therefore by the Fundamental Lemma of the Calculus of Variations

      (a(x)u(x))+f(x)=0,x(0,1),

      as required. Note that u satisfies the Dirichlet boundary conditions by definition of V.

    • (ii)

      Recall from Q2(ii) that if gL() is 1–periodic, then for any interval [c,d],

      limncdg(nx)h(x)𝑑x=cdg¯h(x)𝑑x  hL1(). (26)

      Applying (26) with c=0, d=1, g(x)=a(x), h(x)=12|v(x)|2 on [0,1], gives the desired result:

      limnEn[v]=1201a¯|v(x)|2dx-01f(x)v(x)dx=:E[v].
    • (iii)

      Observe that E is just the one-dimensional Dirichlet energy with an additional constant a¯ in the first term. It follows from Dirichlet’s Principle (see the lecture notes) that u satisfies the Poisson equation

      -a¯u′′(x)=f(x),x(0,1),
      u(0)=u(1)=0.

      In Q2 we showed that limnun(x)=u0(x), where u0 satisfies

      -a0u0′′(x)=f(x),x(0,1),
      u0(0)=u0(1)=0,

      where

      a0=1(1a)¯.

      Since a0a¯ in general, it follows that u0u and hence

      limnun(x)=u0(x)u(x),

      as required.

      In fact it can be shown that a0a¯ as follows:

      1=[01a(x)1a(x)𝑑x]2[(01a(x)𝑑x)1/2(011a(x)𝑑x)1/2]2=a¯(1a)¯=a¯a0-1

      where we have used the Cauchy-Schwarz inequality. It follows that the Γ–limit E0 is less than or equal to the pointwise limit E.