Chap 1 (Khác)
Chap 1 (Khác)
September, 2014
References
1. William E. Boyce, Richard C. DiPrima, Elementary Differential
Equations and Boundary Problems, 8th Ed., John Wiley & Sons, 2005.
2. J.K. Hale, Ordinary Differential Equations, 2nd Ed., New-York, 1980
3. P. Hartman, Ordinary Differential Equations, 2nd Ed. Birkhauser
1982.
Chapter 1 INTRODUCTION
Contents
1. Some Basic Mathematical Models
2. Classification of Differential Equations
1.1 SOME BASIC MATHEMATICAL MODELS
dh2
=g .
dt 2
A Falling Object
The relationships between a, v and h are as follows:
dv dh
a(t) = , v (t) = .
dt dt
For a falling object, a(t) is constant and is equal to g = −9.8m/s 2 (the
acceleration due to gravity).
Combining the above equations, we have the differential equation
dh2
=g .
dt 2
dh
Integrate both sides of the above equation to obtain dt = gt + v0 .
Integrate one more time to obtain
h(t) = (1/2)gt 2 + v0 t + h0
The above equation describes the height of a falling object, from an
initial height h0 at an initial velocity v0 , as a function of time.
Business
Assume that the fund earns r percent interest per year compounded
continuously. So, the rate of growth of the amount A in the fund is given
by
dA
= rA + P,
dt
where A = 0 when t = 0.
At the beginning of your study (t = 0), you find that half the population
has characteristic D.
After four generations (t = 4) you find that 80% of the population has
characteristic D.
Find the percent of the population that will have characteristic D after
10 generations.
Radioactivity
A = Ce −kt .
dp
= rp,
dt
where r is called the rate constant or growth rate.
1 d r 2 dP
= −4πρG ,
r 2 dr ρ dr
where P is the sum of the gas kinetic pressure and the radiation pressure,
r is the distance from the center of the star, ρ is the density of matter,
and G is the gravitational constant.
Other Examples
Example 1.3 In psychology, one model of the learning of a task
involves the equation
dy /dt 2p
=√ .
y 3/2 (1 − y )3/2 n
Here y represents the state of the learner or the leaner’s skill level as a
function of time t. The constants p and n depend on the individual
leaner and the nature of the task.
Example 1.4 In the study of vibrating strings and the propagation of
waves, we find the differential equation
∂2u ∂2u
− = 0,
∂t 2 ∂x 2
where t represents time, x the location along the string, and u the
displacement of the string, which is a function of time and location,
u = u(t, x).
1.2 CLASSIFICATION OF DIFFERENTIAL EQUATIONS
In the equation
d 2i di 1
L + R + i = E ω cos ωt (0.1)
dt 2 dt C
i is the dependent variable, t is the independent variable, and
L, R, C , E , and ω are called parameters.
1.2 CLASSIFICATION OF DIFFERENTIAL EQUATIONS
In the equation
d 2i di 1
L + R + i = E ω cos ωt (0.1)
dt 2 dt C
i is the dependent variable, t is the independent variable, and
L, R, C , E , and ω are called parameters.
The equation
∂u ∂2u ∂2u
= h2 + (0.2)
∂t ∂x 2 ∂y 2
has one dependent variable u and three independent variables.
1.2 CLASSIFICATION OF DIFFERENTIAL EQUATIONS
Order
For instance,
d 2y dy
+ 2 + y5 = 0
dx 2 dx
2
is an equation of “order two” because ddxy2 is the highest order derivative
present. It is also referred to as “second-order differential equation”.
The differential equation
A single equation of the form (0.3) may actually represent more than one
equation of the form (0.4).
1.2 CLASSIFICATION OF DIFFERENTIAL EQUATIONS
x(y 0 )2 + 4y 0 − 6x 2 = 0
x(y 0 )2 + 4y 0 − 6x 2 = 0
(y 0 )2 − (x + y )y 0 + xy = 0
y0 = x or y0 = y.
1.2 CLASSIFICATION OF DIFFERENTIAL EQUATIONS
x 2 y 000 + xy 0 + (x 2 − 1)y = 4x 3
x 2 y 000 + xy 0 + (x 2 − 1)y = 4x 3
y 0 + sin y = 0
and
y 00 − yy 0 = cos x
are nonlinear because of the terms sin y and yy 0 .
1.2 CLASSIFICATION OF DIFFERENTIAL EQUATIONS
Solutions
Example 2.1 Show that for any choice of the constant C , the function
φ(x) = Ce 2014x
y 0 = 2014y .
1.2 CLASSIFICATION OF DIFFERENTIAL EQUATIONS
y 00 − 2y 0 + y = 0.
y (x) = c1 e x + c2 xe x , x ∈R
y2 − x3 + 8 = 0
is an implicit solution of
dy 3x 2
= (0.6)
dx 2y
on the interval (2, ∞).
1.2 CLASSIFICATION OF DIFFERENTIAL EQUATIONS
x + y + e xy = C ,
For brevity, we hereafter use the term solution to mean either an explicit
or an implicit solution.
1.2 CLASSIFICATION OF DIFFERENTIAL EQUATIONS
y (x0 ) = y0 ,
y 0 (x0 )= y1
...
y (n−1) (x0 ) = yn−1 ,
Example 2.4 Show that φ(x) = sin x − cos x is a solution to the initial
value problem
(x 2 + 1)y 0 + xy = 0 (0.8)
y 0 dx xdx
=− 2 .
y x +1
By integrating both sides, we find that
1 d(x 2 + 1)
Z Z
xdx 1
ln |y | = − 2 = − · = − ln(x 2 + 1) + C1
x +1 2 x2 + 1 2
where C1 is arbitrary.
1.2 CLASSIFICATION OF DIFFERENTIAL EQUATIONS
Then taking the exponential of both sides of this equation and solving for
y , we obtain
C
y=√ , (0.10)
x2 + 1
where C = ±e C1 is also arbitrary. Observe that C = 0 corresponds to the
solution y = 0.
Finally the initial condition requires that C = y0 , so the solution of the
initial value problem (0.8)–(0.9) is
y0
y=√ .
x2 + 1
The expression (0.10) contains all possible solutions of the differential
equation (0.8). So it is called the general solution of the differential
equation (0.8).
1.2 CLASSIFICATION OF DIFFERENTIAL EQUATIONS
Direction Fields
A first order equation
dy
= f (x, y )
dx
specifies a slope at each point in the plane where f is defined. In other
word, it gives the direction that a solution to the equation must have at
each point.
Contents
1. Linear Equations
2. Separable Equations
3. Modeling with First Order Equations
4. Exact Equations
2.1 LINEAR EQUATIONS
We assume that the functions a0 (x), a1 (x) and b(x) are continuous on an
interval and that a0 (x) 6= 0 on that interval. Then we can rewrite
Equation (0.11) in the standard form
dy
+ P(x)y = Q(x), (0.12)
dx
where P(x) and Q(x) are continuous functions on the interval.
2.1 LINEAR EQUATIONS
1 dµ(x) d
= P(x) or ln |µ(x)| = P(x).
µ(x) dx dx
It follows that R
P(x)dx
µ(x) = Ce ,
where C is an arbitrary constant. Choose C = 1 to get:
Z
µ(x) = exp P(x)dx ( integrating factor)
2.1 LINEAR EQUATIONS
d
[µ(x)y ] = µ(x)Q(x).
dx
Thus Z
µ(x)y = µ(x)Q(x) dx + C ,
Note that µ(x) = cos1 x is also a integrating factor to the given equation.
1
Multiplying both sides of the given equation by cosx , we have
1 dy sin x
+y = 2 sin x,
cos x dx (cos x)2
or equivalently,
d 1
( y ) = 2 sin x.
dx cos x
Thus
Z
1
y= 2 sin xdx = −2 cos x+C , or equivalently , y = −2(cos x)2 +C cos x.
cos x
Example 1.3 Solve the initial value problem
Example 1.4 A rock contains two radioactive isotopes RA1 and RA2
that belong to the same radioactive series; that is, RA1 decays into RA2
which then decays into stable atoms. Assume that the rate that RA1
decays into RA2 is 50e −10t kg/sec. Since the rate of decay of RA2 is
proportional to the mass y (t) of RA2 present, then the rate of change in
RA2 is
dy
= rate of creation − rate of decay,
dt
dy
= 50e −10t − ky ,
dt
where k > 0 is the decay constant. If k = 2/sec and initially y (0) = 40
kg, find the mass of RA2 for t ≥ 0.
2.2 SEPARABLE EQUATIONS
is said to be separable.
Mixing Problem:
Initially, a water tower contains 1 million litres of pure water. Two valves
are then opened. One valve allows a solution of water and fluoride, with
a concentration of 0.1 kg of fluoride per litre of water, to flow into the
tower at a rate of 80 litres per minute. The other valve allows the
solution in the tank to be drained at 80 litres per minute. Assume that
the solution is mixed constantly, so that we have a homogeneous fluid in
the tank, i.e., at any point in time, the concentration of fluoride in the
water is uniform throughout the tank.
(a) Find an expression for the amount (in kg) of fluoride in the water
tower t minutes after the valves are opened.
(b) Determine how long it will take for the concentration of fluoride in
the water to reach .05 kg/l.
Solution: (a) Let y = y(t) be the number of kilograms of fluoride in the
tank at time t. We need to find both the input and output rates. Since
water (with fluoride) is flowing in and out at 80 l/min, the volume in the
tank remains constant at 1,000,000 l.
Solution: (a) Let y = y(t) be the number of kilograms of fluoride in the
tank at time t. We need to find both the input and output rates. Since
water (with fluoride) is flowing in and out at 80 l/min, the volume in the
tank remains constant at 1,000,000 l.
Input Rate: We have 80 litres per minute entering the tank, with each
litre containing 0.1 kg of fluoride, so each minute we have (80)(0.1) = 8
kg of fluoride entering the tank. Thus, we have: Input Rate = 8 kg/min.
Solution: (a) Let y = y(t) be the number of kilograms of fluoride in the
tank at time t. We need to find both the input and output rates. Since
water (with fluoride) is flowing in and out at 80 l/min, the volume in the
tank remains constant at 1,000,000 l.
Input Rate: We have 80 litres per minute entering the tank, with each
litre containing 0.1 kg of fluoride, so each minute we have (80)(0.1) = 8
kg of fluoride entering the tank. Thus, we have: Input Rate = 8 kg/min.
Thus we see that we need to find the value of t that satisfies y = 50000.
We do this using the formula we found in part (a).
This yields
ln 2
t= ' 8664.34.
0.00008
2.3 MODELING WITH FIRST ORDER EQUATIONS
T (t) = 84.
This gives
4
84 = 76 + 94e −0.3465t , or ln = −0.3465t.
47
So we have T ' 7.11 minutes.
2.3 MODELING WITH FIRST ORDER EQUATIONS
As long as there are sufficient space and ample food supply for the
species, we can assume that the growth and dead rates are proportional
to the population present.
p(t) = p0 e kt
Example 3.3 In 1790 the population of the United States was 3.93
million, and in 1890 the population was 62.95 million. Using the
Malthusian model, estimate the population of the United States as a
function of time.
2.3 MODELING WITH FIRST ORDER EQUATIONS
The equation (0.15) is separable and can be solved easily. Its solution is
ap0
p(t) = . (0.16)
bp0 + (a − bp0 )e −at
The function p(t) given in (0.16) is called the logistic function. Its
graph is called the logistic curve.
2.3 MODELING WITH FIRST ORDER EQUATIONS
Example 3.4 Taking the 1790 population of 3.93 million as the initial
population and given the 1840 and 1890 populations of 17.07 and 62.95
million, respectively, use the logistic model to estimate the population at
time t.
2.3 MODELING WITH FIRST ORDER EQUATIONS
To solve Equation (0.17), it is helpful to know whether the left hand side
is a total differential.
• Recall that the total differential dF (x, y ) of a function F (x, y ) of two
variables is defined by
∂F ∂F
dF (x, y ) = (x, y )dx + (x, y )dy ,
∂x ∂y
where dx and dy are arbitrary increments.
2.4 EXACT EQUATIONS
∂F ∂F
(x, y ) = M(x, y ) and (x, y ) = N(x, y )
∂x ∂y
(y − 3x 2 )dx + (x − 1)dy = 0
If the equation
M(x, y )dx + N(x, y )dy = 0 (0.19)
is exact, then by definition F exists such that
∂F ∂F
(x, y ) = M(x, y ) and (x, y ) = N(x, y ).
∂x ∂y
These two equations lead to
∂M ∂2F ∂N ∂2F
= and = .
∂y ∂y ∂x ∂x ∂x∂y
2.4 EXACT EQUATIONS
∂M ∂N
= . (0.20)
∂y ∂x
is an exact equation.
Then the function µ(x, y ) is called an integrating factor of (0.21).
Integrating Factors
∂ ∂
[µ(x, y )M(x, y )] = [µ(x, y )N(x, y )]. (0.24)
∂y ∂x
This is equivalent to
∂µ ∂M ∂µ ∂N
M +µ =N +µ . (0.25)
∂y ∂y ∂x ∂x
is an integrating factor.
Case 2: If
∂M ∂N
∂y − ∂x
:= η(y )
−M
is a function of y (does not depend on x), then the function
R
η(y )dy
µ(y ) := e
is an integrating factor.
Example 1 Solve
3x 2 + xy 3 + 3y − Cx = 0.
Example 2 Solve