---
title: Wrapped Normal Distributions
url: https://www.emergentmind.com/topics/wrapped-normal-distributions
type: topic
---

# Wrapped Normal Distributions

A wrapped normal distribution is the probability law obtained by taking a Euclidean normal distribution and mapping it onto a curved manifold via a structure-preserving function, most famously by “wrapping” the real line onto the circle or more generally projecting from the tangent space onto a Riemannian manifold using the exponential map. This construction enables Gaussian-like models for data confined to non-Euclidean spaces, such as the circle ($\mathbb{S}^1$), high-dimensional tori, spheres, hyperbolic spaces, and the manifold of symmetric positive definite matrices. Such distributions serve as foundational models in directional statistics, circular data analysis, and manifold-based machine learning.

## 1. Foundations and Classical Definitions

The canonical wrapped normal (WN) distribution on the circle arises by wrapping a univariate normal distribution $N(\mu,\sigma^2)$ onto $[0,2\pi)$ via the modulo operation. Its probability density function (pdf) is an infinite sum over integer shifts:
\[
f_W(\theta; \mu, \sigma)
= \sum_{k=-\infty}^{\infty}
  \frac{1}{\sqrt{2\pi}\sigma}
  \exp\left(-\frac{(\theta-\mu+2\pi k)^2}{2\sigma^2}\right),
\]
where $\theta, \mu \in [0,2\pi)$. This density integrates to unity over one period and possesses $2\pi$-periodicity. The construction generalizes to the $p$-torus $\mathbb{T}^p$ (componentwise modulo $2\pi$), yielding the multivariate WN$_p$ density as a sum over $\mathbb{Z}^p$ shifts:
\[
f(y; \mu, \Sigma)
= \sum_{j\in\mathbb{Z}^p} \varphi_p(y+2\pi j; \mu, \Sigma), \quad y\in(0,2\pi]^p,
\]
where $\varphi_p$ is the standard multivariate normal density [2010.08444].

## 2. Series Representations and Efficient Evaluation

Direct evaluation of the wrapped normal density involves infinite series. Two computationally advantageous series forms are established for the univariate case [1405.6397]:
- **Wrapped-density (direct sum) form**: Suitable for small $\sigma$,
  \[
  f_n(\theta;\mu, \sigma) = \frac{1}{\sqrt{2\pi}\sigma} \sum_{k=-n}^n \exp\left(-\frac{(\theta-\mu+2\pi k)^2}{2\sigma^2}\right).
  \]
  For small $\sigma$, the Gaussian tails decay rapidly, and very few terms suffice.

- **Theta-function (Fourier) form**: Suitable for large $\sigma$, leveraging the Jacobi theta-identity,
  \[
  g_n(\theta; \mu, \sigma)
  = \frac{1}{2\pi} \left(1 + 2\sum_{k=1}^{n} e^{-k^2 \sigma^2/2} \cos(k(\theta-\mu)) \right).
  \]
  Exponential decay in $k^2$ ensures efficiency when $\sigma$ is large.

Rigorous bounds give explicit $n$ required for a prescribed error $\epsilon$: $n=0,1,2,3$ usually suffices for double-precision accuracy in practical computation, and a unified pseudocode-based recipe is available [1405.6397].

## 3. Properties, Moment Structure, and Comparison to Other Circular Laws

The wrapped normal is always normalized over the support. Its circular moments are
\[
\E[e^{in\Theta}] = e^{in\mu} e^{-n^2\sigma^2/2},
\]
so the mean direction is $\mu$ and the mean resultant length is $e^{-\sigma^2/2}$. The characteristic function (Fourier) coefficients are explicit, central for both theoretical calculations and Stein’s method on the circle [2105.13199].

The wrapped normal can be compared explicitly to:
- **Von Mises distribution**: Wasserstein bounds on $\mathbb{S}^1$ relate wrapped normal and von Mises distributions for aligned means.
- **Wrapped Cauchy**: Bounds are also available for Wasserstein distance between these classes.

Unlike the von Mises distribution, which is unimodal and maximally concentrated for given circular variance, the wrapped normal’s modality and concentration are governed by $\sigma^2$, and for large $\sigma$ it converges to the uniform distribution on $[0,2\pi)$.

## 4. Wrapped Normals on Manifolds and Non-Euclidean Extensions

The wrapping construction generalizes by pushing forward a normal law in the tangent space $T_pM$ of a base point $p$ on a Riemannian manifold $M$ via the exponential map or a volume-preserving diffeomorphism [2204.09790]. The resulting density on $M$ is:
\[
p_M(z) = \frac{1}{(2\pi)^{k/2}|\Sigma|^{1/2}} \exp\left(-\frac{1}{2}v^T\Sigma^{-1}v\right) \cdot J(v),
\]
where $v = \exp_p^{-1}(z)$ and $J(v)$ is a Jacobian factor depending on the curvature and the choice of mapping.

- **Hyperbolic space**: The pseudo-hyperbolic Gaussian on $\mathcal{H}^n$ uses the Lorentzian model, yielding a closed-form density with analytic normalizing constant and differentiable sampling and reparameterization [1902.02992].
- **Symmetric positive definite matrices ($P_d$)**: The wrapped Gaussian on $P_d$ leverages the affine-invariant metric and exponential/logarithm maps on SPD matrices, with an explicit Jacobian for the distortion under the exponential map [2502.01512]. In one dimension this reduces to the lognormal distribution.

The key geometric distinction is that for compact manifolds with nontrivial fundamental group (e.g., the circle), the exponential map is not injective, necessitating infinite sums in the density, while for simply connected or noncompact spaces (e.g., hyperbolic space, $P_d$), no wrapping ambiguity arises and analytic densities are single-term.

## 5. Robust Parameter Estimation and Computational Methods

Parameter fitting for wrapped normal models, especially in the multivariate or toroidal setting, is typically handled by EM or classification-EM (CEM) algorithms. Given data $y_1,\dots,y_n\in\mathbb{T}^p$, the likelihood is a sum over all integer wrapping indices, and the natural latent-variable structure allows EM iteration [2010.08444].

Robustification techniques augment this with data-dependent weights based on Pearson residuals—outliers or poorly explained points are downweighted to ensure robustness in mean and covariance estimation. Weights are incorporated into a weighted-likelihood framework and embedded in each CEM step. Simulation and real-data studies confirm substantial robustness gains under contamination scenarios, without marked loss in efficiency for clean data.

## 6. Applications and Role in Modern Manifold Learning

Wrapped normal distributions provide natural priors and likelihoods for latent variable models and autoencoders on curved spaces [2204.09790], enable geometry-aware classification on SPD and other manifolds [2502.01512], and serve as the backbone of recent advances in modeling hierarchical and structured data via hyperbolic probabilistic embeddings [1902.02992].

Key algorithmic features:
- Closed-form densities and gradients enable direct integration with modern autodiff and stochastic optimization frameworks (PyTorch, TensorFlow).
- Exact sampling from the wrapped normal (e.g., via reparameterization in hyperbolic VAE) maintains the manifold constraint without rejection sampling or grid discretization.
- Analytical properties (moments, entropy, KL divergence) allow precise Bayesian and statistical inference on manifolds.

## 7. Theoretical and Geometric Considerations

The wrapped normal on $\mathbb{S}^1$ presents unique theoretical challenges due to periodicity and the geometry’s zero Ricci curvature. The Stein operator for the WN law is expressed as $Tf=f'+(\log p)'f$, with the circular Stein kernel involving $\sin(\theta-\mu)$. The infinite-sum structure for densities reflects the lack of injectivity of the exponential map on compact manifolds.

For higher-dimensional and non-compact spaces, the wrapped construction via tangent-space normal distribution and exponential map produces a unimodal, curvature-respecting law with straightforward geometric interpretation. The tangent-space parameters correspond directly to Fréchet barycentric mean and tangent covariance [2204.09790, 2502.01512].

The framework unifies Gaussian-type modeling across manifold geometries, establishing a foundation for further methodological developments in geometric statistics, information geometry, and manifold-based machine learning.

Source: https://www.emergentmind.com/topics/wrapped-normal-distributions