Introduction To Differential Equations
Introduction To Differential Equations
Differential Equation
For Engineers
Introduction to Differential Equations
Prepared by:
Engr. Marc Lin F. Abonales
Instructor
DIFFERENTIAL EQUATION
INTRODUCTION
What is
Differential
Equation?
DIFFERENTIAL EQUATION
INTRODUCTION
DEFINITION
The construction of mathematical models to approximate real-world problems has been one of the most
important aspects of the theoretical development of each of the branches of science. It is often the case
that these mathematical models involve an equation in which a function and its derivatives play important
roles.
Examples:
What is Differential Equations? ✓
𝑑𝑦
= 5𝑥 + 3
𝑑𝑥
An equation involving an unknown 𝑑2 𝑦 𝑑𝑦 2
✓ 𝑒 𝑦 +2 =1
function and its derivatives. 𝑑𝑥 2 𝑑𝑥
𝑑3 𝑦 𝑑2 𝑦
✓ 4 3 + 𝑠𝑖𝑛 𝑥 + 5𝑥𝑦 = 0
𝑑𝑥 𝑑𝑥 2
3
𝑑2 𝑦 𝑑𝑦 7 3 𝑑𝑦 2
✓ + 3𝑦 +𝑦 = 5𝑥
𝑑𝑥 2 𝑑𝑥 𝑑𝑥
2
𝜕 𝑦 2
𝜕 𝑦
✓ − 4 =0
𝜕𝑡 2 𝜕𝑥 2
DIFFERENTIAL EQUATION
INTRODUCTION
DEFINITION
Differential Equations
How do you
determine the order
of the differential
equation?
DIFFERENTIAL EQUATION
INTRODUCTION
DEFINITION
The order of a differential equation (either ODE or PDE) is the order of the
highest derivative in the equation.
For example,
EXAMPLE:
Differential Equation ODE/PDE Order
𝑑𝑦
= 5𝑥 + 3
𝑑𝑥
2 2
𝑦
𝑑 𝑦 𝑑𝑦
𝑒 +2 =1
𝑑𝑥 2 𝑑𝑥
𝑑3 𝑦 𝑑2 𝑦
4 3 + 𝑠𝑖𝑛 𝑥 2
+ 5𝑥𝑦 = 0
𝑑𝑥 𝑑𝑥
3 7 2
𝑑2 𝑦 𝑑𝑦 𝑑𝑦
+ 3𝑦 + 𝑦3 = 5𝑥
𝑑𝑥 2 𝑑𝑥 𝑑𝑥
𝜕2𝑦 𝜕2𝑦
−4 2 =0
𝜕𝑡 2 𝜕𝑥
DIFFERENTIAL EQUATION
INTRODUCTION
EXAMPLE:
Differential Equation ODE/PDE Order
𝑑𝑦
= 5𝑥 + 3 ODE 1st
𝑑𝑥
2 2
𝑑 𝑦 𝑑𝑦
𝑒 𝑦 +2 =1 ODE 2nd
𝑑𝑥 2 𝑑𝑥
𝑑3 𝑦 𝑑2 𝑦
4 3 + 𝑠𝑖𝑛 𝑥 + 5𝑥𝑦 = 0 ODE 3rd
𝑑𝑥 𝑑𝑥 2
3 7 2
𝑑2 𝑦 𝑑𝑦 𝑑𝑦
+ 3𝑦 + 𝑦3 = 5𝑥 ODE 2nd
𝑑𝑥 2 𝑑𝑥 𝑑𝑥
𝜕2𝑦 𝜕2𝑦
−4 2 =0 PDE 2nd
𝜕𝑡 2 𝜕𝑥
DIFFERENTIAL EQUATION
INTRODUCTION
How do you
determine the degree
of the differential
equation?
DIFFERENTIAL EQUATION
INTRODUCTION
DEFINITION
Examples:
Here, the exponent of the highest order derivative is one and the
given differential equation is a polynomial equation in
derivatives. Hence, the degree of this equation is 1.
EXAMPLE:
Differential Equation Degree
𝑑𝑦
= 5𝑥 + 3
𝑑𝑥
2𝑦 2
𝑦
𝑑 𝑑𝑦
𝑒 +2 =1
𝑑𝑥 2 𝑑𝑥
𝑑3 𝑦 𝑑2 𝑦
4 3 + 𝑠𝑖𝑛 𝑥 + 5𝑥𝑦 = 0
𝑑𝑥 𝑑𝑥 2
3 7 2
𝑑2 𝑦 𝑑𝑦 𝑑𝑦
+ 3𝑦 + 𝑦3 = 5𝑥
𝑑𝑥 2 𝑑𝑥 𝑑𝑥
𝜕2𝑦 𝜕2𝑦
−4 2 =0
𝜕𝑡 2 𝜕𝑥
DIFFERENTIAL EQUATION
INTRODUCTION
EXAMPLE:
Differential Equation Degree
𝑑𝑦
= 5𝑥 + 3 1st
𝑑𝑥
2𝑦 2
𝑑 𝑑𝑦
𝑒 𝑦 +2 =1 1st
𝑑𝑥 2 𝑑𝑥
𝑑3 𝑦 𝑑2 𝑦
4 3 + 𝑠𝑖𝑛 𝑥 + 5𝑥𝑦 = 0 1st
𝑑𝑥 𝑑𝑥 2
3 7 2
𝑑2 𝑦 𝑑𝑦 𝑑𝑦
+ 3𝑦 + 𝑦3 = 5𝑥 3rd
𝑑𝑥 2 𝑑𝑥 𝑑𝑥
𝜕2𝑦 𝜕2𝑦
−4 2 =0 1st
𝜕𝑡 2 𝜕𝑥
DIFFERENTIAL EQUATION
INTRODUCTION
NOTATIONS
𝑑𝑦 𝑑 2 𝑦 𝑑 3 𝑦 𝑑𝑛 𝑦
Leibniz notation: , , ,…, 𝑛
𝑑𝑥 𝑑𝑥 2 𝑑𝑥 3 𝑑𝑥
- clearly displays both the dependent and independent variables.
Example:
NOTATIONS
Newton’s dot notation:
- derogatively referred to by some as the “flyspeck” notation
- sometimes used to denote derivatives with respect to time t.
𝑑2 𝑠
Example: 2 = −32 becomes 𝑠ሷ = −32
𝑑𝑡
Subscript notation:
- For PDE’s only; indicated the independent variable.
𝜕2 𝑢 𝜕2 𝑢 𝜕𝑢
Example: 2 = − 2 becomes 𝑢𝑥𝑥 = 𝑢𝑡𝑡 − 2𝑢𝑡
𝜕𝑥 𝜕𝑡 2 𝜕𝑡
DIFFERENTIAL EQUATION
INTRODUCTION
EXAMPLE:
Determine the order, unknown function, and the independent variable in each of the following DEs:
𝑦 ′′′ − 5𝑥𝑦 ′ = 𝑒 𝑥 + 1
𝑡 𝑦ሷ + 𝑡 2 𝑦ሶ − sin 𝑡 𝑦 = 𝑡2 − 𝑡 + 1
𝑑 2𝑡 𝑑𝑡
𝑠 2 2 + 𝑠𝑡 =𝑠
𝑑𝑠 𝑑𝑠
5 10
𝑑4𝑏 𝑑𝑏
5 +7 + 𝑏7 − 𝑏5 = 𝑝
𝑑𝑝4 𝑑𝑝
DIFFERENTIAL EQUATION
INTRODUCTION
EXAMPLE:
Determine the order, unknown function, and the independent variable in each of the following DEs:
𝑡 𝑦ሷ + 𝑡 2 𝑦ሶ − sin 𝑡 𝑦 = 𝑡2 − 𝑡 + 1 2nd y t
𝑑 2𝑡 𝑑𝑡
𝑠 2 2 + 𝑠𝑡 =𝑠 2nd t s
𝑑𝑠 𝑑𝑠
5 10
𝑑4𝑏 𝑑𝑏
5 +7 + 𝑏7 − 𝑏5 = 𝑝 4th b p
𝑑𝑝4 𝑑𝑝
DIFFERENTIAL EQUATION
INTRODUCTION
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 𝑦(𝑥) =𝑐1sin2𝑥+𝑐2cos2𝑥, where 𝑐1 and 𝑐2 are arbitrary constants, a solution of 𝑦′′ + 4𝑦 = 0?
2. Determine whether 𝑦(𝑥) = 2𝑒−𝑥 + 𝑥𝑒−𝑥 is a solution of 𝑦′′ + 2𝑦′ + 𝑦 = 0.
DIFFERENTIAL EQUATION
INTRODUCTION
SOLUTION
EXAMPLE:
The general solution to the DE 𝑦′′ + 4𝑦 = 0 can be shown to be
𝑦(𝑥) =𝑐1sin2𝑥+𝑐2cos2𝑥
EXAMPLE:
• The problem 𝑦′′ + 2𝑦′ = 𝑒𝑥 with 𝑦(𝜋) = 1, 𝑦′(𝜋) = 2 is an initial−value problem because the two
conditions are both given at 𝑥 = 𝜋.
• The problem 𝑦′′ + 2𝑦′ = 𝑒𝑥 with 𝑦(0) = 1, 𝑦(1) = 1 is a boundary−value problem because the
two conditions are given at different values 𝑥 = 0 and 𝑥 = 1.
DIFFERENTIAL EQUATION
INTRODUCTION
EXAMPLE: ANSWERS:
Determine 𝑐1 and 𝑐2 so that 𝑦(𝑥) = 𝑐1𝑒2𝑥 + 𝑐2𝑒𝑥 + 2𝑠𝑖𝑛𝑥 𝑐1 = -1 and 𝑐2 = 1
will satisfy the conditions 𝑦(0) = 0 and 𝑦′(0) = 1.
DIFFERENTIAL EQUATION
INTRODUCTION
EXAMPLE: ANSWERS:
Solve the following initial value
problem. 1.
2.
DIFFERENTIAL EQUATION
INTRODUCTION
QUESTIONS?