Partial Differential Equations III & V

[6pt] Exercise Sheet 2

Lecturer: Alpár R. Mészáros


  1. 1.

    Burger’s equation as a model of traffic flow. In Example 2.1 we introduced the following PDE as a simple model of traffic flow:

    ρt+(ρvm(1-ρ/ρm))x=0 (1)

    where ρ(x,t) is the density of the traffic at point x at time t, ρm>0 is a constant representing the maximum traffic density (ρ=ρm if the vehicles are bumper-to-bumper), and vm>0 is the speed limit. Show that this PDE can be converted into Burger’s equation with a suitable change of variables.
    Hint: Given ρ satisfying (1), you need to define a function u in terms of ρ such that ut+uux=0. You can guess the form of u by expanding the term (ρvm(1-ρ/ρm))x of (1).

  2. 2.

    Revision of ODEs. In this exercise we recall how to solve first-order linear and separable ODEs.

    • (i)

      Linear first-order ODEs. Let xC1() satisfy the first-order linear ODE

      x˙(τ)+a(τ)x(τ) =b(τ),τ,
      x(0) =x0,

      where a,bC1(). Let A be a primitive of a, i.e., let A satisfy A˙(τ)=a(τ). This is sometimes denoted as A(τ)=a(τ)𝑑τ. Show that

      x(τ)=eA(0)-A(τ)x0+e-A(τ)0τeA(t)b(t)𝑑t.

      Hint: Multiply the ODE by the integrating factor eA(τ) and observe that eAx˙+eAax=ddτ(eAx).

    • (ii)

      Separable ODEs. Let I be an open interval containing 0 and let xC1(I) satisfy the separable ODE

      x˙(τ) =f(x(τ))g(τ),τI,
      x(0) =x0,

      where f,gC1(). Let h be a primitive of 1/f, i.e., let h satisfy h˙(τ)=1/f(τ). Assume that f(x(τ))0 for all τI. Show that

      x(τ)=h-1(h(x0)+0τg(t)𝑑t).

      Hint: See Example 2.4 in the lecture notes.

    Remark: It is not worth memorising these formulas. It is easier to simply derive them whenever needed.

  3. 3.

    The method of characteristics for a linear PDE. Solve the linear first-order PDE

    ux+uy+u=1 for (x,y)2,
    u=x2 for (x,y)×{0}.

    Plot the characteristics τ(x(τ,s),y(τ,s)) for some representative values of s.

  4. 4.

    The method of characteristics for a linear PDE. Solve the Cauchy problem

    yux-xuy=0 for x2+y2<a2,
    u(0,y)=a2-y2 for y(-a,a),

    where a>0 is a constant.

  5. 5.

    The method of characteristics for a semilinear PDE. Use the method of characteristics to find the solution u of the semilinear first-order PDE

    x2uy-ux=x2u2cosy

    that satisfies the condition u(0,y)=y2 for all y. This appeared on the PDEs exam in May 2015.

  6. 6.

    The method of characteristics for a quasilinear PDE. Solve the quasilinear first-order PDE

    (t+u)ux+tut=x-t for (x,t)×(0,),
    u(x,1)=1+x for x.

    Verify that the answer you obtain using the method of characteristics does indeed satisfy the PDE.

  7. 7.

    The method of characteristics for a quasilinear PDE. Find u(x1,x2) satisfying the quasilinear PDE

    uux1+ux2=1

    and the Cauchy condition u(x1,x1)=12x1. This question is from L.C. Evans (1998) Partial Differential Equations, American Mathematical Society.

  8. 8.

    The method of characteristics is independent of the parametrisation of Γ. Consider the transport equation

    ut+cux=0 for (x,t)×(0,),
    u(x,0)=g(x) for x.

    Let Γ=×{0} be the Cauchy curve. Show that the method of characteristics produces the solution u(x,t)=g(x-ct) for all parametrisations of Γ of the form γ:Γ, γ(s)=(λs,0), λ>0. (In Example 2.10 we considered the case λ=1.) With more work it can be shown that the method of characteristics is independent of the choice of parametrisation of Γ.

  9. 9.

    Nonexistence due to a characteristic point. Let 𝒂:22 be the vector field 𝒂(x,y)=(-1,1). Let Ω=B1(𝟎) be the open unit ball in 2 centred at the origin. Consider the linear PDE

    𝒂u=0 in Ω,
    u=g on Ω,

    where g:Ω is defined by g(x,y)=x.

    • (i)

      Show that the point 𝒑=(12,12)Ω is characteristic, i.e., is not noncharacteristic. Are any other points of Ω characteristic?

    • (ii)

      Prove that there does not exist any function u:U, where U2 is an open set containing 𝒑, satisfying

      𝒂u=0 in U,
      u=g on UΩ.

      Give an example of a nonconstant function g for which there is a solution.

  10. 10.

    Nonuniqueness or nonexistence due to a characteristic Cauchy curve. Consider the PDE

    ux(x,y)+uy(x,y)=1 for (x,y)2, (2)
    u(x,x)=x for x.

    Let Γ={(x,x):x} denote the Cauchy curve where the Cauchy data is prescribed.

    • (i)

      Show that every point of Γ is characteristic, i.e., that no point is noncharacteristic. Sketch the Cauchy curve Γ and the characteristics.

    • (ii)

      Show that the Cauchy problem (2) has infinitely many solutions.
      Hint: Use the method of characteristics to solve the PDE

      ux(x,y)+uy(x,y)=1 for (x,y)2,
      u(x,0)=f(x) for x,

      where f: is an arbitrary differentiable function satisfying f(0)=0. Verify that your solution u satisfies the Cauchy problem (2) for all f.

    • (iii)

      Now consider the same PDE but with different Cauchy data:

      ux(x,y)+uy(x,y)=1 for (x,y)2,
      u(x,x)=1 for x.

      As above, the Cauchy data is characteristic everywhere. Show that this time, however, the Cauchy problem has no solution.
      Hint: Differentiate the equation u(x,x)=1.

    More generally, it can be shown that the Cauchy problem (2) has no solution with Cauchy data u(x,x)=g(x), x, unless g(x)=x+c for some constant c. In summary, if the Cauchy data is characteristic everywhere, then the Cauchy problem can have no solution or infinitely many solutions. This example is taken from Y. Pinchover & J. Rubinstein (2005) An Introduction to Partial Differential Equations, Cambridge University Press.

  11. 11.

    Obstacles to global existence. Even if the Cauchy data is noncharacteristic at every point, a Cauchy problem might not have a global solution, i.e., a solution for all values of the independent variables. This could be because the solution blows up (see Example 2.18) or because the characteristics intersect (see Chapter 3). In this exercise we look at two others obstacles to global existence.

    • (i)

      Vanishing vector fields. Let 𝒂:22 be the vector field 𝒂(x,y)=-(x,y). Let Ω=B1(𝟎) be the open unit ball in 2 centred at the origin. Consider the linear PDE

      𝒂u=0 in Ω,
      u=g on Ω.

      Observe that 𝒂 vanishes at 𝟎Ω. Sketch 𝒂 and Ω. Let 𝒆(θ)=(cos(θ),sin(θ)) and let ε>0. By using the method of characteristics (or otherwise), derive the solution u:Ω¯Bε(𝟎) given in polar coordinates by

      u(r𝒆(θ))=g(𝒆(θ)),r[ε,1],θ[0,2π).

      This can also be written as u(𝒙)=g(𝒙|𝒙|), ε|𝒙|1.

      Assume that g is not a constant function. Prove that the PDE does not have a global solution u:Ω¯. In the special case where g is a constant function, write down the global solution.

    • (ii)

      Characteristics intersecting the Cauchy curve multiple times. Let 𝒂:22 be the vector field 𝒂(x,y)=(1,0). Let Ω=(0,1)×. Consider the linear PDE

      𝒂u=1 in Ω,
      u=u0 on Γ.

      Define u0(x,y)=y. First consider the case Γ={0}×. Using the method of characteristics (or otherwise) derive the solution u:Ω¯, u(x,y)=x+y. Sketch Ω, Γ, and the characteristics.

      Now consider the case Γ=Ω=({0}×)({1}×). Sketch Ω, Γ, and the characteristics again. How many times does each characteristic intersect Γ? Let 0<a<b<1. Derive the local solution u:([0,a][b,1])×,

      u(x,y)={x+y,x[0,a],x+y-1,x[b,1].

      (It is simpler to integrate the PDE with respect to x than to use the method of characteristics.) Prove that the PDE does not have a global solution u:Ω¯. Finally, suppose that u0 is arbitrary, and give a condition on u0 such that a global solution exists.

      For another example where the characteristics intersect the Cauchy curve more than once, revisit Q5(ii) from Exercise Sheet 1.

  12. 12.

    Geometric interpretation of the method of characteristics. Let u:2 satisfy

    a1(x,y,u)ux+a2(x,y,u)uy =b(x,y,u)in 2,
    u =u0     on Γ,

    where Γ2 is a simple smooth curve. The graph of u can be written in the form

    {(x,y,z)3:F(x,y,z)=0}

    where F(x,y,z)=u(x,y)-z. This is called the solution surface. Recall that F is normal to the surface. Show that the vector field 𝒇=(a1,a2,b) is tangent to the solution surface. This means that the flow of the vector field 𝒇 through any point on the surface stays on the surface. In particular, since the curve

    Γ~={(x,y,u0(x,y)):(x,y)Γ}

    lies in the solution surface, then the flow of the vector field 𝒇 through Γ~ generates a portion of the solution surface (provided that 𝒇 is not tangent to Γ~). Step 1 of the method of characteristics is exactly to find the flow of 𝒇 through Γ~.

  13. 13.

    The method of characteristics for PDEs in n independent variables. Use the method of characteristics for quasilinear first-order PDEs in n independent variables (see Section 2.4 of the lecture notes) to derive the solution u(𝒙,t)=g(𝒙-𝒄t) of the transport equation

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

    where 𝒄n is a constant vector and u:n×[0,).

  14. 14.

    Uniqueness theorem for ODEs. In this problem we prove the easy part of the well-posedness theorem for ODEs.

    • (i)

      Let 𝒇:nn be Lipschitz continuous, i.e., suppose that there exists a constant L>0 such that

      |𝒇(𝒚)-𝒇(𝒙)|L|𝒚-𝒙|𝒙,𝒚n.

      Let 𝒙0n. Show that the ODE

      𝒙˙(τ) =𝒇(𝒙(τ)),τ,
      𝒙(0) =𝒙0,

      has at most one solution.
      Hint: Let 𝒙1,𝒙2 be solutions, 𝒙˙1=𝒇(𝒙1), 𝒙˙2=𝒇(𝒙2), 𝒙1(0)=𝒙2(0)=𝒙0. Then

      𝒙˙1-𝒙˙2=𝒇(𝒙1)-𝒇(𝒙2).

      Take the dot product of this equation with 𝒙1-𝒙2. Show that

      ddτ12|𝒙1-𝒙2|2L|𝒙1-𝒙2|2.

      Define E(τ)=|𝒙1(τ)-𝒙2(τ)|2. Prove that E(τ)=0 for all τ.

    • (ii)

      In Theorem 2.5 (the well-posedness theorem for ODEs) we took 𝒇 to be continuously differentiable rather than Lipschitz continuous. In this exercise we show that a continuously differentiable function on a compact set is Lipschitz continuous. For simplicity we restrict our attention to the case n=1. Let fC1([a,b]). Show that f is Lipschitz continuous, i.e., show that there exists L>0 such that

      |f(y)-f(x)|L|x-y|x,y[a,b].

      Hint: Use the Mean Value Theorem.

  15. 15.

    Nonuniqueness for ODEs. Consider the separable ODE

    x˙(τ) =f(x(τ)),
    x(0) =-1,

    for f(x)=|x|1/2. Since f is continuously differentiable in a neighbourhood of x=-1, the well-posedness theory for ODEs ensures that the ODE has a unique solution x:(-ε,ε) for some ε>0. Solve this ODE to find an explicit formula for the solution on the time interval (-,2). What happens at time τ=2? Write down infinitely many solutions x:(-,T) for any T>2. (Hint: See Example 2.3.) Like Example 2.4, this is an example where global existence and uniqueness fails. In Example 2.4 it is because the solution blows up in finite time (the solution reaches the boundary of the domain of f). In this example it is because x(τ) reaches the point x=0 where f is not continuously differentiable.

  16. 16.

    The Eikonal equation. The Eikonal equation is an example of a fully nonlinear first-order PDE. The method of characteristics can be extended to treat fully nonlinear first-order PDEs. In this exercise you are simply asked to verify that given functions satisfy boundary value problems of the form

    |u(𝒙)|=1 for 𝒙Ω,
    u(𝒙)=0 for 𝒙Ω,

    where Ω2 is open and bounded, and u:Ω¯.

    • (i)

      Let Ω=B1(𝟎) be the open unit disc centred at the origin. Show that u(𝒙)=1-|𝒙| satisfies the Eikonal equation for all 𝒙B1(𝟎) except for 𝒙=𝟎, where u is not differentiable.

    • (ii)

      Let Ω=(-1,1)×(-1,1) be an open square. Show that the tent function

      u(x,y)={1-xif x[0,1],y[-x,x],1+xif x[-1,0],y[x,-x],1-yif y[0,1],x[-y,y],1+yif y[-1,0],x[y,-y],

      satisfies the Eikonal equation for all 𝒙(-1,1)×(-1,1) except along the lines y=±x, where u is not differentiable.

    • (iii)

      Parts (i) and (ii) are a special case of the following: Define u(𝒙) to be the distance from 𝒙 to the boundary of Ω, i.e.,

      u(𝒙)=dist(𝒙,Ω)=min𝒑Ω|𝒙-𝒑|.

      Clearly u(𝒙)=0 when 𝒙Ω. Show that if u is continuously differentiable in a neighbourhood of 𝒙, then |u(𝒙)|=1.

      Hints: Let u be continuously differentiable in a neighbourhood of 𝒙. Then for all 𝒗2

      u(𝒙)𝒗=limh0u(𝒙+h𝒗)-u(𝒙)h.

      Let 𝒑* satisfy dist(𝒙,Ω)=|𝒙-𝒑*|. Show that

      u(𝒙+h𝒗)-u(𝒙)h|𝒙+h𝒗-𝒑*|-|𝒙-𝒑*|h.

      Therefore deduce that

      u(𝒙)𝒗𝒙-𝒑*|𝒙-𝒑*|𝒗.

      (Use that |𝒙|=𝒙/|𝒙|.) There was nothing special about our choice of 𝒗, and so this expression also holds with 𝒗 replaced by -𝒗. Use this to show that

      u(𝒙)𝒗=𝒙-𝒑*|𝒙-𝒑*|𝒗.

      Since this holds for all 𝒗2, conclude that |u(𝒙)|=1.