Professional Documents
Culture Documents
1.1 Basic Concepts. Modeling: Engineering Problems Physical Problems Economic Problems
1.1 Basic Concepts. Modeling: Engineering Problems Physical Problems Economic Problems
1.1 Basic Concepts. Modeling: Engineering Problems Physical Problems Economic Problems
First-Order ODEs 1
§1.1 Basic Concepts. Modeling
engineering problems
physical problems =⇒ mathematical expressions
economic problems
⇑ modeling[differential equations]
(and we want to solve it.)
• Some applications of Differential Equations(DEs)
[Basic Concepts]
• differential equation(DE)
- ordinary differential equation(ODE): an equation that contains one or
several derivatives of an unknown function y(x) or y(t).
Ex. y ′ = cos x, y ′′ + 9y = e−2x, y ′y ′′′ − 23 y ′2 = 0.
• order of a DE: an order of the highest derivatives which occurs in the DE.
-first order ODEs
F (x, y, y ′) = 0 or y ′ = f (x, y) (1)
• solution of F (x, y, y ′) = 0.
- general solution: a solution that contains an arbitrary constant c
- particular solution: a solution obtained from the general solution by
assigning definite value to c
- singular solution: a solution that cannot be obtained from the general
solution
Ex. Consider the ODE (y ′)2 − xy ′ + y = 0.
general solution : y = cx − c2,
particular solution : y = 2x − 4,
2
singular solution : y = x4 .
Sol. The general solution is y(x) = ce3x. From the initial condition we
obtain y(0) = c = 5.7. Hence the IVP has the solution y(x) = 5.7e3x.
This is a particular solution.
Computational Science & Engineering (CSE) T. Jeong
Chapter 1. First-Order ODEs 4
[Modeling]
Example 5. Radioactivity. Exponential Decay
Given an amount of a radioactive substance, say, 0.5g, find the amount
present at any later time.
Physical Information: Experiments show that at each instant a radioactive
substance decomposes at a rate proportional to the amount present.
Sol. [Step 1] Setting up a mathematical model(a differential equation)
Denote by y(t) the amount of substance still present at any time t.
By the physical law, the time rate of change y ′(t) is proportional to y(t).
The model of the process is the IVP:
y ′ = ky, y(0) = 0.5
[Step 2] Mathematical solution
The general solution is
y = cekt.
From the initial condition we get y(0) = c = 0.5. The particular solution
is
y = 0.5ekt.
[Step 3] Interpretation of result
Because k is negative, the initial amount decreases with time and the limit
of y(t) as t → ∞ is zero.
Note 1. f (x, y) is the slope of the solution curve at each point (x, y).
2. The level curves f (x, y) = k = const are called isoclines (curves
of equal inclination).
Sol. We can show the directions of solution curves of a given ODE by drawing
short straight-line segments in the xy-plane.
Fig. 8. First Euler step, showing a solution curve, its tangent at (x0 , y0 ) step h
and increment hf (x0 , y0 ) in the formula for y1
y 2 −x2
Sol. ODE =⇒ y ′ = 2xy
= y
2x
− x
2y
.
y
Set u = x
or y = ux.
2
u′x + u = u
2
− 1
2u
⇒ u′x = − u2u
+1
⇒ 2u
u2 +1
du = − x1 dx
⇒ 1 + u2 = xc .
c2
∴ x2 + y 2 = cx or (x − 2c )2 + y 2 = 4
.
and
∫ ∫ ( ∫ )
d
u(x, y) = M dx + N− M dx dy + c.
dy
Then u(x, y) satisfies ux = M and uy = N .
and
uy = cos(x + y) + k′(y) = N = 3y 2 + 2y + cos(x + y).
Hence k′(y) = 3y 2 + 2y, k(y) = y 3 + y 2 + c∗ and so u(x, y) =
sin(x + y) + y 3 + y 2 + c∗. The solution is
sin(x + y) + y 3 + y 2 = c.
Sol. Let
M = cos y sinh x + 1 and N = − sin y cosh x.
Since
My = − sin y sinh x = Nx,
the ODE is exact and ∃ u(x, y) such that
ux = M and uy = N.
By integration, we obtain
∫
u= M dx + k(y) = cos y cosh x + x + k(y).
⇒ k′(y) = 0, k(y) = c∗
For example,
dy dx
ODE =⇒ = (separable)
y x
=⇒ ln |y| = ln |x| + c∗
=⇒ y = cx.
(∗) =⇒ F Py = F ′Q + F Qx,
1 dF 1
= (Py − Qx)
F dx Q
∫
∴ F (x) = e R(x)dx
(∗) =⇒ F ′P + F Py = F Qx,
1 dF 1
= (Qx − Py )
F dy P
∫
R∗ (y)dy
∴ F (y) = e ,
where R∗(y) = 1
P
(Qx − Py ) .
If R∗ does not depend only on y, then try to find another integrating factor
or another method.
Example 5.
Solve the IVP
( x+y )
e + ye dx + (xey − 1) dy = 0,
y
y(0) = −1.
d
Note Let L = dx
+ p(x). Then we write the ODE as
Ly = r.
The ODE satisfies
L(c1y1 + c2y2) = c1L(y1) + c2L(y2). (linearity)
• Homogeneous Linear ODE (r(x) = 0)
y ′ + p(x)y = 0: first-order homogeneous linear ODE.
dy
=⇒ = −p(x)dx (separable ODE)
y
∫ ∗
∫
− p(x)dx
ln |y| = − p(x)dx + c ∴ y(x) = ce .
Note y = 0 : trivial solution.
• Nonhomogeneous Linear ODE (r(x) ̸= 0)
y ′ + p(x)y = r(x): first-order nonhomogeneous linear ODE
=⇒ (py − r)dx + dy = 0
P = py − r, Q = 1, Py = p ̸= 0 = Qx.
The ODE is not exact.
∫
Take R(x) = 1
Q
(Py − Qx) = p(x), and I.F. F (x) = e pdx
.
∫ ∫ ∫
pdx pdx ′
Multiplying I.F. F (x) = e (y + py) = e pdxr.
, we have e
∫ ∫ ∫
∫ ∫
(e pdxy)′ = e pdxr =⇒ e pdxy = e pdxrdx + c
(∫ ) ∫
∴ y = e−h ehrdx + c , h = p(x)dx.
(A direct calculation) ∫ ∫
F = e p(x)dx = e tan xdx = sec x.
Definition
• An autonomous ODE (t does not occur explicitly)
y ′ = f (y)
has constant solutions, called equilibrium solutions or equilibrium
points. These are determined by the zeros of f (y), because f (y) =
0 ⇒ y ′ = 0. The zeros are called critical points of y ′ = f (y).
• An equilibrium solution is called stable if solutions close to it for some
t remain close to it for all further t. It is called unstable if solutions
initially close to it do not remain close to it as t increases.
Under what conditions does an IVP of the form (1) have at least one solution
or at most one solution?