# Mean squared displacement

{{ safesubst:#invoke:Unsubst||$N=Merge from |date=__DATE__ |$B=
Template:MboxTemplate:DMCTemplate:Merge partner
}}
In statistical mechanics, the **mean squared displacement** (**MSD**, also **mean square displacement** or **average squared displacement**) is the most common measure of the spatial extent of random motion; in some way it is often enlightening to think of the MSD as the amount of the system "explored" by the random walker. It prominently appears in the Debye-Waller factor (describing vibrations within the solid state) and in the Langevin equation (describing diffusion of a Brownian particle).

## Derivation of the MSD for a Brownian particle in 1D

The Probability Density Function (PDF) for a particle in one dimension is found by solving the one-dimensional Diffusion equation. (This equation states that the position probability density diffuses out over time - this is the method used by Einstein to describe a Brownian particle. Another method to describe the motion of a Brownian particle was described by Langevin, now known for its namesake as the Langevin equation.)

given the initial condition ; where is the position of the particle at some given time, is the tagged particle's initial position, and is the diffusion constant with the S.I. units (an indirect measure of the particle's speed). The bar in the argument of the instantaneous probability refers to the conditional probability. The diffusion equation states that the speed at which the probability for finding the particle at is position dependent.

It can be shown that the one-dimensional PDF is

This states that the probability of finding the particle at is Gaussian, and the width of the Gaussian is time dependent. More specifically the Full width at half maximum (FWHM)(technically/pedantically, this is actually the Full *duration* at half maximum as the independent variable is time) scales like

Using the PDF one is able to derive the average of a given function, , at time :

where the average is taken over all space (or any applicable variable).

The Mean squared displacement is defined as

expanding out the ensemble average

dropping the explicit time dependence notation for clarity. To find the MSD, one can take one of two paths: one can explicitly calculate and , then plug the result back into the definition of the MSD; or one could find the Moment-generating function, an extremely useful, and general function when dealing with probability densities. The moment-generating function describes the moment of the PDF. The first moment of the displacement PDF shown above is simply the mean: . The second moment is given as .

So then, to find the moment-generating function it is convenient to introduce the Characteristic function:

one can expand out the exponential in the above equation to give

By taking the natural log of the characteristic function, a new function is produced, the Cumulant generating function,

where is the cumulant of . The first two cumulants are related to the first two moments, , via and where the second cumulant is the so-called the variance, . With these definitions accounted for one can investigate the moments of the Brownian particle PDF,

by completing the square and knowing the total area under a Gaussian one arrives at

Taking the natural log, and comparing powers of to the cumulant generating function, the first cumulant is

which is as expected, that the mean position is the Gaussian centre. The second cumulant is

the factor 2 comes from the factorial factor in the denominator of the cumulant generating function. From this, the second moment is calculated,

Plugging the results for the first and second moments back, one finds the MSD,

## MSD in Experiments

Experimental methods to determine MSDs include neutron scattering and photon correlation spectroscopy.