Integrability of an unbounded function over an unbounded set

1.1k Views Asked by At

I am looking for a function $f:[a, +\infty)\to\mathbb{R}$ with $a\in\mathbb{R}$ such that $f(x)$ satisfies all the following conditions:

  1. $f(x)$ is Riemann Integrable on $[a,m]$ for all $m>a$;
  2. $\lim_{x\to +\infty}f(x)$ does not exist;
  3. $f(x)$ is an unbounded function on $[b, +\infty)$ for all $b>a$;
  4. $\int_{a}^{+\infty}f(x)dx\in\mathbb{R}$.

Here's my attempt:

Let

$f(x)=\begin{cases}n&\mbox{ if }x\in \mathbb{N}\\ 0&\mbox{ otherwise}\end{cases}$

and $[a, +\infty)=[1, +\infty)$

  1. $f(x)$ is Riemann integrable over $[1, m]\mbox{ for all }m>1$, because is a continuous function with a finite number of discontinuities;

  2. $\lim_{x\to +\infty}f(x)$ does not exists, in fact I can consider two sequences $(x_n)_{n\in\mathbb{N}}$ and $(y_n)_{n\in\mathbb{N}}$ such that

    $\forall n\in\mathbb{N}, \ x_n\in\mathbb{N}\mbox{ and }\lim_{n\to +\infty}x_n=+\infty$

    $\forall n\in\mathbb{N}, \ y_n\notin\mathbb{N}\mbox{ and }\lim_{n\to +\infty}y_n=+\infty$

and I can prove that $\lim_{n\to +\infty}f(x_n)=+\infty\mbox{ but }\lim_{n\to +\infty}f(y_n)=0$.

  1. $f(x)$ is unbounded over $[b,+\infty)\mbox{ for all }b>1$, in fact $\lim_{n\to +\infty}f(x_n)=+\infty$.
  2. Now I think, but it's just a congecture, that $\int_{1}^{+\infty}f(x)dx=0$, is this true? How can I explain this?

Thank you.

1

There are 1 best solutions below

1
On BEST ANSWER

You're entirely correct, assuming by "integral" you mean "Lebesgue integral" for your part 4.

$\int_1^{\infty} f(x) dx$ is the integral of the indicator function of a null set (indeed, all countable subsets of $\mathbb{R}$ have measure $0$), so its value is $0$.


As user251257 points out, it's actually true in the sense of Riemann too. You can easily show that $\int_a^m f = 0$ for all $m$ - as you've pointed out already, $f$ on $[a,m]$ is just the $0$ function with finitely many discontinuities - and so $\int_a^{\infty} f = 0$ too.