Lecture 1
Lecture 1
Math108
2042- Ordinary Differential Equations
Santanu Dey
Department of Mathematics,
Indian Institute of Technology Bombay,
Powai, Mumbai 76
dey@math.iitb.ac.in
1 Basic Concepts
2 Separable DE
Definition
Let y (x) denote a function in the variable x. An ordinary
differential equation (ODE) is an equation containing one or more
derivatives of an unknown function y .
Definition
Let y (x) denote a function in the variable x. An ordinary
differential equation (ODE) is an equation containing one or more
derivatives of an unknown function y .
In general, a differential equation involving one or more dependent
variables with respect to a single independent variable is called an
ODE.
Definition
Let y (x) denote a function in the variable x. An ordinary
differential equation (ODE) is an equation containing one or more
derivatives of an unknown function y .
In general, a differential equation involving one or more dependent
variables with respect to a single independent variable is called an
ODE.
Definition
A differential equation involving partial derivatives of one or more
dependent variables with respect to more than one independent
variable is called a partial differential equation (PDE).
Santanu Dey Lecture 1
Basic Concepts
Note that, the ODE may contain y itself (the 0th derivative), and
known functions of x (including constants).
Note that, the ODE may contain y itself (the 0th derivative), and
known functions of x (including constants). In other words, an
dy
ODE is a relation between the derivatives y , y 0 or , . . . , y (n) or
dx
d ny
dx n
Note that, the ODE may contain y itself (the 0th derivative), and
known functions of x (including constants). In other words, an
dy
ODE is a relation between the derivatives y , y 0 or , . . . , y (n) or
dx
d ny
and functions of x:
dx n
F (x, y , y 0 , . . . , y (n) ) = 0.
Note that, the ODE may contain y itself (the 0th derivative), and
known functions of x (including constants). In other words, an
dy
ODE is a relation between the derivatives y , y 0 or , . . . , y (n) or
dx
d ny
and functions of x:
dx n
F (x, y , y 0 , . . . , y (n) ) = 0.
Note that, the ODE may contain y itself (the 0th derivative), and
known functions of x (including constants). In other words, an
dy
ODE is a relation between the derivatives y , y 0 or , . . . , y (n) or
dx
d ny
and functions of x:
dx n
F (x, y , y 0 , . . . , y (n) ) = 0.
Examples :
2
d 2y dy
1 + xy =0
dx 2 dx
Examples :
2
d 2y dy
1 + xy = 0 (ODE,
dx 2 dx
Examples :
2
d 2y dy
1 + xy = 0 (ODE, 2nd order)
dx 2 dx
Examples :
2
d 2y dy
1 + xy = 0 (ODE, 2nd order)
dx 2 dx
d 4x d 2x
2 + 5 + 3x = sin t
dt 4 dt 2
Examples :
2
d 2y dy
1 + xy = 0 (ODE, 2nd order)
dx 2 dx
d 4x d 2x
2 + 5 + 3x = sin t (ODE,
dt 4 dt 2
Examples :
2
d 2y dy
1 + xy = 0 (ODE, 2nd order)
dx 2 dx
d 4x d 2x
2 + 5 + 3x = sin t (ODE, 4th order)
dt 4 dt 2
Examples :
2
d 2y dy
1 + xy = 0 (ODE, 2nd order)
dx 2 dx
d 4x d 2x
2 + 5 + 3x = sin t (ODE, 4th order)
dt 4 dt 2
∂v ∂v
3 + =v
∂t ∂s
Examples :
2
d 2y dy
1 + xy = 0 (ODE, 2nd order)
dx 2 dx
d 4x d 2x
2 + 5 + 3x = sin t (ODE, 4th order)
dt 4 dt 2
∂v ∂v
3 + = v (PDE,
∂t ∂s
Examples :
2
d 2y dy
1 + xy = 0 (ODE, 2nd order)
dx 2 dx
d 4x d 2x
2 + 5 + 3x = sin t (ODE, 4th order)
dt 4 dt 2
∂v ∂v
3 + = v (PDE, 1st order)
∂t ∂s
Examples :
2
d 2y dy
1 + xy = 0 (ODE, 2nd order)
dx 2 dx
d 4x d 2x
2 + 5 + 3x = sin t (ODE, 4th order)
dt 4 dt 2
∂v ∂v
3 + = v (PDE, 1st order)
∂t ∂s
∂2u ∂2u ∂2u
4 + + 2 =0
∂x 2 ∂y 2 ∂z
Examples :
2
d 2y dy
1 + xy = 0 (ODE, 2nd order)
dx 2 dx
d 4x d 2x
2 + 5 + 3x = sin t (ODE, 4th order)
dt 4 dt 2
∂v ∂v
3 + = v (PDE, 1st order)
∂t ∂s
∂2u ∂2u ∂2u
4 + + 2 = 0 (PDE,
∂x 2 ∂y 2 ∂z
Examples :
2
d 2y dy
1 + xy = 0 (ODE, 2nd order)
dx 2 dx
d 4x d 2x
2 + 5 + 3x = sin t (ODE, 4th order)
dt 4 dt 2
∂v ∂v
3 + = v (PDE, 1st order)
∂t ∂s
∂2u ∂2u ∂2u
4 + + 2 = 0 (PDE, 2nd order)
∂x 2 ∂y 2 ∂z
Examples :
2
d 2y dy
1 + xy = 0 (ODE, 2nd order)
dx 2 dx
d 4x d 2x
2 + 5 + 3x = sin t (ODE, 4th order)
dt 4 dt 2
∂v ∂v
3 + = v (PDE, 1st order)
∂t ∂s
∂2u ∂2u ∂2u
4 + + 2 = 0 (PDE, 2nd order)
∂x 2 ∂y 2 ∂z
dx dy
5 = f (x, y ), = g (x, y ), x = x(t), y = y (t).
dt dt
Santanu Dey Lecture 1
Examples
Further classification according to the appearance of the highest
derivative appearing in the equation is done now.
Definition
The order of a differential equation is the order of the highest
derivative in the equation.
Examples :
2
d 2y dy
1 + xy = 0 (ODE, 2nd order)
dx 2 dx
d 4x d 2x
2 + 5 + 3x = sin t (ODE, 4th order)
dt 4 dt 2
∂v ∂v
3 + = v (PDE, 1st order)
∂t ∂s
∂2u ∂2u ∂2u
4 + + 2 = 0 (PDE, 2nd order)
∂x 2 ∂y 2 ∂z
dx dy
5 = f (x, y ), = g (x, y ), x = x(t), y = y (t). (System of
dt dt
ODEs, 1st order)
Santanu Dey Lecture 1
Linear equations
Linear equations
dy
= −k · y
dt
dy
= −k · y
dt
where k is a physical constant whose value is found by experiments
dy
= −k · y
dt
where k is a physical constant whose value is found by experiments
(−k is called the decay constant).
dy
= −k · y
dt
where k is a physical constant whose value is found by experiments
(−k is called the decay constant).
Linear ODE of first order.
d 2θ g
+ sin θ = 0.
dt 2 L
d 2θ g
+ sin θ = 0.
dt 2 L
d 2θ g
+ sin θ = 0.
dt 2 L
ODE of
d 2θ g
+ sin θ = 0.
dt 2 L
d 2θ g
+ sin θ = 0.
dt 2 L
A body of mass m falls under the force of gravity. The drag force
due to air resistance is
A body of mass m falls under the force of gravity. The drag force
due to air resistance is c · v 2
A body of mass m falls under the force of gravity. The drag force
due to air resistance is c · v 2 where v is the velocity and c is a
constant
A body of mass m falls under the force of gravity. The drag force
due to air resistance is c · v 2 where v is the velocity and c is a
constant Then,
dv
m = mg − c · v 2 .
dt
A body of mass m falls under the force of gravity. The drag force
due to air resistance is c · v 2 where v is the velocity and c is a
constant Then,
dv
m = mg − c · v 2 .
dt
An ODE of first order.
A body of mass m falls under the force of gravity. The drag force
due to air resistance is c · v 2 where v is the velocity and c is a
constant Then,
dv
m = mg − c · v 2 .
dt
An ODE of first order. Linear or non-linear?
A body of mass m falls under the force of gravity. The drag force
due to air resistance is c · v 2 where v is the velocity and c is a
constant Then,
dv
m = mg − c · v 2 .
dt
An ODE of first order. Linear or non-linear? (NL)
A body of mass m falls under the force of gravity. The drag force
due to air resistance is c · v 2 where v is the velocity and c is a
constant Then,
dv
m = mg − c · v 2 .
dt
An ODE of first order. Linear or non-linear? (NL)
Examples :
1 y 00 + 5y 0 + 6y = 0
A body of mass m falls under the force of gravity. The drag force
due to air resistance is c · v 2 where v is the velocity and c is a
constant Then,
dv
m = mg − c · v 2 .
dt
An ODE of first order. Linear or non-linear? (NL)
Examples :
1 y 00 + 5y 0 + 6y = 0 - 2nd order, linear
A body of mass m falls under the force of gravity. The drag force
due to air resistance is c · v 2 where v is the velocity and c is a
constant Then,
dv
m = mg − c · v 2 .
dt
An ODE of first order. Linear or non-linear? (NL)
Examples :
1 y 00 + 5y 0 + 6y = 0 - 2nd order, linear
2 y (4) + x 2 y (3) + x 3 y 0 = xe x
A body of mass m falls under the force of gravity. The drag force
due to air resistance is c · v 2 where v is the velocity and c is a
constant Then,
dv
m = mg − c · v 2 .
dt
An ODE of first order. Linear or non-linear? (NL)
Examples :
1 y 00 + 5y 0 + 6y = 0 - 2nd order, linear
2 y (4) + x 2 y (3) + x 3 y 0 = xe x - 4th order, linear
A body of mass m falls under the force of gravity. The drag force
due to air resistance is c · v 2 where v is the velocity and c is a
constant Then,
dv
m = mg − c · v 2 .
dt
An ODE of first order. Linear or non-linear? (NL)
Examples :
1 y 00 + 5y 0 + 6y = 0 - 2nd order, linear
2 y (4) + x 2 y (3) + x 3 y 0 = xe x - 4th order, linear
3 y 00 + 5(y 0 )3 + 6y = 0
A body of mass m falls under the force of gravity. The drag force
due to air resistance is c · v 2 where v is the velocity and c is a
constant Then,
dv
m = mg − c · v 2 .
dt
An ODE of first order. Linear or non-linear? (NL)
Examples :
1 y 00 + 5y 0 + 6y = 0 - 2nd order, linear
2 y (4) + x 2 y (3) + x 3 y 0 = xe x - 4th order, linear
3 y 00 + 5(y 0 )3 + 6y = 0 - 2nd order, non-linear.
Given an equation, you would like to solve it. At least, try to solve
it.
Given an equation, you would like to solve it. At least, try to solve
it.
Questions:
Given an equation, you would like to solve it. At least, try to solve
it.
Questions:
1 What is a solution?
Given an equation, you would like to solve it. At least, try to solve
it.
Questions:
1 What is a solution?
2 Does an equation always have a solution?
Given an equation, you would like to solve it. At least, try to solve
it.
Questions:
1 What is a solution?
2 Does an equation always have a solution? If so, how many?
Given an equation, you would like to solve it. At least, try to solve
it.
Questions:
1 What is a solution?
2 Does an equation always have a solution? If so, how many?
3 Can the solutions be expressed in a nice form?
Given an equation, you would like to solve it. At least, try to solve
it.
Questions:
1 What is a solution?
2 Does an equation always have a solution? If so, how many?
3 Can the solutions be expressed in a nice form? If not, how to
get a feel for it?
Given an equation, you would like to solve it. At least, try to solve
it.
Questions:
1 What is a solution?
2 Does an equation always have a solution? If so, how many?
3 Can the solutions be expressed in a nice form? If not, how to
get a feel for it?
4 How much can we proceed in a systematic manner?
Given an equation, you would like to solve it. At least, try to solve
it.
Questions:
1 What is a solution?
2 Does an equation always have a solution? If so, how many?
3 Can the solutions be expressed in a nice form? If not, how to
get a feel for it?
4 How much can we proceed in a systematic manner?
order
Given an equation, you would like to solve it. At least, try to solve
it.
Questions:
1 What is a solution?
2 Does an equation always have a solution? If so, how many?
3 Can the solutions be expressed in a nice form? If not, how to
get a feel for it?
4 How much can we proceed in a systematic manner?
Given an equation, you would like to solve it. At least, try to solve
it.
Questions:
1 What is a solution?
2 Does an equation always have a solution? If so, how many?
3 Can the solutions be expressed in a nice form? If not, how to
get a feel for it?
4 How much can we proceed in a systematic manner?
Given an equation, you would like to solve it. At least, try to solve
it.
Questions:
1 What is a solution?
2 Does an equation always have a solution? If so, how many?
3 Can the solutions be expressed in a nice form? If not, how to
get a feel for it?
4 How much can we proceed in a systematic manner?
Definition
A explicit solution of the ODE y (n) = f (x, y , y 0 , · · · , y (n−1) ) on the
interval α < x < β is a function φ(x) such that φ0 , φ00 , · · · , φ(n) exist and
satisfy
φ(n) (x) = f (x, φ, φ0 , · · · , φ(n−1) ),
for every x in α < x < β.
Santanu Dey Lecture 1
Implicit solution & Formal solution
Definition
A relation g (x, y ) = 0 is called an implicit solution of
y (n) = f (x, y , y 0 , · · · , y (n−1) ) if this relation defines at least one function
φ(x) on an interval α < x < β, such that, this function is an explicit
solution of y (n) = f (x, y , y 0 , · · · , y (n−1) ) in this interval.
Examples :
1 x 2 + y 2 − 25 = 0 is an implicit solution of x + yy 0 = 0 in
−5 < x < 5, because it defines two functions
p p
φ1 (x) = 25 − x 2 , φ2 (x) = − 25 − x 2
Examples :
1 x 2 + y 2 − 25 = 0 is an implicit solution of x + yy 0 = 0 in
−5 < x < 5, because it defines two functions
p p
φ1 (x) = 25 − x 2 , φ2 (x) = − 25 − x 2
Examples :
1 x 2 + y 2 − 25 = 0 is an implicit solution of x + yy 0 = 0 in
−5 < x < 5, because it defines two functions
p p
φ1 (x) = 25 − x 2 , φ2 (x) = − 25 − x 2
y (0) = 1.
y (0) = 1.
y (0) = 1.
y (0) = 1.
y = e −kt