A way of assigning a number for "
dimension" to
shapes which are not as nice as a
line or
sphere, or more generally a
manifold. A
shape whose
Hausdorff dimension is not an
integer is a
fractal (the term is due to Benoit
Mandelbrot, he of the
famous set). If you have seen the
Koch snowflake, its
Hausdorff dimension is log 4/log 3.
In more detail: We work throughout in a fixed Euclidean space Rn. For each real number s ≥ 0, there is a measure Hs defined for subsets of Rn. Hs is called s-dimensional Hausdorff measure (usually it's written with a capital script H). As the name suggests, Hs measures the "s-dimensional volume" of subsets of Rn. The key idea in its construction is to notice that, for integer dimensions s and simple sets A (such as an s-dimensional box or ball), the s-dimensional volume of A is a constant multiple of the s-th power of the diameter of A. The constant for balls is 2-sα(s), where α(s) is a conventional notation for the s-volume of the unit ball {|x| ≤ 1} in s-space. But there is a simple formula for α(s) in terms of the gamma function, which works for all real s ≥ 0:
α(s) = Γ(1/2)s / Γ(1 + s/2). (*)
And we can certainly take non-integer powers of the diameter, so the formula
vols(A) = 2-sα(s) diam A
works to define an s-dimensional volume function, at least for balls, which coincides with the ordinary volume when s is an integer. Now we use a procedure known in measure theory as Carathéodory's construction. It amounts to measuring the volume of an arbitrary set A by covering A with a collection of balls, adding up their volume, and then taking the limit as the maximum size of the balls shrinks to nothing. Given a (not necessarily finite) set {Bi} of balls, whose union covers A, define
vols(A; {Bi}) = ∑i vols(Bi) and vols(A; t) = inf vols(A; {Bi})
where the infimum is taken over all coverings {Bi} of A by balls of maximum diameter t. Then defining
Hs(A) = limt→0 vols(A; t)
turns out to yield a measure with all the nice properties one wants in a measure, and which agrees with s-dimensional Lebesgue measure for integer s.
(*) To prove this, compute the integral of exp(-|x|2) in polar coordinates in Rn, using Fubini's theorem and the fact that Γ(1/2) = π1/2.
[Note also that in a metric space one can find the diameter of any set, not only a ball:
diam A = sup {d(x,y) | x, y ∈ A}.
Thus one could carry out Carathéodory's construction using coverings by members of a different family from the family of balls. In general one gets a different measure. For details see Federer, Geometric measure theory, 2.10.]
If you play with this definition for a while, what you find out is that for any given set A, there is at most one real number s so that 0 < Hs(A) < ∞. Intuitively, if you take a set and try to measure its volume using too small a dimension, you always get ∞, and if you try to measure its volume using too large a dimension, you always get 0. The unique break point between the ∞ range and the 0 range is called the Hausdorff dimension of A. (It is also possible for the volume at the break point itself to be 0 or ∞; for instance R has Hausdorff dimension 1 and infinite 1-volume.) Hausdorff dimensions are very hard to compute in practice, because none of the available definitions are very constructive. Using the definition above, it is not too hard to get an upper bound on something's Hausdorff dimension: just exhibit a refining sequence of coverings whose vols decreases to zero. It is much harder to get a lower bound because you must show that the vols of every refining sequence of coverings increases without bound. If the set you're interested in has a simple recursive structure, such as the Koch snowflake JerboaKolinowski describes below, then you can actually figure out the s which will yield a finite positive Hs, and compute that number, which relieves you of having to give bounds. But otherwise, you are more or less stuck.
To learn more about Hausdorff measures and other parts of the rigorous mathematical theory of fractal sets, you might turn to Geometric measure theory: a beginner's guide by Frank Morgan, or The geometry of fractal sets by Kenneth Falconer. For details on Carathéodory's construction and other technical matters, turn to the excellent but dense Geometric measure theory by Herbert Federer.