If the expression M ( x , y ) d x + N ( x , y ) d y = 0 {\displaystyle M(x,y)dx+N(x,y)dy=0} is not exact or homogeneous, an integrating factor I ( x ) {\displaystyle I(x)} can be found so that the equation: I ( x ) M ( x , y ) d x + I ( x ) N ( x , y ) d y = 0 {\displaystyle I(x)M(x,y)dx+I(x)N(x,y)dy=0} is exact.
There are 2 approaches to a solution.