Professional Documents
Culture Documents
NOTATION
SOLUTION
𝑑3 𝑦 𝑑2 𝑦
3) 4 𝑑𝑥 3 + (sin 𝑥) 𝑑𝑥 2 + 5𝑥𝑦 = 0
3
𝑑2 𝑦 𝑑𝑦 7 3 𝑑𝑦 2
4) + 3𝑦 +𝑦 = 5𝑥
𝑑𝑥 2 𝑑𝑥 𝑑𝑥
𝜕2 𝑦 𝜕2 𝑦
5) 𝜕𝑡 2
− 4 𝜕𝑥 2 = 0
A differential equation is an ordinary differential equation (ODE) if the unknown function
depends on only one independent variable. Otherwise, it is a partial differential equation
(PDE). The order of the differential equation is the order of the highest derivative
appearing in the equation.
𝑑𝑦
1) = 5𝑥 + 3
ODE 1st 𝑑𝑥
2
𝑦𝑑 𝑦 𝑑𝑦 2
ODE 2nd 2) 𝑒 𝑑𝑥 2 +2 𝑑𝑥
=1
𝑑3 𝑦 𝑑2 𝑦
ODE 3rd 3) 4 3 + (sin 𝑥) 2 + 5𝑥𝑦 = 0
𝑑𝑥 𝑑𝑥
3
ODE 2nd 𝑑2 𝑦 𝑑𝑦 7 3 𝑑𝑦
2
4) 𝑑𝑥 2
+ 3𝑦 𝑑𝑥
+ 𝑦 𝑑𝑥 =5
PDE 2nd 𝜕2 𝑦 𝜕2 𝑦
5) 𝜕𝑡 2
− 4 𝜕𝑥2 =0
Notations
𝑑𝑦 𝑑 2 𝑦 𝑑 3 𝑦 𝑑𝑛 𝑦
Leibniz notation: , , , … , 𝑑𝑥 𝑛
𝑑𝑥 𝑑𝑥 2 𝑑𝑥 3
- clearly displays both the dependent and independent variables.
𝑑2 𝑥
Ex. 𝑑𝑡 2
+ 16𝑥 = 0; 𝑥 = unknown or dependent variable
𝑡 = independent variable
Subscript notation:
- For PDE’s only; indicated the independent variable.
𝜕2 𝑢 𝜕2 𝑢 𝜕𝑢
Ex. = − 2 𝜕𝑡 becomes 𝑢𝑥𝑥 = 𝑢𝑡𝑡 − 2𝑢𝑡
𝜕𝑥 2 𝜕𝑡 2
Solution
A solution of a differential equation in the unknown function y and the
independent variable x on the interval I, is a function y(x) that satisfies the DE
identically for all x in I.
Example 1:
Is 𝑦 𝑥 = 𝑐1 sin 2 𝑥 + 𝑐2 cos 2 𝑥, where 𝑐1 and 𝑐2 are arbitrary constants, a solution of
𝑦′′ + 4𝑦 = 0?
Differentiating,
𝑦′ = 2𝑐1 cos 2 𝑥 − 2𝑐2 sin 2 𝑥
𝑦′′ = −4𝑐1 sin 2 𝑥 − 4𝑐2 cos 2 𝑥
𝑇ℎ𝑢𝑠,
𝑦′′ + 4𝑦 = −4𝑐1 sin 2 𝑥 − 4𝑐2 cos 2 𝑥 + 4 𝑐1 sin 2 𝑥 + 𝑐2 cos 2 𝑥
= −4𝑐1 + 4𝑐1 sin 2 𝑥 + −4𝑐2 + 4𝑐2 cos 2 𝑥
=0
Solution
A particular solution of a differential equation is any one solution.
The general solution of a differential equation is the set of all solutions.
From Example 1:
The general solution to the DE 𝑦′′ + 4𝑦 = 0 can be shown to be
𝑦 𝑥 = 𝑐1 sin 2 𝑥 + 𝑐2 cos 2 𝑥.
5
4th b p 𝑑4 𝑏 𝑑𝑏 10
d) 5 +7 + 𝑏7 − 𝑏5 = 𝑝
𝑑𝑝4 𝑑𝑝
Example 4:
Determine whether 𝑦 𝑥 = 2𝑒 −𝑥 + 𝑥𝑒 −𝑥 is a solution of 𝑦′′ + 2𝑦′ + 𝑦 = 0.
Solution:
Differentiating y(x), it follows that
𝑦 ′ 𝑥 = −2𝑒 −𝑥 + 𝑒 −𝑥 − 𝑥𝑒 −𝑥 = −𝑒 −𝑥 − 𝑥𝑒 −𝑥
𝑦 ′′ 𝑥 = 𝑒 −𝑥 − 𝑒 −𝑥 + 𝑥𝑒 −𝑥 = 𝑥𝑒 −𝑥
Substituting these values into the differential equation, we obtain
𝑦 ′′ + 2𝑦 ′ + 𝑦 = 𝑥𝑒 −𝑥 + 2 −𝑒 −𝑥 − 𝑥𝑒 −𝑥 + 2𝑒 −𝑥 + 𝑥𝑒 −𝑥 = 0
Thus, 𝑦 𝑥 is a solution.
Example 5:
Find the solution to the initial-value problem 𝑦 ′ + 𝑦 = 0; 𝑦 3 = 2, if the general solution to
the differential equation is known to be 𝑦 𝑥 = 𝑐1 𝑒 −𝑥 , where 𝑐1 is an arbitrary constant.
Solution:
Since 𝑦 𝑥 is a solution for every value of 𝑐1 , find that value of 𝑐1 , that will also satisfy the initial
condition.
Note that, 𝑦 3 = 𝑐1 𝑒 −3
Since 𝑦 3 =2
2 = 𝑐1 𝑒 −3
Then 𝑐1 = 2 𝑒 3
Substitute 𝑐1 into 𝑦 𝑥 ,
𝑦 𝑥 = 2 𝑒 3 𝑒 −𝑥
= 2 𝑒 3−𝑥
Example 6:
Determine 𝑐1 and 𝑐2 so that 𝑦 𝑥 = 𝑐1 𝑒 2𝑥 + 𝑐2 𝑒 𝑥 + 2𝑠𝑖𝑛𝑥 will satisfy the conditions
𝑦 0 = 0 and 𝑦′ 0 = 1.
Solution:
Because sin 0 = 0, 𝑦 0 = 𝑐1 + 𝑐2 . To satisfy the condition 𝑦 0 = 0, we require
𝑐1 + 𝑐2 = 0
From 𝑦 ′ 𝑥 = 2𝑐1 𝑒 2𝑥 + 𝑐2 𝑒 𝑥 + 2𝑐𝑜𝑠𝑥
We have 𝑦 ′ 0 = 2𝑐1 + 𝑐2 + 2. To satisfy the condition 𝑦 ′ (0) = 1, we require 2𝑐1 + 𝑐2 + 2 = 1 ,
or
2𝑐1 + 𝑐2 = −1
Solving (1) and (2) simultaneously, we obtain 𝑐1 = −1 and 𝑐2 = 1