I use the formula below for inverse tangent function:
$$\tan^{-1}(z)= \frac {i} 2 \log \biggr( \frac {i+z}{i-z} \biggr)$$
I have written
$$\tan^{-1}(1+i)= \frac {i} 2 \log \biggr( \frac {i+1+i}{i-1-i} \biggr)= \frac {i} 2 \log (-2i-1)$$
The answer is $n\pi i , n\in \mathbb Z$ but I don’t know or I cannot see what is the argument of $-2i-1$
I know it is basic question but I couldn’t see how can I do
Thanks for helps
To calculate the value of $$\log(-2i-1)$$ You can use the formula $$z=re^{i\theta}=x+iy$$ $$\log(z)=\log(r)+i(\theta+2n\pi)=\log\left(\sqrt{x^2+y^2}\right)+i\tan^{-1}(y/x)+2n\pi i$$ In your problem, $$x=-1,y=-2$$ Then $$\log(-2i-1)=\log(\sqrt{5})+i\tan^{-1}(2)+2n\pi i$$ The final answer will then be $$\frac{i}{2}(\log(\sqrt{5})+i\tan^{-1}(2)+2n\pi i)=\frac{\log(5)}{4}i-\frac{\tan^{-1}(2)}{2}-n\pi$$