# Appendix F. Measure and Integration

## F.1 Motivation

Measure theory extends the ideas of length, area, volume, and integration to more general settings. In number theory, measure appears in probability, harmonic analysis, ergodic theory, automorphic forms, adelic groups, and equidistribution.

Classical integration over intervals is not sufficient for modern analytic methods. One needs integration on abstract spaces such as compact groups, local fields, and quotient spaces.

Measure theory provides a rigorous framework for averaging arithmetic objects.

## F.2 Sigma-Algebras

Let $X$ be a set. A sigma-algebra $\mathcal{F}$ on $X$ is a collection of subsets of $X$ satisfying:

1. The empty set belongs to $\mathcal{F}$:

$$
\varnothing\in\mathcal{F}.
$$

2. If $A\in\mathcal{F}$, then

$$
A^c\in\mathcal{F}.
$$

3. If

$$
A_1,A_2,A_3,\ldots\in\mathcal{F},
$$

then

$$
\bigcup_{n=1}^{\infty}A_n\in\mathcal{F}.
$$

By De Morgan’s laws, sigma-algebras are also closed under countable intersections.

The sets in $\mathcal{F}$ are called measurable sets.

## F.3 Measures

A measure on $(X,\mathcal{F})$ is a function

$$
\mu:\mathcal{F}\to[0,\infty]
$$

satisfying:

1. Nonnegativity:

$$
\mu(A)\ge0.
$$

2. Empty set condition:

$$
\mu(\varnothing)=0.
$$

3. Countable additivity:

If $A_1,A_2,\ldots$ are pairwise disjoint, then

$$
\mu\left(\bigcup_{n=1}^{\infty}A_n\right) =
\sum_{n=1}^{\infty}\mu(A_n).
$$

Measure generalizes geometric size.

Examples:

- length on $\mathbb{R}$,
- area on $\mathbb{R}^2$,
- counting measure on finite or countable sets,
- probability measures.

## F.4 Lebesgue Measure

Lebesgue measure extends ordinary length.

For intervals,

$$
\mu([a,b])=b-a.
$$

More complicated sets are built systematically from intervals.

Lebesgue measure behaves well under limits and supports powerful convergence theorems.

In analytic number theory, integrals are usually Lebesgue integrals even when this is not stated explicitly.

## F.5 Measurable Functions

A function

$$
f:X\to\mathbb{R}
$$

is measurable if inverse images of open sets are measurable.

Measurability ensures that integration makes sense.

Continuous functions are measurable, but measurable functions form a much larger class.

Arithmetic functions are often studied as measurable objects when embedded into analytic settings.

## F.6 Integration

The Lebesgue integral generalizes the Riemann integral.

For a measurable function $f$,

$$
\int_X f\,d\mu
$$

represents its total accumulated value with respect to the measure $\mu$.

Integration is linear:

$$
\int (af+bg)\,d\mu =
a\int f\,d\mu
+
b\int g\,d\mu.
$$

If

$$
f\ge0,
$$

then

$$
\int f\,d\mu\ge0.
$$

Lebesgue integration handles limits much more effectively than classical Riemann integration.

## F.7 Almost Everywhere

A property holds almost everywhere if it fails only on a set of measure zero.

For example, two functions may differ at finitely many points yet have the same integral.

In analysis, functions equal almost everywhere are often regarded as equivalent.

This idea is important in ergodic theory and harmonic analysis.

## F.8 Convergence Theorems

Several major theorems control interchange of limits and integrals.

### Monotone Convergence Theorem

If

$$
0\le f_1\le f_2\le \cdots
$$

and

$$
f_n\to f,
$$

then

$$
\int f_n\,d\mu \to \int f\,d\mu.
$$

### Dominated Convergence Theorem

If

$$
f_n\to f
$$

pointwise and there exists an integrable function $g$ with

$$
|f_n|\le g,
$$

then

$$
\int f_n\,d\mu \to \int f\,d\mu.
$$

These results are fundamental in analytic number theory because limits frequently appear inside sums and integrals.

## F.9 $L^p$ Spaces

For $1\le p<\infty$, define

$$
L^p(X)
$$

as the space of measurable functions satisfying

$$
\int_X |f|^p\,d\mu<\infty.
$$

The quantity

$$
\|f\|_p =
\left(
\int_X |f|^p\,d\mu
\right)^{1/p}
$$

defines a norm.

The space

$$
L^2(X)
$$

is especially important because it has an inner product:

$$
\langle f,g\rangle =
\int_X f\overline{g}\,d\mu.
$$

Hilbert space methods built from $L^2$ theory play a central role in automorphic forms and spectral theory.

## F.10 Fourier Series

For periodic functions on the circle, Fourier series decompose functions into oscillatory components.

A typical expansion is

$$
f(x) =
\sum_{n\in\mathbb{Z}} c_n e^{2\pi i n x}.
$$

The coefficients are

$$
c_n =
\int_0^1 f(x)e^{-2\pi i n x}\,dx.
$$

Fourier analysis transforms additive arithmetic problems into analytic problems about frequencies.

## F.11 Fourier Transform

The Fourier transform of a suitable function $f:\mathbb{R}\to\mathbb{C}$ is

$$
\widehat{f}(\xi) =
\int_{-\infty}^{\infty}
f(x)e^{-2\pi i x\xi}\,dx.
$$

The Fourier transform converts convolution into multiplication and reveals oscillatory structure.

In number theory it appears in:

- Poisson summation,
- theta functions,
- trace formulae,
- automorphic forms,
- exponential sums.

## F.12 Haar Measure

A locally compact topological group $G$ admits a translation-invariant measure called Haar measure.

For measurable $A\subseteq G$,

$$
\mu(gA)=\mu(A).
$$

Examples:

- Lebesgue measure on $\mathbb{R}$,
- counting measure on finite groups,
- normalized measure on compact groups.

Haar measure is fundamental in harmonic analysis and adelic number theory.

## F.13 Probability Measures

A probability space is a measure space with total measure $1$:

$$
\mu(X)=1.
$$

Probability theory and number theory interact deeply.

Examples include:

- random integers,
- probabilistic prime models,
- random matrices,
- probabilistic algorithms,
- distribution of arithmetic functions.

Expectation is defined by

$$
\mathbb{E}[f] =
\int_X f\,d\mu.
$$

Variance measures dispersion:

$$
\operatorname{Var}(X)=\mathbb{E}[(X-\mathbb{E}[X])^2]
$$

Probabilistic ideas are now standard tools in modern arithmetic.

## F.14 Equidistribution

A sequence $(x_n)$ in $[0,1]$ is equidistributed if points become uniformly spread.

Formally, for every interval $[a,b]\subseteq[0,1]$,

$$
\lim_{N\to\infty}
\frac{
\#\{1\le n\le N:x_n\in[a,b]\}
}{N}
=
b-a.
$$

Equidistribution connects measure theory with arithmetic sequences.

Examples include:

- fractional parts of irrational multiples,
- roots modulo primes,
- modular symbols,
- Hecke eigenvalues.

## F.15 Ergodic Ideas

Ergodic theory studies long-term averages in dynamical systems.

A transformation

$$
T:X\to X
$$

is measure-preserving if

$$
\mu(T^{-1}(A))=\mu(A).
$$

Ergodic methods appear in:

- homogeneous dynamics,
- Diophantine approximation,
- distribution of lattice points,
- arithmetic quantum chaos.

Measure-preserving flows often reveal hidden statistical structure in arithmetic systems.

## F.16 Adelic Integration

Modern number theory frequently integrates over adelic groups.

An adele combines information from:

- the real numbers,
- all $p$-adic completions.

Integration over adelic spaces unifies local and global arithmetic.

Automorphic forms are naturally functions on adelic groups equipped with Haar measure.

This viewpoint reorganizes large parts of analytic and algebraic number theory into a single framework.

## F.17 Measure-Theoretic Language in Number Theory

| Concept | Number-Theoretic Role |
|---|---|
| Measure | size and averaging |
| Integration | summation and harmonic analysis |
| Fourier transform | oscillation and spectral analysis |
| Haar measure | invariant integration on groups |
| $L^2$ spaces | automorphic forms and spectra |
| Probability measure | random arithmetic models |
| Equidistribution | statistical behavior of sequences |

Measure theory extends arithmetic from discrete counting to continuous averaging. Classical number theory studies exact identities. Modern analytic number theory studies averages, densities, distributions, and asymptotic behavior through the language of measure and integration.

