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