(The) Three Linear Partial Differential Equations

Similar documents
Partial Differential Equations Summary

Separation of Variables

MATH 131P: PRACTICE FINAL SOLUTIONS DECEMBER 12, 2012

Math 251 December 14, 2005 Answer Key to Final Exam. 1 18pt 2 16pt 3 12pt 4 14pt 5 12pt 6 14pt 7 14pt 8 16pt 9 20pt 10 14pt Total 150pt

Partial Differential Equations

Math 311, Partial Differential Equations, Winter 2015, Midterm

Math 251 December 14, 2005 Final Exam. 1 18pt 2 16pt 3 12pt 4 14pt 5 12pt 6 14pt 7 14pt 8 16pt 9 20pt 10 14pt Total 150pt

LECTURE NOTES FOR MATH 124A PARTIAL DIFFERENTIAL EQUATIONS

Partial Differential Equations for Engineering Math 312, Fall 2012

Math 342 Partial Differential Equations «Viktor Grigoryan

Separation of variables in two dimensions. Overview of method: Consider linear, homogeneous equation for u(v 1, v 2 )

MATH 425, FINAL EXAM SOLUTIONS

Boundary-value Problems in Rectangular Coordinates

Homework for Math , Fall 2016

THE WAVE EQUATION. F = T (x, t) j + T (x + x, t) j = T (sin(θ(x, t)) + sin(θ(x + x, t)))

Problem set 3: Solutions Math 207B, Winter Suppose that u(x) is a non-zero solution of the eigenvalue problem. (u ) 2 dx, u 2 dx.

Analysis III (BAUG) Assignment 3 Prof. Dr. Alessandro Sisto Due 13th October 2017

u tt = a 2 u xx u tt = a 2 (u xx + u yy )

Partial Differential Equations

21 Laplace s Equation and Harmonic Functions

MA Chapter 10 practice

Diffusion on the half-line. The Dirichlet problem

Strauss PDEs 2e: Section Exercise 1 Page 1 of 6

Solutions to Exercises 8.1

Chapter 3 Second Order Linear Equations

Wave Equation With Homogeneous Boundary Conditions

Partial Differential Equations Separation of Variables. 1 Partial Differential Equations and Operators

Partial Differential Equations, Winter 2015

Name: Math Homework Set # 5. March 12, 2010

Differential equations, comprehensive exam topics and sample questions

Math Assignment 14

Partial differential equations (ACM30220)

17 Source Problems for Heat and Wave IB- VPs

Mathématiques appliquées (MATH0504-1) B. Dewals, Ch. Geuzaine

Vibrating-string problem

MA 201: Partial Differential Equations D Alembert s Solution Lecture - 7 MA 201 (2016), PDE 1 / 20

Partial Differential Equations (PDEs)

1. Partial differential equations. Chapter 12: Partial Differential Equations. Examples. 2. The one-dimensional wave equation

4.10 Dirichlet problem in the circle and the Poisson kernel

Lecture6. Partial Differential Equations

THE METHOD OF SEPARATION OF VARIABLES

Class Meeting # 2: The Diffusion (aka Heat) Equation

Lucio Demeio Dipartimento di Ingegneria Industriale e delle Scienze Matematiche

Partial differential equation for temperature u(x, t) in a heat conducting insulated rod along the x-axis is given by the Heat equation:

ENGI 9420 Lecture Notes 8 - PDEs Page 8.01

Math 46, Applied Math (Spring 2009): Final

Math 124A October 11, 2011

PDE and Boundary-Value Problems Winter Term 2014/2015

Homework 6 Math 309 Spring 2016

MA 201: Method of Separation of Variables Finite Vibrating String Problem Lecture - 11 MA201(2016): PDE

G: Uniform Convergence of Fourier Series

Math 2930 Worksheet Final Exam Review

ENGI 9420 Lecture Notes 8 - PDEs Page 8.01

McGill University April 20, Advanced Calculus for Engineers

MATH 425, HOMEWORK 5, SOLUTIONS

MA 201, Mathematics III, July-November 2016, Partial Differential Equations: 1D wave equation (contd.) and 1D heat conduction equation

Practice Problems For Test 3

x ct x + t , and the characteristics for the associated transport equation would be given by the solution of the ode dx dt = 1 4. ξ = x + t 4.

MATH-UA 263 Partial Differential Equations Recitation Summary

MATH20411 PDEs and Vector Calculus B

Review For the Final: Problem 1 Find the general solutions of the following DEs. a) x 2 y xy y 2 = 0 solution: = 0 : homogeneous equation.

HOMEWORK 4 1. P45. # 1.

Final: Solutions Math 118A, Fall 2013

Math 126 Final Exam Solutions

13 PDEs on spatially bounded domains: initial boundary value problems (IBVPs)

Module 7: The Laplace Equation

Practice Problems For Test 3

MATH 251 Final Examination August 14, 2015 FORM A. Name: Student Number: Section:

Introduction to Sturm-Liouville Theory and the Theory of Generalized Fourier Series

Separation of Variables. A. Three Famous PDE s

My signature below certifies that I have complied with the University of Pennsylvania s Code of Academic Integrity in completing this exam.

There are five problems. Solve four of the five problems. Each problem is worth 25 points. A sheet of convenient formulae is provided.

DIFFERENTIATION RULES

HOMEWORK 5. Proof. This is the diffusion equation (1) with the function φ(x) = e x. By the solution formula (6), 1. e (x y)2.

Diffusion equation in one spatial variable Cauchy problem. u(x, 0) = φ(x)

CLASSIFICATION AND PRINCIPLE OF SUPERPOSITION FOR SECOND ORDER LINEAR PDE

z x = f x (x, y, a, b), z y = f y (x, y, a, b). F(x, y, z, z x, z y ) = 0. This is a PDE for the unknown function of two independent variables.

Boundary conditions. Diffusion 2: Boundary conditions, long time behavior

LECTURE NOTES IN PARTIAL DIFFERENTIAL EQUATIONS. Fourth Edition, February by Tadeusz STYŠ. University of Botswana

1 Assignment 1: Nonlinear dynamics (due September

u xx + u yy = 0. (5.1)

INTRODUCTION TO PDEs

Introduction to Partial Differential Equations

1 Separation of Variables

Strauss PDEs 2e: Section Exercise 4 Page 1 of 6

Instructor s Solutions Manual PARTIAL DIFFERENTIAL EQUATIONS. with FOURIER SERIES and BOUNDARY VALUE PROBLEMS. NAKHLÉ H. ASMAR University of Missouri

MATH 251 Final Examination May 4, 2015 FORM A. Name: Student Number: Section:

CHAPTER 10 NOTES DAVID SEAL

MATH 241 Practice Second Midterm Exam - Fall 2012

1 Distributions (due January 22, 2009)

MATH 251 Final Examination May 3, 2017 FORM A. Name: Student Number: Section:

Hyperbolic PDEs. Chapter 6

Math 5587 Lecture 2. Jeff Calder. August 31, Initial/boundary conditions and well-posedness

14 Separation of Variables Method

Name: ID.NO: Fall 97. PLEASE, BE NEAT AND SHOW ALL YOUR WORK; CIRCLE YOUR ANSWER. NO NOTES, BOOKS, CALCULATORS, TAPE PLAYERS, or COMPUTERS.

Chapter 12 Partial Differential Equations

Modeling using conservation laws. Let u(x, t) = density (heat, momentum, probability,...) so that. u dx = amount in region R Ω. R

MATH 251 Final Examination December 16, 2015 FORM A. Name: Student Number: Section:

Wave Equation Modelling Solutions

PDE and Boundary-Value Problems Winter Term 2014/2015

Transcription:

(The) Three Linear Partial Differential Equations 1 Introduction A partial differential equation (PDE) is an equation of a function of 2 or more variables, involving 2 or more partial derivatives in different variables. Unlike the case for ordinary differential equations, (ODE s) there is no general theory for solving PDEs, nor even a useful existence and uniqueness theorem equations must be solved one at a time. Although there is no general method for solving an arbitrary PDE, there are several canonical equations which arise in many different contexts and have been studied extensively. We will look at three canonical equations which are ubiquitous in mathematics: 1) The Heat Equation: 2) The Wave Equation: 3) The Laplace Equation: u t k 2 u 2 u t 2 c2 2 u 2 u Notation: u x 2 u xu u x, x 2 2 xu u xx 2 x 2 1 D x 2 + y 2 2 D x 2 + y 2 + z 2 3 D 2 The Heat Equation u t u t k 2 u x 2 (one dimension) (1) k 2 u (multi-dimensional) (2) The heat equation (2) governs the dispersal of heat or diffusion of a substance. It is also sometimes called the diffusion equation. 1

2.1 Derivation of the Heat Equation We will derive the 1-D heat equation u t k u xx. Derivation of the equation in more dimensions is analogous. Consider a long, thin tube filled with water, with a concentration of dye present in the water. If the tube is much longer than the diameter of the tube, we may approximate the tube as one-dimensional. We model the diffusion of the dye through the tube. Let u(x, t) be the concentration of the dye in the tube at position x at time t. In the section of the tube from x to x 1, the mass M(t) of dye at time t is (see figure 1) M(t) x1 x u(x, t)dx, so dm dt x1 x u t (x, t)dx. The mass in this section of the tube cannot change except by flowing in or out of its ends. Fick s Law says that the rate of change of the total mass is the difference between the flow in and the flow out of the section of the tube: total mass M between and x x 1 flow out flow in x x 1 Figure 1: Flow in a tube. The flow of dye across a given point in the tube is just the change in concentration across that point, or in other words, the x derivative of the concentration. In terms of the concentration, then, dm dt flow in flow out k u x (x 1, t) k u x (x, t), where k is a proportionality constant. In the case where we are considering heat, instead of concentration, we can think of heat as flowing in and out of a section of the tube. The previous two equations are equal: x1 Differentiating with respect to x 1, we get the heat equation. x u t (x, t)dx ku x (x 1, t) ku x (x, t). u t k u xx, 2.2 Boundary value problems Solving the heat equation on an interval Separation of variables The heat equation (1) is linear and homogeneous (there are only terms involving u and its derivatives). This means that if u 1 (x, t) and u 2 (x, t) are two solutions of (1), then c 1 u 1 + c 2 u 2 is also a solution for any constants c 1 and c 2. We will find a general solution to a particular problem by adding up infinitely many solutions. This is a favorite mathematician s trick: reduce a hard problem to a series of easy problems. 2

To derive the equation, suppose the ends of the tube of water with some dye in it are placed in a large bath of water, so that the concentrations of the dye at the ends of the tube are held essentially constant. We may assume the constant is zero by setting v u a and solving for v, where a is the constant concentration at the ends. Let the initial concentration of dye in the tube be described by a function φ(x) which tells us the concentration at any point x. To make things simple, let s assume that the ends of the tube are x and x 1. (This assumption can, in fact, always be made, since we can re-scale if necessary.) Then the following initial/boundary value problem governs the diffusion of the dye in the tube: u t k u xx < x < 1 u(, t) u(1, t) ( Dirichlet boundary conditions) (3) u(x,) φ(x) (Note: This equation also governs the temperature u of a fluid in a tube with initial temperature φ(x), where the ends of the tube are held at temperature.) We look for a solution of (3) of the form u(x, t) X(x)T(t) where X is a function that depends only on x and T is a function that depends only on t. This is called separation of variables because we are separating out the x and t dependencies. There is no guarantee that this will work for any given equation, but it is often a good thing to try. Substituting this into (3), XT k X T Dividing by kxt and adding X X to both sides, we get T kt X X. Now, notice that the LHS of the above equation depends only on t, while the RHS depends only on x. So the only way they can both be equal is if they are both constant. Let s call the constant they are both equal to λ (the minus sign is there just to make things easier in the end). Then we get T kt X X λ. Now we actually have two equations: T λk T, X + λx, which have solutions T(t) A e λkt, X(x) B cos( λx) + C sin( λx). A, B and C are constants of integration. Now u(x, t) u(x 1, t) implies that X() X(1), so it must be that B, but λ can take on any of the values λ nπ, n, 1, 2, 3,.... For each integer n, there is a λ that satisfies the equation. These values of λ are called the eigenvalues. We label them according to n as λ λ n n 2 π 2. Corresponding to each n, there is a solution of the X equation, X n (x) sin(nπx). 3

(We absorb C into the other coefficients.) For each λ n there is also the corresponding T solution: T n (x) A n e k n2 π 2 t So what do we have? Well, for each n, u n X n T n A n e k n2 π 2t sin(nπx) solves u t k u xx. Since the sum of solutions is another solution, the sum of all the solutions is also a solution: u(x, t) n u n X n T n n A n e k n2 π 2t sin(nπx) (4) This (4) is the solution to (3) as long as it satisfies the initial condition. That is, if u(x,) φ(x) n X n (x)t n () n A n sin(nπx). (5) In other words, as long as we can find a sequence of numbers A n that satisfies the above (5), then we have solved the equation. Actually, as long as φ is piecewise continuously differentiable (it has a continuous derivative on all but a finite number of points), we can find A n to satisfy (5), and thus solve the heat equation (3) completely! This remarkable fact is due to the completeness of the trigonometric functions on the space of piecewise continuously differentiable functions, and basically just says that the Fourier series for the initial condition converges. Equation (5) is actually just the Fourier sine expansion of φ(x). That s nice, but does it do us any good? In order to be useful, we must be able to actually determine the constants A n. In fact, we can. To find A n, multiply (5) by sin(mπx), then integrate from to 1: φ(x) sin(mπx)dx A n sin(nπx) sin(mπx)dx Now we use the fact that We then deduce that n sin(nπx) sin(mπx)dx A m 2 which gives us the last piece of the solution to (3). Example: Suppose k 1, and the initial density is n { 1 2 if n m if n m φ(x) sin(mπx)dx, φ(x) sin(πx) Examine (5) to convince yourself that A 1 1 and A m m 1. Then the solution to (3) is u(x, t) e π2t sin(πx). The concentration of the dye (or temperature) decreases exponentially to zero, as seen in Figure 2. 4

1.9.8.7 t.6.5.4 t.1.3.2 t.2.1.1.2.3.4.5.6.7.8.9 1 Figure 2: Solution of the heat equation at various times. 2.2.1 Different Boundary Conditions If in (3) we used the boundary conditions u x (, t) u x (1, t), called Neumann boundary conditions, we would get a cosine series instead of a sine series. The final solution (try it!) would be u(x, t) A + A n e n2 π 2t cos nπx. (6) This corresponds to restricting the flow of dye out of the tube - u x means the concentration is not changing in the x direction. Thus the concentration approaches the constant A exponentially. You can solve the equation (3) with a variety of different boundary conditions and get variations on the solution we obtained. In each case we use the orthoganality of the trig functions and the facts: { 1 sin(nπx) sin(mπx)dx cos(nπx) cos(mπx)dx 2 m n m n sin(nπx) cos(mπx)dx all m, n 2.3 Diffusion on the whole real line Fourier transform methods Consider the equation governing the diffusion of a substance on the whole real line, e.g. an infinite tube. Then we must specify the initial concentration { ut u xx < x < (7) u(x,) φ(x) u(±, t) We will reduce the problem to solving the following equation: S t S xx (8) S(x,) δ(x), (9) where δ(x) is the delta function ( f(x)δ(x)dx f(), δ(x)dx 1). Then the solution to (7) is given by the convolution u(x, t) S φ(x, t) 5 S(x y, t)φ(y)dy. (1)

To solve (8-9) we apply the Fourier transform in the x variable: Now we use the initial condition: Thus, Ŝ(k, t) e k2t, so Now complete the square: Ŝ(k,) k 2 t + ikx t Ŝ(k, t) Substitute into the above integral: [ S(x, t)e ikx dx (11) Ŝt (ik) 2 Ŝ (12) Ŝ Ŝ(k,)e k2 t S(x,)e ikx dx S(x, t) 1 2π 1 2π k 2 + ikx t + ( ) ik 2 2t S(x, t) 1 2π e x2 /4t Make the substitution y t (k + ix/2t) dy tdk, and δ(x)e ikx dx 1. (13) Ŝ(k, t)e ikx dk (14) e k2t e ikx dk (15) ( ) ] ik 2 ( t k + ix ) 2 x2 2t 2t 4t. ix t(k+ e 2t) 2 dk S(x, t) 1 +ix t/2 /4t 2π e x2 1 2π t e x2 /4t +ix t/2 e y2 dy y2 dy e t 1 4πt e x2 /4t, (16) where we have used e y2 dy π. The function S(x, t) in eqn (16) is known as the heat kernel. Thus, the solution to the heat equation (7) is u(x, t) 1 4πt e (x y)2 /4t φ(y)dy (17) 6

3 The Wave Equation 2 u t 2 c2 2 u (18) The wave equation (18) governs the propagation (you guessed it!) of waves through a medium, e.g. light, water waves, plucked strings, etc. 3.1 Derivation of the Wave Equation We will derive the wave equation for a 1-D string undergoing small transverse vibrations in a plane. At each point x the string has an amplitude u(x, t) at time t. If the string is pulled (plucked) out of its equilibrium shape, a tension T(x, t) will be exerted at each point of the string, exerting a force on the string that is tangential to the string. The slope of the string at each point is u x (x, t). We write down Newton s law (Fma) for the part of the string between any two points x and x 1. Let ρ be the (constant) density of the string. u θ θ1 T T 1 x x1 x Figure 3: Tension on a string We assume that there is no motion of the string in the x-direction. Then we can write Newton s law in its longitudinal and transverse components, respectively: T 1 cos θ 1 T cos θ }{{} x component of force on section of string T 1 sinθ 1 T sin θ }{{} y component of force on section of string rate of change of momentum of section of string Next we use the fact that the tangent angle θ between the tangent to the curve and x-axis is cos θ 1 1 + u 2 x, sin θ u x 1 + u 2 x. Then we write Newton s laws in terms of u x : and T x 1 1 + u 2 x x Tu x 1 x d2 1 + u 2 x dt 2 x x1 x ρu dx. 7

The RHS s are the components of the mass times the acceleration integrated over the piece of string. (There is no longitudinal motion.) Now we assume that the motion is small, or in particular that u x is small. We then use the approximation 1 + u 2 x 1. We also assume that T is constant (in x and t). Differentiating the second equation with respect to x 1, we get (Tu x ) x ρ u tt With c T ρ the wave equation! this is just u tt c 2 u xx, 3.2 The wave equation on the real line D Alembert s formula Notice that the wave equation is second order and linear. Thus we will need two auxilary (initial or boundary) conditions to specify a unique solution. Linearity and homogeneity imply that if u 1 and u 2 are two solutions of (18), then αu 1 + βu 2 is also a solution for any constants α and β. Let s examine the one-dimensional wave equation on the whole real line ( < x < ). The equation then governs the amplitude of an infinitely long vibrating string. We need two initial conditions. We will take as given the profiles of the initial amplitude and velocity of the string. The problem then is to solve { utt c 2 u xx < x < (19) u(x,) φ(x) u t (x,) ψ(x) We write This implies that u tt c 2 u xx ( t c x )( t + c x )u These equations are examples of the transport equation, u t cu x or u t + cu x (2) av t + bv x (21) which governs the flow of a one-dimensional fluid. To solve (21) we notice that along the lines x(t) b a t + x, called the characteristic lines, d dt v(x(t), t) v dx t + v x dt b v t + v x a. so v is constant on the characteristic lines. Thus, on any of these lines v has the same value as at x() x. Therefore v(x, t) v(x(o), t ) v(x b at, ) h(x b a t) is a solution for any (differentiable) function h. You can verify that this actually does solve the transport equation (21) and that if h(x) is the initial condition of (21), it satisfies the initial conditions as well. 8

Now back to the wave equation. The two equations (2) we can now solve as we did the transport equation. We obtain respectively u 1 (x, t) f(x + ct) and u 2 (x, t) g(x ct) as solutions to (2) for any f, g. Both of these solve the wave equation, u tt c 2 u xx, thus their sum also solves it. Thus, the general solution is Now to satisfy the initial conditions. We calculate Integrating, we obtain u(x, t) f(x + ct) + g(x ct) (22) u(x,) φ(x) f(x) + g(x) u t (x,) ψ(x) cf (x) cg (x) f 1 2 (φ + 1 c ψ) and g 1 2 (φ 1 c ψ) f(s) 1 2 φ(s) + 1 2c s g(s) 1 2 φ(s) 1 2c ψ(s)ds + A, and s ψ(s)ds + B A and B are arbitrary, but since φ f + g, A + B. Combining these facts we obtain the solution to the wave equation (18). u(x, t) 1 2 [φ(x + ct) + φ(x ct)] + 1 2c x+ct x ct ψ(s)ds (23) Equation (23) is the famous D Alembert formula for the solution to the wave equation, due to the Frenchman, circa 1746. Notice that u is the sum of a left travelling f(x + ct) and right travelling g(x ct) wave. If ψ then each have the same shape as the initial profile of the wave, but 1/2 the amplitude. 3.3 The wave equation on a finite interval Separation of variables Of course, there is no such thing as an infinitely long string. So let s now examine the more physically realistic situation of a string in a finite interval. Suppose we have a string (such as a guitar or violin string) clamped at it s endpoints x and x 1. We give the string an intial profile φ(x) (a pluck) and velocity ψ(x). Then the equation governing the string s amplitude is u tt c 2 u xx < x < 1 u() u(1) (Dirichlet boundary conditions) (24) u(x,) φ(x), u t (x,) ψ(x) As we did with the heat equation, we try the separation of variables technique and look for a solution of the form u(x, t) X(x)T(t) Then Dividing by c 2 XT, we get XT c 2 X T T c 2 T X X λ 9

λ must, of course, be constant. We thus arrive at the two equations: T + c 2 λt X + λx T(t) A cos(c λt) + B sin(c λt) X(x) C cos( λx) + D sin( λx) Again, u() u(1) X() X(1) which implies that A, and λ nπ λn n 2 π 2 where n is an integer are the only allowed values of λ. Thus for each n we have the X and T solutions X n (x) sin(nπx), T n (t) A n cos(cnπt) + B n sin(cnπt) The T n s are the harmonics of the string. Each u n X n T n solves the wave equation. The sum u(x, t) X n (x)t n (t) n [A n cos(cnπt) + B n sin(cnπt)] sin(nπx) (25) n is also a solution. Equation (25) is the solution if it satisfies the initial conditions, i.e. if u(x,) φ(x) X n (x)t n () A n sin(nπx) and u t (x,) ψ(x) n X n T n() n n B n cnπ sin(nπx) Again, as long as φ and ψ are piecewise continuously differentiable, then we can find A n and B n to satisfy these equations. As we did for the heat equation we find A m 2 n φ(x)sin(mπx)dx and B m 2 cmπ ψ(x) sin(mπx)dx (26) Thus, with (25) and (26) we have the complete solution to the wave equation (24). Example: Suppose we have the initial conditions φ(x) sin(πx), ψ(x) This corresponds to the situation where the string is plucked, but not given any initial velocity. We find that B m for all m, A 1 1 and A m for m 1. Thus the solution is: u(x, t) sin(πx) cos(cπt) The string vibrates in time indefinitely with frequency of oscillation c/2. By changing the tension in the string you change the frequency of oscillation this is intuitively obvious, but the equation tells us quantitatively how to change the frequency. 3.4 Other Boundary Conditions Another typical boundary condition is u x (, t) u x (1, t), the Neumann boundary condition. This corresponds to the case where the ends of the string are allowed to move along a rod, but the angle of the string is held constant at the ends. In this case we get a cosine series instead of a sine series. 1

4 The Laplace Equation 2 u (27) Although a simple looking equation, the Laplace equation arises in numerous contexts in mathematics. A function which satisfies it (27) is called a harmonic function. In order to specify a solution to (27) in a certain domain D, we must know the conditions on the boundary of D, D (the boundary conditions). Thus, the Laplace equation is usually posed as: { 2 u in D (28) u( x) h( x) on D or something like this, where h is some given function. In general, this equation is very difficult to solve analytically unless D has a high degree of symmetry, for example if D is a circle, wedge, annulus or rectangle. We will look at one example shortly. Contexts in which Laplace s Equation Arises 1. Complex Variables: If f(z) f(x+iy) u(x, y)+iv(x, y) is analytic (differentiable) then u and v are both harmonic functions. Conversely, if u is a harmonic function then there is a harmonic function v such that f u + iv is analytic. For example, f(z) z 2 is analytic. f(x+iy) x 2 y 2 +i2xy, so u(x, y) x 2 y 2 and v(x, y) 2xy are both harmonic. (Check it!) 2. Electrostatics: From Maxwell s equations, one has E and E 4πρ, where ρ is the charge density. The first equation implies E φ for a scalar function φ (called the electric potential). Therefore, 2 φ φ E 4πρ. If the charge density is zero (empty space) this is Laplace s equation. 3. Steady Fluid Flow: Assume that the flow of a fluid is irrotational (no eddies) so that v, where v is the velocity of the fluid, assumed independent of time. Assume that the fluid is incompressible (e.g. water) and that there are no sources or sinks. Then v. Hence v φ for some φ (called the velocity potential) and 2 φ v, which is Laplace s equation again. 4. Steady States: In general, Laplace s equation describes a steady state, or ground state. For example, in the heat equation, if u is not changing in time ( t u ) then we just have Laplace s equation. This means that the equilibrium state of a diffused substance is described by the Laplace equation. Laplace s Equation in a Box This is one of the very few Laplace problems we can solve explicitly. Consider the simple example of the 2-D problem in a box: 2 u u xx + u yy < x, y < 1 u(, y) u(1, y) u(x,1) u(x,) φ(x) (29) 11

This problem corresponds to the equilibrium temperature inside a box where all sides are held at temperature except the bottom side. We try the separation of variables technique again and look for a solution of the form u(x, y) X(x)Y (y). Substituting this into (29), we get X Y + XY Dividing by XY we obtain X Y X Y λ where λ is constant. We have the two equations: X + λx Y λy X(x) A cos( λx) + B sin( λx) Y (y) C cosh( λy) + D sinh( λy) Now, u(, y) u(1, y) X() X(1), which implies that A and λ nπ λ λn n 2 π 2 where n is an integer are the only allowed values (the eigenvalues) of λ. For each n we have the X and Y solutions X n (x) sin( λx), Y n (y) C n cosh(nπy) + D n sinh(nπy) Now, u(x, 1) Y (1), which implies that D n C n coth(nπ) All we need now are the C n s. These will be determined by φ(x). We take the sum of all the solutions u n X n Y n to get u(x, t) n n n X n (x)y n (y) C n sin(nπx)[cosh(nπy) coth(nπ)sinh(nπy)] (3) n To find the C n s we do as before: u(x,) φ(x) n n X n (x)y n () n n C n sin(nπx) Multiplying by sin(mπx) and integrating, we arrive at the following formula for C m : C m 2 φ(x) sin(mπx)dx (31) Thus (3) and (31) furnish us with the solution of the Laplace equation (29). In this simple case we have found a solution. However, for more general boundary conditions the separation of variables technique will not work. (Try it!) Imagine, then, trying to solve the problem in an irregularly shaped region instead of a box. In fact, this is an advanced problem for which much research has been devoted. Analytical solutions are generally not possible, so research has been mostly involved with trying to find good numerical techniques for approximating the solution. 12

(A few) General Properties of Harmonic Functions: Although we cannot in general solve the equation analytically, we can make qualitative statements about the behavior of the solution to the general Laplace equation (28). We state a few of these (without proof) here: 1. The maximum/minimum principle: Suppose u solves (28), where D is connected, and that u is continuous on D D. Then the maximum and minimum values of u are achieved on D and nowhere in D, unless u is constant. 2. Differentiability: Suppose u is harmonic in an open set D. Then u possesses all partial derivatives of all orders in D, i.e. u is infinitely differentiable in D. 3. Mean Value Property: (In 2-D) Let u be a harmonic function in a disk D, continuous on its closure D D. Then the value of u at the center of D equals the average of u on its circumference. If D is the disk centered at the origin, with radius a, u( ) 1 2πa Analagous statements exist for all dimensions. x a u( x)ds 4. Dirichlet s Principle: If we define the energy as E(u) 1 u 2 dx, 2 then among all functions which satisfy u(x) h(x) on D, the one that minimizes the energy E is the one that is harmonic in D. D 13

5 Exercises 1. Derive the equation (6) for the solution to the heat equation with Neumann boundary conditions. What does the constant A represent? 2. Solve the boundary value problem Graph the solution at various times t. u t u xx, u(, t) u(1, t), u(x,) x(1 x). 3. Solve the diffusion equation on the whole real line with the initial condition φ(x) { 1 if x < l if x > l. 4. Solve the wave equation on the whole real line u tt u xx, u(x,) e x, u t (x,) sinx. 5. Consider the following diffusion equation with excitation or dissipation: u t u xx + a u, u(x,) φ(x), a R. (a) Describe the qualitative behavior of solutions for a > and a <. (b) Find the solution. This can be done in different ways, e.g. by following the Fourier transform method of section 2.3, or by making the change of variables u(x, t) e at v(x, t). 6. Compute e x2 dx. (Hint: This is a function that does not have an anti-derivative, hence it cannot be integrated by a formula. So use the following trick. Transform the double integral e x2 dx e y2 dy into polar coordinates to get a function that can be integrated easily.) 7. Use the previous exercise to show that the integral of the heat kernel over the whole real line is 1: S(x, t)dx 1. Plot S(x, t) as a function of x for various times t. 8. Solve the heat equation with convection: u t u xx V u x, u(x,) φ(x), V R. (Hint: Go to a moving frame of reference by making the change of variables y x V t.) 9. Diffusion with a source. Consider the diffusion equation with a source: u t u xx f(x, t), u(x,) φ(x), on the whole real line ( < x < ). Show that the solution is u(x, t) S(x y, t)φ(y)dy + where S(x, t) is the heat kernel. 14 t S(x y, t s)f(y, s)dy ds,

1. Waves with a source. Consider the wave equation with a source: u tt c 2 u xx f(x, t), u(x,) φ(x), u t (x,) ψ(x), on the whole real line ( < x < ). Show that the solution is u(x, t) 1 2 [φ(x + ct) + φ(x ct)] + 1 2c x+ct x ct ψ(s)ds + 1 2c t x+c(t s) x c(t s) f(y, s)dy ds. 11. Prove the maximum principle in 2D: Let D R 2 be a connected bounded open set. Let u(x, y) be a harmonic function in D that is continuous on D D ( D). Then the maximum and minimum values of u are attained on D and nowhere in D unless u is identically equal to a constant. Hint: Let ǫ > and v(x, y) u(x, y) + ǫ (x, y) 2. Then v > in D, but by the second derivative test, v at a local maximum. u, and hence v, is continuous, and you may assume that a continuous function on a compact (closed and bounded) set attains both its maximum and minimium. 15