MATH 45, PRACTICE FINAL EXAM SOLUTIONS. Exercise. a Is the operator L defined on smooth functions of x, y by L u := u xx + cosu linear? b Does the answer change if we replace the operator L by the operator L, which is is given by: L u = cosx y u xx + e xy u? c Find the general solution of the PDE + x u x + u y = by using the method of characteristics. d Give a rigorous proof that the solution you found in part c is the general solution to the given PDE. a We note that L =, which implies that the operator is not linear. Namely, for a linear operator T, we know that T = if we substitute a = b = into the definition of linearity. b Given smooth functions u, v and constants a, b, we compute: L au+bv = cosx y au+bv xx +exy au+bv = acosx yu xx +e xy u+bcosx yv xx +e xy v = Hence, L is linear. = al u + bl v. c We use the method of characteristics. The equation can be rewritten as: u x + + x u y =. The characteristic equation can then be written as: dy dx = + x. This ODE has the solution: yx = arctanx + C for some constant C R. Consequently, the general solution to the PDE is given by: for some differentiable function f : R R ux, t = fy arctanx d Let us fix a constant C R. We look at the parametrixed curve z : R R which is defined by: zt = t, arctant + C. We need to show that u is constant along this parametrized curve. In order to do this, we use the Chain Rule in order to compute: d dt uzt = d dt ut, arctant + C = u x t, arctant + C + uy t, arctant + C = + t = u x + + x u y t, arctant + C =. The claim now follows.
MATH 45, PRACTICE FINAL EXAM SOLUTIONS. Exercise. Uniqueness for the heat equation with Neumann boundary conditions Use the energy method to show uniqueness of solutions for the following boundary value problem: u t ku xx = fx, t for < x < l, t > ux, = φx for < x < l u x, t = gt, u x l, t = ht for t >. Here, l > and the functions f, g, h, φ are assumed to be smooth. It suffices to consider the following boundary value problem: w t kw xx = for < x < l, t > wx, = for < x < l w x, t =, w x l, t = for t >. and to show that necessarily w =. We define the energy to be: Et := l wx, t dx. By differentiating under the integral sign, it follows that: d dt Et = By using the equation, this expression equals: l l wx, t w t x, t dx. wx, t kw xx x, t dx. We now integrate by parts in x in order to deduce that this equals: kwx, t w x x, t l x=l l w x= x x, t dx = w x x, t dx. Hence, Et is decreasing in t. In particular, since E = and since Et, it follows that Et = for all t. Hence, w =, as was claimed.. Exercise 3. A maximum principle bound for solutions of Poisson s equation Let Ω R 3 be a bounded domain and suppose that f : Ω R is continuous on Ω and that g : Ω R is continuous on Ω. Suppose that the function u solves the Poisson equation on Ω: u = f on Ω u = g on Ω. a Assuming that the function u exists, is smooth on Ω, and continuous on Ω, show that it is uniquely determined. b Show that for sufficiently large λ >, depending on the function f, the function u + λx is subharmonic, i.e. u + λx. c Use the maximum principle for subharmonic functions from Homework 6 in order to deduce that, there exists a constant C >, depending only on Ω such that, for all x Ω, the following bound holds: ux max Ω g + C max f. Ω
MATH 45, PRACTICE FINAL EXAM SOLUTIONS. 3 a We need to prove uniqueness of solutions for the boundary value problem. It suffices to show that, if w solves: w = on Ω w = on Ω. then w = on Ω. This claim follows immediately from the Maximum principle for solutions to the Laplace equation. In Homework 6, Exercise, we saw how to deduce this claim by using the Energy method. b We recall that, on R 3, it is true that: Hence: This quantity is non-negative if x = x + x + x 3 = 6. u + λx = u + λ x = f + 6λ. λ max Ω f. 6 For such a λ, the function u + λx is subharmonic. c Let us take λ as in part b. We note that the function u + λx solves the following boundary value problem: u + λx = f + λx on Ω u + λx = g + λx on Ω. By using the Maximum principle for subharmonic functions Exercise 3 from Homework 6, it follows that for all x Ω, the following bound holds: ux + λx max gy + λy = gy + λy y Ω for some y Ω. In particular, since λ : ux gy + λy x gy + λy. Since Ω is bounded, we can find a constant K > depending only on Ω such that for all y Ω, one has: y K. Hence, it follows that for all x Ω: ux max Ω g + λ K. We now note that, if f, we can take λ = and the claim will follow from the maximum principle for subharmonic functions. If it is not the case that f, we can take λ = max Ω f 6 >, and C = K 6 to obtain that for all x Ω: ux max g + C max f. Ω Ω We note that the constant C > depends only on the domain Ω. Exercise 4. The sign of the Green s function Suppose that Ω R 3 is a bounded domain. Given x Ω, we consider the Green s function Gx, x. We recall from the definitions that then the function: Hx, x := Gx, x + 4π x x
4 MATH 45, PRACTICE FINAL EXAM SOLUTIONS. is well-defined and harmonic on all of Ω. a Show that, for all x Ω \ x }: Gx, x <. b Does the claim still hold if we assume that Ω is a domain in two-dimensions? a We can assume without loss of generality that Ω is connected. If this is not the case, we just consider each connected component of Ω separately. Let us fix ɛ > small. We define: Ω ɛ := Ω \ Bx, ɛ. If ɛ is sufficiently small, then Ω ɛ is also connected. Let us note that the function Gx, x = Hx, x 4π x x is harmonic on Ω ɛ. We recall that Hx, x is bounded for x Ω and that lim x x x x = +. In particular, it follows that if we choose ɛ > sufficiently small, we obtain that: Gx, x < for x Bx, ɛ. By construction of the Green s function, we know that: Gx, x = for x Ω. We no use the weak Maximum principle for the harmonic function Gx, x on Ω ɛ in order to deduce that: Gx, x for x Ω ɛ. We can say even more if we use the Strong Maximum principle. Namely, since Gx, x is not identically equal to zero on Ω ɛ, it follows that: We can now let ɛ in order to deduce that: Gx, x < for x Ω ɛ. Gx, x < for x Ω \ x }. b In two dimensions, we recall from Exercise on Homework 8 that, in the definition of the Green s function, the function Hx, x := Gx, x π log x x has to be harmonic. The same argument as above applies since we know that lim x x log x x =. In particular, we obtain that Gx, x < for x Ω \ x }. Exercise 5. Finite speed of propagation for the wave equation without using the d Alembert formula Suppose that u : R x R t solves the initial value problem for the wave equation: u tt c u xx = on R x R t u t= = φ, u t t= = ψ on R x. Given x R and t >, we define the cone: Kx, t := x, t R [, t ], x x ct t}. Furthermore, for t t, we define the local energy: et := x+ct t [ u t x, t + c u x x, t] dx. a Show that: x ct t
MATH 45, PRACTICE FINAL EXAM SOLUTIONS. 5 x+ct t x ct t u t x, tu tt x, t + c u x x, tu xt x, t dx t x + ct t, t c3 u x x + ct t, t. t x ct t, t c3 u x x ct t, t b Use the equation and integrate by parts to show that: for all t t. e t c Suppose that φ = ψ =. Show that then: for all t t. et = d Deduce that, when φ = ψ =, the function u equals zero on Kx, t. In this way, we can deduce the domain of dependence result from class without having to use the explicit formula for u. Remark: This method of proof, which doesn t rely on the d Alembert formula, can be generalized to show that the principle of finite speed of propagation for the wave equation holds in higher dimensions. a The formula x+ct t x ct t u t x, tu tt x, t + c u x x, tu xt x, t dx t x + ct t, t c3 u x x + ct t, t t x ct t, t c3 u x x ct t, t is obtained by first differentiating under the integral sign in order to obtain the first integral. The remaining four terms are obtained from differentiating the occurrence of t in the boundary of the integral and by using the Fundamental theorem of Calculus. Here, we have an additional factor of c due to the Chain Rule. b We use the equation in order to deduce that: x+ct t c u t x, tu xx x, t + c u x x, tu xt x, t dx x ct t t x + ct t, t c3 u x x + ct t, t. t x ct t, t c3 u x x ct t, t We can now integrate by parts in x in the first term in the integral to deduce that: x+ct t c u tx x, tu x x, t + c u x x, tu xt x, t dx + c u t x, t u x x, t x=x+ct t x=x ct t x ct t
6 MATH 45, PRACTICE FINAL EXAM SOLUTIONS. Hence: t x + ct t, t c3 u x x + ct t, t. t x ct t, t c3 u x x ct t, t [c u t x +ct t, t u x x +ct t, t ] u t x +ct t, t c3 u x x +ct t, t + [ c u t x ct t, t u x x ct t, t ] u t x ct t, t c3 u x x ct t, t. We now recall the fact that for all A, B R, the following inequality holds: AB A + B. This inequality follows from the fact that: A B. Consequently: c u t x +ct t, t u x x +ct t, t t x +ct t, t c3 u x x +ct t, t if we take A = c u t x + ct t, t and B = c 3 u x x + ct t, t. Moreover, we can deduce that: c u t x ct t, t u x x ct t, t u t x ct t, t c3 u x x ct t, t if we take A = c u t x ct t, t and B = c 3 u x x ct t, t. It follows that: e t for t t. c If ψ = φ =, it follows that e =. Since et is non-negative and e t is non-increasing, it follows that et = for all t t. d From part c, it follows that u t = x = on Kx, t. Hence, u is constant on Kx, t. Since φ =, it follows that u equals to zero on Kx, t. In particular, we obtain the domain of dependence theorem from class without having to use the explicit formula for ux, t.