derivative of (px) / (1-(1-p)x)