The differential equation

is considered exact if
(where subscripts denote partial derivatives). If it is exact, then its general solution is an implicit function
such that
and
.
We have


and
, so the equation is indeed exact.
Now, the solution
satisfies

Integrating with respect to
, we get


and differentiating with respect to
, we get


Then the general solution to the exact equation is
