On the derivatives of random functions