g4(x)=liminfn→∞fn(x)=supn[infk≥nfk(x)]
Are all measurable functions
Proof
g1(x)=supnfn(x)
Note that
x \in g_{1}^{-1}(\,(\alpha, \infty]\,) &\iff \sup_{n} f_{n}(x) > \alpha \\
& \iff \exists\, n \text{ s.t. }f_{n}(x) > \alpha \\
&\iff x \in f_{n}^{-1} (\,(\alpha, \infty]\,) \\
&\iff x \in \bigcup_{n} f_{n}^{-1}(\, (\alpha, \infty]\,)
\end{align}$$
And each set in this union is [[Concept Wiki/lebesgue measurable\|measurable]] (since each $f_{n}$ is [[Concept Wiki/measurable function\|measurable]]), and thus the preimage of $(\alpha, \infty]$ under $g_{1}$ is also measurable. Thus $g_{1}$ is measurable.
g2(x)=infnfn(x)
In a similar manner (and using our equivalent intervals), we can check that
x∈g2−1([α,∞])⟺x∈⋂nfn−1([α,∞])
And since each fn−1([α,∞]) is measurable, we have that the countable intersection is integrable, and therefore that g2 is also measurable.
Finally, g3 and g4 follow immediately from the two proofs above showing measurable closure under both infimums and supremums (since they are the sup and inf of a sequence of measurable functions respectively).
this does not hold for Riemann integration!
The set Q∩[0,1] is countable, so enumerate its elements as r1,r2,r3,… Then the functions
1 & x \in \{ r_{1},\dots,r_{n} \} \\
0 & \text{otherwise}
\end{cases}$$
Are each Riemann integrable since they are piecewise continuous, but their limit is the indicator function $\mathbb{1}_{\mathbb{Q} \cap [0,1]}$ which is not.
(Riemann integration is not closed under limits)
Extension to Complex-Valued Functions
Theorem
If fn:E→C is measurable for all n and fn(x)→f(x) pointwise for all x∈E, then f is measurable.