Exact Differential Equations
The total differential
of a function
is defined by
. Suppose that we can write a differential equation as
. If
is the partial derivative of
with respect to
, and
is the partial derivative of
with respect to
, then
is said to be an exact differential, and the equation
is called an exact differential equation. It is easy to test when an equation is an exact differential equation, since that is the case if and only if
. Once we check that the equation is exact we use the following formula for
.
. To faciliate calulations we introduce the following operator
> Ex:=int(M(x,y),x)+int((N(x,y)-int(diff(M(x,y),y),x)),y);
(Here Ex stands for exact.)
Example: Solve the equation
.
Example: Solve
.
Often a differential equation of the form
is not exact, but it could be made exact by multiplying both sides with another function
. In general, finding
is very difficult. We will only consider two special cases when the difference
is
times a function of
, or
times a function of
. In the first case we define
, while in the second case we define
. Then
in the first case, and
in the second case.
Example: Solve
.