Summer 2021 - Lecture 2 - Linear ODEs of First Order and Modelling
Summer 2021 - Lecture 2 - Linear ODEs of First Order and Modelling
R 2020
MAT 480
Differential Equations
Lecture: 2
Linear ODEs of first order
Modelling and Application
dy (2)
+ P( x) y = f ( x),
dx
a0 ( x ) g ( x)
where P(x)= , and f ( x) = .
a1 ( x) a1 ( x )
We seek a solution of (2) on an interval I for which both coefficient functions P(x)
and f(x) are continuous.
2
First Order Linear ODE:
3
First Order Linear ODE::
Separable Equations:
A first-order differential equation of the form
dy
g ( x ) h( y )
dx
or,
Examples:
(1)
(2)
Lecture: 2 (3) 4
Lin. ODEs
of 1st order
First Order Linear ODE::
Separable Equations:
Lecture: 2 5
Lin. ODEs
of 1st order
First Order Linear ODE::
Lecture: 2 6
Lin. ODEs
of 1st order
Solve:
Complementary function
Particular solution
General solution
Lecture: 2
Lin. ODEs
of 1st order
7
Exercise 2.2, Zill
Solution: Hints
General
solution
Substituting the initial condition
Particular
Lecture: 2 + solution 8
Lin. ODEs
of 1st order
First Order Linear ODE::
Type-1:
Suppose,
Here, f is any (differentiable) function of y/x. The form of such an ODE
suggests that we substitute : u=y/x
Thus, , and
Substituting into the above ODE gives,
Use method of
Sep. Vari., and
back
Lecture: 2 substitute 9
Lin. ODEs
of 1st order
First Order Linear ODE::
Reduction to Separable Form:
Solution: We
Separable
Lecture: 2 10
Lin. ODEs
of 1st order
First Order Linear ODE::
Reduction to Separable Form:
Integrating,
Thus,
Lecture: 2 11
Lin. ODEs
of 1st order
First Order Linear ODE:
Lecture: 2
Lin. ODEs
of 1st order
12
The last equation is separable.
Using partial fractions
General Solution
Lecture: 2
Lin. ODEs
of 1st order
13
Finally, applying the initial condition y(0)= 0, gives c = 1
Lecture: 2
Lin. ODEs
of 1st order
14
Example: Solve
Lecture: 2
Lin. ODEs
of 1st order
15
First Order Linear ODE: APPLICATIONS
Separable Equations: Population Dynamics
In Malthusian model , if P(t) denotes the total population at time t, then this
assumption can be expressed as
P P0 ekt , where P0 = ec
Lecture: 2 16
Lin. ODEs
of 1st order
First Order Linear ODE: APPLICATIONS
Separable Equations: Population Dynamics
In a primary experiment, let the population of insects be N 0. At time t=4 hours,
the population is seen to be 2N0. If the growth rate of the insects is proportional
to the population of insects at certain time, how many hours later the population
of the insects will be 8 times of the current population?
Solution: N N 0 e kt ,
Here, N0 is the population at time t=0.
At time t=4 hours, the population is seen to be 2N0.
Hence,
2N 0 N 0ek.4
ln2
or, e 4k
2 or , 4k ln 2, k 0.173
4
Hence, required time (T) for the population of the insects will be 8 times of the
current population is,
8N 0 N 0e 0.173T
ln8 17
Lecture: 2 e 0.173T 8, T 12.01 12H
Lin. ODEs 0.173
of 1st order
First Order Linear ODE: APPLICATIONS
Lecture: 2 18
Lin. ODEs
of 1st order
Separable Equations: Economics
Model
Example:
Solution:
Separable
ODE
(1)
(2)
The equilibrium value/solution is obtained by setting
dP/dt=0, that means -6P+90=0, implies P=15
To check the stability of the market value, we want to investigate the
nature of the solution P(t) in equation (2) when t is very large, i.e.,
.
We see that Equilibrium
P(t) solution
This implies P(t) converges to the equilibrium
Comments
Lecture: 2 solution as in the long run (as t tends to on market
Lin. ODEs
of 1st order infinity). This market is therefore stable. price
20
First Order Linear ODE: APPLICATIONS
Solution:
Lecture: 2
Lin. ODEs
of 1st order
21
Motivating Example: Engineering problem
Newton’s Law of Cooling/Warming:
Solution: Let T(t) be the temperature inside the building and T m be the
outside temperature (we consider here Tout is the average of 50°F to 40°F,
that is Tm = 45°F
General
solution
Lecture: 2
Lin. ODEs 23
of 1st order
First Order Linear ODE: APPLICATIONS
Particular
24
Lecture: 2 solution
Lin. ODEs
of 1st order
END
25