inverse of (x/(2x-1)+1/(2*arctanh(1-2x))