
Molecular diffusion is the motion ofatoms,molecules, or otherparticles of agas orliquid attemperatures aboveabsolute zero. The rate of this movement is a function of temperature,viscosity of the fluid, size and density (or their product, mass) of the particles. This type ofdiffusion explains the netflux of molecules from a region of higher concentration to one of lower concentration.
Once the concentrations are equal the molecules continue to move, but since there is no concentration gradient the process of molecular diffusion has ceased and is instead governed by the process ofself-diffusion, originating from the random motion of the molecules. The result of diffusion is a gradual mixing of material such that the distribution of molecules is uniform. Since the molecules are still in motion, but an equilibrium has been established, the result of molecular diffusion is called a "dynamic equilibrium". In aphase with uniform temperature, absent external net forces acting on the particles, the diffusion process will eventually result in complete mixing.
Consider two systems; S1 and S2 at the sametemperature and capable of exchangingparticles. If there is a change in thepotential energy of a system; for example μ1>μ2 (μ isChemical potential) anenergy flow will occur from S1 to S2, because nature always prefers low energy and maximumentropy.
Molecular diffusion is typically described mathematically usingFick's laws of diffusion.
Diffusion is of fundamental importance in many disciplines of physics, chemistry, and biology. Some example applications of diffusion:

Diffusion is part of thetransport phenomena. Of mass transport mechanisms, molecular diffusion is known as a slower one.
Incell biology, diffusion is a main form of transport for necessary materials such asamino acids within cells.[1] Diffusion of solvents, such as water, through asemipermeable membrane is classified asosmosis.
Metabolism andrespiration rely in part upon diffusion in addition to bulk or active processes. For example, in thealveoli ofmammalianlungs, due to differences in partial pressures across the alveolar-capillary membrane,oxygen diffuses into the blood andcarbon dioxide diffuses out. Lungs contain a large surface area to facilitate this gas exchange process.


Fundamentally, two types of diffusion are distinguished:
Thediffusion coefficients for these two types of diffusion are generally different because the diffusion coefficient for chemical diffusion is binary and it includes the effects due to the correlation of the movement of the different diffusing species.

Because chemical diffusion is a net transport process, the system in which it takes place is not anequilibrium system (i.e. it is not at rest yet). Many results in classical thermodynamics are not easily applied to non-equilibrium systems. However, there sometimes occur so-called quasi-steady states, where the diffusion process does not change in time, where classical results may locally apply. As the name suggests, this process is a not a true equilibrium since the system is still evolving.
Non-equilibrium fluid systems can be successfully modeled with Landau-Lifshitz fluctuating hydrodynamics. In this theoretical framework, diffusion is due to fluctuations whose dimensions range from the molecular scale to the macroscopic scale.[3]
Chemical diffusion increases theentropy of a system, i.e. diffusion is a spontaneous and irreversible process. Particles can spread out by diffusion, but will not spontaneously re-order themselves (absent changes to the system, assuming no creation of new chemical bonds, and absent external forces acting on the particle).
Collective diffusion is the diffusion of a large number of particles, most often within asolvent.
Contrary toBrownian motion, which is the diffusion of a single particle, interactions between particles may have to be considered, unless the particles form an ideal mix with their solvent (ideal mix conditions correspond to the case where the interactions between the solvent and particles are identical to the interactions between particles and the interactions between solvent molecules; in this case, the particles do not interact when inside the solvent).
In case of an ideal mix, the particlediffusion equation holds true and the diffusion coefficientD the speed ofdiffusion in the particle diffusion equation is independent of particle concentration. In other cases, resulting interactions between particles within the solvent will account for the following effects:
Transport of material in stagnant fluid or across streamlines of a fluid in a laminar flow occurs by molecular diffusion. Two adjacent compartments separated by a partition, containing pure gases A or B may be envisaged. Random movement of all molecules occurs so that after a period molecules are found remote from their original positions. If the partition is removed, some molecules of A move towards the region occupied by B, their number depends on the number of molecules at the region considered. Concurrently, molecules of B diffuse toward regimens formerly occupied by pure A.Finally, complete mixing occurs. Before this point in time, a gradual variation in the concentration of A occurs along an axis, designated x, which joins the original compartments. This variation, expressed mathematically as −dCA/dx, where CA is the concentration of A. The negative sign arises because the concentration of A decreases as the distance x increases. Similarly, the variation in the concentration of gas B is −dCB/dx. The rate of diffusion of A, NA, depend on concentration gradient and the average velocity with which the molecules of A moves in the x direction. This relationship is expressed byFick's law
where D is the diffusivity of A through B, proportional to the average molecular velocity and, therefore dependent on the temperature and pressure of gases. The rate of diffusion NA is usually expressed as the number of moles diffusing across unit area in unit time. As with the basic equation of heat transfer, this indicates that the rate of force is directly proportional to the driving force, which is the concentration gradient.
This basic equation applies to a number of situations. Restricting discussion exclusively to steady state conditions, in which neither dCA/dx or dCB/dx change with time, equimolecular counterdiffusion is considered first.
If no bulk flow occurs in an element of length dx, the rates of diffusion of two ideal gases (of similar molar volume) A and B must be equal and opposite, that is.
The partial pressure of A changes by dPA over the distance dx. Similarly, the partial pressure of B changes dPB. As there is no difference in total pressure across the element (no bulk flow), we have
For an ideal gas the partial pressure is related to the molar concentration by the relation
where nA is the number of moles of gasA in a volumeV. As the molar concentrationCA is equal tonA/ V therefore
Consequently, for gas A,
where DAB is the diffusivity of A in B. Similarly,
Considering that dPA/dx = −dPB/dx, it therefore proves that DAB = DBA = D. If the partial pressure of A at x1 is PA1 and x2 is PA2, integration of above equation,
A similar equation may be derived for the counterdiffusion of gas B.