Does value of the integral stay unchanged if we change the value of function at countable number of points?

118 Views Asked by At

Let $f: [a,b] \to \mathbb{R}$ and then let $g : [a,b] \to \mathbb{R}$ given by, $$ g(x)= \begin{cases} f(x) &,\, x \in[a,b]\setminus E \\ K &, \, x \in [a,b]\cap E\end{cases}$$ where $K$ is any real number and $E$ is a countable (finite or countably infinite) subset of $[a,b]$.

Now if $f \in R[a,b]$ then is it the case that $g \in R[a,b]$ with $ \int\limits_{[a,b]}g=\int\limits_{[a,b]} f$?

The notation $f \in R[a,b]$ seems to have caused confusion. Apologies for that, by that notation, I meant $f$ is Riemann integrable on $[a,b]$


My question is motivated by this result. According to it, $f \in R[a,b]$ then is it the case that $g \in R[a,b]$

1

There are 1 best solutions below

9
On BEST ANSWER

The answer is simply no. People have been saying curious things here, perhaps thinking of the Lebesgue integral. And the result at the link requires stronger hypotheses.

Standard counterexample: if $f(x)=1$, $K=0$, $E=[a,b]\cap\Bbb Q$ then $f$ is integrable but $g$ is not.