Partial Differential Equations III/IV

[6pt] Exercise Sheet 1: Solutions


  1. 1.

    Examples of PDEs.

    • (i)

      The Schrödinger equation:

      iΨt=-22mΔΨ+VΨ.

      This is a linear second-order PDE.

    • (ii)

      The p–Laplace equation:

      div(|u|p-2u)=0.

      If p=2 this is just Laplace’s equation and therefore a linear second-order PDE. If p(2,), then this is a quasilinear second-order PDE. One way of seeing this is to expand the divergence on the left-hand side. By using the vector identity

      div(φ𝒇)=φ𝒇+φdiv𝒇

      we obtain

      div(|u|p-2u)=(|u|p-2)u+|u|p-2divu.

      Recall that |𝒙|=𝒙|𝒙|. By the Chain Rule, the i–th component of (|u|p-2) is

      xi|u|p-2=(p-2)|u|p-3j=1nuxj|u|uxjxi=(p-2)|u|p-4j=1nuxixjuxj.

      In vector notation:

      (|u|p-2)=(p-2)|u|p-4D2uu

      where D2u is the matrix of second partial derivatives of u, which has components [D2u]ij=uxixj. Therefore the p–Laplace equation is

      (p-2)|u|p-4uD2uu+|u|p-2Δu=0,

      which is clearly quasilinear and second-order.

    • (iii)

      The Cahn-Hilliard equation:

      ut=kΔ(u3-u-ε2Δu).

      This is a semilinear fourth-order PDE. If you can’t see this immediately, then expand the right-hand side of the PDE to obtain

      ut=kΔ(u3)-kΔu-kε2Δ2u

      where Δ2u=Δ(Δu) is the bilaplacian operator. You should already be able to see that this is a semilinear fourth-order PDE but, if not, then expand the right-hand side further to obtain

      ut=6ku|u|2+3ku2Δu-kΔu-kε2(i=1nj=1n4uxi2xj2)

      where we have used that (u3)=3u2u and so

      Δ(u3)=div(u3)=div(3u2u)=(3u2)u+3u2divu=6u|u|2+3u2Δu.
    • (iv)

      The nonlinear wave equation:

      ρ𝒓tt=x(N(|𝒓x|)𝒓x|𝒓x|)+𝒇.

      Expanding the right-hand side gives

      ρ𝒓tt =N(|𝒓x|)|𝒓x|x𝒓x|𝒓x|+N(|𝒓x|)𝒓xx|𝒓x|-N(|𝒓x|)𝒓x|𝒓x|2|𝒓x|x+𝒇
      =N(|𝒓x|)(𝒓x|𝒓x|𝒓xx)𝒓x|𝒓x|+N(|𝒓x|)𝒓xx|𝒓x|-N(|𝒓x|)𝒓x|𝒓x|2(𝒓x|𝒓x|𝒓xx)+𝒇.

      The highest derivatives 𝒓tt and 𝒓xx appear linearly and their coefficients only depend on lower order derivatives. Therefore the nonlinear wave equation is a quasilinear second-order system of PDEs.

  2. 2.

    Characterisation of PDEs.

    • (i)

      General form of a second-order scalar PDE in two independent variables:

      F(x,y,u,ux,uy,uxx,ux,y,uyy)=0

      or in vector notation

      F(𝒙,u,u,D2u)=0,

      where F:Ω××2×4 is a given function, Ω2 is a given domain and u:Ω stands for the unknown function.

    • (ii)

      General form of a linear, second-order scalar PDE in two independent variables:

      a11(x,y)uxx+2a12(x,y)uxy+a22(x,y)uyy+b1(x,y)ux+b2(x,y)uy+c(x,y)u+d(x,y)=0.

      The factor of 2 is just so that we can write this equation more compactly in vector notation as

      A(x,y):D2u+𝒃(x,y)u+c(x,y)u+d(x,y)=0

      where A:Ω2×2 (a symmetric matrix valued function), 𝒃:Ω2 and c,d:Ω are given, Ω2 is a given domain and u:Ω stands for the unknown function.

    • (iii)

      General form of a semilinear, second-order scalar PDE in two independent variables:

      a11(x,y)uxx+2a12(x,y)uxy+a22(x,y)uyy+b(x,y,u,ux,uy)=0

      or in vector notation

      A(x,y):D2u+b(x,y,u,u)=0

      where A:Ω2×2 (a symmetric matrix valued function) and b:Ω××2 are given, Ω2 is a given domain and u:Ω stands for the unknown function.

    • (iv)

      General form of a quasilinear, second-order scalar PDE in two independent variables:

      a11(x,y,u,ux,uy)uxx+2a12(x,y,u,ux,uy)uxy+a22(x,y,u,ux,uy)uyy+b(x,y,u,ux,uy)=0

      or in vector notation

      A(x,y,u,u):D2u+b(x,y,u,u)=0

      where A:Ω××22×2 (a symmetric matrix valued function) and b:Ω××2 are given, Ω2 is a given domain and u:Ω stands for the unknown function.

  3. 3.

    The transport equation: Derivation of the travelling wave solution.

    • (i)

      Observe that

      u(c1)=(uxut)(c1)=cux+ut.

      Therefore

      ut+cux=0u(c1)=0.
    • (ii)

      It follows that u is constant in the direction (c,1)T. In particular, for each x0, u is constant on the line that passes through (x,t)=(x0,0) and has direction (c,1)T. Points on this line have the form

      (xt)=(x00)+λ(c1)=(x0+cλλ),λ.

      Since u is constant on this line, u(x0+cλ,λ) is independent of λ. In particular, we obtain the same value if we take λ=t and λ=0:

      u(x0+ct,t)=u(x0+c0,0)=u(x0,0)=g(x0)

      by the initial condition. Therefore

      u(x0+ct,t)=g(x0).

      Making the change of variables x=x0+ct gives

      u(x,t)=g(x-ct)

      as required.

  4. 4.

    The transport equation on n. The function

    u(𝒙,t)=g(𝒙-𝒄t)

    satisfies the transport equation

    ut+𝒄u=0 for (𝒙,t)n×(0,),
    u(𝒙,0)=g(𝒙) for x.
  5. 5.

    The transport equation with boundary conditions.

    • (i)

      We want to solve the initial-boundary value problem

      ut+4ux=0 for (x,t)(0,)×(0,),
      u(x,0)=0 for x(0,),
      u(0,t)=t2e-t for t[0,).

      Method 1: Use physical intuition to guess the solution. We know that the transport equation has the property of transporting information with velocity c. In this case c=4 and so information is transported to the right with speed 4. Initially u is zero everywhere. Fix a point x>0. The boundary data u(0,t)=t2e-t is transported to the right with speed 4 and so will take x/4 amount of time to reach the point x from the boundary point 0 (recall that time = distance/speed). Therefore u(x,t)=0 up until time t=x/4.

      From this point in time onwards, the value of u will be determined by the boundary data. The value of u at point x at time t will be the same as the value of u at the boundary point 0 at time t-x/4, i.e., x/4 amount of time in the past. Therefore u(x,t)=u(0,t-x/4)=(t-x/4)2exp(-(t-x/4)). We have argued that

      u(x,t)={0t<x4,(t-x4)2e-(t-x4)tx4.

      We can rewrite this as

      u(x,t) ={0x-4t>0,(x-4t4)2e14(x-4t)x-4t0,
      =f(x-4t)

      where

      f(y)={0y>0,(y4)2ey4y0.

      Note that f is continuously differentiable since the left and right limits of f and f at 0 agree: f(0+)=f(0-)=0, f(0+)=f(0-)=0. (This is not the case for the original problem in Shearer and Levy (2015).) Therefore u is also continuously differentiable. It is easy to check that u satisfies the PDE.

      Method 2: Seek a travelling wave solution of the form

      u(x,t)=f(x-4t)

      and use the boundary and initial conditions to find f. Clearly u satisfies ut+4ux=0. The initial condition u(x,0)=0 for x>0 implies that

      f(x)=0 for x>0.

      The boundary condition u(0,t)=t2e-t for t0 implies that

      f(-4t)=t2e-t for t0f(x)=(x4)2ex4 for x0.

      Therefore

      f(x)={0x>0,(x4)2ex4x0.

      as we found using Method 1.

    • (ii)

      Now we seek a solution of the form u(x,t)=f(x+4t) of

      ut-4ux=0 for (x,t)(0,)×(0,),
      u(x,0)=0 for x(0,),
      u(0,t)=t2e-t for t[0,).

      Clearly u satisfies ut-4ux=0. The initial condition u(x,0)=0 for x>0 implies that

      f(x)=0 for x>0.

      The boundary condition u(0,t)=t2e-t for t0 implies that

      f(4t)=t2e-t for t0f(x)=(x4)2e-x4 for x0.

      We have arrived at the contradiction f(x)=0 and f(x)=(x/4)2exp(-x/4) for x0. This also has a physical explanation: In this case, since c=-4, information is transported to the left with speed 4, i.e., towards the boundary. The boundary x=0 is an outflow boundary, whereas in part (i) the boundary x=0 was an inflow boundary. This means that the initial data u=0 is transported to the boundary. But this is not compatible with the boundary condition u(0,t)=t2e-t0 for t>0.

  6. 6.

    The heat equation on the real line. Define u:×(0,) by

    u(x,t)=14πkt-e-(x-y)24ktg(y)𝑑y.
    • (i)

      By bringing the partial derivatives inside the integral and using the product rule and chain rule, we compute

      ut =-12t14πkt-e-(x-y)24ktg(y)𝑑y+14πkt-(x-y)24kt2e-(x-y)24ktg(y)𝑑y,
      ux =-14πkt-2(x-y)4kte-(x-y)24ktg(y)𝑑y,
      uxx =-14πkt-12kte-(x-y)24ktg(y)𝑑y+14πkt-(2(x-y)4kt)2e-(x-y)24ktg(y)𝑑y
      =-12kt14πkt-e-(x-y)24ktg(y)𝑑y+14πkt-(x-y)24k2t2e-(x-y)24ktg(y)𝑑y
      =1kut.

      Therefore u satisfies ut=kuxx for x, t>0. To make this proof completely rigorous, you should prove that the partial derivatives can be brought inside the integral, but this goes beyond the scope of this course.

    • (ii)

      Substituting g(x)=u0 into the integral formula for u gives

      u(x,t) =14πkt-e-(x-y)24ktu0𝑑y
      =u04πkt-e-z24kt𝑑z (by substituting z=(y-x)/4kt)
      =u0π-e-z2𝑑z
      =u0

      since the integral on the right-hand side is the Gaussian integral. Therefore u(x,t)=u0.

      This answer should not come as a surprise since clearly u=u0 satisfies ut=kuxx and u(x,0)=u0. Also, thinking in physical terms, a metal bar at constant initial temperature g(x)=u0 remains at this temperature if there are no external heat sources or sinks; every point is already at the same temperature and so there is no diffusion of heat.

      The fact that the integral of the Gaussian over is π can be proved using polar coordinates as follows:

      (-e-z2𝑑z)2 =(-e-x2𝑑x)(-e-y2𝑑y)
      =--e-(x2+y2)𝑑x𝑑y
      =2e-|𝒙|2𝑑𝒙
      =02π0e-r2r𝑑r𝑑θ (using polar coordinates)
      =2π(-12)e-r2|0
      =π.
    • (iii)

      We estimate

      |u(x,t)| =|14πkt-e-(x-y)24ktg(y)𝑑y|
      14πkt-e-(x-y)24kt|g(y)|𝑑y
      14πktsupye-(x-y)24kt-|g(y)|𝑑y (since gL1())
      =14πkt-|g(y)|𝑑y (since supye-(x-y)24kt=supze-z2=1)
      =14πktgL1().

      We have shown that

      |u(x,t)|14πktgL1()0as t.

      Therefore, for each x, u(x,t)0 as t, as desired. This does not contradict part (ii) since gL1() if g(x)=u0 and u0 is a nonzero constant.

    • (iv)

      Interchanging the order of integration (which is allowed by Tonelli’s Theorem) gives

      -u(x,t)𝑑x =14πkt-(-e-(x-y)24ktg(y)𝑑y)𝑑x
      =14πkt-(-e-(x-y)24ktg(y)𝑑x)𝑑y
      =14πkt-(-e-(x-y)24kt𝑑x)g(y)𝑑y
      =14πkt-(-e-z24kt𝑑z)g(y)𝑑y (z=x-y)
      =14πkt-4πktg(y)𝑑y
      =-g(y)𝑑y

      as required. We used the following formula for the integral of the Gaussian:

      -e-az2𝑑z=πa.
  7. 7.

    Revision of vector calculus and integration by parts in many variables.

    • (i)

      By the definition of the divergence operator and the product rule

      div(φ𝒇) =i=1nxi(φ𝒇)i
      =i=1nxi(φfi)
      =i=1n(φxifi+φfixi)
      =φ𝒇+φdiv𝒇.
    • (ii)

      Integrate the identity φ𝒇+φdiv𝒇=div(φ𝒇) over Ω to obtain

      Ω(φ𝒇+φdiv𝒇)𝑑𝒙=Ωdiv(φ𝒇)𝑑𝒙=Ωφ𝒇𝒏𝑑S

      by the Divergence Theorem. Rearranging this equation gives the desired result:

      Ωφdiv𝒇𝑑𝒙=Ωφ𝒇𝒏𝑑S-Ωφ𝒇d𝒙. (1)
    • (iii)

      By definition

      divu=i=1nxi(u)i=i=1nxiuxi=i=1n2uxi2=Δu.
    • (iv)

      Substituting 𝒇=u into equation (1) and using that divu=Δu gives

      ΩφΔu𝑑𝒙=Ωφu𝒏dS-Ωuφd𝒙

      as required.

  8. 8.

    Poisson’s equation with Neumann boundary conditions. Consider Poisson’s equation with Neumann boundary conditions:

    -Δu=f in Ω, (2)
    u𝒏=g on Ω. (3)
    • (i)

      Suppose that there exists a function u satisfying (2), (3). Then we can integrate (2) to obtain

      -ΩΔu𝑑𝒙=Ωf𝑑𝒙 -Ωdivud𝒙=Ωf𝑑𝒙 (since Δu=divu)
      -Ωu𝒏dS=Ωf𝑑𝒙 (by the Divergence Theorem)
      -Ωg𝑑S=Ωf𝑑𝒙 (by equation (3)).

      Rearranging gives

      Ωf𝑑𝒙+Ωg𝑑S=0 (4)

      as required.

    • (ii)

      If u is a solution of (2), (3), then so is u+c for any constant c. Therefore if the PDE has a solution, it has infinitely many. On the other hand, if the data f and g are such that the necessary condition (4) is violated (take for instance f1 and g0), then the problem does not have any solutions.

  9. 9.

    Implicit form of Burger’s equation. Clearly

    u(x,t)=u0(x-u(x,t)t) (5)

    satisfies the initial condition u(x,0)=u0(x) for all x. We need to show that ut+uux=0 for all (x,t)×(0,tc). Differentiating equation (5) yields

    ut =-u0(utt+u), (6)
    ux =u0(1-uxt), (7)

    where we have omitted the argument x-u(x,t)t of u0. Therefore

    ut+uux=-u0(utt+u)+uu0(1-uxt)=-u0t(ut+uux).

    Rearranging gives

    (ut+uux)(1+u0t)=0. (8)

    Either u0(x-u(x,t)t)0, in which case 1+u0(x-u(x,t)t)t1 (since t>0). Or u0(x-u(x,t)t)<0, in which case

    1+u0(x-u(x,t)t)t>1+u0(x-u(x,t)t)tc1+u0(x-u(x,t)t)-1u0(x-u(x,t)t)=0

    by definition of tc. In either case, 1+u0t>0, and hence equation (8) implies that ut+uux=0, as required.