The typical definition of expectation requires a probability space and a random variable
Let $(\Omega, \mathcal{F}, \mathbb{P})$ be a probability space, $(\mathsf{X}, \mathcal{X})$ be a measurable space and $\mathrm{X}:\Omega\to\mathsf{X}$ be a random variable. The expectation of $\mathrm{X}$ is defined as $$ \mathbb{E}[X] := \int_\Omega X \,\,d\mathbb{P}. $$
Can we relax this? Meaning, can I sensibly define the expectation of a measurable function, given a measure space $(\Omega, \mathcal{F}, \mathbb{M})$, where $\mathbb{M}$ is now simply a measure?
Notes:
- I am using the following classical distintion between a random variable and a measurable function: every random variable is a measurable function, but not any measurable function is a random variable. For a measurable function to be a random variable, we need the existance of a probability measure on $(\Omega, \mathcal{F})$.
- In theory, I know this is generalisable because we typically work with Lebesgue integrals and the Lebesgue measure is not a probability measure, in general. However, what condition on $\mathbb{M}$ do I need? Intuitively, my guess is that it needs to be a $\sigma$-finite measure.
Summary
Thank peek-a-boo for the helpful answer and discussion, here's a summary.
Let $(\Omega, \mathsf{F}, \mathbb{M})$ be any measure space, and let $(\mathsf{X}, \|\cdot\|_\mathsf{X})$ be any Banach space, where $\|\cdot\|_{\mathsf{X}}$ is the norm on $\mathsf{X}$. Let $\mathcal{B}(\mathsf{X})$ be the Borel sigma algebra on $\mathsf{X}$ that has been generated by the topology $\tau_\mathsf{X}$ which has been induced by the metric $d(x, y) := \|x - y\|_{\mathsf{X}}$ which has itself been induced by the norm $\|\cdot\|_{\mathsf{X}}$. Then we can define the $L^p$ spaces $$ L^p(\Omega, \mathcal{F}, \mathbb{M}) := \left\{f:\Omega\to\mathsf{X}\left| f \text{ is } \mathcal{F}\text{-measurable and } \left(\int \|f(\omega)\|_{\mathsf{X}}^p \, \mathbb{M}(d\omega)\right)^{1/p} < \infty \right.\right\}, \qquad p\geq 1. $$
These exist both for finite and infinite-dimensional Banach spaces $\mathsf{X}$. The larger $p$, the more structure we are giving. Meaning that under mild regularity conditions, the spaces are nested $L^q \subset L^p$ for $q > p$. In particular, for $p = 1$ all functions in $L^1$ are Bochner integrable.
An integral is called expectation when $\mathbb{M}$ is a probability measure (or finite, I suppose, since by rescaling they are equivalent). Then expectations exist when the measurable function $f$ is in $L^1$.