How do you integrate 1/(x^2+x+1) 1x2+x+1 using partial fractions?

1 Answer
Jan 27, 2017

int (dx)/(x^2+x+1) = 2/(sqrt(3))arctan( (2x+1)/sqrt(3)) +Cdxx2+x+1=23arctan(2x+13)+C

Explanation:

As the denominator does not have real roots, we can proceed in a different way than using partial fractions.

Start by completing the square in the denominator of the integrand functions:

1/(x^2+x+1) = 1/((x+1/2)^2+3/4) = 4/((2x+1)^2+3) = 4/3 1/(((2x+1)/sqrt(3))^2+1)1x2+x+1=1(x+12)2+34=4(2x+1)2+3=431(2x+13)2+1

Now substitute:

t= (2x+1)/sqrt(3)t=2x+13

dt= 2/sqrt3dxdt=23dx

int (dx)/(x^2+x+1) = 2/(sqrt(3)) int (dt)/(t^2+1) = 2/(sqrt(3))arctan t +Cdxx2+x+1=23dtt2+1=23arctant+C

and substituting back xx:

int (dx)/(x^2+x+1) = 2/(sqrt(3))arctan( (2x+1)/sqrt(3)) +Cdxx2+x+1=23arctan(2x+13)+C