For powers, there is a special rule regarding antidifferentiation:
∫xndx=n+11xn+1+C
This can be checked with differentiation of the equation--if you have made it this far then the result should look familiar:
xn=dxd(n+11xn+1+C)
Or, you may see it in this form, where both sides of the equation are multiplied by n+1:
(n+1)xn=dxd(xn+1+C)
Consider what happens in the original formula if we try to integrate x−1:
∫x−1dx=−1+11x−1+1+C=01x0+C
We cannot divide by 0, so this formula does not work for x=−1. Instead, this expression has a special antiderivative:
∫x−1dx=ln∣x∣+C
which in turn means
dxd(ln(x))=x1=x−1