Definition

A first-order ODE , written as is called an exact ODE if is exact.

Solution

If is exact, (for some ) and

If we only know ^[by Clairaut’s Theorem ] where is determined by and is determined by

Finding or

Differentiate  with respect to  

Substitute  in the original expression 



or, similar to above, find  in the expression below (where is determined by )

Examples

&\left( \frac{y}{x} + 4x \right)dx + \left( \ln x - 3 \right)dy = 0\\ &\frac{\partial \left( \frac{y}{x} + 4x \right)}{\partial y} = \frac{\partial \left( \ln x - 3 \right)}{\partial y} = \frac{1}{x}: \text{Exact ODE}\\ &\int\left( \frac{y}{x} + 4x \right)dx = y\ln|x|+2x^{2} + h(y) = f\\ &f_{y} = \ln|x|+h'(y) = \ln|x|-3 \Rightarrow h(y) = -3y + C\\ &f = y\ln|x|+2x^{2} - 3y = C \end{aligned}$$ # Facts > If $u(x, y)$ can be expressed the form of $du = Mdx + Ndy$^[result of [[Total differntial]]], $u$ is exact ^632ad5 > $Mdx + Ndy = du =0$ is exact $\Leftrightarrow \frac{\partial M}{\partial y} + \frac{\partial N}{\partial x} = \frac{\partial u}{\partial x}dx + \frac{\partial u}{\partial y}dy$ (i.e. $M_y = N_x$)