I was working on this problem also. With all due respect, I am not sure I understand Sam Z.'s answer.
Here how I would do it...and it is straight forward, but messy.
First break the integrand into 2 pieces [1/(1+x3)] and [x2/(1+x3)]
The 2nd term integrates as a ln (1+x3).
Decompose the 2nd term into partial fractions:
1/(1+x3) = A/(1+x) + [(Bx+C)/(1-x+x2)
When I did this I got A=1/3, B=-1/3 and C = 2/3
The term in A integrates as a ln (1+x)
The 2nd term again integrates in 2 parts:
You get a term in ln(1-x+x2) and then a term in arctan by completing the square in the denominator.
Messy as I said...and if you can get clear what Sam Z.was writing, maybe his solution is easier and better.
Umut E.
Thank you! I've tried breaking it into those two pieces but it got very messy very fast as you said, and I gave up. But I can't find another way, so I guess I'll go with that.05/10/20