I need to find a Riemann integrable function, which is not monotonic on a closed interval. But I couldn't find one. I checked some continuous and discontinuous functions but still couldn't find a function satisfying the above things.
Can anyone give an example for Riemann integrable function, which is not monotonic on a closed interval?
Thanks in advance!
Assuming you mean a function that is not monotonic anywhere, but still integrable, there is the Weierstrass function, which is continuous everywhere (and thus integrable everywhere), but is nowhere monotonic.