Example 3: Solve [Maple Math] .

Solution: We can solve this equation by separating the variables as follows. [Maple Math] and this can be factored as [Maple Math] , and finally we are able to separate variables by writting the original equation as [Maple Math] . At this point we use Maple to finish the job

> int(1/(2-y),y)=int(x^2-x-1,x);

[Maple Math]

We can write this solution in explicit form using Maple command solve by solving the previcolor=#000000>by solving the previous expression in [Maple Math] .

> solve(%,y);

[Maple Math]

To check that this is indeed a solution of the original problem we first make the previous expression as a function of [Maple Math] . Remember this is done using Mapple command unapply together with Maple short way of denoting previous expressions, that is together with % .

> y:=unapply(%,x);

[Maple Math]

Now we plug this [Maple Math] in the original equation and use Maple command simplify to check that this is indeed a solution.

> simplify(diff(y(x),x)-(2*x^2+y(x)-x^2*y(x)+x*y(x)-2*x-2));

[Maple Math]

0 alt="[Maple Math]">