Compute a monster integal [duplicate]

We had to compute the integral $$\int \frac{3}{x^3-1} dx$$ I am just starting to learn about integration, and I have no idea how to begin. Can you please help me solve this? Even a hint would be very helpful. Thank you in advance!

P.S. This question is not really a duplicate because the numerator is 3 not 1, so it is harder. If it were 1, I could do it easily.

• Do you know Partial fraction decomposition? May 8 '18 at 2:40
• Are you familiar with partial fractions? May 8 '18 at 2:40
• If so, you can break the denominator into two parts:$(x-1)$ and $(x^2+1+x)$. May 8 '18 at 2:41
• Did you really have to post it here to get your "brother" to do it for you? May 8 '18 at 4:11
• what do you mean?
– user547340
May 8 '18 at 5:43

Using partial fraction decomposition, you get (as Macrophange said) $$\int (\frac {1}{x-1}-\frac {x+2}{x^2+x+1}) dx$$ The left is straightforward: $$\int (\frac {1}{x-1}) dx =\log |x-1|+C$$ The right is more complicated, because I cannot factor the demonstrator, and I tried the Chain Rule, which unfortunately did not work. (I got $u=x^2+x+1$ gives $du=(2x+1) dx$, which is not the denominator) However, I found that we can force this substitution to match partially, by $\frac {x+2}{x^2+x+1}=\frac{1}{2}\cdot\frac {2x+1}{x^2+x+1}+\frac{3}{2}\cdot\frac {1}{x^2+x+1}$. Now, on the first summand, applying the chain rule gives us $$\int (\frac{1}{2}\cdot\frac {2x+1}{x^2+x+1}) dx=\int (\frac{1}{2}\frac {du}{u})=\frac {1}{2} \log|u|+C=\frac {1}{2} \log|x^2+x+1|+C$$ The second term that is left, $\frac{3}{2}\cdot\frac {1}{x^2+x+1}$, looks suspiciously like the arctangent, but with an extra linear term. We can make it closer by completing the square in the denominator, which results in $$\frac {1}{(x+\frac {1}{2})^2+\frac {3}{4}}$$. We evaluate the antiderivative of this via trig substitution, and I don't think you have learned it yet. If you do, you can do the rest by yourself. The answer is a true monster: $$\log |x-1|-\frac{1}{2} \log|x^2+x+1|-\sqrt {3}\tan^{-1}(\frac {2}{\sqrt 3} (x+\frac {1}{2})+C$$ Whew!

• Took me some time to work it out. May 8 '18 at 3:05
• Thank you, but can you please work out the trig substitution?
– user547340
May 8 '18 at 4:07

Hint: Use partial fraction decomposition. The gist is that you have to factor the denominator into linear terms$(ax+b)$ or irreducible quadratic terms$(ax^2+bx+c)$. Next, you expand the fraction into several simpler fractions to integrate. Try it yourself to find some patterns, :)

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

And then you can proceed to find the indefinite integral of each part in the integrand(Hint: you should get $\ln(\dots)$ and $\arctan(\dots)$). You can derive the arctan part with completing squares and trigonometric substitution.