Chapter 3
Chapter 3
2023
1/21
Gradient
Example
A force of magnitude F acts in the x direction at the point (−1, 1) on the
surface of a circle described by
x21 + x22 = 2
3/21
Divergence and curl
∇ × ∇φ = 0
4/21
Integral theorems
Example
Consider the field v = (x, y). Show that it is irrotational and verify Gauss
and Stokes theorems.
Example
Consider the field v = (−y, x). Show that it is solenodial and verify Gauss
and Stokes theorems.
6/21
Partial differential equations (PDEs)
Definition
A differential equation is an equation relating an unknown function and one
or more of its derivatives.
Definition
The order of differential equation is the maximum derivative order present.
7/21
Examples
1. Transport
∂u ∂u ∂u
+a +b =0
∂t ∂x ∂y
2. Shock
∂u ∂u
+u =0
∂t ∂x
3. Diffusion
∂u ∂ 2 u ∂ 2 u ∂ 2 u
+ + 2 + 2 =0
∂t ∂x2 ∂y ∂z
4. Wave
∂2u ∂2u ∂2u
− − 2 =0
∂t2 ∂x2 ∂y
5. Vibrations
∂2u ∂4u
+ =0
∂t2 ∂x4
Example
Find the order and the number of independent variables of PDEs 1 to 5.
8/21
Linear PDEs
Example
Find the order and the number of independent variables of PDEs 1 to 6.
9/21
Linear PDEs
Superposition principle
If u1 and u2 are solutions of the (homogeneous) equation Lu = 0 then
c1 u1 + c2 u2 with c1 , c2 ∈ R are also solutions. Solutions of linear PDEs can
be linearly combined (superposed).
Example
As u1 (x, y) = x and u2 (x, u) = y are solutions of the difussion equation,
u(x, y) = ax + by is also a solution.
10/21
First order linear PDEs
The general first order linear PDE with constant coefficients and two
independent variables is
∂u ∂u
a +b =0
∂x ∂y
where a, b ∈ R and its solution is u(x, y) = f (bx − ay) for some function f ,
which requires an extra condition to be determined.
Example
Solve the equation
∂u ∂u
4 −3 =0
∂x ∂y
with u(0, y) = y 3 .
11/21
First order linear PDEs
The general first order linear PDE with variable coefficients and two
independent variables is
∂u ∂u
a(x, y) + b(x, y) =0
∂x ∂y
and its solution requires finding the characteristic curves defined (when
a 6= 0) by
dy
= b/a
dx
which is an ODE.
Example
Solve the equation
∂u ∂u
2y + =0
∂x ∂y
with u(x, 0) = sin(x).
12/21
First order linear PDEs
1.5
0.5
-0.5
-1
-1.5
-2
-2 -1.5 -1 -0.5 0 0.5 1 1.5 2
∂u
+ v · ∇u = 0
∂t
is u(x, t) = f (ξ) obtained from the characteristic curves
dx
= v(x, t)
dt
with x(0) = ξ. In 1D
∂u ∂u
+v =0
∂t ∂x
14/21
First order linear PDEs
ξ = x − at
L x
15/21
Initial and boundary conditions
u(x, 0) = u0 (x) ∀x ∈ Ω
where u0 is given.
• a Dirichlet boundary condition at the inlet, the value of the function
at the inlet
u(x, t) = uin (x) ∀x ∈ Γ−
where uin is given.
16/21
Well-posed problems
17/21
Second order linear PDEs
The general second order linear PDE with constant coefficients and two
independent variables is
∂2u ∂2u ∂2u ∂u ∂u
a11 + a12 + a22 + a1 + a2 + a0 u = g
∂x2 ∂x∂y ∂y 2 ∂x ∂y
where a, b, c ∈ R and a2 + b2 + c2 > 0.
Examples:
1. the Poisson equation is
∂2u ∂2u
+ 2 =g
∂x2 ∂y
2. the wave equation
∂2u ∂2u
− =g
∂t2 ∂x2
3. the diffusion equation is
∂2u ∂2u
+ =g
∂t2 ∂x2
18/21
Second order linear PDEs
20/21
Bibliography i
21/21