Question
Question: $\int \frac{dx}{x^2+x+1} =$...
∫x2+x+1dx=

Answer
32tan−1(32x+1)+C
Explanation
Solution
To evaluate the integral ∫x2+x+1dx, we need to complete the square in the denominator.
The denominator is x2+x+1. To complete the square for a quadratic expression of the form ax2+bx+c, we can write it as a(x+2ab)2+c−4ab2. In this case, a=1, b=1, c=1. So, x2+x+1=(x+21)2+1−4(1)12 =(x+21)2+1−41 =(x+21)2+44−1 =(x+21)2+43
Now, substitute this back into the integral: ∫x2+x+1dx=∫(x+21)2+43dx This integral is of the form ∫u2+a2du, where u=x+21 and a2=43. If u=x+21, then du=dx. And a=43=23.
Using the standard integral formula ∫u2+a2du=a1tan−1(au)+C: ∫(x+21)2+(23)2dx=231tan−1(23x+21)+C Simplify the expression: =32tan−1(2322x+1)+C =32tan−1(32x+1)+C
Explanation of the solution:
- Complete the square: Rewrite the quadratic denominator x2+x+1 as (x+1/2)2+3/4.
- Identify standard form: The integral transforms to ∫(x+1/2)2+(3/2)2dx, which is in the form ∫u2+a2du.
- Apply formula: Use the standard integral formula ∫u2+a2du=a1tan−1(au)+C with u=x+1/2 and a=3/2.
- Simplify: Substitute and simplify the expression to get the final result.