A comparison of differential and integral equations of radiative transfer