$f(x) = \begin{cases} \sin x \; ; & x \in \mathbb{R}/\mathbb{Q} \\ \cos x \; ; & x \in \mathbb{Q} \end{cases}$, discuss integrability of $f$ on $[0, \frac{\pi}{2}]$.
Shoham Teberiwal, AIR 77, 2023
Given $f(x) = \begin{cases} \sin x & x \in \mathbb{R}/\mathbb{Q} \\ \cos x & x \in \mathbb{Q} \end{cases}$
$U(P,f) = \sum M_p \delta_p$
Consider partition $P : [0, \frac{\pi}{4}, \frac{\pi}{2}]$
$[0, \frac{\pi}{4}]$, $[\frac{\pi}{4}, \frac{\pi}{2}]$: $\sin x \not< \cos x$, $\cos x \not< \sin x$
$U(P,f) =$ [?] $= \cos k + \sin \frac{\pi}{2}$ where $k$ is rational limit point of $\frac{\pi}{4}$
$L(P,f) = \sin 0 + \cos \frac{\pi}{2} = 0$
$U(P,f) - L(P,f) = 1 + \cos k$
$\therefore\ U(P,f) - L(P,f) \geq \epsilon$
Hence condition for integrability is not satisfied
It is not Reimann integrable