




























































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!





























































































0 0.2 0.4 0.6 0.8 1 x
0
1
y
©c2011 John M. Davis
An ordinary differential equation (ODE) is an equation involving an unknown function (of one independent variable) and at least one of its ordinary deriva- tives. For example, if we let y := y(t), then
y′^ = −y, y′′^ + y = 0, y′′^ + 2y′^ + 3y = cos t,
are all familiar ODEs in terms of the unknown function y(t). All solutions of the first ODE above, y′^ = −y are of the form y = Ce−t^ where C is an arbitrary constant. Therefore y = Ce−t^ represents an (infinite) family of one-variable functions, each of which is a solution to the given ODE. If, in addition to the ODE, we also require y(0) = 1, then this condition forces C = 1 thereby selecting precisely one solution from the infinite family of solutions. See Figure 1.1.. On the other hand, a partial differential equation (PDE) is an equation involving an unknown function (of more than one independent variable) and at least one of its partial derivatives. For example, if we let u := u(x, t), then
∂u ∂t
∂u ∂x
∂u ∂t
∂^2 u ∂x^2
∂^2 u ∂t^2
∂^2 u ∂x^2
are examples of PDEs in the unknown function u(x, t). To demonstrate one significant difference between solving ODEs and PDEs, take the first PDE above, ut + ux = 0,
(we will use subscript notation for partial derivatives as well as the standard notation). We can quickly verify^1 that solutions have the form
u(x, t) = f (x − t), (^1) We will learn where this formula came from later.
1.1 ODEs vs. PDEs 3
Figure 1.2: Left: The solution of ut +ux = 0, u(x, 0) = (^) 1+^1 x 2 which is u(x, t) = (^) 1+(x^1 −t) 2. Right: The solution of ut + ux = 0, u(0, t) = sin t which is u(x, t) = − sin(x − t). In contrast to the ODE problem, the solutions here are surfaces. The initial condition for the ODE determined the arbitrary constant in the solution, while the initial condition for the PDE determined the arbitrary function in the solution.
in x-t-u space and the initial condition selected a particular surface from the family. This indicates how solutions to PDEs are inherently more complicated than solutions to ODEs. In the next section, we will explore the physical origins of PDEs from math- ematical physics and discuss what information is required in conjunction with a PDE to form a well-posed problem. Afterwards, we will turn our attention to techniques for solving PDEs.
exp
√x−ct 1 −c^2
solves the PDE wtt = wxx − sin w. What initial condition does w satisfy? (b) Plot the solution surface for c = 1/2.
4 Introduction to PDEs
(a) Show u(r, θ) = ln r is a solution. (b) Show u(r, θ) = r cos θ is a solution. (c) Plot the solution surfaces above.
1.2 How PDEs Are Born: Conservation Laws,
Fluids, and Waves
Consider fluid flow in a one dimensional domain (e.g. heat flow in a very thin rod or the diffusion of dye in a very thin tube of fluid) of length . Let t > 0 denote time and 0 < x < denote the spatial variable. Define the following quantities:
u(x, t) := the density of the quantity of interest from fluid dynamics
(e.g. heat energy or dye concentration) at the point x and time t,
ϕ(x, t) := the flux of the quantity at the point x and time t (the amount of the quantity
flowing to the right per unit time per unit area through a cross-section at x),
f (x, t) := rate of internal generation of the quantity at the point x and time t (amount per unit volum
A := cross-sectional area of a slice of the domain (assumed to be the same for all x).
Figure 1.3: Modeling fluid flow.
Consider an arbitrary subinterval [a, b] of the domain 0 < x < ` with (con- stant) cross-sectional area A. The conservation law here is
time rate of change of total quantity in a slice
= rate of inflow − rate of outflow + rate of internal generation.
Translating this into symbols,
d dt
∫ (^) b
a
u(x, t)A dx = Aϕ(a, t) − Aϕ(b, t) +
∫ (^) b
a
f (x, t)A dx.
Applying the Fundamental Theorem of Calculus to the difference on the right- hand side,
∫ (^) b
a
∂u ∂t
(x, t) dx = −
∫ (^) b
a
∂ϕ ∂x
(x, t) dx +
∫ (^) b
a
f (x, t) dx.
6 Introduction to PDEs
ut + uux − kuxx = 0, (1.6)
called the viscous Burgers’ equation.
ut − kuxx = u(1 − u), (1.7)
called Fisher’s equation.
As these examples demonstrate, the power of the Fundamental Conservation Law lies in how a diverse collection of PDEs follow from it simply by applying various constitutive equations for ϕ and/or f.
Consider a perfectly flexible string of length whose endpoints have fixed posi- tion. Let t > 0 denote time and 0 < x < denote the spatial variable. Define the following quantities:
u(x, t) := vertical position of the point on the string x units from the left endpoint at time t, ρ(x) := linear density of the string at x,
T(x, t) := tension vector at x at time t.
We will make the following (physically realistic) assumptions in our model:
Consider an arbitrary subinterval [a, b] of the domain 0 < x < ` as shown in Figure 1.4. First we resolve the tension T(x, t) into its horizontal and vertical compo- nents^6 :
Thoriz(x, t) = |T(x, t)| √ 1 + u^2 x(x, t)
Tvert(x, t) =
|T(x, t)|ux(x, t) √ 1 + u^2 x(x, t)
(^6) Recall that the horizontal component of a vector v is given by vhoriz = |v| cos θ while the vertical component is vvert = |v| sin θ.
1.2 How PDEs Are Born: Conservation Laws, Fluids, and Waves 7
u
T (b,t)
T (a,t)
a (^) b x
1
q ux
Figure 1.4: Modeling small vertical vibrations in a string.
Balancing horizontal forces on the segment [a, b] requires
|T(b, t)| √ 1 + u^2 x(b, t)
|T(a, t)| √ 1 + u^2 x(a, t)
which says the tension is independent of x (since a and b were arbitrary) so we will now write |T(x, t)| = T (t). Balancing the vertical forces on [a, b], Newton’s Second Law^7 yields d dt
∫ (^) b
a
ρ(x)ut(x, t)
1 + u^2 x(x, t) dx =
T (t)ux(b, t) √ 1 + u^2 x(b, t)
T (t)ux(a, t) √ 1 + u^2 x(a, t)
Since we assumed the deflections were small, u^2 x ≈ 0 and hence
1 + u^2 x(x, t) ≈ 1, so the last equation reduces to
d dt
∫ (^) b
a
ρ(x)ut(x, t) dx = T (t)[ux(b, t) − ux(a, t)].
Putting the time derivative inside the left-hand integral and reformulating the difference on the right-hand side as an integral, we have ∫ (^) b
a
ρ(x)utt(x, t) dx =
∫ (^) b
a
T (t)uxx(x, t) dx.
Since these integrals are equal for an arbitrary subinterval [a, b] of 0 < x < `, the integrands must be equal
ρ(x)utt(x, t) = T (t)uxx(x, t). (1.8)
If we make the final simplifying assumption that the density of the string doesn’t vary with x and the tension doesn’t vary with time, i.e. ρ(x) ≡ ρ and T (t) ≡ T , then we have the one dimensional wave equation:
utt = c^2 uxx. (1.9)
Here, c =
T /ρ is the wave speed of the string. (^7) F = ma but we are using the equivalent statement F = (^) dtd (mv), i.e. force equals the time rate of change of momentum.
1.3 Boundary Conditions in One Space Dimension 9
Figure 1.5: (Left) Gustav Dirichlet (1805–1859) of Germany studied under the renowned Fourier, Laplace, Poisson, and Legendre. “He was an excellent teacher, always expressing himself with great clarity.” (Right) Carl Neumann (1832–1925) also of Germany “...led a quiet life, was a successful university teacher and a productive researcher. More than two generations of future Gymnasium [high school] teachers received their basic mathematical education from him.”
A Dirichlet^8 boundary condition specifies the value of the unknown function u on the physical boundary of the domain. For example, a Dirichlet boundary condition at x = 0 would have the form u(0, t) = T. In the context of the 1D heat equation, the physical interpretation is that the temperature u at the left endpoint of the rod (x = 0) is held fixed at T degrees for all time. For the wave equation, it means the left endpoint of the string is held fixed at a height of T units for all time.
A Neumann^9 boundary condition specifies the value of the spatial derivative ∂u∂x on the physical boundary of the domain. There are two standard ways of writing a Neumann boundary condition—in mathematical form or physical form. The mathematical form simply specifies ∂u ∂x on the boundary of the domain, e.g.^ in the 1D heat equation for a rod of length , we could write ux(0, t) = R at the left edge or ux(, t) = R at the right edge. These are simply mathematical conditions imposed at the boundary of the domain since (as is) they don’t claim to represent any physical phenomena at the boundary. On the other hand, the physical form of a Neumann boundary condition in the context of fluid flow (e.g. heat transfer, fluid dynamics, etc.) strives to express the outward flux of the quantity normal (perpendicular) to the boundary. For example, in the context of the 1D heat equation on 0 < x < `, specifying
(^8) Pronounced DEER-ah-shlay. (^9) Pronounced NOY-mahn.
10 Introduction to PDEs
an outward flux of R units normal to the boundary at the left edge (x = 0) would be written ux(0, t) = R > 0. To see why, recall that the flux term in the constitutive equation involving heat flow was ϕ = −kux, k > 0, and by convention a positive flux means rightward flow. At the left edge (x = 0) of the rod, outward flow normal to the boundary would be leftward flow, so we must have ϕ < 0 at x = 0. But then −kux(0, t) < 0 so ux(0, t) > 0 represents outward flux normal to the boundary at the left edge. Since ux(0, t) = R > 0 has a specific physical interpretation in terms of outward flux, we call this the physical form of the Neumann boundary condition and prefer to write our Neumann boundary conditions this way by default.
Note, however, that the physical form of a Neumann boundary condition at the right edge (x = ) of the rod looks different than at the left edge since the outward normal fluxes point in opposite directions. To see why, note that we want rightward flow at the right edge so ϕ = −kux > 0 at x =. Thus, an outward flux of R units at the right edge would be written −ux(`, t) = R > 0.
In the physical form of a Neumann boundary condition, the left-hand side should always represent outward flux normal to the boundary.
The mathematical form and physical form can always be translated back and forth quite easily. For example, a Neumann boundary condition at x = 0 would have the form
∂u ∂x
(0, t) = R, ︸ ︷︷ ︸ mathematical form
or equivalently
outwardflux ︷at x︸︸^ = 0 ︷ ∂u ∂x
(0, t) = R, ︸ ︷︷ ︸ physical form (preferred)
so the two forms coincide. However, a Neumann boundary condition at x = ` would have the form
∂u ∂x
(`, t) = R, ︸ ︷︷ ︸ mathematical form
or equivalently
outward flux ︷ at^ x︸︸^ = `︷ −
∂u ∂x
(`, t) = −R. ︸ ︷︷ ︸ physical form (preferred)
It is important to realize that any discussion of flux in the context of a wave equation makes no sense. Instead, for the wave equation, a Neumann boundary condition such as ux(`, t) = R means that the slope of the string (rather than its position) is specified. See Figure 1.6.
12 Introduction to PDEs
Although mathematically legal, not all linear combinations of u and ux at an endpoint are physically realistic. Therefore, we must specify a Robin boundary condition carefully if the focus is on an accurate physical model (as opposed to a purely mathematical exploration).
ux = R > 0
0 l
-ux = K(u - T/K)
T/K
Figure 1.7: In the heat conduction problem, a radiating Neumann boundary condition at the left endpoint signifies a constant flux across the boundary. A Robin boundary condition at the right endpoint indicates convection with an outside medium fixed at T /K degrees.
Periodic boundary conditions are a pair of conditions at each endpoint requiring the function u and its spatial derivative ∂u∂x to agree at the boundary points; that is,
u(0, t) = u(, t) and ux(0, t) = ux(, t).
For (1.3) modeling the diffusion of dye in a tube of length , envision joining the ends of the tube to form a circle. Then the x = 0 end physically “matches” the x = end; as such, the value of the solution u must be the same at x = 0 as it is at x = , and the value of ux must be the same at x = 0 as it is at x =. See Figure 1.8.
x=0 x=l u(0,t) = u(l,t) ux(0,t) = ux(l,t)
Figure 1.8: Periodic boundary conditions are relevant when modeling the diffusion of dye in a circular tube.
1.3 Boundary Conditions in One Space Dimension 13
Dirichlet Neumann Robin mathematical form
u = T ux = R ux + Ku = T
physical form u = T
left: ux = R left: ux = K(u − T /K), K > 0 right: −ux = R right: −ux = K(u − T /K), K > 0
Table 1.1: Comparison of mathematical versus physical forms for stating boundary con- ditions. The guiding principle in the physical form of Neumann and Robin boundary conditions is that the left-hand side take the form of outward flux. Furthermore, for Robin boundary conditions, the right-hand side needs to be stated in a way consistent with Fourier’s Law.
, match the following boundary conditions with their physical interpretation by writ- ing the correct Roman numeral beside the boundary condition. Roman numerals can be used more than once if need be. (a) u(0, t) = 1 (I) fixed temperature of 1 unit (b) −u(0, t) = 1 (II) fixed outward flux of 1 unit (c) ux(0, t) = 1 (III) realistic convection with an outside medium maintained at 1 unit (d) −ux(0, t) = 1 (IV) unrealistic convection with an outside medium maintained at 1 unit (e) ux(, t) = 1 (V) fixed temperature of −1 unit (f) −ux(, t) = 1 (VI) fixed inward flux of 1 unit (g) ux(0, t) = u(0, t) − 1 (VII) none of the above (h) ux(, t) = u(`, t) − 1(a) Explain why the Neumann boundary condition ux(0, t) = R > 0 is called a radiating condition while ux(, t) = R > 0 is called an absorbing condition. (b) Is ux(0, t) = R < 0 radiating or absorbing? Explain. (c) Is ux(, t) = R < 0 radiating or absorbing? Explain.
1.4 ODE Solution Methods 15
hold for all functions f, g in the domain of L and all constants c. An operator is nonlinear if it is not linear.
Example 1.4.2. Let’s revisit the previous example to see which operators are in fact linear.
L (f + g) =
d dx
(f + g) =
df dx
dg dx
= L f + L g,
L (cf ) = d dx
(cf ) = c df dx
= cL f,
both hold for all valid inputs f, g and constants c. This restates what we learned in calculus: differentiation is a linear operation.
u(x) dx is a linear operator because
L (f + g) =
(f + g) dx =
f (x) dx +
g(x) dx = L f + L g,
L (cf ) =
cf (x) dx = c
f (x) dx = cL f,
both hold for all valid inputs f, g and constants c. This restates what we learned in calculus: antidifferentiation is a linear operation.
L (u + v) = A(u + v) = Au + Av = L u + L v, L (cu) = A(cu) = cAu = cL u,
both hold for all valid inputs u, v and constants c. This restates the linear algebra fact that matrix multiplication is a linear operation.
L (f +g) = (f +g)(f +g)′^ = f f ′+f g′+gf ′+gg′^ while L f +L g = f f ′+gg′,
so the first part of (1.10) fails. ♦
We can form equations with operators. For example, the differential equation y′′^ + 2y′^ + 3y = 0 can be expressed as the operator equation L u = 0 by defining L u := u′′^ + 2u′^ + 3u. This abstraction leads us to an important classification system for differential equations.
Definition 1.1. A differential equation is linear if it can be written in operator form L u = f where L is a linear differential operator and f depends only on the independent variable. A differential equation which is not linear is called nonlinear. For linear equations, if f ≡ 0, we say the equation is homogeneous; otherwise, the equation is nonhomogeneous.
16 Introduction to PDEs
A powerful consequence for linear differential equations is the following.
Theorem 1.1 (Superposition Principle). If {u 1 , u 2 ,... , un} all satisfy the linear equation L u = 0, then any linear combination c 1 u 1 + c 2 u 2 + · · · + cnun also satisfies L u = 0.
Proof. Since L is a linear operator,
L (c 1 u 1 + c 2 u 2 + · · · + cnun) = L (c 1 u 1 ) + L (c 2 u 2 ) + · · · + L (cnun) = c 1 L u 1 + c 2 L u 2 + · · · + cnL un = c 1 · 0 + c 2 · 0 + · · · + cn · 0 = 0.
Next, we review some basic ODE solution techniques that will be used throughout the text.
Consider the homogeneous first order linear ODE
y′(t) + p(t)y(t) = 0. (1.11)
This equation is separable and can be solved straightforwardly by direct inte- gration:
dy dt
= −p(t)y dy y
= −p(t) dt ∫ dy y
p(t) dt
ln |y| + C = −
p(t) dt
y(t) = De−^
∫ p(t) dt
If p(t) ≡ p (p is a constant instead of a function of t), then (1.11) takes on a particularly familiar form:
y′^ + py = 0 or
dy dt = −py.
This is the most common ODE from calculus since it is the exponential growth/decay model (the time rate of change of y is proportional to y). The general solution is y(t) = Ce−pt, where C is an arbitrary constant.