Example: Solve [Maple Math] .

Here

> N:=(x,y)->3*x^2-y^2;M:=(x,y)->-2*x*y;

[Maple Math]

[Maple Math]

> diff(M(x,y),y)-diff(N(x,y),x);

[Maple Math]

Since the difference is not zero, this is not an exact equation. But

> %/M(x,y);

[Maple Math]

is an equation of [Maple Math] only so we can solve it using an ir=#000000> only so we can solve it using an integrating factor.

> K:=unapply(-%,(x,y));exp(int(K(x,y),y));

[Maple Math]

[Maple Math]

So if we multiply the wole equation with [Maple Math] , the resulting equation will be exact.

> M:=(x,y)->1/y^4*(-2*x*y);N:=(x,y)->1/y^4*(3*x^2-y^2);

[Maple Math]

[Maple Math]

> Ex;

[Maple Math]

Hence the solution is [Maple Math] .

=#000000>.