# Haar measure

In mathematical analysis, the Haar measure is a way to assign an "invariant volume" to subsets of locally compact topological groups and subsequently define an integral for functions on those groups.

This measure was introduced by Alfréd Haar in 1933. Haar measures are used in many parts of analysis, number theory, group theory, representation theory, estimation theory and ergodic theory.

## Preliminaries

Let (G,.) be a locally compact Hausdorff topological group. The σ-algebra generated by all open sets of G is called the Borel algebra. An element of the Borel algebra is called a Borel set. If g is an element of G and S is a subset of G, then we define the left and right translates of S as follows:

• Left translate:
$gS=\{g.s\,:\,s\in S\}.$ • Right translate:
$Sg=\{s.g\,:\,s\in S\}.$ Left and right translates map Borel sets into Borel sets.

A measure μ on the Borel subsets of G is called left-translation-invariant if for all Borel subsets S of G and all g in G one has

$\mu (gS)=\mu (S).\quad$ A similar definition is made for right translation invariance.

## Haar's theorem

There is, up to a positive multiplicative constant, a unique countably additive, nontrivial measure μ on the Borel subsets of G satisfying the following properties:

• The measure μ is left-translation-invariant: μ(gE) = μ(E) for every g in G and Borel set E.
• The measure μ is finite on every compact set: μ(K) < ∞ for all compact K
$\mu (E)=\inf\{\mu (U):E\subseteq U,U{\text{ open}}\}.$ $\mu (E)=\sup\{\mu (K):K\subseteq E,K{\text{ compact}}\}.$ Such a measure on G is called a left Haar measure. It can be shown as a consequence of the above properties that μ(U) > 0 for every non-empty open subset U. In particular, if G is compact then μ(G) is finite and positive, so we can uniquely specify a left Haar measure on G by adding the normalization condition μ(G) = 1.

Some authors define a Haar measure on Baire sets rather than Borel sets. This makes the regularity conditions unnecessary as Baire measures are automatically regular. Halmos rather confusingly uses the term "Borel set" for elements of the σ-ring generated by compact sets, and defines Haar measure on these sets.

The left Haar measure satisfies the inner regularity condition for all σ-finite Borel sets, but may not be inner regular for all Borel sets. For example, the product of the unit circle (with its usual topology) and the real line with the discrete topology is a locally compact group with the product topology and Haar measure on this group is not inner regular for the closed subset {1} x [0,1]. (Compact subsets of this vertical segment are finite sets and points have measure 0, so the measure of any compact subset of this vertical segment is 0. But, using outer regularity, one can show the segment has infinite measure.)

The existence and uniqueness (up to scaling) of a left Haar measure was first proven in full generality by André Weil. Weil's proof used the axiom of choice and Henri Cartan furnished a proof which avoided its use. Cartan's proof also proves the existence and the uniqueness simultaneously. A simplified and complete account of Cartan's argument was given by Alfsen in 1963. The special case of invariant measure for second countable locally compact groups had been shown by Haar in 1933.

## Construction of Haar measure

### A construction using compact subsets

The following method of constructing Haar measure is more or less the method used by Haar and Weil.

For any subsets T, U of G with U nonempty define [T:U] to be the smallest number of left translates of U that cover T (so this is a non-negative integer or infinity). This is not additive on compact sets T, though it does have the property that [S:U]+[T:U]=[ST:U] for disjoint compact sets S and T provided that U is a sufficiently small open neighborhood of the identity (depending on S and T). The idea of Haar measure is to take a sort of limit of [T:U] as U becomes smaller to make it additive on all pairs of disjoint compact sets, though it first has to be normalized so that the limit is not just infinity. So fix a compact set A with non-empty interior (which exists as the group is locally compact) and for a compact set T define

$\mu _{A}(T)=\lim _{U}{\frac {[T:U]}{[A:U]}}$ where the limit is taken over a suitable directed set of open neighborhoods of the identity eventually contained in any given neighborhood; the existence of a directed set such that the limit exists follows using Tychonoff's theorem.

The function μA is additive on disjoint compact sets of G, which implies that it is a regular content. From a regular content one can construct a measure by first extending μA to open sets by inner regularity, then to all sets by outer regularity, and then restricting it to Borel sets. (Even for open sets T, the corresponding measure μA(T) need not be given by the lim sup formula above. The problem is that the function given by the lim sup formula is not countably subadditive in general and in particular is infinite on any set without compact closure, so is not an outer measure.)

### A construction using compactly supported functions

Cartan introduced another way of constructing Haar measure as a Radon measure (a positive linear functional on compactly supported continuous functions) which is similar to the construction above except that A, S, T, and U are positive continuous functions of compact support rather than subsets of G. In this case we define [T:U] to be the inf of numbers c1+...+cn such that T(g) is less than the linear combinationc1U(g1g)+...+cnU(gng) of left translates of U for some g1,...,gn. As before we define

$\mu _{A}(T)=\lim _{U}{\frac {[T:U]}{[A:U]}}$ .

The fact that the limit exists takes some effort to prove, though the advantage of doing this is that the proof avoids the use of the axiom of choice and also gives uniqueness of Haar measure as a by-product. The functional μA extends to a positive linear functional on compactly supported continuous functions and so gives a Haar measure. (Note that even though the limit is linear in T, the individual terms [T:U] are not usually linear in T.)

### A construction using mean values of functions

Von Neumann gave a method of constructing Haar measure using mean values of functions, though it only works for compact groups. The idea is that given a function f on a compact group, one can find a linear combination Σaif(gig) (where Σai=1) of its left translates that differs from a constant function by at most some small number ε. Then one shows that as ε tends to zero the values of these constant functions tend to a limit, which is called the mean value (or integral) of the function f.

For groups that are locally compact but not compact this construction does not give Haar measure as the mean value of compactly supported functions is zero. However something like it does work for almost periodic functions on the group which do have a mean value, though this is not given by with respect to Haar measure.

### A construction on Lie groups

On an n-dimensional Lie group, Haar measure can be constructed easily as the measure induced by a left-invariant n-form. This was known before Haar's theorem.

## The right Haar measure

It can also be proved that there exists a unique (up to multiplication by a positive constant) right-translation-invariant Borel measure ν satisfying the above regularity conditions and being finite on compact sets, but it need not coincide with the left-translation-invariant measure μ. The left and right Haar measures are the same only for so-called unimodular groups (see below). It is quite simple, though, to find a relationship between μ and ν.

Indeed, for a Borel set S, let us denote by $S^{-1}$ the set of inverses of elements of S. If we define

$\mu _{-1}(S)=\mu (S^{-1})\quad$ then this is a right Haar measure. To show right invariance, apply the definition:

$\mu _{-1}(Sg)=\mu ((Sg)^{-1})=\mu (g^{-1}S^{-1})=\mu (S^{-1})=\mu _{-1}(S).\quad$ Because the right measure is unique, it follows that μ-1 is a multiple of ν and so

$\mu (S^{-1})=k\nu (S)\,$ for all Borel sets S, where k is some positive constant.

### The modular function

The left translate of a right Haar measure is a right Haar measure. More precisely, if ν is a right Haar measure, then

$S\mapsto \nu (g^{-1}S)\quad$ is also right invariant. Thus, by uniqueness of the Haar measure, there exists a function Δ from the group to the positive reals, called the Haar modulus, modular function or modular character, such that for every Borel set S

$\nu (g^{-1}S)=\Delta (g)\nu (S).\quad$ Since right Haar measure is well-defined up to a positive scaling factor, this equation shows the modular function is independent of the choice of right Haar measure in the above equation.

The modular function is a continuous group homomorphism into the multiplicative group of positive real numbers. A group is called unimodular if the modular function is identically 1, or, equivalently, if the Haar measure is both left and right invariant. Examples of unimodular groups are abelian groups, compact groups, discrete groups (e.g., finite groups), semisimple Lie groups and connected nilpotent Lie groups. An example of a non-unimodular group is the group of affine transformations

${\big \{}x\mapsto ax+b:a\in \mathbb {R} \setminus \{0\},b\in \mathbb {R} {\big \}}={\big \{}{\begin{bmatrix}a&b\\\\0&1\end{bmatrix}}{\big \}}$ on the real line. This example shows that a solvable Lie group need not be unimodular. In this group a left Haar measure is given by dadb/a2, and a right Haar measure by dadb/|a|.

## Measures on homogeneous spaces

If the locally compact group G acts transitively on a space G/H, one can ask if this space has an invariant measure, or more generally a relatively invariant measure with the property that μ(gE) = χ(g)μ(E) for some character χ of G. A necessary and sufficient condition for the existence of such a measure is that χ=Δ/δ on H, where Δ and δ are the modular functions of G and H. In particular an invariant measure on Q exists if and only if the modular function of G restricted to H is the modular function of H.

Example. If G is the group SL2(R) and H the subgroup of upper triangular matrices, then the modular function of H is nontrivial but the modular function of G is trivial. The quotient of these cannot be extended to any character of G, so the quotient space G/H (which can be thought of as 1-dimensional real projective space) does not even have a relatively invariant measure.

## Haar integral

Template:Expand section Using the general theory of Lebesgue integration, one can then define an integral for all Borel measurable functions f on G. This integral is called the Haar integral. If μ is a left Haar measure, then

$\int _{G}f(sx)\ d\mu (x)=\int _{G}f(x)\ d\mu (x)$ for any integrable function f. This is immediate for indicator functions, being essentially the definition of left invariance.

## Examples

• A Haar measure on the topological group (R, +) which takes the value 1 on the interval [0,1] is equal to the restriction of Lebesgue measure to the Borel subsets of R. This can be generalized to (Rn, +).
• If G is the group of nonzero real numbers with multiplication as operation, then a Haar measure μ is given by
$\mu (S)=\int _{S}{\frac {1}{|t|}}\,dt$ for any Borel subset S of the nonzero reals.
For example, if $S$ is taken to be an interval between two points $a,b$ , then we find $\mu (S)=\log(b/a)$ . Now we let the multiplicative group act on this interval by a multiplication of all its elements by a number $g$ , resulting in $gS$ being the interval with bounds $g\cdot a,g\cdot b$ . Measuring this new integral, we find $\mu (gS)=\log((g\cdot b)/(g\cdot a))=\log(b/a)=\mu (S)$ .
• If the group G is represented as an open submanifold of Rn then a left Haar measure on G is given by dnx/J(x), where J(x) is the Jacobian of left multiplication by x. A right Haar measure is given in the same way, except with J(x) the Jacobian of right multiplication by x.
• As a special case of the previous construction, for G = GL(n,R), any left Haar measure is a right Haar measure and one such measure μ is given by
$\mu (S)=\int _{S}{1 \over |\det(X)|^{n}}\,dX$ where dX denotes the Lebesgue measure on $\mathbb {R} ^{n^{2}}$ , the set of all $n\times n$ -matrices. This follows from the change of variables formula.
• On any Lie group of dimension d a left Haar measure can be associated with any non-zero left-invariant d-form ω, as the Lebesgue measure |ω|; and similarly for right Haar measures. This means also that the modular function can be computed, as the absolute value of the determinant of the adjoint representation.
• In order to define a Haar measure μ on the unit circle T, consider the function f from [0,2π] onto T defined by f(t) = (cos(t),sin(t)). Then μ can be defined by
$\mu (S)={\frac {1}{2\pi }}m\left(f^{-1}(S)\right),$ where m is the Lebesgue measure. The factor (2π)−1 is chosen so that μ(T) = 1.
• If G is the group of non-null quaternions, then G can be seen as an open subset of R4. A Haar measure μ is given by
$\mu (S)=\int _{S}{\frac {1}{(x^{2}+y^{2}+z^{2}+w^{2})^{2}}}\,dx\,dy\,dz\,dw$ where dx dy dz dw denotes the Lebesgue measure in R4 and S is a Borel subset of G.
• If G is the additive group of p-adic numbers for a prime p, then a Haar measure is given by letting a+pnO have measure pn, where O is the ring of p-adic integers.

## Uses

Historically, the first use of the Haar theorem was the solution, by von Neumann, of Hilbert's fifth problem in the case of compact groups. In fact, von Neumann's article was published immediately after Haar's article in the same issue of Annals of Mathematics.

The Haar measures are used in harmonic analysis on arbitrary locally compact groups; see Pontryagin duality. A frequently used technique for proving the existence of a Haar measure on a locally compact group G is showing the existence of a left invariant Radon measure on G.

In estimation theory, Haar measures can be used as non-informative priors, being Jeffreys priors for various questions. For instance, translation invariance of the (improper) uniform distribution on the real numbers (the Haar measure with respect to addition) corresponds to no information about location, and thus it is the Jeffreys prior for the unknown mean of a Gaussian distribution, the mean being a measure of location.

Unless G is a discrete group, it is impossible to define a countably-additive left invariant regular measure on all subsets of G, assuming the axiom of choice. See non-measurable sets.

## Weil's converse theorem

In 1936 Weil proved a converse (of sorts) to Haar's theorem, by showing that if a group has a left invariant measure for which one can define a convolution product, then one can define a topology on the group, and the completion of the group is locally compact and the given measure is essentially the same as Haar measure on this completion.