Differential Equations: Ordinary and Partial
Differential Equations: Ordinary and Partial
Differential Equations: Ordinary and Partial
1
What is a differential equation?
The following are all differential equations:
𝑑𝑦
=5
𝑑𝑥
2𝑦 ′ + 3𝑦 + 5𝑥 = 0
𝑑2𝑦 𝑑𝑦 𝑥
− 3 = 𝑒
𝑑𝑥 2 𝑑𝑥
𝜕2𝑢 𝜕2𝑢
2
+ 2 =0
𝜕𝑥 𝜕𝑡 2
Based on the examples given in the last slide, can you
define or explain, in your own words, the meaning of
differential equation?
Any valid equation that involves derivatives is a
differential equation.
ODE PDE
Ordinary Differential Partial Differential
Equation Equation
2
𝑑 𝑦 𝑑𝑦 𝜕 2 𝑤 𝜕𝑤
+ 2𝑥 = 3𝑦 + = 0
𝑑𝑥 2 𝑑𝑥 𝜕𝑥 2 𝜕𝑦 4
Variable
Dependent Independent
If we are given a function in the form 𝑠 = 𝑓(𝑡) then
the independent variable is 𝑡 while the dependent
variable is 𝑠.
5
In the equation 𝑤 = 𝑥 2 + 𝑦 2 the independent
variables are 𝑥 and 𝑦 while the dependent variable is 𝑤.
Particular General
𝑦 = 2𝑥 − 4 𝑦 = 𝑐(𝑥 − 2)
𝑑𝑦 𝑑𝑦
Particular and general solution of 𝑥 −𝑦 = 2
𝑑𝑥 𝑑𝑥
11
General Solution
As we have noted, a solution that contains one or more
arbitrary constants is called the general solution of a
differential equation.
Consider the second order differential equation
𝑑2𝑦
2
= 6𝑥 + 18
𝑑𝑥
𝑑2𝑦 𝑑𝑦
Since is the derivative of with respect to 𝑥, then
𝑑𝑥 2 𝑑𝑥
12
𝑑𝑦 2
= න 6𝑥 + 18 𝑑𝑥 = 3𝑥 + 18𝑥 + 𝑐1
𝑑𝑥
Therefore,
2 3 2
𝑦 = න 3𝑥 + 18𝑥 + 𝑐1 𝑑𝑥 = 𝑥 + 9𝑥 + 𝑐1 𝑥 + 𝑐2
27