Professional Documents
Culture Documents
Faculty of Engineering
Petroleum Engineering
Fourth year
seven semesters
Engineering analysis Lecture 1
Chapter 1
Basic Concepts of Differential Equations
1.1 Definition of Differential Equation:
An equation containing the derivatives of one or more unknown functions (or dependent
variables), with respect to one or more independent variables, is said to be a differential
equation (DE).
Examples:
𝑑2𝑦
1) = −𝑘𝑥
𝑑𝑥 2
𝜕2 𝑣 𝜕2 𝑣 𝜕2 𝑣
2) 2
+ 2
+ =0
𝜕𝑥 𝜕𝑦 𝜕𝑧 2
3) 𝑥𝑦 ′′ + 𝑦 ′ + 𝑥𝑦 = 0
𝜕4 𝑢 𝜕4𝑢 𝜕4 𝑣
4) 4
+2 + = 𝑓(𝑥, 𝑦)
𝜕𝑥 𝜕𝑥 2 𝜕𝑦 2 𝜕𝑧 4
3. 𝑥 2 𝑦 ′′ + 𝑥 3 𝑦 ′" = 0
2. Partial Differential Equation
An equation involving partial derivatives of one or more unknown functions of two or
more independent variables is called a partial differential equation (PDE).
1
Engineering analysis Lecture 1
Examples:
𝜕𝑢 𝜕2 𝑢
1) =𝑘
𝜕𝑡 𝜕𝑥 2
𝜕2 𝑣 𝜕2 𝑣
2) 2
+ =0
𝜕𝑥 𝜕𝑦 2
𝜕𝑧 𝜕𝑧
3) 𝑦 2 − 𝑎𝑦 = 𝑏𝑥𝑧
𝜕𝑥 𝜕𝑦
𝑑3𝑦 4 𝑑𝑦
3. ( ) − ( )4 + 2𝑦 = 0 order 3 degree 4
𝑑𝑥 3 𝑑𝑥
4. 𝑦 ′ = √𝑦
(𝑦 ′ )2 = 𝑦 order 1 degree 2
1
5. + 5𝑦 = 5
𝑦 ′′
1 + 5𝑦𝑦 ′′ − 5𝑦 ′′ = 0 order 2 degree 1
1.5 Linear Differential Equations
A general linear differential equation of order n, in the dependent variable y and
the independent variable x, is an equation that can be expressed in the form :
𝑎0 (𝑥)𝑦 (𝑛) + 𝑎2 (𝑥)𝑦 (𝑛−1) + 𝑎3 (𝑥)𝑦 (𝑛−2) +. . . . +𝑎𝑛−1 (𝑥)𝑦 ′ + 𝑎𝑛 (𝑥)𝑦 = 𝑓(𝑥)
where 𝑎0 is not identically 0.
2
Engineering analysis Lecture 1
𝑑2𝑦 𝑑𝑦
3. = √𝑦 + ( )2
𝑑𝑥 2 𝑑𝑥
4. √𝑦 ′′ + 𝑦 = (𝑦 ′ )2
5. 𝑡(𝑦 ′′′ )3 + (𝑦 ′ )4 − 𝑦 = 0 4
3
Engineering analysis Lecture 1
sub these as well as the function into the differential equation, we get
−7 −5 −3
15 −3
4𝑥 ( 𝑥 2 ) + 12𝑥 ( 𝑥 2 ) + 3 (𝑥 2 ) = 0
4 2
−3 −3 −3
15𝑥 2 − 18𝑥 2 − 3𝑥 2 =0
0=0
−3
So, 𝑦(𝑥) = 𝑥 2 does satisfy the differential equation and hence is a solution.
∫ 𝑑𝑦 = ∫ 𝑥 + 𝑠𝑖𝑛( 𝑥) 𝑑𝑥
𝑦 = 𝑥 2 − 𝑐𝑜𝑠( 𝑥) + 𝑐
2) Particular Solution of a Differential Equation
A Particular Solution of a differential equation is a solution obtained from the General
Solution by assigning specific values to the arbitrary constants.
4
Engineering analysis Lecture 1
Solution:
𝑑𝑦 4𝑥 2 −7𝑥
=
𝑑𝑥 3𝑦 2 +2
∫(3𝑦 2 + 2)𝑑𝑦 = ∫(4𝑥 2 − 7𝑥)𝑑𝑥
4 7
𝑦 3 + 2𝑦 = 𝑥 3 − 𝑥 2 + 𝑐
3 2
∵ 𝑦(1) = 1
4 7
13 + 2 ∗ 1 = ∗ 13 − ∗ 12 + 𝑐
3 2
31
𝑐=
6
𝑑𝑦
Example: solve the Differential equation = 𝑥 2 + 3, 𝑦(−1) = 2
𝑑𝑥
Solution:
𝑑𝑦
= 𝑥2 + 3 ∗ 𝑑𝑥
𝑑𝑥
𝑑𝑦 = (𝑥 2 + 3)𝑑𝑥
∫ 𝑑𝑦 = ∫(𝑥 2 + 3)𝑑𝑥
𝑥3
𝑦= + 3𝑥 + 𝑐
3
(−1)3
𝑦(−1) = + 3(−1) + 𝑐
3
−1
2= −3+𝑐
3
16
𝑐=
3
𝑥3 16
𝑦= + 3𝑥 +
3 3
5
Engineering analysis Lecture 1
𝜆𝑥
𝑓(𝜆𝑥, 𝜆𝑦) = 𝜆𝑦𝑒 𝜆𝑦 + 3𝜆𝑥 = 𝜆𝑓(𝑥, 𝑦)
𝑓(𝑥, 𝑦) is homogeneous function of degree 1
𝑥 2 −2𝑥𝑦+𝑦 2
2. 𝑓(𝑥, 𝑦) =
𝑥 2 +𝑦 2
𝑥 2 −2𝑥𝑦+𝑦 2
𝑓(𝜆𝑥, 𝜆𝑦) = = 𝜆0 𝑓(𝑥, 𝑦)
𝑥 2 +𝑦 2
Exercise:
1. Determine whether or not each of the following functions is homogeneous, and if so
of what degree.
a) 𝑓(x,y) = 2x2 + xy
b) 𝑓(x,y) = 30x1/2 𝑦 3/2 - 2x3 /y
𝑑𝑦
2. Find the general solution of = 𝑠𝑖𝑛2 ( 𝑥)
𝑑𝑥