Professional Documents
Culture Documents
MA108 Lecture 2 D3
MA108 Lecture 2 D3
MA108 Lecture 2 D3
Lecture 2
Debanjana Mitra
Department of Mathematics
Indian Institute of Technology Bombay
Powai, Mumbai - 76
Exact ODE’s
Warm up!
4. The DE dydx =
2yx+cos x
1+x 2 is linear & separable & Homogeneous.
Qn. TRUE OR FALSE?
Ans. False, Linear but neither separable nor homogeneous form.
Initial Value Problem for first order ODE
Definition
Initial value problem (IVP) : A DE along with an initial condition is an
IVP.
y 0 = f (x, y ), y (x0 ) = y0 .
A solution of the above Initial Value Problem for first order ODE is a
real-valued function φ defined on an interval (α, β) containing x0 such
that φ0 (·), the derivative of φ, exists on the interval (α, β) satisfying
mgR 2
w (x) = − ,
(R + x)2
d 2x mgR 2
m = − ; v (0) = v0 .
dt 2 (R + x)2
Separable ODE’s
By chain rule,
d 2x dv dv dx dv
= = · =v· .
dt 2 dt dx dt dx
Thus,
dv gR 2
v· =− .
dx (R + x)2
This ODE is separable. Linear or non-linear? (NL)
Separating the variables and integrating, we get:
v2 gR 2
= + c.
2 R +x
v02 v02
For x = 0, we get 2 = gR + c, hence, c = 2 − gR, and,
r
2gR 2
v = ± v02 − 2gR + .
R +x
Separable ODE’s
Definition
A function f : Rn → Rn is called homogeneous if for some d ∈ Z
for all t 6= 0 and for all (x1 , . . . , xn ) ∈ Rn . The number d is called the
degree of f (x1 , . . . , xn ).
Examples:
f (x, y ) = x 2 + xy + y 2 is homogeneous of degree 2.
f (x, y ) = y + x cos2 yx is homogeneous of degree 1.
Definition
The first order ODE
dy
M(x, y ) + N(x, y ) =0
dx
is called homogeneous if M and N are homogeneous of the same degree.
Solving first order homogeneous ODE’s
Consider
dy
M(x, y ) + N(x, y )
=0
dx
where M and N are homogeneous of degree d. Put
y = xv .
Then,
dy dv
=x + v.
dx dx
Substituting this in the given ODE, we get:
dv
M(x, xv ) + N(x, xv ) x + v = 0.
dx
Thus,
d d dv
x M(1, v ) + x N(1, v ) x +v = 0.
dx
Solving first order homogeneous ODE’s Continued
d d dv
x M(1, v ) + x N(1, v ) x +v = 0.
dx
Let x 6= 0. Then,
dv
M(1, v ) + N(1, v ) · v + N(1, v ) · x = 0.
dx
Thus,
dx N(1, v )
+ dv = 0.
x M(1, v ) + N(1, v ) · v
This is a separable equation.
NOTE: The above method can be applied to any ODE which takes the
form
y
y 0 = f ( ).
x
Remark
Thus,
ln |x| + ln(v 2 + 1) − ln |v | = c.
Hence,
x(v 2 + 1)
= c,
v
or
y 2 + x 2 = cy ,
which is c 2 c2
x2 + y − = .
2 4
Homogeneous ODE’s
The direction field is H(x, y ) = (1, x 22xy
−y 2 ).
So far, we saw how to solve separable ODE’s and ODE’s which can be
put into the form
y
y 0 = f ( ).
x
I If the ODE is separable, just integration is enough to solve it.
I The homogeneous ODE’s can be converted to separable ODE’s by
the substitution y = vx.
Now, we will look at another class of first order ODE’s - exact ODE’s.
Exact ODE’s
Definition
Let M(x, y ) and N(x, y ) be defined and continuous for all (x, y ) ∈ R,
where R is an open rectangle in R2 . A first order ODE
M(x, y ) + N(x, y )y 0 = 0 is called exact on the open rectangle R if there
is a function u := u(x, y ) such that
∂u ∂u
(x, y ) = M(x, y ) & (x, y ) = N(x, y ), ∀ (x, y ) ∈ R.
∂x ∂y
Then
dy ∂u ∂u dy d
M(x, y ) + N(x, y ) = + = u (x, φ(x))
dx ∂x ∂y dx dx
and the differential equation
dy
M(x, y ) + N(x, y ) =0
dx
becomes
d
u (x, φ(x)) = 0.
dx
Solutions are given implicitly by
u(x, y ) = c
x 2 + xy 2 = constant.
Definition
let D be an open region of R2 and M(x, y ) and N(x, y ) be defined for all
(x, y ) ∈ D. The differential form
∂M ∂N
(x, y ) = (x, y ), ∀ (x, y ) ∈ D
∂y ∂x
Proposition
Let M, N and their first order partial derivatives exist and be continuous
in a region D ⊆ R2 .
(i) If M(x, y )dx + N(x, y )dy is an exact differential form, then it is
closed.
(ii) If D is convex, then any closed form is exact.
Proof: (i) Let the differential form is exact, i.e., there exists a function
u(x, y ) with continuous first order derivatives for all (x, y ) ∈ D such that
M(x, y ) = ∂u ∂u
∂x (x, y ) and N(x, y ) = ∂y (x, y ). Then,
∂2u ∂2u
My (x, y ) = (x, y ) & Nx (x, y ) = (x, y ).
∂y ∂x ∂x∂y