(a) WolframAlpha shows that
x4−1x3+x+1=−2(x2+1)1+4(x+1)1+4(x−1)3. Then, using standard antiderivatives,
∫x4−1x3+x+1dx=∫−2(x2+1)1+4(x+1)1+4(x−1)3 dx=∫−2(x2+1)1 dx+∫4(x+1)1 dx+int4(x−1)3 dx=−21arctan(x)+41ln∣x+1∣+43ln∣x−1∣+C
Directly asking WolframAlpha to integrate x4−1x3+x+1 yields
∫x4−1x3+x+1dx=41(3log(1−x)+log(x+1)−2arctanx)+C. By rearranging, distributing the 41, and noticing that WolframAlpha does not use absolute value with integrals involving the logarithm (as well as that ∣x−1∣=∣1−x∣), we see that these two results are the same.
(b) WolframAlpha shows that
x3−6x2+11x−6x5+x2+3=x2+6x+25+2(x−3)255−x−239+2(x−1)5. Then, using standard antiderivatives,
∫x3−6x2+11x−6x5+x2+3dx=∫x2+6x+25+2(x−3)255−x−239+2(x−1)5 dx=∫x2 dx+∫6x dx+∫25 dx+∫2(x−3)255 dx−∫x−239 dx+∫2(x−1)5 dx=3x3+3x2+25x+2255ln∣x−3∣−39ln∣x−2∣+25ln∣x−1∣+C. Directly asking WolframAlpha to integrate x3−6x2+11x−6x5+x2+3 yields the same result with the caveats mentioned in part (a).
(c) WolframAlpha shows that
(x−3)3x2−x−1=x−31+(x−3)25+(x−3)35. Then, using standard antiderivatives,
∫(x−3)3x2−x−1dx=∫x−31+(x−3)25+(x−3)35 dx=∫x−31 dx+∫(x−3)25 dx+∫(x−3)35 dx=ln∣x−3∣+∫5(x−3)−2 dx+∫5(x−3)−3 dx=ln∣x−3∣−x−35−2(x−3)25+C. Directly asking WolframAlpha to integrate (x−3)3x2−x−1 yields
∫(x−3)3x2−x−1dx=log(x−3)−2(x−3)25(2x−5)+C. The logarithm part is the same, and since
−x−35−2(x−3)25=−2(x−3)25[2(x−3)+1]=−2(x−3)25(2x−5), we see that the rest of the result matches as well.