Diffusion and distribution in a solvent of graded composition