Lebesgue Integral of a piecewise defined function defined on irrationals and rationals(GATE-2017)

177 Views Asked by At

What can be said about the Lebesgue integral of the function in the interval $[0,1]$ defined as $$f(x)= \begin{cases}9^n, x\in\mathbb{Q}^c\\0, \:x\in\mathbb{Q}\end{cases}$$ where $n$ is the number of zeroes immediately after decimal point.

I think the answer is 1, but am unable to justify it. Is it correct, or is there another answer. Thanks beforehand.

2

There are 2 best solutions below

0
On BEST ANSWER

Let us think probabilistically. The decimal digits of a random number from $[0,1]$ are iid random variables, uniformly distributed on $\{0,1,\dots,9\}$. The index $N$ of first non-zero digit has then the geometric distribution with success probability $9/10$. Therefore, $$ \int_0^1 f(x) dx = \mathsf{E} [9^{N-1}] = \sum_{n=1}^\infty 9^{n-1}\cdot\mathsf{P}(N=n) = \sum_{n=1}^\infty 9^{n-1}\cdot\frac{9}{10^n}=9. $$

0
On

For $0\leq n\in \mathbb Z$ let $V(n)=\int_{10^{-n-1}}^{10^{-n}} f(x)\;dx.$ Then $V(n)=(10^{-n}-10^{-n-1})9^n=(9/10)^n,$ and $\int_0^1f(x)\;dx=\sum_{n=0}^{\infty}V(n)=9.$

We may suppose $f(x)=9^n$ for all $x\in (10^{-n-1},10^{-n}]$ as the Lebesgue integral of $f$ is unaffected by changing $f(x)$ at only countably many points.