Question
Question: $\int \frac{1}{x^4+1}dx$...
∫x4+11dx

421ln(x2−2x+1x2+2x+1)+221arctan(2x+1)+221arctan(2x−1)+C
Solution
To integrate ∫x4+11dx, we can use the technique of partial fraction decomposition.
First, factor the denominator x4+1: x4+1=(x2+1)2−(x2)2=(x2−x2+1)(x2+x2+1).
Now, decompose the integrand into partial fractions: x4+11=x2−2x+1Ax+B+x2+2x+1Cx+D
Multiplying both sides by (x2−2x+1)(x2+2x+1), we get: 1=(Ax+B)(x2+2x+1)+(Cx+D)(x2−2x+1)
Expand and collect terms by powers of x: 1=(A+C)x3+(2A+B−2C+D)x2+(A+2B+C−2D)x+(B+D)
Comparing coefficients:
- Coefficient of x3: A+C=0⟹C=−A
- Coefficient of x2: 2A+B−2C+D=0
- Coefficient of x: A+2B+C−2D=0
- Constant term: B+D=1
From (1) and (3): A+2B−A−2D=0⟹2B−2D=0⟹B=D. Substitute B=D into (4): B+B=1⟹2B=1⟹B=1/2. So D=1/2. Substitute C=−A, B=1/2, D=1/2 into (2): 2A+1/2−2(−A)+1/2=0⟹22A+1=0⟹A=−221=−42. Since C=−A, C=42.
So the decomposition is: x4+11=x2−2x+1−42x+21+x2+2x+142x+21 =41(x2−2x+1−2x+2+x2+2x+12x+2)
Now, we integrate each term. For the first term, let I1=∫x2−2x+1−2x+2dx. The derivative of the denominator is 2x−2. We rewrite the numerator: −2x+2=−21(2x−2)+1. I1=∫(−21x2−2x+12x−2+x2−2x+11)dx I1=−21ln(x2−2x+1)+∫(x−22)2+(21)21dx I1=−21ln(x2−2x+1)+1/21arctan(1/2x−22) I1=−21ln(x2−2x+1)+2arctan(2x−1)
For the second term, let I2=∫x2+2x+12x+2dx. The derivative of the denominator is 2x+2. We rewrite the numerator: 2x+2=21(2x+2)+1. I2=∫(21x2+2x+12x+2+x2+2x+11)dx I2=21ln(x2+2x+1)+∫(x+22)2+(21)21dx I2=21ln(x2+2x+1)+1/21arctan(1/2x+22) I2=21ln(x2+2x+1)+2arctan(2x+1)
Combining I1 and I2: ∫x4+11dx=41(I1+I2) =41[−21ln(x2−2x+1)+2arctan(2x−1)+21ln(x2+2x+1)+2arctan(2x+1)]+C =41[21(ln(x2+2x+1)−ln(x2−2x+1))+2(arctan(2x+1)+arctan(2x−1))]+C =421ln(x2−2x+1x2+2x+1)+42(arctan(2x+1)+arctan(2x−1))+C
This can also be written as: =421ln(x2−2x+1x2+2x+1)+221arctan(1−x22x)+C′ (using arctanA+arctanB=arctan(1−ABA+B))
Or, using the alternative decomposition method: ∫x4+11dx=221arctan(2xx2−1)+421ln(x2−2x+1x2+2x+1)+C. Both forms are equivalent.
Explanation of the solution:
-
Factor the denominator: The denominator x4+1 is factored into two irreducible quadratic factors: (x2−2x+1) and (x2+2x+1).
-
Partial Fraction Decomposition: The integrand x4+11 is decomposed into partial fractions of the form x2−2x+1Ax+B+x2+2x+1Cx+D. The coefficients A,B,C,D are found by comparing coefficients after cross-multiplication.
-
Integration of terms: Each resulting fraction is integrated separately.
- For terms of the form ∫ax2+bx+cpx+qdx, the numerator is split into two parts: one proportional to the derivative of the denominator (2ax+b) and the other a constant.
- The first part integrates to a logarithmic term: ∫ax2+bx+ck(2ax+b)dx=kln∣ax2+bx+c∣.
- The second part integrates to an arctangent term: ∫ax2+bx+cmdx. The denominator is completed to a square a(x+b/2a)2+(c−b2/4a) and then integrated using the formula ∫u2+k21du=k1arctan(ku).
-
Combine results: The results from integrating each partial fraction are combined to get the final integral.