We need to evaluate ∫xn+1−xπdx
First, let's rewrite the denominator:
xn+1−x=x(xn−1)
So our integral becomes:
∫x(xn−1)πdx
Using partial fractions:
x(xn−1)π=xA+xn−1B
Multiplying all terms by x(xn−1):
π=A(xn−1)+Bx
When x=0: π=A(−1), so A=−π
When x=1: π=B, so B=π
Therefore:
xn+1−xπ=x−π+xn−1π
Integrating each term:
∫xn+1−xπdx=∫x−πdx+∫xn−1πdx
=−πln∣x∣+π∫xn−11dx
For the second integral, use substitution t=xn:
dt=nxn−1dx → dx=nxn−1dt
∫xn−11dx=∫t−11⋅nxn−1dt
Since xn−1=xt, we have:
∫xn−11dx=n1∫t(t−1)xdt
Let's try direct substitution with t=xn:
∫x(xn−1)πdx=nπ∫t(t−1)dt
=nπ∫(t−11−t1)dt
=nπ[ln∣t−1∣−ln∣t∣]+C
=nπlntt−1+C
Substituting back t=xn:
∫xn+1−xπdx=nπlnxnxn−1+C