In chapter two of Rudin's "Real and Complex Analysis" there is a "Riesz Representation Theorem" that dominates the chapter. My understanding of the statement of the thm. is that given a complex-valued linear functional, $\lambda$ defined on the set of continuous functions with compact support in a "nice" topological space (Hausdorff and locally compact) the theorem states there is a corresponding unique positive complete measure $\mu$ defined on a sigma algebra containing all borel sets in X so that the integral of $f$ w.r.t $\mu$, $\int_{X}{f}d\mu$= $\lambda(f)$.
There are a few other parts of the theorem's statement, but I stop here to ask: "What are some examples of corresponding measures to linear functionals that are not immediately obviously translatable to a measure without the theorem?"
An example I thought of first was a linear functional that gives the n'th coefficient of some function $f$ represented by a polynomial, possibly trigonometric. But I also wondered how differentiation at a point would correspond to a measure. Are these questions well-posed? If so could you help me think about them?
My favorite example is harmonic measure. Let $\Omega$ be a domain in $\mathbb R^n$ (with smooth boundary $\Gamma=\partial \Omega$, to avoid technicalities). For every $\phi\in C(\Gamma)$ there is a unique harmonic function $u$ on $\Omega$ such that $u(x)\to \phi(y)$ as $x\to y$, for every $y\in \partial\Omega$.
Fix $z\in\Omega$. By the maximum principle, $|u(z)|\le \max_\Gamma|\phi|$. Thus, the map $\phi\mapsto u(z)$ is a bounded linear functional on $C(\Gamma)$. By Riesz representation, there is a measure $\omega_z$ on $\Gamma$ such that $$u(z)= \int_{\Gamma} \phi(y)\, d\omega_z(y)$$ (Note that $\omega_z$ is a probability measure.)
While for smooth domains one can relate $\omega_z$ to a familiar object (Green's function), for general domains, where $\omega_z$ still makes sense, its structure is opaque. For $n>2$, it is unknown how large the support of $\omega_z$ can be: that is, what is the smallest $d=d(n)$ such that every $\omega_z$ gives mass $1$ to some set of Hausdorff dimension $d$? In 1980s Bourgain proved $d(n)<n$; in 1990s Wolff proved that $d(3)>2$... and I think this is where it remains now.