124a notes

37
124A PARTIAL DIFFERENTIAL EQUATIONS DENIS A. LABUTIN This is the outline for the course. We emphasize the key ideas and the structure, and often omit the details. The details will be covered on the lectures. They also can be found in the textbook (W. A. Strauss PDEs, an Introduction, 2nd ed.) and in the extended UCSB 124-course notes by Viktor Grigoryan. The two sources contain much more than will be covered during the quarter. 1. Basics (1) A partial differential equation (in two independent variables) is a relation F (x, y, u, u x ,u y ,u xx ,u xy ,...)=0 for the unknown function u(x, y) . The standard agreement is to denote ∂u ∂x = x u = u x . All laws in sciences are formulated in the form of (system of) PDEs. A function u is a solution of the PDE in a region Ω if F (x, y, u(x, y),u x (x, y),u y (x, y),u xx (x, y),u xy (x, y),...) 0 for (x, y) Ω . Thus it is very easy to check if a given function is a solution of the given PDE. (2) The general solution to the given PDE is the formula for all solutions. For example, we know from the calculus that the general solution u(x) of du dx - u =0 is u = Ce x , where C is any constant. Another example: we will learn later that the general solution u(x, y) to the equation u tt - u xx =0 is given by u(t, x)= f (x - t)+ g(x + t), where f,g are arbitrary functions of one variable. This means that all solutions of the equation are given by this formula. It is impossible to derive this fact now, we need to develop some techniques for this. Date : June 25, 2014. 1

Upload: eddie-aguilera

Post on 21-Jul-2016

33 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 124a Notes

124A PARTIAL DIFFERENTIAL EQUATIONS

DENIS A. LABUTIN

This is the outline for the course. We emphasize the key ideas and the structure,and often omit the details. The details will be covered on the lectures. They alsocan be found in the textbook (W. A. Strauss PDEs, an Introduction, 2nd ed.) andin the extended UCSB 124-course notes by Viktor Grigoryan. The two sourcescontain much more than will be covered during the quarter.

1. Basics

(1) A partial differential equation (in two independent variables) is a relation

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

for the unknown function u(x, y) . The standard agreement is to denote∂u

∂x= ∂xu = ux.

All laws in sciences are formulated in the form of (system of) PDEs. Afunction u is a solution of the PDE in a region Ω if

F (x, y, u(x, y), ux(x, y), uy(x, y), uxx(x, y), uxy(x, y), . . .) ≡ 0

for (x, y) ∈ Ω . Thus it is very easy to check if a given function is a solutionof the given PDE.

(2) The general solution to the given PDE is the formula for all solutions. Forexample, we know from the calculus that the general solution u(x) of

du

dx− u = 0

isu = Cex,

where C is any constant.Another example: we will learn later that the general solution u(x, y)

to the equationutt − uxx = 0

is given byu(t, x) = f(x− t) + g(x+ t),

where f, g are arbitrary functions of one variable. This means that allsolutions of the equation are given by this formula. It is impossible toderive this fact now, we need to develop some techniques for this.

Date: June 25, 2014.1

Page 2: 124a Notes

2 DENIS A. LABUTIN

(3) Calculus technique for solving simple PDEs.

(4) Some simple PDEs can be integrated using just the calculus technique. Inorder to successfully solve the problems of this type one needs to understandthe following argument: according to the basic calculus the general solutionz(x) to the simplest equation

dz

dx= 0

isz(x) = C,

where C is any constant. But this means that the general solution u(x, y)to the equation

ux = 0

isu(x, y) = C(y),

where C(y) is any constant with respect to x , which means that it is anyfunction of y . When writing the solutions down it is better not to use Cto denote functions, and keep it for constants only. Thus a better way ofwriting is

ux = 0⇐⇒ u = φ(y),

where φ is any function of one variable.

(5) Similarly, the basic calculus tells us that the solution z(x) of z′ = f(x)is

z′ = f(x)⇐⇒ z =∫f(x) dx+ C,

where C is any constant. This means that

ux = f(x, y)⇐⇒ u =∫f(x, y) dx+ φ(y),

where φ is any function of one variable. Below are some examples ofcalculus technique solutions to PDEs.

(6) Solve (this means find the general solution to) the equation

ux = e2x+y.

There is no ∂/∂y in the left hand side, and no u in the right hand side.Therefore the solution u(x, y) is given by

u =∫e2x+y dx+ φ(y)

= ey∫e2x dx+ φ(y)

= ey12e2x + φ(y).

Thus the answer is

u =e2x+y

2+ φ(y),

where φ is any function.

Page 3: 124a Notes

124A PARTIAL DIFFERENTIAL EQUATIONS 3

(7) Here is one more example of the calculus technique for solving simple PDEs.Find all solutions u(x, y) , v(x, y) to the equations

ux + u = 0, vxx + v = 0.

Using the calculus separation of variables we see that the equation

z′ + z = 0

has the general solution

z(x) = Ce−x.

The equation for u is the same equation. There is no ∂/∂y and thevariable y enters only as a parameter. Hence

ux + u = 0⇔ u = φ(y)e−x,

where φ is any function.Using the calculus separation of variables we see that the equation

z′′ + z = 0

has the general solution

z(x) = C1 cosx+ C2 sinx,

where C1,2 are arbitrary constants. The equation for v is the sameequation. There is no ∂/∂y and the variable y enters only as a parameter.Hence

vxx + v = 0⇔ v = φ(y) cosx+ ψ(y) sinx,

where φ, ψ are arbitrary functions.

(8) Frequently there is a need to apply several calculus steps. Here is an ex-ample of such problem. Solve

uxy = 0.

Denotev = uy.

Thenuxy = 0⇔ vx = 0⇔ v = φ(y),

where φ is any function of one variable. Next,

uy = φ(y)⇔ u =∫φ(y) dy + ψ(x),

where φ, ψ are any functions of one variable. Since φ is any, then∫φ(y) dy

is also any function of one variable. Thus the answer is

u = ϕ(y) + ψ(x),

where ϕ,ψ are any functions of one variable.Notice that ϕ,ψ are the functions of one variable, and u(x, y) = ϕ(y)+

ψ(x) is a function of two independent variables of a very special form. Forexample ϕ(x)ψ(x) is not of this form. Hence x + ey is a solution, butxey is not.

Page 4: 124a Notes

4 DENIS A. LABUTIN

(9) The integrating factor technique from calculus will also be used in thecourse. Equation for z(t)

dz

dt+ a(t)z = f(t)

can be integrated using the following observation. Multiply the equationby the integrating factor

eRa(t) dt

to discover that

eRa(t) dt dz

dt+ e

Ra(t) dta(t)z = e

Ra(t) dtf(t).

The point here is that now

eRa(t) dt dz

dt+ e

Ra(t) dta(t)z =

d

dt

(e

Ra(t) dtz

).

Hence the equation becomesd

dt

(· · ·)

= g(t)

which can be integrated.

Problem 1. Find the general solution of

uxy + a(x, y)ux = 0

in a neighborhood of (0, 0) . Here a(x, y) is a given function.Set

v = ux

to discover at once that

vy + a(x, y)v = 0.

This is an ODE in the y -variable, and x enters as a parameter. Separat-ing the variables discover

dv

v= −a(x, y) dy

and find using the integrating factor that

ln |v(x, y)| =e−R y0 a(x,η) dη+C(x)

⇒ v = φ(x)e−R y0 a(x,η) dη

with an arbitrary function φ . Returning to u discover that

ux = φ(x)e−R y0 a(x,η) dη.

This is just an ODE in the x -variable, and y enters as a parameter.Integrating we find

u(x, y) =∫ x

0

φ(ξ)e−R y0 a(ξ,η) dη dξ + ψ(y),

where φ, ψ are arbitrary functions of one variable.

Problem 2. Find the general solution of

uxy −1

x− yux +

1x− y

uy = 0.

Hint: use the observation that

(x− y)vx + v =“

(x− y)v”x, (x− y)vy − v =

“(x− y)v

”y.

Page 5: 124a Notes

124A PARTIAL DIFFERENTIAL EQUATIONS 5

(10) Operators and equations. Let u be any function. A differential op-erator is an expression involving u and its derivatives. For example, theMonge-Ampere operator is

detD2u = uxxuyy − u2xy,

the Laplace operator is

∆u = uxx + uyy,

the wave operator is

u = utt − uxx, cu = utt − c2uxx,the heat operator is

ut − uxx,the transport operator is

ux + uy,

the Schroedinger operator is1√−1

ut − uxx.

Operators a usually denoted as Au , or A[u] , or A(u) , or Lu , ... .

(11) The most important class of the operators is the class of linear operators.Operator L is called linear if the following two conditions hold:

L(u+ v) = L(u) + L(v), L(Cu) = CL(u)

for all functions u, v and any constant C . To check if the operator islinear we just need to verify these conditions.

(12) A PDE is called linear homogeneous if it can be written in the form

Lu = 0

with some linear operator L .A PDE is called linear inhomogeneous if it can be written in the form

Lu = f(x, y)

with some linear operator L . The important part here is that in the righthand side we have some function of x, y but the unknown u is absent.

(13) Our main objects of study will be the transport operator

(∂t + c∂x)u = ut + cux, u = u(t, x),

the wave operator

udef=(∂2t + ∂2

x

)u = utt − uxx, u = u(t, x),

the heat operator

(∂t − ∂2x)u = ut − uxx, u = u(t, x),

and the Laplace operator

∆u def= (∂2x + ∂2

y)u = uxx + uyy, u = u(x, y).

Show that they are linear operators.Linear equations can have coefficients depending on x, y . For example,

show that the equation

ux + yuy = 0

Page 6: 124a Notes

6 DENIS A. LABUTIN

is a linear (homogeneous) equation.

(14) Equationux + uuy = 0

is nonlinear. Indeed, every term in it contains u . Hence the equation islinear if and only if the operator

Au = ux + uuy

is linear. But A is not linear because the two conditions of the linearityare not satisfied. For example if C is a constant, then

A(Cu) = (Cu)x + (Cu)(Cu)y = Cux + C2uuy.

At the same timeCAu = Cux + Cuuy.

HenceA(Cu) 6= CA(u)

for all constants C .

(15) Superposition principle for linear equations. The key feature of lin-ear equations is the superposition principle. It is also called the linearityprinciple. It consists of two parts.

The first part states that if u1 , . . . , uN are solutions to the linearhomogeneous equation

Lu = 0,

then for any constants C1 , . . . , CN the function C1u1 + · · ·+CNuN isalso a solution:

L(C1u1 + · · ·+ CNuN ) = 0.

This follows at once from the definition of the linearity of L .The second part states that if u0 solves the linear inhomogeneous equa-

tionLu = f,

and if v is the general solution to the homogeneous equation

Lv = 0

then the general solution to the inhomogeneous equation is given by

u = u0 + v.

(16) The second part is the most important and useful for problem solving.Indeed, in plain language is states that

all solutions to Lu = f = some solution to Lu = f+all solutions to Lu = 0.

Thus to find all solution to Lu = f it is enough to find all solutions onlyto Lu = 0 and somehow guess just one particular solution to Lu = f .

(17) Let us illustrate the power of the superposition principle by solving a prob-lem. Solve (that is, find all solutions to)

uxy = x2y.

Page 7: 124a Notes

124A PARTIAL DIFFERENTIAL EQUATIONS 7

This is a linear inhomogeneous equation. Hence we can apply the super-position principle. We have computed earlier the general solution to thehomogeneous equation:

vxy = 0⇐⇒ v = f(x) + g(y),

where f, g any functions. Hence we just need to guess one solution to theinhomogeneous equation. This is easy for our equation. For example

u0 =x3

3y2

2=x3y2

6will do the job. Therefore, by the superposition principle the answer is:

u(x, y) =x3y2

6+ f(x) + g(y),

where f, g any functions.

(18) The superposition principle will be one of the main tools in this course bothfor the theory and the problem solving. Superposition principle does nothold for nonlinear equations.

2. Changing variables in PDEs

(1) The changing variables technique is fundamental for PDEs. It is based onvarious tools from calculus such as chain rule, implicit differentiation, andso on. Many problems in this course require the ability to change variablescorrectly. First we explain the generalities, underline the difficult part inthe change of variables procedure, and then solve some problems.

(2) To abbreviate we write x = (x1, . . . , xn) , ξ = (ξ1, . . . , ξn) , ux =(∂x1u, . . . , ∂xn

u) , and so on. In the differential equation

F (x, u, ux, . . .) = 0

we would like to change the variables x . The change of variables

x = H(ξ)

at once givesv(ξ) = u(H(ξ)).

and

(2.1) F (H(ξ), v(ξ), (ux)(H(ξ)), . . .) = 0.

We know F and H . Consequently we almost have the differential equa-tion for the new unknown v(ξ) .

It is just left to relate (ux)(H(ξ)) with vξ . This is the somewhatcomplicated part. To accomplish that we need the inverse change

ξ = Φ(x).

The inverse implies

Φ(H(ξ)) = ξ, H(Φ(x)) = x.

Page 8: 124a Notes

8 DENIS A. LABUTIN

Therefore together with v(ξ) = u(H(ξ)) we also have u(x) = v(Φ(x)) .By the chain rule

ux(x) = ∂ξv(ξ)∣∣∣ξ=Φ(x)

∂xΦ(x),

and we need to express this in ξ variables:

(ux)(H(ξ)) =(∂ξv(ξ)

∣∣∣ξ=Φ(x)

∂xΦ(x))∣∣∣∣

x=H(ξ)

= vξ(ξ) (∂xΦ) (H(ξ)).

We see that the main computation when changing variables is finding

(∂xΦ) (H(ξ))

and the higher derivatives needed for uxx , uxxx , . . . . That is, we needto express the derivative ∂xΦ(x) as a function of ξ by substituting x =H(ξ) .

When this is done, equation (2.1) becomes

0 = F (H(ξ), v(ξ), vξ(ξ) (∂xΦ) (H(ξ)), . . .)

m0 = G(ξ, v, vξ, . . .) .

(3) Thus to change the independent variables x to ξ in the equation

F (x, u, ux, . . .) = 0

we need:Step 1. Use x = H(ξ) to introduce v(ξ) = u(H(ξ)) , and write the inverse

change ξ = Φ(x) so that u(x) = v(Φ(x)) .

Step 2. Compute by the chain rule

∂xu(x) = ∂ξv(Φ(x)) ∂xΦ(x)

⇓ substituting x = H(ξ)

(∂xu)(H(ξ)) = ∂ξv(ξ) (∂xΦ)(H(ξ)) ,

and higher derivatives, if necessary

∂2xu(x) = ∂x

(∂ξv(Φ(x)) ∂xΦ(x)

)= ∂2

ξv(Φ(x)) (∂xΦ(x))2 + ∂ξv(Φ(x)) ∂2xΦ(x)

⇓ substituting x = H(ξ)

(∂xxu)(H(ξ)) = ∂2ξv(ξ)

((∂xΦ)(H(ξ))

)2

+ · · · ;

Step 3. Plug the results of steps 1 and 2 into the equation to write it in thenew variables

0 = F (H(ξ), u(H(ξ)), ux(H(ξ)) . . .)

= G(ξ, v, vξ, . . .).

(4) The successful strategy for changing variables is not to memorize the generalformula above, but to repeat the three steps for individual problem. Let usshow this by examples.

Page 9: 124a Notes

124A PARTIAL DIFFERENTIAL EQUATIONS 9

(5) In the eiconal equation

(ux)2 + (uy)2 = 1

pass to the polar coordinates

x = r cos θ, y = r sin θ.

(When dealing with polar coordinates one always assumes (x, y) 6= (0, 0)and hence r 6= 0 .)

First, changing the variables from (x, y) we obtain the new unkown

v(r, θ) = u(x, y)∣∣∣x=r cos θ, y=r sin θ

.

Second, to obtain the equation for v we need the inverse change

r = r(x, y), θ = θ(x, y).

Then u(x, y) = v(r(x, y), θ(x, y)) and

ux = vrrx + vθθx

uy = vrry + vθθy.

We need to express the right hand sides in terms of (r, θ) and plug theresult into the eiconal equation.

With polar coordinates the inverse change does not have a convenientform. The trick is to use the implicit differentiation of polar coordinates:

x ≡ r(x, y) cos θ(x, y), y ≡ r(x, y) sin θ(x, y),

therefore

1 = rx cos θ − r sin θ θx0 = ry cos θ − r sin θ θy1 = ry sin θ + r cos θ θy0 = rx sin θ + r cos θ θx

and

rx = cos θry = sin θ

θx =− sin θr

θy =cos θr

Combining the results discover

1 = u2x + u2

y

= (vrrx + vθθx)2 + (vrry + vθθy)2

=(vr cos θ + vθ

(− sin θ

r

))2

+(vr sin θ + vθ

(cos θr

))2

= v2r +

1r2v2θ .

Page 10: 124a Notes

10 DENIS A. LABUTIN

3. Derivation of equations and boundary conditions

(1) The Gauss divergence theorem is crucial for deriving PDEs. It says that if∂Ω is the boundary of the domain Ω , and if ~n is the outer normal on∂Ω , then ∫∫∫

Ω

div ~F dvol =∫∫

∂Ω

~F · ~n dA.

Here dvol is the volume lement in Ω and dA is the area element on∂Ω .

(2) Derivation of the transport equation. Let ρ be the density of thetransported component, ~V be the velocity of the transporting flow.

Let also f be the density of the external sources. That is the externalproduction of the component at the point x = (x1, x2, x3) during the timeinterval (t, t+ ∆t) is

∆M = f(t, x) dvol(x) ∆t.

The key observation: let ∆m be the mass transported by the flow ~Vthrough the flat plate ∆S in the direction of the unit normal ~n , |~n| = 1 ,during the time interval ∆t . Then

|∆m| = ρ vol(∆R)= ρ∆S × height= ρ∆S |~V |∆t cosα.

Im

Re&%'$

&%'$

q1−1

q

Rez = 1/2

D = |z| > 1 \ Rez = 1/2, Imz > 0

A1 = 2eiαrrA2 = 2e−iα

We must think that ∆m > 0 if ~V points in the same direction as ~n ,and ∆m < 0 if the directions are opposite. Hence

∆m = ρ∆S∆t (~V · ~n).

The mass balance condition must always hold for the component. There-fore for any spacial volume Ω with the boundary ∂Ω and the external

Page 11: 124a Notes

124A PARTIAL DIFFERENTIAL EQUATIONS 11

normal ~n we have∫Ω

ρ(t+ ∆t, x) dvol(x)−∫

Ω

ρ(t, x) dvol(x) =production inside Ω

− flux through ∂Ω in direction ~n

=∆t∫

Ω

f dvol

−∆t∫∂Ω

ρ(t, x) ~V · ~n dA(x)

=∆t∫

Ω

f − div(ρ(t, x)~V

)dvol(x).

Divide by ∆t→ 0 to discover∫Ω

∂tρ(t, x) dvol(x) =∫

Ω

f − div(ρ(t, x)~V

)dvol(x).

Then divide by vol(Ω)→ 0 to find that the equation for the density

ρ = ρ(t, x)

of the component transported by the flow ~V with the sources density fis

∂tρ = −div(ρ~V ) + f.

In real processes the presence of the component influences the flow ~V =~V (t, x, ρ) and the sources density f = f(t, x, ρ) . So the transport equationis nonlinear:

∂tρ+ divx(ρ(t, x)~V (t, x, ρ(t, x))) = f(t, x, ρ).

If the flow and the source are not influenced by the component the equationbecomes

(3.2) ∂tρ+ divx(ρ(t, x)~V (t, x)) = f(t, x).

Prove that (3.2) is a linear (non-homogeneous) equation for the unknownρ = ρ(t, x) . If the flow has a constant velocity

~V (t, x) ≡ ~C,

the transport equation is

∂tρ+ ~C · ∇ρ = f.

If the constant velocity flow is one dimensional then the transport equationbecomes

ρ = ρ(t, x), ∂tρ+ c∂xρ = f(t, x).

(3) Derivation of the heat equation. The heat equation (also called theheat transport equation) shares some features with the transport equation.The unknown is the temperature T = T (t, x) . The key fact is the Fourier’slaw of the heat conduction: let ∆Q be the amount of the heat energytransported through the flat plate ∆S in the direction of the unit normal~n , |~n| = 1 , during the time interval ∆t . Then

∆Q = −k∆t∆S gradT · ~n.

Here k is the (positive) material’s conductivity coefficient. Notice thesimilarities with the transport. What is the meaning of the " − " sign inthe formula?

Page 12: 124a Notes

12 DENIS A. LABUTIN

Let f be the intensity of the external heat sources. That is the amountof energy produced externally at the point x during the time interval(t, t+ ∆t) is

∆E = f(t, x) dvol(x) ∆t.The heat energy E of the volume dvol is given by

E = C T dvol,

where C is the thermal capacity coefficient of the material. Using theFourier law we write the conservation of energy for any spacial volume Ω∫

Ω

CT (t+ ∆t, x) dvol(x)−∫

Ω

CT (t, x) dvol(x) =heat production inside Ω

− heat flux through ∂Ω in direction ~n

=∆t∫

Ω

f dvol

+ ∆t∫∂Ω

k gradT · ~n dA

=∆t∫

Ω

f + div(k gradT

)dvol.

Divide by ∆t→ 0 to discover∫Ω

C∂tT (t, x) dvol(x) =∫

Ω

f + div(k gradT (t, x)

)dvol(x).

Then divide by vol(Ω)→ 0 to find that the equation for the temperature

T = T (t, x, y, z)

with the sources density f is

∂tT =k

Cdiv(gradT ) + f.

(4) Laplace operator. The operator

div(gradu) = (∂2x + ∂2

y + ∂2z )u

is called the Laplace operator or Laplacian and is denoted by ∆ ,

∆ = div(grad ) = ∂2x + ∂2

y + ∂2z .

Thus the heat equation for the unknown T = T (t, x, y, z) with the givensources of the density f is

∂tT = a∆T + f.

In the one dimensional case the heat equation becomes

T = T (t, x), ∂tT = a∂2xT + f, a > 0.

Suppose that the temperature regime is stationary, that is T = T (x, y, z)and

∂tT = 0.Then the temperature distribution is described by the Laplace (or Poisson)equation

a∆T = −f.Solutions u of

∆u = 0are called the harmonic functions.

Page 13: 124a Notes

124A PARTIAL DIFFERENTIAL EQUATIONS 13

(5) Diffusion equation. This is the same equation as the heat equation. LetN = N(t, x) be the concentration of the component which is being diffusedin medium. The key for the derivation is the Fick’s diffusion law: let ∆νbe the amount of the component passed through the flat plate ∆S in thedirection of the unit normal ~n , |~n| = 1 , during the time interval ∆tunder the natural diffusion. Then

∆ν = −d∆t∆S gradN · ~n.Here k is the (positive) material’s diffusion coefficient. This is exactly thesame formula as in the Fourier’s heat conduction law.

(6) Wave equation. We derive the equation for small vibrations of a onedimensional horisontal string. "Small" means that if the length of thestring at rest is l , and if the change in length during the vibration is ∆l ,then

∆ll≪ 1.

This implies that the change in the tension force value∆TT0v

∆ll≪ 1.

Therefore the tension force has the constant value T0 during the vibra-tions. "Small" also means tag the pieces of the string move only in thevertical direction. Accepting these observations we derive the equation.

Let u(t, x) be the vertical coordinate of a piece (x, x + ∆x) of thestring. The Newton’s law of the motion projected on the vertical axisstates

∆mutt = F + Tvert(t, x) + Tvert(t, x+ ∆x).Here F is an external vertical force on the piece (x, x+ ∆x) , and ∆m =ρ0∆x . For the tension force we have

~T (x) = T0 (−tangent vector at x)and

~T (x+ ∆x) = T0 tangent vector at x+ ∆x.Here the tangent vector to the graph of u is

(1, ux)√1 + u2

x

.

The smallness of vibrations allows to writeux√

1 + u2x

= ux(1 +12u2x + · · · ) ' ux.

Thus

Tvert(t, x) + Tvert(t, x+ ∆x) =T0(ux(t, x+ ∆x)− ux(t, x)).

Therefore the Newton’s law becomes

utt =T0

ρ0

ux(t, x+ ∆x)− ux(t, x)∆x

+F

ρ0 ∆x.

Letting ∆x→ 0 discover

utt = c2uxx + f(t, x),

where f is the given external force density and c =√T0/ρ0 . The oper-

atorcu =

(∂2t − c2∂2

x

)u

is called the wave (or Dalambert’s) operator.

Page 14: 124a Notes

14 DENIS A. LABUTIN

(7) Initial vaue problem. For the equation of the type

∂tu+ L(∂x)u = f

the initial value problem is to find u(t, x) satisfyingut + Lu = f for t > 0, x ∈ (−∞,+∞)u|t=0 = φ(x).

Here f(t, x) and φ(x) are given functions.For the wave equation the initial value problem is to find u(t, x) satis-

fying utt + uxx = f for t > 0, x ∈ (−∞,+∞)u|t=0 = φ(x)ut|t=0 = ψ(x).

Here f(t, x) , φ(x) , and ψ(x) are given functions.(8) Boundary conditions. In one dimension u = u(t, x) , t > 0 , a < x <

b , the most common boundary conditions are:Dirichlet, functions f(t) , g(t) are given, u satsifies

u|x=a = f(t), u|x=b = g(t) for all t > 0;

Neumann, functions f(t) , g(t) are given, u satsifies

ux|x=a = f(t), ux|x=b = g(t) for all t > 0;

Robin, positive constants C1, C2 > 0 and functions f(t) , g(t) are given,u satsifies

(ux − C1u)|x=a = f(t), (ux + C2u)|x=b = g(t) for all t > 0;

Conditions at ∞ , u and all its derivatives tend to 0 as x → ∞ fast enough for allt > 0 .

(9) The meaning of the Dirichlet conditions is obvious (prescribing the temper-ature of the ends of the rod or the motion of the ends of the string).

The least obvious conditions are the Robin’s. For the heat propagationthey are derived by the following argument based on Newton’s law of theheat energy conduction and on Fourier’s heat transport law. Suppose thatthe right end of the rod, 0 < x < l , exchanges the energy with the massivereservoir of the given temperature T (t) . The Newton’s law states that

the energy flux Q from the rod into the reservoir in time ∆t isproportional to the temperature difference,

Q = C(u(t, l)− T (t))∆t.

At the same timethe amount of heat transported through the right end of the rodalso outside the rod in time ∆t by Fourier’s law is

Q = −κux(t, l)∆t.

Hence we must have −κux(t, l) = C(u(t, l)− T (t)) , which is equivalent to(ux +

C

κu

)∣∣∣∣x=l

=C

κT (t).

Similarly, using the Fourier law at the left end of the rod we derive

Q = κux(t, 0)

Page 15: 124a Notes

124A PARTIAL DIFFERENTIAL EQUATIONS 15

and (ux −

C

κu

)∣∣∣∣x=0

= −CκT (t).

For the string vibration consider the situation when, say, the left end ofthe string is attached to an elastic spring acting with the returning verticalforce

F = −ku(t, 0).

Then the Newton’s law for the element ρ∆x projected on the vertical axisstates that

(ρ∆x)utt(t, 0) = T + F

= T0ux(t, 0)− ku(t, 0).

(Here to get the formula T = T0ux we assumed that the vibrations aresmall, hence t ux is small, and hence

sinα ' tanα = ux,

where α is the angle at which the end of the string slides along the verticalaxis.) Letting ∆x→ 0 deduce that(

ux −k

T0u

)∣∣∣∣x=0

= 0.

The tension force on the right end of the string is

T = −T0ux(t, l),

and the similar argument gives(ux +

k

T0u

)∣∣∣∣x=l

= 0.

4. Transport and the first order equations

(1) Main tool. The important calculus notion for the transport equation isthe directional derivative of a function. Let u be a multivariable function,

u = u(~r),

~r = (r1, . . . , rn) . Let ~V be a fixed vector. Consider the line through thepoint ~r0 in the direction ~V :

~r(t) = ~r0 + t~V , −∞ < t <∞.

Restrict our function u to this line. This restriction is just a function ofone variable

u(~r(t)), −∞ < t <∞.

Now, the derivative of the function u at the point ~r0 along the vector ~Vis just the usual one dimensional derivative of u(~r(t)) :

∂u(~r0)

∂~V=du(~r0 + t~V )

dt

∣∣∣∣∣t=0

.

Page 16: 124a Notes

16 DENIS A. LABUTIN

This is the definition of the derivative along the vector. Using the chainrule we continue the computation, and obtain the important useful formulafor ∂u(~r0)

∂~V:

du(~r0 + t~V )dt

∣∣∣∣∣t=0

=n∑j=1

∂u(~r0)∂rj

Vj

= ∇u(~r0) · ~V .Thus

∂u(~r0)

∂~V= ∇u(~r0) · ~V .

If|~V | = 1

then the derivative along ~V is called the derivative in the direction ~V , orthe directional derivative.

(2) Solution to the simplest transport equation. We find the generalsolution u(x, y) of the equation

aux + buy = 0,

with the constant ~V = (a, b) 6= 0 . This is an easy matter since

aux + buy = ∇u · ~V =∂u

∂~V.

Thus the transport equation is equivalent to∂u

∂~V= 0⇔

u is constant along any line

parallel to ~V

How to express the last property of u(x, y) as a formula?

One way to argue is as follows. Any line parallel to (a, b) has theequation

−bx+ ay = C

with some constant C . Along this line the value of u is (some other)constant. Therefore the level sets of functions u(x, y) and −bx + aycoincide! This is possible if and only if

u(x, y) = f(−bx+ ay)

with some function f of one variable. Thus

aux + buy = 0⇔ u(x, y) = f(−bx+ ay)

where f is an arbitrary function of one variable.Here is another way to derive this formula. Namely, fix a point (x0, y0) . The line

through (x0, y0) parallel to (a, b) has the equation

−bx+ ay = −bx0 + ay0.

At least one coefficients has to be nonzero, suppose a 6= 0 . Since u is constant alongthis line

u(x0, y0) = u

„x,bx− bx0 + ay0

a

«˛x=0

= u

„0,−bx0 + ay0

a

«.

But u(0, z) is just a function of one variable z . Denote it by f(z) . Then

u(x0, y0) = f

„−bx0 + ay0

a

«= g(−bx0 + ay0)

with the one variable function g , g(z) = f(z/a) .

Page 17: 124a Notes

124A PARTIAL DIFFERENTIAL EQUATIONS 17

(3) As we just saw, the lines −bx+ ay = c which are parallel to (a, b) , playan important role for the transport equation aux + buy = 0 . They arecalled the characteristics of the equation. Above it is explained, that theequation is equivalent to the vanishing of the derivative of u along thecharacteristic.

Using the formula for the general solution we discover at once that thesolution to the initial value problem

ut + cux = 0 for t > 0, x ∈ (−∞,+∞)u|t=0 = φ(x)

is given by the wave propagating to the right

u = φ(x− ct).

Problem 3. Why this formula indeed gives a wave propagating to theright? Draw pictures.

(4) Using the property of the characteristics it is easy to solve the initial valueproblem for the inhomogeneous transport equation in the general form

ut + cux = f(t, x) for t > 0, x ∈ (−∞,+∞)u|t=0 = φ(x) for x ∈ (−∞,+∞) .

However, it is not very convenient for problem solving. For that it is almostalways easier to compute the solution using the superposition principle.

Since the equation is linear by the superposition principle we write

u = v + w

where vt + cvx = f for t > 0, x ∈ (−∞,+∞)v|t=0 = 0 for x ∈ (−∞,+∞) .

and wt + cwx = 0 for t > 0, x ∈ (−∞,+∞)w|t=0 = φ(x) for x ∈ (−∞,+∞) .

We already know that

w(t, x) = φ(x− ct).

It is left to find v .The key observation for that is that any parametrization of a straight line ~r =

~r0 + τ ~V , according to the chain rule gives

∂v(~r)

∂~V= ∇v(~r) · ~V =

d

dτv(~r0 + τ ~V ).

That is, our PDE is equivalent to the ODE along the characteristic with~V = (1, c).

Now, fix a point (t0, x0) and consider the characteristic line

x− ct = x0 − ct0 ⇔ x = ct+ (x0 − ct0)

passing through it. Take t as the parameter along the line. Then according to ourobservation, the restriction z of u to the characteristic,

z(t) = v(t, x0 − ct0 + ct),

satisfies 8<:dz

dt= f(t, x0 − ct0 + ct) for t > 0

z(0) = 0,

Page 18: 124a Notes

18 DENIS A. LABUTIN

and the integration gives

v(t0, x0) = z(t0)

= z(0) +

Z t0

0

dz(t)

dtdt

= 0 +

Z t0

0f(t, x0 − ct0 + ct) dt.

Hence the answer is

u(t, x) = φ(x− ct) +

Z t

0f(τ, x− c(t− τ) dτ.

(5) Variable coefficients first order equation. The equation

a(x, y)ux + b(x, y)uy = 0

similarly to the constant coefficients transport equation, can be rewrittenwith the vector field

~A(x, y) =(a(x, y)b(x, y)

)as

a(x, y)ux + b(x, y)uy = 0⇔ ∂u

∂ ~A(x, y)= 0.

Unlike the constant coefficients case, the vector field now depends on(x, y) . Instead of the characteristic lines we need the characteristic curves.By definition those are the curves tangent to ~A . Formally this means theysolve the system (

x(t)y(t)

)= ~A(x(t), y(t)).

Along any such curved

dtu(x(t), y(t)) = aux + buy

and therefore∂u

∂ ~A= 0⇔

u is constant along any curve

tangent to ~A

.

How to express the last condition as a formula?The easiest way to argue is as follows. Suppose we have the equation of

the characteristic curves not in the form

t 7−→(x(t)y(t)

),

but in the form of a level curve

F (x, y) = const.

The gradient ∇F is orthogonal to the level curve, whereas ~A is tangentto the level curve. Hence

∇F (x, y)⊥ ~A(x, y)

(that is aFx + bFy = 0 ). At the same time for the unknown u we alsohave

aux + buy = 0⇔ ∇u · ~A = 0,and hence

∇u(x, y)⊥ ~A(x, y).But ∇u is orthogonal to the level curve of u . Therefore the tangent lineto the level curve of u coincides with the tangent line to the level curve

Page 19: 124a Notes

124A PARTIAL DIFFERENTIAL EQUATIONS 19

of F . But this means that the level curves of F and u coincide! Thisis equivalent to

u(x, y) = f(F (x, y))with an arbitrary function f of one variable.

(6) Thus for the problem solving we need to have an effective way of findingthe characteristic curve in the form

F (x, y) = const.

This is easy: for any curve (x(t), y(t)) expressed as a graph y = y(x) wehave

dy

dx=

dy

dtdx

dt

=y

x.

But the equation for the characteristics is

x = a(x, y)y = b(x, y) .

Hencedy

dx=b(x, y)a(x, y)

.

It is better to write this equation in more symmetric form

dy

b(x, y)=

dx

a(x, y)integration⇐⇒ F (x, y) = const.

This is the formula for the characteristic curves for the equation

aux + buy = 0.

Then the general solution to the equation is

(4.3) u(x, y) = f(F (x, y)),

where f is an arbitrary function of one variable.(7) Let us give a rigorous proofs of (4.3).

The equation

(4.4) a(x, y)ux + b(x, y)uy = 0

has the characteristic system

x = a(x, y)y = b(x, y).

The key notion for writing down the formula for u is the first integral of the charac-teristic system.

Suppose we know that F is the first integral of the system. This means that it isconstant along any solution (x(t), y(t)) . Equivalently

0 = ∂tF (x(t), y(t))

= Fxx+ Fy y

= Fxa+ Fyb .

That is our F satisfiesaFx + bFy = 0.

Suppose Fy 6= 0 (if Fx 6= 0 the argument is similar). Introduce the the map m ,„xy

«7−→

„x

F (x, y)

«.

That is, make the change of variables (ξ, η) = m(x, y) ,

ξ = x

η = F (x, y).

Page 20: 124a Notes

20 DENIS A. LABUTIN

Geometrically m maps vertical lines into vertical

x = const m−→ ξ = const,

and the level curves of F into horisontal

(x, y) | F (x, y) = const m−→ η = const.

The map m is invertible since

m′ =

„1 0Fx Fy

«, det(m′) = 1 · Fy 6= 0.

Thusv(ξ, η) = u(m−1(ξ, η)), u(x, y) = v(m(x, y)).

By this change of variables we derive

ux = vξξx + vηηx

= vξ1 + vηFx,

uy = vξξy + vηηy

= vηFy .

Consequently

0 = aux + buy

= a(vξ + vηFx) + bvηFy

= avξ + vη(aFx + bFy)

= avξ + 0 .

Notice that a 6= 0 since otherwise the first integral condition forces a = b = 0 . Hence

vξ = 0⇔ v(ξ, η) = f(η)

for an arbitrary function f of one variable. Actually, this is to be expected since u isconstant along the level curves of F and, as we saw above, the latter are mapped intothe horisontal lines η = const . Thus v must depend only on the vertical direction η .Going back to the (x, y) -variables discover

(4.4)⇔ u(x, y) = v(m(x, y)) = f(F (x, y)).

(8) Hence solving (4.4) is equivalent to finding the first integral of the characteristic system

x = a(x, y)

y = b(x, y).

In the the derivation of (4.3) we were saying that " F (x, y) = C was the expressionof the solution to the characteristic system as a level curve", whereas to prove (4.4) weused the notion of the first integral of the characteristic system. Let us show that (inthe plane) these objects coincide. That is, finding the first integral of the plane systemof ODEs is the same as solving it.

On the one hand if F (x, y) = C is the solution formula (in the implicit form) forthe system

x = a(x, y)y = b(x, y).

Then every solution expressed in the parametric form (x(t), y(t)) must satisfy

F (x(t), y(t)) ≡ C,

so F is the first integral.On the other hand, suppose that F is the first integral of the system, so

aFx + bFy = 0.

Write the level curve in a parametric form

F (x, y) = C ⇔„xy

«=

„x(t)y(t)

«.

Then differentiating F (x(t), y(t)) ≡ C gives

xFx + yFy = 0.

Consequently comparing the two relations for ∇F we discover that for some functionλ(t) along the level curve

λ(t) x = a(x, y)

λ(t) y = b(x, y).

Page 21: 124a Notes

124A PARTIAL DIFFERENTIAL EQUATIONS 21

Use functionΛ(t) =

Zλ(t) dt, Λ = λ,

to reparametrise the level curve as„x

y

«=

„x(t)

y(t)

«=

„x(Λ(t))

y(Λ(t))

«.

The reparametrised curve satisfies˙x = Λx(Λ) = a(x, y)˙y = Λx(Λ) = b(x, y).

Thus the level curves of the first integral when properly parametrised are the solutioncurves.

(9) The map m allows to prove the solvability of the nonlinear (more precisely the semi-linear) equation

a(x, y)ux + b(x, y)uy = H(x, y, u)

following the same strategy. We can prove the existence result for a suitably posed IVP.To formulate the IVP we argue as follows. The characteristics for the nonlinear

equation are the same as above, they are given by the level curves of F . Suppose thecondition

Fy 6= 0

holds in a neighbourhood of (0, 0) . The tangent vector to a characteristic is ~A =(Fy ,−Fx) . Therefore the characteristics are not tangential to the line

x = 0

in the neighborhood of (0, 0) . Consider the following problem: for a given smooth φfind u satisfying(

a(x, y)ux + b(x, y)uy = H(x, y, u) near (0, 0)

u(0, y) = φ(y) on the line x = 0.

We now prove the existence of such u .The (ξ, η) -variables computation, we have done for (4.4), gives for v(ξ, η) the

equation

avξ + vη(aFx + bFy) = H(x, y, v), (x, y) = m−1(ξ, η).

Introducing

a(ξ, η) = a m−1(ξ, η), H(ξ, η, v) = H(m−1(ξ, η), v),

we rewrite the equation as

a(ξ, η)vξ = H(ξ, η, v)⇔ vξ = G(ξ, η, v),

with

G(ξ, η, v) =H(ξ, η, v)

a(ξ, η).

The neighborhood of (0, 0) is mapped by m onto some neighborhood N of (0, η0) ,where η0 = F (0, 0) . The line x = 0 is mapped onto ξ = 0 . Thus m−1 pullsback our problem to finding v(ξ, η) satisfying(

vξ = G(ξ, η, v) in Nv(0, η) = φ(η) on the line ξ = 0 ∩N,

withφ(η) = φ(y)

˛y=(m−1(0,η))2

.

This is an IVP for the ODE for v , for which the standard existence-uniqueness theoremproduces a smooth solution v(ξ, η) . Hence we obtain the desired solution

u(x, y) = v(m(x, y)) = v(x, F (x, y)).

(10) Solving problems. For the problem solving the new difficulties areintroduced by the right hand side

aux + buy = f

and by the lower order terms

aux + buy + cu = f.

Page 22: 124a Notes

22 DENIS A. LABUTIN

The right strategy is to use the superposition principle for non homogeneousequations and integrating factors for the lower order terms.

Problem 4. Find u = u(t, x) solving the initial value problem

2ut = ux + xu, u(0, x) = 1.

We cannot use any formulas given above due to the term xu . First wehave to get rid of it. Compute∫

x dx =x2

2+ C.

The constant is not needed for the integrating factor technique: namely,multiplying the equation by ex

2/2 ,

2ex2/2ut = ex

2/2ux + xex2/2u,

find that

ex2/2ut =

(ex

2/2u)t, ex

2/2ux + xex2/2u =

(ex

2/2u)x.

Hence we can substitute

v = ex2/2u

to find that2vt = vx, v(0, x) = ex

2/2.

This is the simplest homogeneous transport equation. We find at once that

v = f

(x+

t

2

), f(x) = ex

2/2.

Thus

u(t, x) = e−x2/2v

= e−x2/2e(x+ t

2 )2/2

= ext2 + t2

8 .

Problem 5. Find u = u(t, x) solving the initial value problem

ut + (1 + t2)ux + u = 1 u(0, x) = e−x.

This equation has the variable coefficients, the lower order term, and thenontrivial right hand side. We need to make several steps to reduce it tothe homogeneous equation aut + bux = 0 .

First, the easiest way is to combine ut + u . The integrating factor canbe taken et . Multiplying deduce

etut + etu+ et(1 + t2)ux = et,

so that(etu)t + (1 + t2)(etu)x = et.

Substitutev = etu

and findvt + (1 + t2)vx = et, v(0, x) = e−x.

Next, we easily guess that et is solution to the non homogeneous equation.Therefore

w = v − et

Page 23: 124a Notes

124A PARTIAL DIFFERENTIAL EQUATIONS 23

satisfies

wt + (1 + t2)wx = 0, w(0, x) = e−x − 1.

This is a simple homogeneous first order equation. The characteristics are

dt

1=

dx

1 + t2⇔∫

(1 + t2) dt =∫

dx⇔ t+t3

3+ C = x.

Thus the general solution is

w = f

(x− t− t3

3

).

The initial condition gives

f(x+ 0) = e−x − 1.

Consequently

w = e−x+t+ t33 − 1,

then

v = et + w = et + e−x+t+ t33 − 1,

and then

u = e−tv = 1 + e−x+ t33 − e−t.

(11) Initial value problem for nonlinear transport equations.

5. Initial value problem on the real line

(1) Initial value problem for the wave equation. For the wave equation

cu = 0

we can find the general solution

u(t, x) = f(x+ ct) + g(x− ct),

f, g are arbitrary functions of one variable. This is done using the re-duction to the transport equations. Then the solution to the initial valueproblem on the line

cu = 0, t > 0, x ∈ (−∞,+∞)

u|t=0 = φ(x)

ut|t=0 = ψ(x)

can be derived in the form of d’Alambert’s formula:

u(t, x) =φ(x+ ct) + φ(x− ct)

2

+12c

∫ x+tc

x−tcψ(s) ds.

(2) The important issue is to visualise in the (t, x) -plane the calculations withthe d’Alambert’s formula.

Page 24: 124a Notes

24 DENIS A. LABUTIN

(3) Initial value problem for the heat equation. Solutions for the initialvalue problem both for the transport and the wave equation were obtainedby the following procedure. First, we derived the formula for the generalsolution. Second, we specified the general solution to satisfy the initialconditions.

Such approach does not work for the heat equation on the line. Theredoes not exist a simple formula for the general solution to the heat equation.Instead we have to treat the initial value problem directly.

6. Energy method

(1) In this course the energy method is used only to prove the uniqueness of theboundary value problems. In fact the energy method is a truly fundamentaltool for analysis of linear and nonlinear PDEs.

(2) Ifut = c2uxx, t > 0, x ∈ (a, b),

then the convenient energy is

E [u](t) =∫ b

a

u2

2dx =

∫ b

a

u(t, x)2

2dx.

Ifutt = c2uxx, t > 0, x ∈ (a, b),

then the convenient energy is

E [u](t) =∫ b

a

12(u2t + c2u2

x

)dx =

∫ b

a

12(ut(t, x)2 + c2ux(t, x)2

)dx.

(3) The energy method computations always involve evaluating of

d

dtE [u](t)

by differentiation under the integral sign, using the equation for replacingsome derivatives by the other, integration by parts relying on the givenboundary conditions.

7. Reflection method for problems on the half line

(1) Method of reflections allows to derive the solutions to some (but not all!)problems with the boundary conditions (some, not all!) from the solutionsto the initial value problem on (−∞,+∞) . Thus the reflection methodcan be summarized as the reduction

I.V.P. for Lu = 0 on x ∈ (0,+∞)with boundary conditions at x = 0 −→ I.V.P. for Lu = 0 on x ∈ (−∞,+∞)

without the boundary

Below we introduce the reflections approach through some examples.

Page 25: 124a Notes

124A PARTIAL DIFFERENTIAL EQUATIONS 25

(2) Problems with homogeneous boundary conditions. Consider thewave equation on the half-line with the zero Dirichlet boundary condition:

u =0, t > 0, x ∈ (0,+∞)

u|t=0 =φ(x), x > 0

ut|t=0 =ψ(x), x > 0

u|x=0 =0, t > 0.

Here is the argument allowing to write down the solution to the problemusing the d’Alambert’s formula. Take the odd reflection of φ , ψ from(0,+∞) to (−∞, 0) :

φ, ψ(x) =

φ, ψ(x) for x > 0

0 for x = 0

−φ,−ψ(−x) for x < 0.

Consider the initial value problem on (−∞,+∞) with the reflected dataφ, ψ :

v = 0, t > 0, x ∈ (−∞,+∞)

v|t=0 = φ(x)

vt|t=0 = ψ(x).

The data φ, ψ are the odd functions. Hence by the property of the waveequation the solution v is odd in x for any t . But an odd function mustbe equal to zero at the origin, thus

v(t, 0) = 0 for all t.

Hence v for x ≥ 0 is the solution to the problem for u since it satisfiesboth the initial and the boundary conditions there. Using the d’Alambert’sformula

u(t, x) =φ(x+ t) + φ(x− t)

2

+12

∫ x+t

x−tψ(s) ds .

Using the visualisation of the d’Alambert’s formula in the (t, x) -plane andthe oddness of the data it is easy to express the answer using only φ, ψ(not φ, ψ ). The formula will be somewhat lengthy but it admits a simplevisualisation on the (t, x) -plane.

(3) The method of reflection allows to solve some boundary value problems onthe finite interval (0, `) . For example, one can solve the Dirichlet problemfor the wave equation

u = 0, t > 0, x ∈ (0, `)

u|t=0 = φ(x), x ∈ (0, `)

ut|t=0 = ψ(x), x ∈ (0, `)

u|x=0 = u|x=` = 0, t > 0.

The solution will have an incredibly lengthy formal description, but it hasa clean visualisation on the (t, x) -plane.

(4) The homogeneous Neumann boundary conditions are also manageable bythe reflection method. For example, consider the heat equation on the

Page 26: 124a Notes

26 DENIS A. LABUTIN

half-line ut − uxx = 0, t > 0, x ∈ (0,+∞)

u|t=0 = φ(x), x > 0

ux|x=0 = 0, t > 0.

Take the even reflection of φ from (0,+∞) to (−∞, 0) :

φ(x) =

φ(x) for x ≥ 0

φ(−x) for x ≤ 0.

Consider the initial value problem on (−∞,+∞) with the reflected datumφ :

vt − vxx = 0, t > 0, x ∈ (−∞,+∞)

v|t=0 = φ(x) .

The datum φ is an even function. Hence by the property of the heatequation the solution v is even in x for any t . But an even (smooth)function must have zero derivative at the origin, thus

vx(t, 0) = 0 for all t.

Hence v is the solution to the problem for u since satisfies both the initialand the boundary conditions there. Using the heat kernel

u(t, x) =∫ +∞

−∞S(t, x− y)φ(y) dy .

Using the evenness property of the heat kernel and the evenness of φ it iseasy to express the answer using φ alone (instead of φ ).

(5) Reflections for the non-homogeneous boundary conditions.Method of reflections allows also to reduce some problems with the nonho-mogeneous boundary conditions to the IVP on (−∞,+∞) . For example,consider the general Dirichlet problem for the wave equation on (0,+∞) :

utt − c2uxx = 0, t > 0, x ∈ (0,+∞)

u|t=0 = φ(x), x > 0

ut|t=0 = ψ(x), x > 0

u|x=0 = h(t), t > 0.

The Dirichlet boundary condition is now given by h(t) , h 6= 0 . Here isthe reduction argument. Recall that

cf(x− ct) = 0

for an arbitrary function f of one variable. Choose f(·) = h (− · /c) , sothat

f(x− ct) = h(t− x

c

).

Definev(t, x) = u(t, x)− h

(t− x

c

),

so that v(t, 0) = h(t)− h(t) = 0 for all t > 0 . Then v solvesvtt − c2vxx = 0, t > 0, x ∈ (0,+∞)

v|t=0 = φ1(x), x > 0

vt|t=0 = ψ1(x), x > 0

v|x=0 = 0, t > 0,

Page 27: 124a Notes

124A PARTIAL DIFFERENTIAL EQUATIONS 27

with φ1(x) = φ(x) − h(−x/c) , ψ1(x) = ψ(x) − h′(−x/c) . This is theproblem with the zero Dirichlet condition. We solved it above using theodd reflection. Hence the answer is

for x > ct :

u(t, x) =φ1(x+ ct) + φ1(x− ct)

2

+12c

∫ x+tc

x−tcψ1(s) ds

+ h(t− x

c

)=φ(x+ ct) + φ(x− ct)

2+

12c

∫ x+tc

x−tcψ(s) ds

− h(−(x+ ct)/c) + h(−(x− ct)/c)2

− 12c

∫ x+tc

x−tch′(−s/c) ds

+ h(t− x

c

)=φ(x+ ct) + φ(x− ct)

2+

12c

∫ x+tc

x−tcψ(s) ds

− h(−(x+ ct)/c) + h(−(x− ct)/c)2

+12

∫ −(x+tc)/c

−(x−tc)/ch′(r) dr

+ h(t− x

c

)=φ(x+ ct) + φ(x− ct)

2+

12c

∫ x+tc

x−tcψ(s) ds

− h(−(x− ct)/c)

+ h(t− x

c

)=φ(x+ ct) + φ(x− ct)

2+

12c

∫ x+tc

x−tcψ(s) ds;

for ct ≥ x > 0 using the similar computations:

u(t, x) =φ(x+ ct) + φ(x− ct)

2+

12c

∫ x+tc

x−tcψ(s) ds

+ h(t− x

c

).

The meaning of the solutions is simple. For x > ct the wave launched bythe motion h(t) at the origin does not reach the point x , and the solutionis given by the usual d’Alambert’s formula. For ct > x the solution is thesuperposition of the free wave coming from the d’Alambert and the wavelaunched from the origin by the prescribed motion h(t) .

Page 28: 124a Notes

28 DENIS A. LABUTIN

8. Fundamental solution and Duhamel’s principle

(1) Delta function. Delta function δ is not a function! The meaning willbe assigned not to δ itself, but to expressions involving it. Therefore forus formulas as∫ +∞

∞δ(x− y) dy = 1, δ(x) = 0 ∀x 6= 0, . . .

will have a meaning, but δ itself will not. The formulas involving δ -function (such as above) express the limiting results of the correspondingprocesses.

(2) Intuitively δ -function expresses such physical notions as the density of thepoint electrostatic charge, the energy of the point heat source, and similar.This is done using the limit of δ -shaped functions in the same way as inphysics one deals with the point-concentrated objects as limits of smearedones, as smearing gets smaller and smaller.

A δ -shaped function ωε(x) is the function satisfying:

(a)∫ +∞

−∞ωε(x) dx = 1 ;

(b) ωε(x) ≥ 0 for all x ;(c) ωε(x) = 0 for all x with |x| > ε (or limε→0 ωε(x) = 0 for every

x 6= 0 .)The following two examples of δ -shaped sequences are of fundamental

importance for this course.First, the characteristic function approximation of δ is

(8.5)1εχε(x) =

0 , x /∈ (0, ε)

1/ε , x ∈ [0, ε],

where

χε(x) =

0 , x /∈ (0, ε)1 , x ∈ [0, ε].

Second, the heat kernel approximation is

1√εG(x/

√ε) =

1√4πε

e−x24ε .

Now, δ -function is the "limit" of a δ -shaped sequence as ε→ 0 . Thus

(8.6) ”ωε(x),1εχε(x),

1√4πε

e−x24ε −→ δ(x)”, ε −→ 0.

The limit in (8.6) is understood in the following sense: the validity of anygiven formula

F(δ) = f

means that after the substitution F(ωε) and letting ε→ 0 we find

limε→0

F(ωε) = f.

(3) Let us illustrate the technique of dealing with δ .

Problem 6. Let us show that∫ +∞

−∞δ(x) dx = 1.

Page 29: 124a Notes

124A PARTIAL DIFFERENTIAL EQUATIONS 29

Indeed, take any δ -shaped sequence ωε (for example χε/ε ). We have∫ +∞

−∞ωε(x) dx = 1 ∀ε > 0,

hence trivially

limε→0

(∫ +∞

−∞ωε(x) dx

)= 1.

Thus according to our definition we may write∫ +∞

−∞δ(x) dx = 1.

Problem 7. Show that

δ(x) = 0 ∀x 6= 0.

Problem 8. Show that for any continuous function f∫ +∞

−∞f(x) δ(x) dx = f(0).

To prove this formula it is convenient to use the δ -shaped sequenceε−1χε(x) .

Problem 9. Fix x0 . For the shifted δ(x− x0) show that

δ(x− x0) = 0 ∀x 6= x0,∫ +∞

−∞δ(x− x0) dx = 1,

and ∫ +∞

−∞f(x) δ(x− x0) dx = f(x0).

Problem 10. Prove that for a continuous function f

(8.7)∫ +∞

−∞f(y) δ(x0 − y) dy = f(x0).

The formula can be approximately rewritten as

f(x0) '∫ +∞

−∞f(y)ωε(x0 − y) dy

'∑j

ωε(x0 − yj) f(yj) ∆yj

'∑j

δ(x0 − yj) f(yj) ∆yj

=∑j

f(yj)∆yj δ(x− yj)∣∣∣x=x0

.

This form emphasizes the important meaning of (8.7). Namely, an arbitraryforce (or signal, or field, or É) f(x) at a point x is approximately equalto the value at x of the sum of the point-impulse forces (or signals, orfields, or É) shifted to yj :

(8.8) f(x) '∑j

f(yj) (yj+1 − yj) δ(x− yj).

Page 30: 124a Notes

30 DENIS A. LABUTIN

To derive (8.7) just use∫ +∞

−∞f(y)ωε(x0 − y) dy =

∫ −∞+∞

f(x0 − z)ωε(z) (−dz) since x0 − y = z,−dy = dz

=∫ +∞

−∞f(x0 − z)ωε(z) dz

→f(x0 − z)∣∣∣z=0

.

Problem 11. For the Heaviside step-function

θ(x) = H(x) = 0, x < 0

1, x ≥ 0

show thatθ(x)′ = δ(x).

For that smear the step-function θε(x) on scale ε . Then show thatωε(x) = θε(x)′ is a δ -shaped sequence.

(4) Fundamental solution. Consider the initial value problem for a verygeneral evolution equation with the unknown u(t, x)

∂tu = Lu t > 0, x ∈ (−∞,+∞)

u|t=0 = φ(x).

Think thatL = L(∂x)

is, say, a constant coefficient operator involving only ∂x , ∂2x , . . . . Many

important problems from sciences have such form. For example, we havealready encountered the heat diffusion L = k2∂2

x , and transport L =−c∂x .

(5) The fundamental solution (or propagator) is the evolution of the initialpoint-impulse. That is, the solution of

∂tu = Lu, t > 0, x ∈ (−∞,+∞)

u|t=0 = δ(x)

This means that

∂tK(t, x)− L(∂x)K(t, x) = 0, t > 0, x ∈ (−∞,+∞)

and K(t, x) is δ -shaped in the same sense as in (8.6) with ε relaced byt . That is

K(t, x) −→ δ(x), t −→ 0.Hence the fundamental solution shows how the equation smears for t > 0the initial (at time t = 0 ) datum δ .

As we will see below, knowing the propagator for L is the key for solv-ing the initial value problem with arbitrary data. This explains the name"fundamental". We will denote the propagator by K(t, x) or KL(t, x) .

(6) For example, the Gaussian (heat kernel)

G(t, x) =1√4πt

e−x24t

satisfies (∂t − ∂2

x

)G(t, x) = 0, t > 0.

Moreover, it forms a δ -shaped sequence,

G(t, x) −→ δ(x), t −→ 0.

Page 31: 124a Notes

124A PARTIAL DIFFERENTIAL EQUATIONS 31

Hence the Gaussian is the fundamental solution to the heat equation.(7) Somewhat unusual example is the fundamental solution to the transport equation

∂tu+ c∂xu = 0.

One easily makes the formal computations for K(t, x) = δ(x− ct) :

∂xδ(x− ct) = δ′˛x−ct

· 1,

∂tδ(x− ct) = δ′˛x−ct

· (−c),

so that(∂t + c∂x)δ(x− ct) = −c+ c = 0.

We also have δ(x− ct)→ δ(x) as t→ 0 (without any smearing). Hence δ(x− ct) isthe fundamental solution of the transport equation.

This answer has a clear physical meaning. It says that the initial point-mass withthe density δ is transported by the one dimensional flow with the velocity c alongthe x -access without smearing or spreading. That is indeed what the perfect transport(without difusion) does!

(8) We verified that two suggested functions are the fundamental solutions ofthe heat and transport equation. There is a general method based on theFourier transform for the computation of the fundamental solution for agiven equation from the scratch. It will be studied in the second quarter.

(9) Fundamental solution and the formula for IVP. Let us show that thesuperposition principle implies that the solution of

∂tu = Lu, t > 0, x ∈ (−∞,+∞)

u|t=0 = φ(x)

is given by

(8.9) u(t, x) =∫ +∞

−∞K(t, x− y)φ(y) dy.

Hence, knowing the fundamental solution K(t, x) allows us to calculatethe solution with any initial data by the simple integration!

Verifying that (8.9) solves the IVP is easy. Indeed, firstly for t > 0 andx ∈ (−∞,+∞) we have

(∂t − L(∂x))(∫ +∞

−∞K(t, x− y)φ(y) dy

)=∫ +∞

−∞(∂t − L(∂x))K(t, x− y)φ(y) dy

=∫ +∞

−∞(∂sK(s, z)− L(∂z)K(s, z))

∣∣∣∣(s,z)=(t,x−y)

φ(y) dy

=∫ +∞

−∞0φ(y) dy

= 0.

Secondly, for every x ∈ (−∞,+∞)

limt→0

(∫ +∞

−∞K(t, x− y)φ(y) dy

)=∫ +∞

−∞δ(x− y)φ(y) dy

= φ(x).

Instead of verifying the formula given by somebody, one can derive it asshown below.

(10) The basic building block for the derivation of (8.9) is the following simple observation.Consider the IVP with the shifted δ :

Cδ(x− a).

Page 32: 124a Notes

32 DENIS A. LABUTIN

That is (∂tu = Lu, t > 0, x ∈ (−∞,+∞)

u|t=0 = Cδ(x− a).

Use the linearity to prove that the solution is

u = CK(t, x− a),

where K is the fundamental solution. This is the formula we will need.(11) Now fix a small ε > 0 , discretize the x variable

xj = jε, j = 0, ±1, ±2 . . . ,

and approximate our datum

φ(x) 'Xj

φ(xj)χε(x− xj).

The key observation is to write

φ(xj)χε(x− xj) = εφ(xj)1

εχε(x− xj)

with the characteristic function approximation of δ from (8.5). Therefore

εφ(xj)1

εχε(x− xj) ' εφ(xj) δ(x− xj).

The summation then gives

(8.10) φ(x) 'Xj

εφ(xj) δ(x− xj),

which is nothing but the physical approximation of a general charge distribution by asum of point charges. That is we approximated φ by a sum of discrete impulses locatedat points xj .

Notice that we could skip the details of the discretization and at once deduce (8.10)from (8.8)!

(12) Next, by the linearity

u(t, x) 'Xj

uj(t, x),

where uj solves (∂tuj = Luj , t > 0, x ∈ (−∞,+∞)

uj |t=0 = εφ(xj) δ(x− xj).

By our building block solution we already know that

uj(t, x) = εφ(xj)K(t, x− xj).

Consequently

u(t, x) 'Xj

uj(t, x)

=Xj

εφ(xj)K(t, x− xj)

=Xj

K(t, x− xj)φ(xj)(xj+1 − xj).

Finally, notice that the last sum approximates an integral over x . Letting the discreti-sation

xj+1 − xj = ε→ 0

we discover

u(t, x) = limε→0

0@Xj

K(t, x− xj)φ(xj)(xj+1 − xj)

1A=

Z +∞

−∞K(t, x− y)φ(y) dy,

which is desired (8.9).

Page 33: 124a Notes

124A PARTIAL DIFFERENTIAL EQUATIONS 33

(13) To make the formulae shorter, it is convenient to introduce the solutionoperator etL acting on the functions F on R . Define

(etLF )(x) =∫ +∞

−∞K(t, x− y)F (y) dy.

In the case L is a number etL is the usual exponential. In these notationswe have

∂tu = Lu, t > 0, x ∈ R

u|t=0 = φ(x)⇐⇒ u(t, x) = etLφ(x)

(14) The propagator approach gives the same formula for any constant coeffi-cients linear operator L . Notice, however, that the wave equation doesnot fit immediately in this form – we have ∂2

t instead of ∂t in the initialvalue problem for the wave equation. Later we will show how to adapt thearguments for the wave equation.

(15) Duhamel’s principle. Knowing the propagator also allows us to solvethe non-homogeneous problem

(8.11)

∂tu =Lu+ f(t, x), t > 0, x ∈ R

u|t=0 =0

via the Duhamel’s formula:

u(t, x) =∫ t

0

e(t−s)Lf(s) ds

=∫ t

0

∫ +∞

−∞K(t− s, x− y)f(s, y) dy ds.

Again, once the formula is given, its verification is not hard. Firstly,

u(0, x) =∫ 0

0

(· · ·)dt = 0,

therefore the initial condition holds. Secondly, equality

L(∂x)u(t, x) =∫ t

0

∫ +∞

−∞L(∂x)K(t− s, x− y)f(s, y) dy ds

=∫ t

0

∫ +∞

−∞L(∂z)K(r, z)

∣∣∣∣(r,z)=(t−s,x−y)

f(s, y) dy ds

together with

∂tu(t, x) =∫ +∞

−∞K(t− s, x− y)f(s, y) dy

∣∣∣∣s=t

+∫ t

0

∫ +∞

−∞∂tK(t− s, x− y)f(s, y) dy ds

=∫ +∞

−∞δ(x− y)f(t, y) dy

+∫ t

0

∫ +∞

−∞∂rK(r, z)

∣∣∣∣(r,z)=(t−s,x−y)

f(s, y) dy ds

Page 34: 124a Notes

34 DENIS A. LABUTIN

imply

(∂t − L)u =∫ +∞

−∞δ(x− y)f(t, y) dy

+∫ t

0

∫ +∞

−∞

(∂rK(r, z)− L(∂z)K(r, z)

)∣∣∣∣(r,z)=(t−s,x−y)

f(s, y) dy ds

=f(t, x) +∫ t

0

∫ +∞

−∞0 f(s, y) dy ds

=f(t, x).

(16) We now derive Duhamel’s formula on the "physical" level of rigor. For that we shall usethe following basic building block problem. Consider the delayed IVP:(

∂tu = Lu, t > s, x ∈ (−∞,+∞)

u|t=s = φ(x).

Using the invariance in time, one can easily see that the value of the solution to thedelayed problem is

u(t, x) =

Z +∞

−∞K(t− s, x− y)φ(y) dy

where K is the fundamental solution. This is the formula we will need.(17) Fix T > 0 . To compute u(T, x) solving (8.11) we first split the time interval [0, T ]

into N segments of the length ∆t = T/N ,

0 = t0 < t1 = ∆t

< t2 = 2∆t = t1 + ∆t

· · ·< tj = j∆t = tj−1 + ∆t

· · ·< tN = T.

Next, in (8.11) discretise f in time by splitting it into

f(t, x) 'N−1Xj=0

fj(t, x), fj(t, x) = f(tj+1, x)χ(tj ,tj+∆t)(t).

By the linearity

u(T, x) 'N−1Xj=0

uj(T, x),

where uj(t, x) solves(∂tuj = Luj + fj , t > 0, x ∈ (−∞,+∞)

uj |t=0 = 0.

The point here is that the right hand side fj(t, x) is identical zero if 0 < t < tj andtj + ∆t < t < T . Only on the short time interval (tj , tj + ∆t) it acts on the equation.

Let us evaluate uj(T, x) for every j . By (8.9) we have

uj(t, x) = 0 for 0 < t ≤ tj .

Ignoring the tiny time interval (tj , tj+1) of length ∆t we use the first order approxi-mation to evaluate for t = tj+1

uj(tj+1, x) ' uj(tj , x) + ∆t ∂tuj(tj , x)

= 0 + ∆t“L(∂x)uj + fj

”˛(tj ,x)

= ∆t“

0 + f(tj+1, x)”.

Consequently for tj+1 < t < T our uj solves(∂tv = Lv, tj+1 < t < T, x ∈ (−∞,+∞)

v|t=tj+1 = f(tj+1, x)∆t.

Page 35: 124a Notes

124A PARTIAL DIFFERENTIAL EQUATIONS 35

But this is just the delayed IVP. Hence, as we shown above

uj(T, x) =

Z +∞

−∞K(T − tj+1, x− y)f(tj+1, y)∆t dy.

Therefore

u(T, x) 'N−1Xj=0

„Z +∞

−∞K(T − tj+1, x− y)f(tj+1, y) dy

«∆t.

Recognising the Riemann integral sum here we discover letting ∆t→ 0 that

u(T, x) =

Z T

0

Z +∞

−∞K(T − s, x− y)f(s, y) dy ds.

(18) Notice that the Duhamel’s formula gives the following statement for theheat equation. If φ(x) is odd (even) and for every t the function f(t, x)is odd (even) in x , then the solution of

∂tu = Lu+ f(t, x), t > 0, x ∈ (−∞,+∞)

u|t=0 = φ(x),

u = u(t, x) is odd (even) in x for any fixed t .This follows at once from the representation

u(t, x) =∫ +∞

−∞K(t, x− y)φ(y) dy +

∫ t

0

∫ +∞

−∞K(t− s, x− y)f(s, y) dy ds

with

K(t, z) =1√tG

(z√t

),

and the evenness of the Gaussian

G(x) =1√4πe−

x24 .

9. Boundary value problems and separation of variables

(1) Separation of variables method for the heat and wave equations with eitherDirichlet or Neumann boundary conditions is familiar from calculus. Actu-ally the method works for more general equations and boundary conditions.

(2) Suppose f is a given function on a finite segment [a, b] .

Boundary conditions

α1f(a) + β1f(b) + γ1f′(a) + δ1f

′(b) = 0

α2f(a) + β2f(b) + γ2f′(a) + δ2f

′(b) = 0

are called symmetric if for any functions f , g satisfyingthem one has

f ′(x)g(x)− f(x)g′(x)∣∣∣x=b

x=a= 0.

This definition is not very inspiring. The true meaning of the symmetryis the symmetry of the operator d2/dx2 with respect to the L2 innerproduct. Indeed,

Page 36: 124a Notes

36 DENIS A. LABUTIN

the boundary conditions are symmetric if and only for any smoothfunctions f , g satisfying them one has(

d2f

dx2, g

)L2

=(f,d2g

dx2

)L2

(3) The theoretical basis for the separation of variables method is provided bythe following theorem. It’s most important part (iii) states that the sepa-ration of variables method always works provided the boundary conditionsare symmetric.

Theorem. Consider the eigenvalue problem

d2

dx2f = −λf on (a, b)

with some symmetric boundary conditions. Then:(i) all eigenvalues are real and form an infinite discrete sequence

λ1 ≤ λ2 ≤ · · · ,

λn → +∞ as n→∞ ;(ii) the corresponding eigenfunctions are L2 -orthogonal (fn, fm)L2 = 0 ;(iii) any φ ∈ L2 can be expanded as

φ =∞∑n=1

Anfn on [a, b]

with the coefficients given by

An =(φ, fn)L2

(fn, fn)L2.

The convergence of the series in the theorem is in the L2 sense. Thecondition λn → ∞ implies that the multiplicity of every eigenvalue isfinite. The theorem unites several theorems in Strauss.

(4) We know from the calculus that any φ can be expanded either into thefull Fourier series, or into the cos -half range Fourier series, or into thesin -half range series. The theorem provides us with the expansion withrespect to the general system fn of the eigenfunctions not covered bythe three calculus cases.

For example, the mixed boundary conditions

u|x=0 = 0, ux|x=l = 0

on (0, l) lead through the separation to the eigenvalue problem

f ′′ = −λf, f(0) = f ′(l) = 0.

The eigenvalues turn out to be

λn =(

(n+ 12 )πl

)2

, n = 0, 1, 2, . . . ,

and the eigenfunctions

fn(x) = sin(

(n+ 12 )πxl

).

This is neither the full Fourier nor a half range Fourier system. Hence thecalculus expansions do not work in this case. However, the theorem tells

Page 37: 124a Notes

124A PARTIAL DIFFERENTIAL EQUATIONS 37

that any initial datum φ on [0, l] can be expanded with respect to fn .Indeed, by the theorem

φ(x) =∞∑n=0

An sin(

(n+ 12 )πxl

), x ∈ [0, l],

with the coefficients computed by the formula

An =

∫ l

0

φ(x) sin(

(n+ 12 )πxl

)dx∫ l

0

sin(

(n+ 12 )πxl

)sin(

(n+ 12 )πxl

)dx

.