Yesterday, nobody contributed anything. :-(
The official answer is:
ln(tan(1 / (2 * x)) * (x - 1) ^ 2)