Introduction & Context

Theoretical Random Variance quantifies the minimum statistical scatter expected when a perfectly‑mixed binary powder is sampled. In Process Engineering this value is used as a benchmark: any experimental variance larger than the theoretical floor indicates imperfect mixing, biased sampling, or measurement error. For a deeper dive into how this variance relates to overall blend quality, see our mixing index calculation methodology. Typical applications include validating powder blenders, setting quality‑control limits for pharmaceutical granules, and troubleshooting segregation in pneumatic transfer lines.

Methodology & Formulas

The derivation follows a binomial (Bernoulli) model in which every inspected particle is either component A or not-A. For homogeneous mixing the expected variance of the sample mass fraction is:

\[ \sigma_r^{2} = \frac{p\,(1-p)}{n} \]

and its square root

\[ \sigma_r = \sqrt{\frac{p\,(1-p)}{n}} \]

where

  • \( p \) (-) = mass fraction of one component (dimensionless range 0–1)
  • \( n \) (-) = number of particles actually inspected (dimensionless)
  • \( \sigma_r^{2} \) (-) = theoretical variance of sample composition (dimensionless)
  • \( \sigma_r \) (-) = standard deviation in mass-fraction units (dimensionless)

In code form (mirrored exactly):

sigma_r_squared = p * (1 - p) / n
sigma_r = math.sqrt(sigma_r_squared)
Conditions for normal approximation to binomial distribution
ParameterMathematical Condition
npnp ≥ 5
n(1-p)n(1−p) ≥ 5

Note: The binomial model itself is valid for any \( n \) and \( p \), but these conditions ensure the normal approximation is adequate for statistical tests and confidence intervals.

The relative standard deviation (optional output) is computed only when \( p > 0 \):

\[ \mathrm{RSD} = \frac{\sigma_r}{p} \]
rsd = sigma_r / max(p, 1e-9)

All variables remain dimensionless; no unit conversions are required.