Evaluate $\int \frac{2-x^3}{(1+x^3)^{3/2}} dx$ 
Evaluate:
$$\int \frac{2-x^3}{(1+x^3)^{3/2}} dx$$

I could find the integral by setting it equal to $$\frac{ax+b}{(1+x^3)^{1/2}}$$
and differentiating both sides w.r.t.$x$ as
$$\frac{2-x^3}{(1+x^3)^{3/2}}=\frac{a(1+x^3)^{3/2}-(1/2)(ax+b)3x^2(1+x^3)^{-1/2}}{(1+x^3)}$$$$=\frac{a-ax^3/2-3bx^2}{(1+x^3)^{3/2}}$$
Finally by setting $a=2,b=0$, we get $$I(x)=\frac{2x}{(1+x^3)^{1/2}}+C$$
The question is: How to do it otherswise?

@ClaudeLeibovici has a point, because what you did is a well-worn technique, that of using an Ansatz. The basic idea is to make an educated guess as to the form of the solution, then make it more specific with your calculations, as you did. So it's worth understanding what makes a specific Ansatz a sensible starting point:

*

*It makes sense to assume a $(1+x^2)^{-3/2}$ factor results from differentiating $(1+x^2)^{-1/2}$: if nothing else, integration by parts makes sense of that.

*You could have started with a more general Ansatz, $I(x)=f(x)(1+x^3)^{-3/2}$, so the problem is equivalent to $(x^3+1)f^\prime-\tfrac32x^2f=2-x^3$. Since constant $f$ doesn't solve this, it's natural to try a linear $f$ next, which worked for you.

Maybe this answer isn't what you were looking for, but it's important to understand how to use an Ansatz as more than an accident.
