The partial derivative of the dot product with respect to the orientational parameter is
Because the XH bond vector is constant and not dependent on the spherical angles its derivative is zero. Therefore