Professional Documents
Culture Documents
First-order Differential
Equations
Le Cong Nhan
2 Separable Equations
3 Linear Equations
4 Exact Equations
5 Solutions by Substitutions
6 A Numerical Method
7 Linear Models
8 Nonlinear Models
1 Qualitative analysis:
Existence and uniqueness,
Solution behavior (Direction fields), etc.
2 Quantitative analysis:
Analytical solution:
+ Separable equations;
+ Linear equations;
+ Exact equations;
+ Substitution method: Homogeneous equations, Bernoulli’s equations.
Numerical solution: Euler’s method
3 Applications
Linear/nonlinear models
Modeling with systems of first-order DEs
Example 1
Sketch the direction fields for the differential equation
dy
= 0.1xy
dx
Hình: Critical point c is an attractor in (a), a repeller in (b), and semi-stable in (c) and
(d)
dy f (x)
= (1)
dx g (y )
Method of solution:
Step 1: separate the variables g (y )dy = f (x)dx.
Step 2: integrate both sides of the equation
Z Z
g (y )dy = f (x)dx. (2)
y = yc + yp ,
dy
+ P(x)y = f (x).
dx
R
Z R
yp = e − P(x)dx
e P(x)dx
f (x)dx.
d h R P(x)dx i R
e y = e P(x)dx f (x)
dx
and then integrate both sides of this equation, we get
Z
1
y= I (x)f (x)dx + C
I (x)
erf(x) + erfc(x) = 1.
d x 2 − 5xy + y 3 = 0.
∂M ∂N
= . (8)
∂y ∂x
∂M ∂N
1 Verify the condition ∂y = ∂x .
2 Find the function f satisfying
∂f ∂f
= M(x, y ), = N(x, y ).
∂x ∂y
3 Integrate f w.r.t x, we get
Z
f (x, y ) = M(x, y )dx + g (y ).
dy xy 2 − cos x sin x
= , y (0) = 2.
dx y (1 − x 2 )
µx N − µy M = (My − Nx ) µ. (10)
1 If µ = µ(x), then
dµ My − Nx R My −Mx
dx
= µ ⇒ µ(x) = e N . (11)
dx N
2 If µ = µ(y ), then
dµ My − Nx R My −Nx
=− µ ⇒ µ(y ) = e − M dy . (12)
dy M
Le Cong Nhan (Faculty of Applied Sciences HCMC University
Chapter of 3. Technology andDifferential
First-order Education) Equations Ngày 12 tháng 2 năm 2022 31 / 59
Method of Solution of Non-exact Differential
f (tx, ty ) = t α f (x, y )
L(x) = f (x0 , y0 ) (x − x0 ) + y0
Example 21
A culture initially has P0 number of bacteria. At t = 1 h the number of bacteria is
measured to be 32 P0 . If the rate of growth is proportional to the number of
bacteria P(t) present at time t, determine the time necessary for the number of
bacteria to triple.
Example 25
Suppose that a large mixing tank initially holds 300 gallons of brine (that is, water
in which a certain number of pounds of salt has been dissolved). Another brine
solution is pumped into the large tank at a rate of 3 gallons per minute; the
concentration of the salt in this inflow is 2 pounds of salt per gallon. When the
solution in the tank is well stirred, it is pumped out at the same rate as the
entering solution. If there were 50 lb of salt dissolved initially in the 300 gallons,
how much salt is in the tank after a long time?
Denote by i(t) the current in a circuit after a switch is closed and q(t) by the
charge on a capacitor at time t.
Let X (t) be the number of grams of chemical C formed, then the numbers of grams
of chemicals A and B remaining at any time are, respectively,
M N
a− X and b − X.
M +N M +N
By the law of mass action, the rate of the reaction satisfies
dX M N
=k a− X b− X ,
dt M +N M +N
which implies
dX a(M + N) b(M + N)
= k (α − X ) (β − X ) , α= , β= .
dt M N
Le Cong Nhan (Faculty of Applied Sciences HCMC University
Chapter of 3. Technology andDifferential
First-order Education) Equations Ngày 12 tháng 2 năm 2022 50 / 59
Example 28
A compound C is formed when two chemicals A and B are combined. The
resulting reaction between the two chemicals is such that for each gram of A, 4
grams of B is used. It is observed that 30 grams of the compound C is formed in
10 minutes. Determine the amount of C at time t if the rate of the reaction is
proportional to the amounts of A and B remaining and if initially there are 50
grams of A and 32 grams of B. How much of the compound C is present at 15
minutes? Interpret the solution as t → ∞.
where k1 = −λ1 < 0 and k2 = −λ2 < 0 are the decay constants for substances X
and Y respectively and Z is a stable element.
Let x(t), y (t), and z(t) denote amounts of substances X , Y , and Z remaining at
time t, respectively. A model of the radioactive decay series for three elements is
the linear system of three first-order differential equations
dx
= −λ1 x (24)
dt
dy
= λ1 x − λ2 y (25)
dt
dz
= λ2 y (26)
dt
Le Cong Nhan (Faculty of Applied Sciences HCMC University
Chapter of 3. Technology andDifferential
First-order Education) Equations Ngày 12 tháng 2 năm 2022 52 / 59
Mixtures
Let us suppose that tank A contains 50 gallons of water in which 25 pounds of salt
is dissolved. Suppose tank B contains 50 gallons of pure water. Liquid is pumped
in and out of the tanks as indicated in the figure; the mixture exchanged between
the two tanks and the liquid pumped out of tank B is assumed to be well stirred.
dx1 x
2
= (3 gal/min) · (0 lb/gal) + (1 gal/min) · lb/gal
dt | {z 50 }
input rate of salt
x
1
− (4 gal/min) · lb/gal
| {z 50 }
output rate of salt
dx2 x
1
= (4 gal/min) · lb/gal
dt | {z 50 }
input rate of salt
x x
2 2
− (1 gal/min) · lb/gal + (3 gal/min) · lb/gal
| 50 {z 50 }
output rate of salt
Let x(t) and y (t) denote, respectively, the fox and rabbit populations at time t. A
model for the two populations is given by the nonlinear system
dx
= −ax + bxy
dt
dy
= dy − cxy
dt
where a, b, c, and d are positive constants. This famous system of equations is
known as the Lotka-Volterra predator-prey model.
Suppose two different species of animals occupy the same ecosystem, not as predator
and prey but rather as competitors for the same resources (such as food and living
space) in the system.
A model for the two populations is given by the nonlinear system
dx
dt {z } − | by
= | ax
{z }
growth rate influence
dy
= cy − dx
dt
where a, b, c, and d are positive constants.
An electrical network having more than one loop also gives rise to simultaneous
differential equations.