abs(((1-sqrt(x))/(1-x))-(1/2)) === (1/2)*abs((sqrt(x)-(1/2))/(1-x))