# Packing dimension

In mathematics, the packing dimension is one of a number of concepts that can be used to define the dimension of a subset of a metric space. Packing dimension is in some sense dual to Hausdorff dimension, since packing dimension is constructed by "packing" small open balls inside the given subset, whereas Hausdorff dimension is constructed by covering the given subset by such small open balls. The packing dimension was introduced by C. Tricot Jr. in 1982.

## Definitions

Let (X, d) be a metric space with a subset S  X and let s  0. The s-dimensional packing pre-measure of S is defined to be

${\displaystyle P_{0}^{s}(S)=\limsup _{\delta \downarrow 0}\left\{\left.\sum _{i\in I}\mathrm {diam} (B_{i})^{s}\right|{\begin{matrix}\{B_{i}\}_{i\in I}{\text{ is a countable collection}}\\{\text{of pairwise disjoint closed balls with}}\\{\text{diameters }}\leq \delta {\text{ and centres in }}S\end{matrix}}\right\}.}$

Unfortunately, this is just a pre-measure and not a true measure on subsets of X, as can be seen by considering dense, countable subsets. However, the pre-measure leads to a bona fide measure: the s-dimensional packing measure of S is defined to be

${\displaystyle P^{s}(S)=\inf \left\{\left.\sum _{j\in J}P_{0}^{s}(S_{j})\right|S\subseteq \bigcup _{j\in J}S_{j},J{\text{ countable}}\right\},}$

i.e., the packing measure of S is the infimum of the packing pre-measures of countable covers of S.

Having done this, the packing dimension dimP(S) of S is defined analogously to the Hausdorff dimension:

{\displaystyle {\begin{aligned}\dim _{\mathrm {P} }(S)&{}=\sup\{s\geq 0|P^{s}(S)=+\infty \}\\&{}=\inf\{s\geq 0|P^{s}(S)=0\}.\end{aligned}}}

### An example

The following example is the simplest situation where Hausdorff and packing dimensions may differ.

Fix a sequence ${\displaystyle (a_{n})}$ such that ${\displaystyle a_{0}=1}$ and ${\displaystyle 0. Define inductively a nested sequence ${\displaystyle E_{0}\supset E_{1}\supset E_{2}\supset \cdots }$ of compact subsets of the real line as follows: Let ${\displaystyle E_{0}=[0,1]}$. For each connected component of ${\displaystyle E_{n}}$ (which will necessarily be an interval of length ${\displaystyle a_{n}}$), delete the middle interval of length ${\displaystyle a_{n}-2a_{n+1}}$, obtaining two intervals of length ${\displaystyle a_{n+1}}$, which will be taken as connected components of ${\displaystyle E_{n+1}}$. Next, define ${\displaystyle K=\bigcap _{n}E_{n}}$. Then ${\displaystyle K}$ is topologically a Cantor set (i.e., a compact totally disconnected perfect space). For example, ${\displaystyle K}$ will be the usual middle-thirds Cantor set if ${\displaystyle a_{n}=3^{-n}}$.

It is possible to show that the Hausdorff and the packing dimensions of the set ${\displaystyle K}$ are given respectively by:

{\displaystyle {\begin{aligned}\dim _{\mathrm {H} }(K)&{}=\liminf _{n\to \infty }{\frac {n\log 2}{-\log a_{n}}}\,,\\\dim _{\mathrm {P} }(K)&{}=\limsup _{n\to \infty }{\frac {n\log 2}{-\log a_{n}}}\,.\end{aligned}}}

It follows easily that given numbers ${\displaystyle 0\leq d_{1}\leq d_{2}\leq 1}$, one can choose a sequence ${\displaystyle (a_{n})}$ as above such that the associated (topological) Cantor set ${\displaystyle K}$ has Hausdorff dimension ${\displaystyle d_{1}}$ and packing dimension ${\displaystyle d_{2}}$.

### Generalizations

One can consider dimension functions more general than "diameter to the s": for any function h : [0, +∞)  [0, +∞], let the packing pre-measure of S with dimension function h be given by

${\displaystyle P_{0}^{h}(S)=\lim _{\delta \downarrow 0}\sup \left\{\left.\sum _{i\in I}h{\big (}\mathrm {diam} (B_{i}){\big )}\right|{\begin{matrix}\{B_{i}\}_{i\in I}{\text{ is a countable collection}}\\{\text{of pairwise disjoint balls with}}\\{\text{diameters }}\leq \delta {\text{ and centres in }}S\end{matrix}}\right\}}$

and define the packing measure of S with dimension function h by

${\displaystyle P^{h}(S)=\inf \left\{\left.\sum _{j\in J}P_{0}^{h}(S_{j})\right|S\subseteq \bigcup _{j\in J}S_{j},J{\text{ countable}}\right\}.}$

The function h is said to be an exact (packing) dimension function for S if Ph(S) is both finite and strictly positive.

## Properties

• If S is a subset of n-dimensional Euclidean space Rn with its usual metric, then the packing dimension of S is equal to the upper modified box dimension of S:
${\displaystyle \dim _{\mathrm {P} }(S)={\overline {\dim }}_{\mathrm {MB} }(S).}$
This result is interesting because it shows how a dimension derived from a measure (packing dimension) agrees with one derived without using a measure (the modified box dimension).

Note, however, that the packing dimension is not equal to the box dimension. For example, the set of rationals Q has box dimension one and packing dimension zero.