<s>[INST] Help in finding the integral function. Can somebody provide a hint in finding the following integral? $$\displaystyle \int \dfrac{1}{(x^3+1)^3} \text{ d}x$$ I thought of using partial fractions but that isn't making any sense.
 [/INST] Remember that $x^3+1 = (x+1)(x^2-x+1)$.  That quadratic polynomial cannot be factored using real numbers, since the discriminant ($b^2-4ac\vphantom{\dfrac\int\int}$) is negative.  So
$(x^3+1)^3 = (x+1)^3 (x^2-x+1)^3$.  That should tell you what the partial fraction decomposition is.
To handle $x^2-x+1$, one (of course) completes the square:
\begin{align}
x^2-x+1 & = \left( x^2 - x + \frac 1 4\right) + \frac 3 4 \\[10pt]
& = \left( x - \frac 1 2 \right)^2 + \frac 3 4 \\[10pt]
& = \frac 3 4 \left( 1 + \left( \frac{2x-1}{\sqrt 3} \right)^2 \right).
\end{align}
Then $\tan\theta = \dfrac{2x-1}{\sqrt 3}$ and $1+\tan^2\theta=\sec^2\theta$ and $\sec^2\theta\,d\theta = \dfrac{2\,dx}{\sqrt 3}$, etc. 
</s>