\[\operatorname{arctan}z=\frac{i}{2}\ln\left(\frac{i+z}{i-z}\right),\]