Would someone be kind enough to explain to me what the notation in this exercise means? This is only one exercise of 1/12 of a course, but I really want to know what it is. Thanks!
So the problem says:
"Let $E=\{1/n:n\in\mathbb{N}\}$. Prove that the function: $$f(x) = \begin{cases} 1 & \text{if } x \in E \\ 0 & \text{otherwise} \end{cases}$$ is integrable on $[0,1]$."
Answer: (The text in bold is what I don't understand)
Let $\epsilon>0$. Choose $N\in\mathbb{N}$ such that $N>\frac{2}{\epsilon}$. Then, for all $n\ge N$ we have that $\frac{1}{n}<\frac{\epsilon}{2}$.
Now, let $\delta=\min\left\{\frac{\epsilon}{4N},\frac{1}{4N}\right\}$ and define the partition as
$$P=\left\{0,\frac{\epsilon}{2},\frac{1}{N-1}-\delta,\frac{1}{N-1}+\delta,\frac{1}{N-2}-\delta,\frac{1}{N-2}+\delta,...,\frac{1}{2}-\delta,\frac{1}{2}+\delta,1-\delta,1\right\}.$$
So this is the first thing that confuses me... what are these partitions? The main thing that confuses me is how it goes from small numbers up to $\frac{1}{2}$ and then goes straight to $1-\delta$ and $1$. I just cannot see how this relates to a partition of $a, x_1, x_2,...,x_{n-1},x_n,b$, for example.
And also, why is $\delta=\min\left\{\frac{\epsilon}{4N},\frac{1}{4N}\right\}$?
Now, $\sup(f)=1$ on $[0,\epsilon/2]$ and on $\left[\frac{1}{N-k}-\delta,\frac{1}{N-k}+\delta\right]$ for all $k\le N-2$, and $\sup(f)=0$ on all other subintervals determined by $P$ (Why? I kind of see the logic of this, but I then do not see why we have further below that $\inf(f)=0$. What is $\inf(f)$ and $L(f,P)$?), so
$$U(f,P)=1*\frac{\epsilon}{2}+0+1*2\delta+0+1*2\delta+...+0+1*2\delta+0+ΒΊ*\delta$$
Thus,
$$ \begin{align*} U(f,P) &< \frac{\epsilon}{2}+\frac{\epsilon}{2N}+...+\frac{\epsilon}{2N}+\frac{\epsilon}{4N} \\ &= \frac{\epsilon}{2}+\sum\limits_{k=1}^{N-2} \frac{\epsilon}{2N}+\frac{\epsilon}{4N} \\ &< \frac{\epsilon}{2}+\left(\frac{N-1}{N}\right)\frac{\epsilon}{2} \end{align*}$$
On the other hand, $L(f,P)=0$ since $\inf(f)=0$ on any subinterval of $[0,1]$.
Therefore, $U(f,P)-L(f,P)=U(f,P)-0=U(f,P)<\epsilon$. Since the choise of $\epsilon>0$ was arbitrary, we see that the function $f$ is integrable.