Ordinary
Differential
Equations
Teoh Wen Hui
(Week 1 - 7)
whteoh@um.edu.my
Block V, 201-6
Chem Eng Dept
dependent
variable
Independent
variable
Ordinary Differential Eq
(ODE) 1 independent
variable
Independent
variables
Partial Differential Eq
(PDE) 2 independent
variables
TWH KXEX2244
ODE
Usually
However,
+
+
= cos
= sin
Independent variable: t
Dependent variable: x, y
To solve for x & y, must solve both
equations simultaneously
TWH KXEX2244
= cos
+
TWH KXEX2244
TWH KXEX2244
Linear. Why?
x is the independent variable.
Linear. Why?
x is the independent variable.
Linear. Why?
2nd order derivative.
Non-linear. Why?
f is the dependent variable.
cos 2f is not a linear function.
Non-linear. Why?
is the product between the
dependent variable f and its derivative.
Non-linear. Why?
is not a linear function.
TWH KXEX2244
All dependent
variables on lefthand side of
equation
= sin +
All non-dependent
variables (including
constants) on righthand side of
equation
TWH KXEX2244
Homogeneous
Non-homogeneous
+ sin
TWH KXEX2244
TWH KXEX2244
10
General solutions
The most general function that will satisfy the
differential equation which contain one or more
arbitrary constants.
TWH KXEX2244
11
To solve for x:
=
=
=
=
+
)
12
Particular solution
If
we obtained
= ( ) it becomes a particular solution
TWH KXEX2244
13
TWH KXEX2244
14
TWH KXEX2244
15
Boundary
& initial conditions
To
For
example:
equation
We know that: ( ) =
Hence:
( )
and
Boundary
condition
Initial conditions
16
Initial
Example:
= given that,
TWH KXEX2244
17
Note:
1st
For
18
Verification of a solution
One
TWH KXEX2244
19
left-hand
right
(a)
; =
side:
Note:
; =
; =
hand side:
=
TWH KXEX2244
20
(a)
= ; =
TWH KXEX2244