\[\operatorname{arccos}x=\mp i\ln\left((x^{2}-1)^{1/2}+x\right),\]