Professional Documents
Culture Documents
Chapter 2
Chapter 2
Introduction to Differential
Equations
Le Cong Nhan
2 Initial-Value Problems
Classification:
dy d 2x dx dx dy
= 3x 2 + x, +3 + x = sin t, + = 2x + 3y .
dx dt 2 dt dt dt
Partial differential equation (PDE)
dy d 2x dx ∂4u ∂2u
= 3x 2 + x, +3 + x = sin t, 2 + =0
dx dt 2 dt ∂x 4 ∂t 2
An nth-order ODE can be expressed by the general form (dạng tổng quát)
F x, y , y 0 , ..., y (n) = 0, (1)
d ny
0 (n−1)
= f x, y , y , ..., y . (2)
dx n
d ny d n−1 y dy
an (x) n
+ an−1 (x) n−1 + · · · + a1 (x) + a0 (x)y = g (x). (3)
dx dx dx
Examples for linear equations
d 3y dy
(y − x)dx + 4xdy = 0, y 00 − 2y 0 + y = 0, x3 + 3x − 5y = e x .
dx 3 dx
and nonlinear equations
d 2y d 4y
(1 − y )y 0 + 2y = e x , + sin y = 0, + y 2 = 0.
dx 2 dx 4
Terminology:
Interval of definition (Domain of solution)
Solution curve
Explicit and Implicit Solutions
Families of solutions
Singular solution
Systems of differential equations
xy 0 + y = 0
on the interval I = (−5, 5). This is because we can find at least one function
y = y (x) that satisfies the relation x 2 + y 2 = 25 and the equation on I = (−5, 5).
More precisely, there are two functions
p p
y = 25 − x 2 and y = − 25 − x 2 (explicit solutions)
Remark:
The relation x 2 + y 2 − c = 0 satisfies (5) for any constant c. However, it is
understood that the relation should always make sense in the real number
system.
d 2y
Solve : = f (x, y , y 0 )
dx 2
y0 = y, y (0) = 3. (9)
y 0 + 2xy 2 = 0.
y 0 + 2xy 2 = 0, y (0) = −1
1 4
The functions y = 0 and y = 16 x are
two solutions of the IVP
dy
= xy 1/2 , y (0) = 0. (11)
dx
Hình: Two solutions of the same IVP
Le Cong Nhan (Faculty of Applied Sciences HCMC University
Chapter of 2. Technology and Education)
Introduction to Differential Equations Ngày 12 tháng 2 năm 2022 14 / 31
Consider the first-order initial-value problems:
dy
= f (x, y )
dx (12)
y (x0 ) = y0 ,
R = {(x, y ) : a ≤ x ≤ b, c ≤ y ≤ d} .
If f (x, y ) and ∂f /∂y (x, y ) are continuous on R, then there exists some interval
I0 : (x0 − h, x0 + h) ⊂ [a, b], (h > 0) and a unique function y (x) defined on I0 that
is a solution of the initial-value problem (12).
How to model human population growth? The size of population at the time t?
Mathematical model
Variables: P(t) denotes the total population at time t.
Assumptions and hypotheses:
Thomas Malthus’s rule (1978): The rate at which a population of a
country grows at a certain time is proportional to the total population of the
country at that time.
Then P holds
dP
= kP, (14)
dt
where k is a constant of proportionality.
Mathematical model
Variables: A(t) is the amount of the substance remaining at time t.
Assumptions and hypotheses:
The rate dA/dt at which the nuclei of a substance decays is proportional to
the amount (more precisely, the number of nuclei) A(t) of the substance
remaining at time t.
Then A holds
dA
= kA, (15)
dt
where k is a constant of proportionality.
Mathematical model
Variables: T (t) the temperature of a body at time t.
Assumptions and hypotheses:
Newton’s empirical law of cooling/warming: The rate at which the
temperature of a body changes is proportional to the difference between the
temperature of the body and the temperature of the surrounding medium.
Then T holds
dT
= k(T − Tm ), (16)
dt
where Tm is the temperature of the surrounding medium.
Mathematical model
Variables: Let x(t) denote the number of people who have contracted the
disease and y (t) the number of people who have not yet been exposed.
Assumptions and hypotheses:
The rate dx/dt at which the disease spreads is proportional to the number of
encounters or interactions between these two groups of people. Then x holds
dx
= kxy , (17)
dt
where k is the usual constant of proportionality.
Mathematical model
Variables: X (t) is the amount of substance A remaining at t.
Assumptions and hypotheses:
If the molecules of substance A decompose into smaller molecules, it is a
natural assumption that the rate at which this decomposition takes place is
proportional to the amount of the first substance that has not undergone
conversion. So we get
dX
= kX .
dt
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. Find the amount of salt (measured in pounds) in the tank at
time t?
Suppose a tank filled with water is allowed to drain through a hole under the
influence of gravity. We would like to find the depth h of water remaining in the
tank at time t.
The current in a circuit after a switch is closed is denoted by i(t) and the charge
on a capacitor at time t denoted by q(t).
Voltage drops across
di
an inductor L: henrys, (h) is L dt .
a resistor R: ohms, (Ω) is iR.
1
a capacitor C : farads, (f) is C q.
Now suppose a rock is tossed upward from a roof of a building. What is the
position s(t) of the rock relative to the ground at time t?
d 2s d 2s
m = −mg or = −g
dt 2 dt 2
This is because the net force is F = F1 = −W
and the magnitude of the weight is W = mg .
Hình: Position of rock measured
from ground level
Now suppose a feather is dropped from a roof of a building. What is the position
s(t) of the feather relative to the ground at time t?
F = F1 + F2 = mg − kv
Suppose a flexible cable, wire, or heavy rope is suspended between two vertical
supports, for example: telephone wire, suspension bridge, etc. Our goal is to
construct a mathematical model that describes the shape that such a cable
assumes.
T1 = T2 cos(θ), W = T2 sin(θ)
dy W
= . (19)
dx T1
If the weight per unit length of the roadbed (say, pounds per horizontal foot) is a
constant ρ and x is the horizontal distance of P1 P2 , then W = ρx. This gives us
dy ρ
= x. (20)
dx T1
If ρ is the linear density of the wire (measured, say, in lb/ft) and s is the length of
the segment P1 P2 , then
W = ρs, (21)