Lecture 1 Review Basic Concept
Lecture 1 Review Basic Concept
2
Real-World Problem
Differential equations arise
Physicochemical Processes in many engineering
problems as mathematical
models of various physical
systems.
Mathematical Model
Revision of
Model
Solution (if necessary)
Interpretation of Results
3
1.1 REVIEW OF MATHEMATICAL BASIC CONCEPT
Functions and Equations
Let f(x) – name of a function
x = a number or some other entity
Representation of a function – analytic expression of a
function to find the value of a given function
4
Definition of Terms
Derivative –
Thederivative of a function represents an infinitesimal change in the function with
respect to one of its variables;
Measurement of how a function changes when the values of its inputs change.
How much a quantity is changing at some given point.
Order – the order of the highest-order derivative that appears in the equation
Degree - the power to which the highest-order derivative is raised, in a differential
equation. A linear differential equation has degree 1.
6
1.3 CLASSIFICATION OF ODE
(ACCORDING TO THE WAY IN WHICH A DEPENDENT VARIABLEAND ITS
INDICATED DERIVATIVE APPEAR)
a. Linear ODE’s
Linear in a set of one or more of its dependent
variables if and only if each term of the equation
which contains a variable of the set or any of their
derivatives is of the first degree in those variables
and their derivatives
7
General form of the First Order DIFEQ
a0 x y a1 x y ... an 1 x y ' an x y f x
n n 1
Example:
y " 4 xy ' 2 y cos x
8
b. Nonlinear ODE’s – not linear in some dependent
variable; not linear in the set of all of its dependent
variables
Examples:
2
u v
u v sin t
x 2
t
y 4 yy 2 y cos x
9
EXERCISES: IDENTIFY THE EQUATIONS WHETHER ODE OR PDE,
LINEAR OR NONLINEAR
2.
xy 0
d xy '
dx
2
u u
3. 2 u
x t
u v 2v
4. u v
x y xy
5. x y dy x y dx
10
1.4 CONCEPT OF SOLUTION
Explicit Solution: y h x
12
Singular Solution:
relative to any general solution if it does not belong
to that solution set;
additional solution that can not be obtained from the
general solution;
a solution that is tangent to every solution from the
family of general solutions.
13
1.5 FIRST ORDER LINEAR DIFFERENTIAL EQUATIONS
Linear in y and y’
Occurs frequently in models
Solvable
Involve only the first derivative of the
unknown function, y’, and may contain y and
given functions of x. F x, y , y 0 or
Example: y f x, y
1. y cos x
sin x 1
2. y 4 x 2
3
6 y y cos y
x
1 x2 14
15
LINEAR ODE
Standard Linear form:
y p x y q x
'
16
1.7 SEPARABLE FIRST-ORDER DIFFERENTIAL EQUATIONS
g y dy f x dx
dy
By calculus: dx dy,
dx
General Solution:
g y dy f x dx c
where: f and g are continuous function
17
Problem 1. General Solution – Variable Separable
y 1 0.01 y 2
1 Separating dy tranform dy
2
dx 100 2 2
dx
variables
1 0.01 y 10 y
10
2 Integrating 1 y
both sides
100 arctan x c
10 10
simplify y
divide by 10
arctan 0.1x c
10
3 General c
Solution
y 10 tan 0.1x c , c
10
y
Calculus
ln y ,
3 By
y
dy
1 Separable
kdx
y
y
when y 0, ln y = y
y y
when y 0, y 0, ln y ln y y = y
19
2 Integrate
ln y kx c
3 Taking kx c kx c
Exponnetials
y e e e ,
4 General
Solution
y ce kx
y 0
c ec
y 0
c ec
c 0
y0
20
INITIAL VALUE PROBLEM
Initial condition: y x0 y0
21
PROBLEM 3: INITIAL VALUE PROBLEM
e x y 2 x 1 y 2 , y 0 1 6
22
1.7A REDUCTION TO SEPARABLE FORM
v ay bx k
23
Problem 4: Case 1-Initial Value problems
y y
xy y 3x cos ,
4 2
y 1 0, u
x x
24
PROBLEM 5: CASE 2
1 2 y 4x
y
1 y 2x
Hint: Use y 2 x
25
1.7B MODELING: SEPARABLE EQUATIONS
26
Problem 7: Radiocarbon dating.
What should be the 6C14 content (in percent of y0)
of a fossilized tree that is claimed to be 3000
years old?
27
1.8 EXACT FIRST-ORDER DIFFERENTIAL EQUATIONS:
INTEGRATING FACTORS
M x, y dx N x, y dy 0 (1)
Function : u x, y
u u
Differential Form: du dx dy (2)
x y
Eq 1 can be written
du 0
General Solution:
By integration
u x, y c (3)
28
Comparing Eq. (1) and (2):
u u
M, N (4)
x y
M N
(5)
y x
30
PROBLEM 2: TEST FOR EXACTNESS - IVP
2sin 2 x sinh ydx cos 2 x cosh ydy 0, y 0 1
31
1.9 REDUCTION TO EXACT FORM.
INTEGRATING FACTORS, F
Given nonexact equation:
P x, y dx Q x, y dy 0 (6)
Exactness Condition: FP FQ (8)
y x
32
Golden Rule: Look for F that depend only on one
variable.
Let F F x , F y 0,
dF
Fx F substitute in Eq.(9)
dx
FPy F Q FQx (10)
1 dF 1 P Q
(11)
F dx Q y x
33
Theorem 1: Integrating factor F(x)
If (6) is such that the right side of (11), R, depends only on x, then (6)has an integrating
factor F =F(x), which is obtained by integrating (11) and taking exponential on both
sides.
F x exp R x dx (12)
If F F y : 1 dF 1 Q P
(13)
F dy P x y
F y exp R y dy
34
PROBLEM 4: FIND AN INTEGRATING FACTOR
35
1.10 HOMOGENEOUS FIRST-ORDER EQUATIONS
M x, y dx N x, y dy 0
36
Alternative standard form for homogeneous,
first-order differential equation: dy y
g
The theory of the substitution y ux, or u y / x dx x
y ux
dy du
ux or dy udx xdu
dx dx
du
Substitution
u x g u or xdu g u u dx
dx
dy y
If g u u holds identiclly,
dx x
g u 0, the equation is separable at the outset
du dx
g u u x
37
1.11 LINEAR FIRST-ORDER DIFFERENTIAL EQUATION
y p x y 0
38
Separating variables:
dy
p ( x)dx, ln y p x dx c
y
p x dx
y x ce
c
(c e when y 0)
Note : c 0 and y x 0 Trivial solution
39
dy
p x y r x Nonhomogeneous equation
dx
General Solution:
y x e h e h rdx c
h p x dx
40
2ND ORDER LINEAR HOMOG ODE
41