0% found this document useful (0 votes)
60 views4 pages

Understanding Exact Differential Equations

The document discusses exact differential equations and their connection to conservative vector fields, emphasizing that an exact equation holds if the partial derivatives satisfy a specific condition. It outlines strategies for solving these equations by integrating the components and provides examples to illustrate the process. Additionally, it mentions special integrating factors that can be used for linear and nonlinear equations to transform them into exact equations.

Uploaded by

javanjicer
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
60 views4 pages

Understanding Exact Differential Equations

The document discusses exact differential equations and their connection to conservative vector fields, emphasizing that an exact equation holds if the partial derivatives satisfy a specific condition. It outlines strategies for solving these equations by integrating the components and provides examples to illustrate the process. Additionally, it mentions special integrating factors that can be used for linear and nonlinear equations to transform them into exact equations.

Uploaded by

javanjicer
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Exact Equations

June 13, 2016

1 Connection to Conservative Vector Fields


In vector calculus, we studied two dimensional vector fields

F (x, y) = (M (x, y), N (x, y)). (1)

For every point (x, y) in the plane, we have a vector F (x, y) with x component M (x, y) and y component
N (x, y).
If the vector field is called conservative, the F if the line integral is path independent between two
points, i.e. the value of integral from a point A to a point B does not depend on the choice of path. In these
cases, F can be realized as the gradient of a scalar function f , called the potential. Thus,
 
∂ ∂
F (x, y) = ∇f (x, y) = f (x, y), f (x, y) .
∂x ∂y
In this case, the vector field F is perpendicular to the level sets of f .
For f (x, y), choose a point (x0 , y0 ) in the domain of f . Define the function y(x) to be a level curve for
f . Then

f (x, y(x)) = c
d
f (x, y(x)) = 0
dx
∂ ∂ dy
f (x, y(x)) + f (x, y(x)) = 0, by the chain rule
∂x ∂y dx
(2)

One identity of conservative field is that its curl is 0. To check this, note that
∂ ∂
∇ × F (x, y) = M (x, y) − N (x, y)
∂y ∂x
∂ ∂ ∂ ∂
= f (x, y) − f (x, y) = 0
∂y ∂x ∂x ∂y
if are able to reverse the order of differentiation. Thus, if (1) is a conservative field,
∂ ∂
M (x, y) = N (x, y). (3)
∂y ∂x

1
To reverse the order of thinking, the differential equation,
dy
M (x, y) + N (x, y) =0 (4)
dx
is called exact if the relation (3) holds. In this case, the vector field (1) is conservative and, thus, has a
potential f . If we define F (x, y) = ∇f (x, y), then by (2), we have a solution to (4).
Exercise 1. Show that
dy
a01 (x)y + a1 (x) =0 (5)
dx
is exact.
Recall that we started with a linear differential equation,
dy
+ P (x)y = Q(x)
dx
and found an integrating factor µ(x) so that the equation had the form in (5).

2 Strategies for Solving Exact Differential Equations


For an exact first order differential equation, we have that

M (x, y) = f (x, y).
∂x
Thus, we integrate M with respect to x, leaving y variable,
Z
f (x, y) = M (x, y)dx + g(y).

Here, the constant of integration is a function of y. Next note that


Z
∂ ∂
N (x, y) = f (x, y) = M (x, y)dx + g 0 (y).
∂y ∂y
We complete by identifying g 0 (y) and integrating. Alternatively,

N (x, y) = f (x, y)
∂y
and we integrate N with respect to y, leaving x variable,
Z
f (x, y) = N (x, y)dy + h(x).

with the constant of integration now a function of x. Also


Z
∂ ∂
M (x, y) = f (x, y) = M (x, y)dx + h0 (x).
∂x ∂x
Finally, we compete the solution by identifying h0 (x) and integrating.

2
3 Examples
Example 2. First we check that the differential equation
dy
6xy + 3(x2 − y 2 ) = 0, quady(0) = 1 (6)
dx
is exact.
M (x, y) = 6xy and N (x, y) = 3(x2 − y 2 )
The partial derivatives
∂ ∂
M (x, y) = 6x and N (x, y) = 6x
∂y ∂x
show that the differential equation is exact. To find an implicit solution, we integrate M with respect to x
Z
f (x, y) = 6xy dx = 3x2 y + g(y).

Then we differentiate to find N



N (x, y) = f (x, y) = 3x2 + g 0 (y).
∂y
Next, the integratipn
g 0 (y) = −3y 2 and g(y) = −y 3
completes the implicit solution.
f (x, y) = 3x2 y − y 3 = c.
To determine c, use the initial condition

c = f (0, 1) = 3 · 02 · 1 − 13 = −1.

Exercise 3. Find the solution to (6) by first integrating N .


Example 4. For
dy
(2xy − 9x2 ) + (2y + x2 + 1) = 0, y(0) = −3,
dx
we have
M (x, y) = 2xy − 9x2 and N (x, y) = 2y + x2 + 1
The partial derivatives
∂ ∂
M (x, y) = 2x and N (x, y) = 2x.
∂y ∂x
So the equation is exact. Next we integrate,
Z
f (x, y) = (2xy − 9x2 )dx + g(y) = x2 y − 3x2 + g(y).

We now find N in terms of this expression for f , i.e.,



N (x, y) = f (x, y) = x2 + g 0 (y)
∂y

3
So,
g 0 (y) = 2y + 1 and g(y) = y 2 + y.
Together, we have Z
f (x, y) = (2xy − 9x2 )dx + g(y) = x2 y − 3x2 + y 2 + y. (7)

The general implicit solution is


x2 y − 3x2 + y 2 + y. = c.
With the initial condition,
c = 02 · (−3) + (−3) · 02 − (−3)2 + (−3) = 6.

We always have the alternative course.


Z
f (x, y) = (2y + x2 + 1)dy + g(y) = y 2 + x2 y + y + h(x)


M (x, y) = f (x, y) = 2xy + h0 (x).
∂x
Returning to the expression for M , we find

h0 (x) = −9x2 and h(x) = −3x2

yielding the same expression (7).


Exercise 5. Use the quadratic formula, to find an explicit solution for the differential equation above. Use
the initial condition the choose which of the two solutions from the quadratic formula solves the differental
equation.
Exercise 6. Determine whether the equation is exact. If it is, then solve it.
 
dy
• 3y − yx2 dx + y1 = 0.

dy
• 2xy dx + cos(x) + y 2 = 0, y(1) = π.

4 Special Integrating Factors


For linear equations, we were able to find an integrating factor µ by solving an auxillary differential equation.
Because this equation could be solved by separation of variables, we could generally find µ. Sometimes a
transformation of the variables results in a linear equation.
Other times, a similar approach can be considered for nonlinear equations that transform them into exact
eqations. In this case the differential equation that defines the integrating factor may be harder to solve
than the original differential equation. However, some special forms of this equation can be solved and these
from the basis for the integrating factor.

You might also like