Series expansion for $\arctan(1-x)$

Solution 1:

When you integrate it, you get a $+C$. To get it's value, you can substitute in $x=0$ to get that $C=\arctan(1)$.