Introduction To Differential Equations: National Chiao Tung University Chun-Jen Tsai 9/9/2019
Introduction To Differential Equations: National Chiao Tung University Chun-Jen Tsai 9/9/2019
Equations
2/38
Textbook and Grading Policy
Textbook:
Dennis G. Zill, Differential Equations with Boundary-Value
Problems, 9th edition, 2018, Cengage Learning.
(高立圖書代理, 顔俊杰 0921-456030)
An alternative textbook:
Dennis G. Zill, Differential Equations with Modeling
Applications, 11th edition, 2018, Cengage Learning.
(華泰文化, 蕭瑀倢 0933-838337)
Grading is based on
Pop Quizzes (25%) – from homework assignments
Mid-terms exam (35%) – on 11/4/2019
Final exam (40%) – on 1/6/2020
3/38
Before You Move On …
Homework #0: Check out the following video:
4/38
Differential Equations
Definition:
An equation containing the derivatives of one or more
dependent variables, with respect to one or more
independent variables, is said to be a differential
equation (DE).
Example:
dx dx
x f (t ) e 0.1t 2
e 0.2t
0.1t 2
0.2 xt
dt dt
5/38
Why Differential Equations
For dynamic phenomena, we want to predict their long-
term behavior by observing and measuring their short-
term behavior
Long-term behavior of a dynamic system is defined by its
underlying rule hard to measure
Short-term behavior of a dynamic system is described by its
changing characteristics (derivatives) easier to measure
6/38
Classification of DE by Type
Ordinary differential equation (ODE): an equation
contains only ordinary derivatives of one or more
dependent variables with respect to a single
independent variable
dy
5y ex
dx
2 3
d y dy
5 4 y e x
dx 2 dx
An nth-order ODE with one dependent variable can be
expressed in the general form:
F ( x , y , y , y ,...., y n ) 0
a real-valued function of n+2 variables
8/38
Normal Form of ODE
F() can be expressed in general in the normal form:
d ny n 1
n
f ( x , y , y , y ,...., y )
dx
where f is a real-valued function with n+1 variables.
For example, the normal forms of the first order and the
2nd-order ODEs are:
dy
f ( x, y )
dx
d2y
2
f ( x , y , y )
dx
9/38
Classification of DE by Linearity
An nth-order ODE, F, is said to be linear if F is linear in
y, y', …., y(n). That is, F can be expressed as:
dny d n 1 y dy
a n x n a n 1 x n 1 ... a1 x a 0 x y g ( x )
dx dx dx
where ai(x), i = 0, …, n depend on the independent
variable x only
Example:
(y – x)dx + 4xdy = 0
y" – 2y' + y = 0
d3y dy
3
3 x 5y ex
dx dx
10/38
Nonlinear ODE
A differential equation with nonlinear functions of the
dependent variable or its derivatives.
Examples: If y is the dependent variable,
(1 – y)y' + 2y = ex
d2y/dx2 + sin y = 0
y(4) + y2 = 0
11/38
Solution of an ODE
Definition: a solution of an ODE is a function y(x),
defined on an interval I and possessing at least n
derivatives that are continuous on I, which when
substituted into an nth-order ODE reduces the equation
to an identity.
12/38
All Roads Lead to Rome
If we have a function y:
x2
y ( x) Ce , C R.
Then,
dy
dx
x2
x2
C 2 xe 2 x Ce 2 xy.
x2
Thus, it doesn’t matter what the constant C is, y Ce
is a solution of the DE dy/dx = 2xy.
13/38
Solution is not Guaranteed
Expressing a phenomenon as a differential equation
does not guarantee that it has a solution. Obviously,
(y)2 + y2 = –1
has no (real-valued) solution.
14/38
Interval of Definition
A solution of an ODE includes a function y(x) and the
interval of definition, I.
I is usually referred to as the interval of definition, the
interval of existence, the interval of validity, or the
domain of the solution.
I can be an open interval (a, b), a closed interval [a, b],
an infinite interval (a, ), and so on.
15/38
Solution Curve
The graph of a solution y(x) of an ODE is called a
solution curve. Since y(x) is a differentiable function, it
is continuous on its interval of definition.
There maybe a difference between the graph of y(x)
and the graph of the solution of the ODE.
y y
1 1
1 x 1 x
16/38
Explicit and Implicit Solutions
Definition: A solution in which the dependent variable
is expressed solely in terms of the independent
variable and constants is called an explicit solution.
17/38
Verification of an Implicit Solution
Example:
The relation x2+y2 = 25 is the implicit solution of the
differential equation dy/dx = –x/y on the interval
–5 < x < 5
Verification:
d 2
dx
2
d
x y 25
dx
2x 2 y
dy
dx
0
dy
x / y
dx
18/38
Solving for Explicit Solution
One can solve an implicit solution for explicit solutions.
In the previous example,
y y y
5 5 5
x x x
-5 5 -5 5
-5 5
-5 -5
19/38
Families of Solutions
A solution to a 1st-order DE containing an arbitrary
constant represents a set G(x, y, c) = 0 of solutions is
called a one-parameter family of solutions.
For nth-order DE, an n-parameter family of solutions
can be represented as
G(x, y, c1, c2, …, cn) = 0.
If the parameters c1, c2, …, cn are resolved, then it’s
called a particular solution of the DE.
Example: y
c>1
c=1
y – cx = 0 is a family of c<1
solutions of xy′ – y = 0. x
20/38
Singular Solutions
Definition: A singular solution is a solution that cannot
be obtained by specializing any of the parameters in
the family of solutions.
Example:
Both y = x4/16 and y = 0 are solutions of dy/dx = xy1/2 on
the interval (–, ). The ODE possesses the family of
solutions y = (x2/4 + c)2. However, y = 0 is not in the
family of solutions.
21/38
General Solutions
Definition: If every solution of an nth-order ODE
F(x, y, y, y, …, y(n)) = 0 on an interval I can be obtained
from an n-parameter family of equations
G(x, y, c1, c2, …, cn) = 0 by appropriate choices of the
parameters ci, i = 1, 2, …, n, we then say that the n-
parameter family of equations is the general solution of
the D.E.
22/38
Example: Two-Parameter Family
The functions x = c1cos4t and x = c2sin4t, where c1 and c2
are arbitrary constants, are solutions of x" + 16x = 0.
For x = c1cos4t, the first two derivatives w.r.t. t are
x' = –4c1 sin 4t and x" = –16c1cos4t.
Substituting x" and x' into the DE gives
x" + 16x = –16c1cos4t + 16(c1cos4t) = 0.
Similarly, for x = c2sin4t, we have
x" + 16x = –16c2sin4t + 16(c2sin4t) = 0.
Their linear combinations are a family of solutions.
23/38
Example: Piecewise Solutions
One can verify that y = cx4 is a solution of xy' – 4y = 0 on
the interval (–, ). The following piecewise defined
solution is a particular solution of the ODE:
x 4 , x 0
y 4
x , x0
24/38
Initial Value Problem
Definition:
On some interval I containing x0, the problem:
n
Solve: d y n 1
f x , y , y ,..., y
dx n
Subject to: y(x0) = y0, y(x0) = y1, …, y(n–1)(x0) = yn–1,
25/38
First Order IVP
A first order IVP tries to solve dy/dx = f(x, y), subject to
y(x0) = y0. In geometric term, we are seeking a solution
so that the solution curve passes through the
prescribed point (x0, y0).
solutions of the DE
y
(x0 , y0)
x
I
26/38
Second Order IVP
A second order IVP tries to solve d2y/dx2 = f(x, y, y),
subject to y(x0) = y0, y(x0) = y1. In geometric term, we
are seeking a solution so that the solution curve not
only passes through the prescribed point (x0, y0), but
also with a slope y1 at this point.
solutions of the DE
y
m = y1
(x0 , y0 )
x
I
27/38
Example: 1st-Order IVPs
It is easy to verify that y = cex is a one-parameter family
of solutions of the simple first-order equation y' = y on
the interval (–, ). If y(0) = 3, we have
y
(0, 3)
3 = ce0 = c
(1, –2)
28/38
Existence of Unique Solution
Two key questions of solving an IVP are:
Do solutions exist for the differential equation?
Given an initial condition, is the solution unique?
Examples:
The IVP y' = 1/x, y(0) = 0 has no solution. By integration, we
have y(x) = ln |x| + c; but ln |x| is not defined at 0!
29/38
Example: Multiple IVP Solutions (1/2)
Consider the IVP dy/dx = xy1/2, y(0) = 0:
The DE has a constant solution y = 0 and a family of
solution 2
x 2
y c .
4 y a=0 a>0
The IVP has infinite solutions:
For any a 0,
0, xa
y 2
2 2
x a / 16, x a (0, 0)
x
30/38
Example: Multiple IVP Solutions (2/2)
Consider only the case c 0, 2
x2
let c = –b, b 0: y c
4
2
x 2 4b 400
y
4 4 350 c = –4
2 c= 0
x 2 (2 b ) 2 300
c= 4
4
250
( x 2 a 2 ) 2 / 16, a2 b
200
150
100
50
0
-10 -8 -6 -4 -2 0 2 4 6 8 10
± 4c , c 0
31/38
Existence and Uniqueness Theorem
Theorem: Let R be a rectangular region in the xy-plane
defined by a x b, c y d, that contains the point
(x0, y0) in its interior. If f(x, y) and f/y are continuous
on R, there exist some interval I0: x0–h < x < x0+h, h > 0,
contained in a x b, and a unique function y(x)
defined on I0 that is a solution of the first-order initial-
value problem:
y
d
R
dy
f ( x, y ), y ( x0 ) y0 .
dx
(x0, y 0)
c
x
a I0 b
32/38
Example:
Again, let’s revisit the IVP: dy/dx = xy1/2, y(0)=0.
Since
f(x, y) = xy1/2,
and
f/y = x/(2y1/2),
33/38
DE as Mathematical Models
Real-world
phenomenon
and
observations
34/38
Natural Growth and Decay Models
The differential equation
dx
kx, where k is a constant.
dt
is a widely used model for natural phenomena whose
rate of change over time is proportional to its current
population what is the solution?
ground
36/38
Torricelli’s Model of a Draining Tank
Torricelli’s Law of draining tank:
dV
ac 2gy .
dt
Note: In Torricelli’s law, 0 ≤ c ≤ 1 is a constant parameter related to the viscosity of the liquid.
37/38
Series Circuit
If i(t) = dq/dt is the electric current across the circuit, the
voltage drops across different electric components are:
di
Inductor: v L
dt
L
Resister: v Ri E(t) R
1
Capacitor: v q
C C