Professional Documents
Culture Documents
Mas201cd-0306 (2 4)
Mas201cd-0306 (2 4)
§2.4
March 6, 2024
1 / 12
Chapter 2
First-Order Differential Equations
§2.1 Solution Curves Without a Solution
§2.2 Separable Equations
§2.3 Linear Equations
§2.4 Exact Equations
§2.5 Solutions by Substitutions
§2.6 A Numreical Method
..
.
2 / 12
Differential of a Function of Two Variables
The differential of a two variable function z = f (x , y ) is
∂f ∂f
dz = dx + dy (1)
∂x ∂y
If two variables x , y are related by the equation f (x , y ) = c, then
∂f ∂f
dx + dy = 0 (2)
∂x ∂y
∂M ∂N
= . (4)
∂y ∂x
4 / 12
Proof of Theorem (2.4.1) (The Necessity Part).
For simplicity, we assume that M(x , y ) and N(x , y ) have
continuous first partial derivatives for all (x , y ). If the differential
M(x , y )dx + N(x , y )dy is exact, there is a function f (x , y ) such
that
∂f ∂f
M(x , y )dx + N(x , y )dy = dx + dy
∂x ∂y
for all (x , y ) in R. Therefore,
∂f ∂f
M(x , y ) = , N(x , y ) =
∂x ∂y
and
∂M ∂ ∂f ∂2f ∂2f ∂ ∂f ∂N
= = = = =
∂y ∂y ∂x ∂y ∂x ∂x ∂y ∂x ∂y ∂x
The equality of mixed partials is a consequene of the continuity of
the first partial derivatives of M(x , y ) and N(x , y ).
The sufficiency part of the proof will be the same as the
construction of the function f (x , y ).
5 / 12
Method of Solution for M(x , y )dx + N(x , y )dy = 0
Suppose the functions M(x , y ) and N(x , y ) satisfy the equality
∂M/∂y = ∂N/∂x . We first find a function f (x , y ) satisfying
∂f /∂x = M(x , y ). Let
Z
f (x , y ) = M(x , y )dx + g(y ) (5)
∂
Z Z
f (x , y ) = N(x , y )dy +h(x ), h0 (x ) = M(x , y )− N(x , y )dy
∂x
6 / 12
Example (1) (Solving an Exact Differential Equation)
Solve 2xy dx + (x 2 − 1)dy = 0.
Solution
Let M(x , y ) = 2xy and N(x , y ) = x 2 − 1, then
∂M ∂N
= 2x = .
∂y ∂x
Therefore the DE is exact.
We find f (x , y ) satisfying ∂f /∂x = M and ∂f /∂y = N as follows.
Z
f (x , y ) = N(x , y )dy + h(x ) = (x 2 − 1)y + h(x )
∂ ∂
Z
h0 (x ) = M(x , y ) − N(x , y )dy = 2xy − [(x 2 − 1)y ] = 0
∂x ∂x
f (x , y ) = (x 2 − 1)y + c1 ⇒ (x 2 − 1)y + c1 = c2 ⇒ (x 2 − 1)y = c
dµ My − Nx R
= µ ⇒ µ(x ) = e (My −Nx )/Ndx
dx N
If µ = µ(y ), then µx = 0 and we have
dµ Nx − M y R
= µ ⇒ µ(y ) = e (Nx −My )/Mdy
dy M
11 / 12
Example (4) (A Nonexact DE Made Exact)
The nonlinear 1st-order DE xy dx + (2x 2 + 3y 2 − 20)dy = 0 is
not exact. Let M = xy and N = 2x 2 + 3y 2 − 20. Then
M y − Nx x − 4x Nx − My 4x − x 3
= 2 and = =
N 2x + 3y 2 − 20 M xy y
R
3/y dy
We take µ(y ) = e = e 3 ln y = y 3 as an integrating factor.
Now we solve
Then
Z
f (x , y ) = (2x 2 y 3 + 3y 5 − 20y 3 )dy = 12 x 2 y 4 + 12 y 6 − 5y 4 + h(x )
∂ 1 2 4 1 6
h0 (x ) = xy 4 − ( x y + 2 y − 5y 4 ) = 0 ⇒ h(x ) = c1
∂x 2
1 2 4
Finally we obtain a family of solutions 2x y + 21 y 6 − 5y 4 = c.
12 / 12