Professional Documents
Culture Documents
Prepared by:
Assoc. Prof. Dr. Abdul Rahman Mohd Kasim
• In general, ODE can be written as
𝐹 𝑥, 𝑢, 𝑢′ , 𝑢′′ , … = 0
𝜕𝑢 𝜕𝑢
• Denoting the partial derivative of = 𝑢𝑥 and = 𝑢𝑦 , then the general first
𝜕𝑥 𝜕𝑦
order PDE for 𝑢(𝑥, 𝑦) can be written as
𝐹 𝑥, 𝑦, 𝑢 𝑥, 𝑦 , 𝑢𝑥 𝑥, 𝑦 , 𝑢𝑦 𝑥, 𝑦 = 𝐹 𝑥, 𝑦, 𝑢, 𝑢𝑥 , 𝑢𝑦 = 0 (1.1)
• Focusing on PDEs with two independent variables, a solution to the PDE in
(1.1) is a function of 𝑢(𝑥, 𝑦) which satisfies (1.1) for all values of the
variables 𝑥 and 𝑦.
• It is generally nontrivial to find the solution of a PDE, but once the solution is
found, it is easy to verify whether the function is indeed a solution.
(1) Classification by order
• Linearity means that all instances of the unknown and its derivatives enter the
equation linearly.
𝜕2
• For exampleL = + 1, then L𝑢 = 𝑢𝑥𝑥 + 𝑢. The operator L is called linear if
𝜕𝑥 2
L𝑢 = 𝑔 𝑥, 𝑦 (1.10)
L 𝑢ℎ + 𝑢𝑝 = L 𝑢ℎ + L 𝑢𝑝 = 0 + 𝑔 = 𝑔.
• Next, let’s see how any linear first order PDE can be reduced to an ordinary
differential equation, which will then allow us to tackle it with existence familiar
methods from ODEs.
where here 𝑎 and 𝑏 are constants, such that 𝑎2 + 𝑏 2 ≠ 0, i.e. at least one of
the coefficients is nonzero (otherwise this would not be a differential equation).
• Using the inner (scalar or dot) product in ℝ2 , we can rewrite the left hand
side of (1.11) as
𝑎, 𝑏 ∙ 𝑢𝑥 , 𝑢𝑦 = 0 or 𝑎, 𝑏 ∙ ∇𝑢 = 0
• Denoting the vector 𝑎, 𝑏 = 𝒗, we see that the left hand side of the above
equation is exactly 𝐷𝑣 𝑢(𝑥, 𝑦), the directional derivative of 𝑢 in the direction
of the vector 𝒗. Thus the solution to (1.11) must be constant in the direction
of the vector 𝒗 = 𝑎𝒊 + 𝑏𝒋.
• Refer to Figure 1 and Figure 2 below, The lines parallel to the vector v have
the equation
𝑏𝑥 − 𝑎𝑦 = 𝑐 (1.12)
since the vector (𝑏, −𝑎) is orthogonal to v, and as such is a normal vector
to the lines parallel to v.
• In equation (1.12), 𝑐 is an arbitrary constant, which uniquely determines the
particular line in this family of parallel lines, called as characteristic lines for
the equation (1.11).
where 𝑓 is an arbitrary function. You can check (1.13) is a solution for the
first order linear PDE (1.11)
The Method of Characteristics
𝑧
STEP 3: Let 𝑧 = −3𝑦, hence 𝑦 = −
3
𝑧
𝑓 𝑧 = sin(− )
3
𝑢 𝑥, 𝑦 = 𝑓(−5𝑥 − 3𝑦)
5𝑥+3𝑦
= sin
3
General Constant Coefficient Equations
• Note that in order to find the general solution of (1.15), we can find the
general solution of the homogeneous equation
and then add up with the particular solution of the non-homogeneous (1.15).
A. Find the general solution of homogeneous (1.16)
𝑐
(𝑎2 +𝑏 2 )𝑢𝜉 + 𝑐𝑢 = 0 or 𝑢𝜉 + 𝑢 =0
(𝑎2 +𝑏2 )
STEP 2: By using Linear Equation Method for ODE, the general solution
to the homogeneous equation (1.16) can be written as
𝑐
− 𝜉
𝑢ℎ 𝜉, 𝜂 = 𝑒 𝑎2+𝑏2 𝑓 𝜂
𝑐(𝑎𝑥+𝑏𝑦)
− 2 2
𝑢ℎ 𝑥, 𝑦 = 𝑒 𝑎 +𝑏 𝑓 𝑏𝑥 − 𝑎𝑦
𝑐 𝑔(𝜉,𝜂)
(𝑎2 +𝑏 2 )𝑢𝜉 + 𝑐𝑢 = 𝑔(𝜉, 𝜂) or 𝑢𝜉 + 𝑢 =
𝑎2 +𝑏2 𝑎2 +𝑏2
𝑐 𝑔(𝜉, 𝜂) 2 𝑐 2𝜉
− 2 2𝜉
𝑢𝑝 = 𝑒 𝑎 +𝑏 න 2 2
𝑒 𝑎 +𝑏 𝑑𝜉
𝑎 +𝑏
STEP 6: The particular solution in terms of (𝑥, 𝑦), carry out the integration in 𝜉
then replace 𝜉 and 𝜂 by their expression in terms of 𝑥 and 𝑦. Then,
general solution can be obtained by combine the general solution of
homogeneous PDE (1.16) and the particular solution of (1.15).
Consider non-homogeneous PDE in the form of
𝑐 𝑔(𝜉, 𝜂)
𝑢𝜉 + 𝑢 =
𝑎2 + 𝑏 2 𝑎2 + 𝑏 2
m n
STEP 2: General solution, 𝑢ℎ and particular solution, 𝑢𝑝 can be written as
𝜉+𝜂
• Solving for 𝑥 and 𝑦 give 𝑥 + 3𝑦 =
2
𝜉+𝜂
20𝑢𝜉 + 5𝑢 = 𝑒 2
𝜉+𝜂
1 𝑒 2
𝑢𝜉 + 𝑢 =
4 20
m n
STEP 2: Write general solution, 𝑢ℎ and particular solution, 𝑢𝑝 as
1
−𝑚𝜉 − 𝜉
𝑢ℎ 𝜉, 𝜂 = 𝑒 𝑓 𝜂 : 𝑢ℎ = 𝑒 4 𝑓 𝜂
𝜉+𝜂
1 1
−𝑚𝜉 𝑚𝜉 − 𝜉 𝑒 2 𝜉
𝑢𝑝 = 𝑒 𝑒𝑛 𝑑𝜉: 𝑢𝑝 = 𝑒 4 20 𝑒 𝑑𝜉
4 SOLVE
1
− 𝜉 1 2𝜂+3𝜉
=𝑒 4 𝑒 4
15
Therefore, 𝑢 𝑥, 𝑦 = 𝑢ℎ + 𝑢𝑝
1 1
− 𝜉 − 𝜉 1 2𝜂+3𝜉
𝑢 𝜉, 𝜂 = 𝑒 4 𝑓 𝜂 +𝑒 4 𝑒 4
15
1
− 𝜉 1 2𝜂+3𝜉
=𝑒 4 𝑓 𝜂 + 𝑒 4
15
𝑑𝑦 𝑏
STEP 1: Write =
𝑑𝑥 𝑎
STEP 1: 𝑎 = 𝑥, 𝑏 = −𝑦, 𝑐 = 1, 𝑑 = 2
𝑑𝑦 −𝑦
=
𝑑𝑥 𝑥
1 1 𝑐
STEP 2: 𝑑𝑦 = − 𝑑𝑥 → 𝑦= → 𝑐 = 𝑦𝑥
𝑦 𝑥 𝑥
𝜕𝑢 𝜕𝜉 𝜕𝑢 𝜕𝜂
𝑢𝑥 = ∙ + ∙ = 𝑢𝜉 + 𝑦𝑢𝜂
𝜕𝜉 𝜕𝑥 𝜕𝜂 𝜕𝑥
𝜕𝑢 𝜕𝜉 𝜕𝑢 𝜕𝜂
𝑢𝑦 = ∙ + ∙ = 𝑥𝑢𝜂
𝜕𝜉 𝜕𝑦 𝜕𝜂 𝜕𝑦
1 2
𝑢𝜉 + 𝑢 =
𝜉 𝜉
1 2
• 𝑝 𝜉 = and q 𝜉 =
𝜉 𝜉
1
𝜉𝑑𝜉
• 𝜌 𝜉 =𝑒 = 𝑒 𝑙𝑛𝜉 = 𝜉
2
• 𝜌 𝜉 ⋅ 𝑢 𝜉, 𝜂 = 𝜉 𝑢 ⋅ 𝜉 → 𝜉𝑑 𝜉 𝑞 ⋅ )𝜉(𝜌 , 𝜂 = 𝜉𝑑 ⋅ 𝜉
𝜉
𝜉 ⋅ 𝑢 𝜉, 𝜂 = 2𝜉 + 𝑓(𝜂)
𝑓(𝜂)
𝑢 𝜉, 𝜂 = 2 +
𝜉
STEP 6: Write solution in term of 𝑥 and 𝑦:
𝑓(𝑥𝑦)
𝑢 𝑥, 𝑦 = 2 +
𝑥