The problem is, as stated:


I tried using substitution: $t^3 = x^3 + 1$ but didn't get far with that. I also tried setting: $t = x^3 + 1$, with no luck again.

I tried partial decomposition but I didn't know how to integrate $$\int\frac{1}{x^2-x+1}$$ and I kept getting that term when expanding $x^3 + 1$

Any help would be much appreciated.

  • $\begingroup$ @ Luka Duranovic use $x^2-x+1=(x-\frac12)^2+\frac34$ $\endgroup$
    – Minz
    Apr 7 '18 at 11:16

Hint for the last integral


  • $\begingroup$ yw @LukaDuranovic ...then substitute to get the arctan function $\endgroup$
    – MtGlasser
    Apr 7 '18 at 11:19
  • 1
    $\begingroup$ Right. You can always complete the square to get arctan for something like that. $\endgroup$ Apr 7 '18 at 11:19
  • $\begingroup$ I smell some kind of fishy in my second method of the answer I posted can you please give it a look whether it is good or is there any mistake $\endgroup$ Apr 7 '18 at 16:52

$$\int\frac {1}{x^2-x+1} dx=\int\frac {1}{(x-\frac{1}{2})^2 +\frac{3}{4}}dx$$ And that take $x-\frac{1}{2}=t$. Always use $ax^2+bx+c=a(x+\frac{b}{2a}) ^2 - \frac{b^2-4ac}{4a}$


Method 1

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

Put $u=x-1/2$

Hence $$\frac 43\int \frac {dx}{1+\frac {4(x-1/2)^2}{3}} =\frac 43\int \frac {du}{1+\frac {4u^2}{3}}$$

And note that $$\int \frac {dx}{1+x^2}=\arctan x$$

I hope you can take it from here


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.