Define the plane and the noise
Positions have length units and time has its own unit. The heading angle is measured counterclockwise from the positive horizontal direction, in radians. The active Brownian model moves at a fixed swim speed while the heading undergoes angular diffusion. Translational diffusion adds independent positional noise.
In the equations, the two-component position noise and the scalar angle noise are independent Wiener increments: their mean is zero and their variance is the time step. The rotational diffusion coefficient has units of inverse time; the translational coefficient has units of length squared per time. There are no walls, forces or neighbours in this reference problem.
Start with the heading correlation
Angular diffusion makes the angle difference Gaussian, with variance twice rotational diffusivity times elapsed time. Averaging the cosine of this angle difference gives an exponential. Its decay time is the inverse rotational diffusion coefficient.
A run-and-tumble swimmer instead holds its heading until a Poisson event resets it to an independent uniform direction. The old and new heading correlate only if no reset has occurred. The probability of no reset is also exponential. Set the tumble rate equal to the rotational diffusion coefficient in two dimensions, and the two heading correlations match.
A partial reorientation would change that relation. So would a finite tumble duration. State which kind of tumble is implemented before comparing numerical rates.
Integrate the velocity twice
Displacement is the time integral of velocity. Squaring it produces a double integral over two observation times. A stationary swimmer’s velocity correlation depends only on their time difference, so the double integral reduces to twice the integral of the correlation multiplied by the remaining observation time.
The final expression separates positional Brownian spreading from propulsion. At short times, expand the exponential: the active term is swim speed squared times elapsed time squared. At long times, the slope corresponds to a two-dimensional effective diffusion coefficient equal to the translational diffusivity plus half the squared swim speed times the persistence time.
Worked example
A number to compare with a simulation
Use length and time units in which swim speed is 2, persistence time is 0.5 and translational diffusivity is 0.1. At one time unit, the passive term is 0.4. The active term is four times the bracket one minus one half times one minus the exponential of minus two. It is approximately 2.271, so the full mean-squared displacement is approximately 2.671.
Compare an average over many independent seeds with this value. One trajectory is not expected to match it. Reduce the numerical time step and check that any systematic error shrinks; increase the number of runs and check that the sampling scatter shrinks. The passive limit gives a second, simpler check: turn propulsion off and recover the Brownian result.
Alignment is a separate interaction. A polar rule makes neighbouring headings point the same way; a nematic rule treats a heading and its reversal equally. Matching the free correlation times does not make these interactions equivalent. Keep alignment off when testing the free-swimmer formula.