Lecture 3:ODEs, Direction Fields, DSolve, NDSolve, Lyapunov Exponents
Differential equations are used to model physical systems.General form of an Nth order linar ODE (the order is the order of the highest derivative):
d
N
x
ÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅ
dt
N
=
f
ikjjj
t
,
x
,dx
ÅÅÅÅÅÅÅÅÅ
dt,...
..
d
N

1
x
ÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅ
dt
N

1
y{zzz
Plus N initial conditions (for derivatives up to order N1):
x
H
0
L
=
x
0
,
x
'
H
0
L
=
v
0
,
x
''
H
0
L
=
a
0
,...
....
x
,If the derivative of
f
with respect to each of its arguments is continuous over an interval containing the initial conditions,then the solution of the ODE with those initial conditions
exists
and is
unique
.The equation alone has a family of solutions, or
general solution
. The initial conditions are necessary to define a particularsolution. This is because the solution of an ODE of Nth order is obtained by N integrations, each yielding a constant of integration.For example, the first order ODE that expresses Newton's 2nd law is:dv
ÅÅÅÅÅÅÅÅÅ
dt
=
1
ÅÅÅÅÅÅÅ
m
F
H
t
L
The solution only requires one integration and introduces one constant of inegration:
‡
t
0
t
dv
ÅÅÅÅÅÅÅÅÅ
dt
dt
=
1
ÅÅÅÅÅÅÅ
m
‡
t
0
t
F
H
t
L
dtUsing the
fundamental theorem of calculus
:
v
H
t
L

v
H
t
0
L
=
1
ÅÅÅÅÅ
m
Ÿ
t
0
t
F
H
t
L
dtA particular solution is obtained when the initial velocity,
v
H
t
0
L
, is specified.If initial conditions are given, the problem is called
initial value problem
. In some cases, we are given
boundary conditions
, for example the solution at the initial and final time, or, in the case of
partial differential equations
, the solutionmay be given on a surface that bounds a volume (you will soon encounter this case at the end of 100A, when you will solve