Integral of 1/x^3+1

∫1x3+1⁢dx the integral of the fraction with numerator 1 and denominator x cubed plus 1 d x

Factor denominator: (x+1)⁢(x2-x+1) open paren x plus 1 close paren times open paren x squared minus x plus 1 close paren

Partial fractions: Ax+1+B⁢x+Cx2-x+1=1x3+1 the fraction with numerator A and denominator x plus 1 plus the fraction with numerator B x plus C and denominator x squared minus x plus 1 equals the fraction with numerator 1 and denominator x cubed plus 1

Clear denominators: A⁢(x2-x+1)+(B⁢x+C)⁢(x+1)=1 A times open paren x squared minus x plus 1 close paren plus open paren B x plus C close paren times open paren x plus 1 close paren equals 1

Let x=-1:3⁢A=1 x equals negative 1 colon 3 A equals 1 so A=13 A equals one third

Let x=0:A+C=1 x equals 0 colon A plus C equals 1 or 13+C=1 one third plus C equals 1 or C=23 C equals two thirds

Let x=1:A+(B+C)⁢2=1 x equals 1 colon A plus open paren B plus C close paren times 2 equals 1 or 13+(B+23)⁢2=1 one third plus open paren B plus two thirds close paren times 2 equals 1
or 13+2⁢B+43=1 one third plus 2 B plus four thirds equals 1
or 53+2⁢B=1 five thirds plus 2 B equals 1
or 2⁢B=-23 2 B equals negative two thirds
thus B=-13 B equals negative one third

Thus the integral is: ∫13x+1⁢dx+∫-13⁢x+23x2-x+1⁢dx the integral of the fraction with numerator one third and denominator x plus 1 d x plus the integral of the fraction with numerator negative one third x plus two thirds and denominator x squared minus x plus 1 d x

The first integral is easy: 13⁢ln⁡|x+1| one third l n of the absolute value of x plus 1

The second integral:
factor out the -13 negative one thirdto get -13⁢∫x-2x2-x+1⁢dx negative one third the integral of the fraction with numerator x minus 2 and denominator x squared minus x plus 1 d x
multiply and divide by 2:-16⁢∫2⁢x-4x2-x+1⁢dx 2 colon negative one sixth the integral of the fraction with numerator 2 x minus 4 and denominator x squared minus x plus 1 d x
subtract and add 1 1 in numerator: -16⁢∫2⁢x-1x2-x+1⁢dx-16⁢∫-3x2-x+1⁢dx negative one sixth the integral of the fraction with numerator 2 x minus 1 and denominator x squared minus x plus 1 d x minus one sixth the integral of the fraction with numerator negative 3 and denominator x squared minus x plus 1 d x
the first integral is: -16⁢ln⁡|x2-x+1| negative one sixth l n of the absolute value of x squared minus x plus 1

To solve the last integral, complete the square: -16⁢∫-3x2-x+14-14+1⁢dx negative one sixth the integral of the fraction with numerator negative 3 and denominator x squared minus x plus one fourth minus one fourth plus 1 d x
factor: -16⁢∫-3(x-12)2+34⁢dx negative one sixth the integral of the fraction with numerator negative 3 and denominator open paren x minus one half close paren squared plus three fourths d x
integrate: -16⋅(-3)⋅23⁢arctan⁡(x-1232) negative one sixth times negative 3 times the fraction with numerator 2 and denominator the square root of 3 the arc tangent of open paren the fraction with numerator x minus one half and denominator the fraction with numerator the square root of 3 and denominator 2 close paren
Simplify: 13⁢arctan⁡(2⁢x-13) the fraction with numerator 1 and denominator the square root of 3 the arc tangent of open paren the fraction with numerator 2 x minus 1 and denominator the square root of 3 close paren

Put all three together

13⁢ln⁡|x+1|-16⁢ln⁡|x2-x+1|+13⁢arctan⁡(2⁢x-13)+C one third l n of the absolute value of x plus 1 minus one sixth l n of the absolute value of x squared minus x plus 1 plus the fraction with numerator 1 and denominator the square root of 3 the arc tangent of open paren the fraction with numerator 2 x minus 1 and denominator the square root of 3 close paren plus C