Chapter 1
Chapter 1
y′ = y, y ′′ − y = 0. y ′′ − y 2 = 0.
y ′′ + p (x )y ′ + q (x )y = r (x ).
Then the ODE is said to be homogeneous if r = 0 and inhomogeneous otherwise. The total
solution y of the ODE 1.1 is the sum of a homogeneous solution yh (solution of the ODE
considering r = 0) and a particular solution yp (y = yh + yp ). The particular solution yp can
be obtained, for instance, using the variation of the constant.
A linear homogeneous second-order ODE with constant coefficients, a,b,c ∈ R, can be
written as
ay ′′ + by ′ + cy = 0.
The solution of such equation depends on those of the characteristic equation
aλ2 + bλ + c = 0.
3
1.2. BASIC CONCEPTS CHAPTER 1. INTRODUCTION
∂u ∂ 2u
, , ux , uxy , . . .
∂x ∂y ∂x
4
CHAPTER 1. INTRODUCTION 1.2. BASIC CONCEPTS
Proposition 1.2.1.
• The superposition principle: any linear combination of two solutions of a linear homo-
geneous PDE is also a solution.
• For a linear PDE, the sum of a homogeneous solution and an inhomogeneous solution
is also an inhomogeneous solution.
Example 1.2.
∂u 2
• The wave equation: ∂t 2
− c 2 ∆u = 0 (second-order, linear, homogeneous, L = ∂tt
2 −
c 2 ∆).
5
1.3. MODELING WITH PDES CHAPTER 1. INTRODUCTION
2. Boundary value problem: some additional boundary conditions for the unknown
function and its derivatives are given on ∂Q.
3. Mixed type problem: some additional initial-values and boundary conditions for the
unknown function and its derivatives are given.
Example 1.3. Show that u (x, y ) = y 2 + x is the solution of the Cauchy problem on R 2 :
∂u
= 1 and u (0, y ) = y 2 (y ∈ R ).
∂x
6
CHAPTER 1. INTRODUCTION 1.3. MODELING WITH PDES
Zx2
u (x, t ) dx
x1
gives the amount of m contained inside (x1 , x2 ) at time t. Without sources or sinks, the rate
of change of m inside (x1 , x2 ) is determined by the net flux through the end points:
x2
∂ Z
u (x, t )dx = −q (u (x2 , t )) + q (u (x1 , t )),
∂x x
1
Zx2
[ut (x, t )dx + q (u (x, t ))x ]dx = 0,
x1
ut + q (u )x = 0, x ∈ R, t > 0. (1.3)
Equation 1.3 is a scalar conservation law that gives a link between density and flux. At
this point we have to establish a constitutive relation for q that describes the flux function.
For a higher dimension, q (u ) becomes a vector-valued function. With a scalar source
function f = f (x, t ), the conservation law writes:
When reaching a steady or stationary state, all quantities become time-independent and
thus, simplified versions of the conservation laws are obtained.
7
1.3. MODELING WITH PDES CHAPTER 1. INTRODUCTION
Example 1.4. Suppose a certain amount of a chemical spills into a river and flows downstream.
Let us suppose that the concentration is given by u = u (x, t ) and that the river flows with
constant speed c. If we assume that the chemical does not diffuse, then the flux is proportional
to the quantity u: q (x, t ) = cu (x, t ) (which is the constitutive law). Consequently, using
the scalar conservation law, we obtain
ut + cux = 0.
u (x, t ) = F (x − ct ),
where F is an arbitrary differentiable function. Such a solution is called the right traveling
wave, since its graph at a given time t is the graph of the function F (x ) shifted to the right
by the value ct. Thus, with growing time, the profile F (x ) is moving without changes to the
right at the speed c (see Figure 1.1).
8
CHAPTER 1. INTRODUCTION 1.3. MODELING WITH PDES
Wave equation (vibrating strings). The wave equation is a fundamental PDE that
describes how waves propagate through a medium. It is used to model a wide range of wave
phenomena, including acoustic waves, electromagnetic waves, and mechanical waves. The
one-dimensional wave equation, which represents wave propagation along a single spatial
dimension x is given by:
∂u 2 2 ∂u
2
= c . (1.5)
∂t 2 ∂x 2
Example 1.5. To derive the wave equation in one spacial dimension, we consider an elastic
string with a constant mass density ρ that undergoes small amplitude vertical vibrations. An
infinitesimal element located between x1 and x2 , with ∆x = x2 − x1 is shown in Fig. 1.2.
We define u (x, t ) to be the vertical displacement of the string from the x-axis at position
x and time t, T the tension of the string assumed to be constant, and θ the angle between
the string and the horizontal line. We assume that the string element only accelerates
vertically (horizontal forces balance) and that the gravity is negligible compared to T .
We apply the Newton’s law of motion (m x ′′ (t ) = F⃗ ) for the vertical acceleration of our
infinitesimal string element (utt ). The "infinitesimal" mass can be obtained as
q q
m = ρ ∆x 2 + ∆u 2 ≈ ρ∆x 1 + ux2
because ux ≈ ∆u/∆x. Consequently,
q
ρ∆x 1 + ux2 utt = T sin θ2 − T sin θ1 .
With the assumption of small vibrations (∆u << ∆x or ux << 1), we have
q
sin θi ≈ ux (xi , t ), 1 + ux2 ≈ 1.
Therefore, we get
ρ ∆x utt = T (ux (x2 , t ) − ux (x1 , t )).
Dividing by ∆x and taking the limit ∆x → 0 results in the wave equation
utt = c 2 uxx ,
where c 2 = T /ρ.
9
1.3. MODELING WITH PDES CHAPTER 1. INTRODUCTION
Diffusion equation. Diffusion is a fundamental physical process that describes the move-
ment of particles or molecules in a fluid or a solid, from regions of higher concentration to
regions of lower concentration, to spread out and mix with neighboring particles, resulting
in the equalization of the concentration distribution over time (at equilibrium). Diffusion is
governed by the so-called heat equation:
∂u
= ∆u. (1.6)
∂t
Example 1.6. Consider a rod of length L, cross section area A and density ρ(x ) (Fig. 1.3).
Given the specific heat c (x ) and the temperature u (x, t ), we define the total heat H as
ZL
H (x, t ) = c (x )ρ(x )u (x, t )Adx. (1.7)
0
The amount of thermal energy per unit time flowing to the right per unit surface area is
called “heat flux” defined by Φ(x, t ). If heat is generated within the rod and its heat density
Q(x, t ) is given, then the total heat generated is
ZL
Q(x, t )Adt. (1.8)
0
The conservation of heat energy states that: the rate of change of total heat = heat
flowing across boundaries + heat energy generated inside. Mathematically, we can write
Z L
∂H
= (Φ(0, t ) − Φ(L, t )) A + Q(x, t )Adt. (1.9)
∂t
0
Consequently,
ZL Z Z L L
∂u ∂Φ
c (x )ρ(x ) (x, t )Adx = − Adx + Q(x, t )Adt, (1.10)
∂t ∂x
0 0 0
which gives
ZL !
∂u ∂Φ
c (x )ρ(x ) (x, t ) + − Q(x, t ) Adx = 0, (1.11)
∂t ∂x
0
Since this applies to any length L, then
∂u ∂Φ
c (x )ρ(x ) (x, t ) = − + Q(x, t ) (1.12)
∂t ∂x
10
CHAPTER 1. INTRODUCTION 1.3. MODELING WITH PDES
∂u ∂u 2
= D 2 + f (x, t ), (1.14)
∂t ∂x
where D = k /ρc, is the coefficient of diffusion, and f = Q/ρc, is the source term.
Laplace equation The solutions of Laplace’s equation are used in many important fields of
science, notably the fields of electromagnetism, astronomy, and fluid dynamics, because they
can be used to accurately describe the behavior of electric, gravitational, and fluid potentials.
A function satisfying Laplace’s equation in a region of the plane (or 3-space) is said to be
harmonic.
Example 1.7. Consider the example 1.6 of heat diffusion in 2D case. Suppose that f (x, t )
vanishes after some time. When heat diffuses and reaches an equilibrium (no variations over
time), the heat diffusion equation becomes stationary equations, the simplest of which is
Laplace equation
∆u (x, t ) = 0.
11