A function f that is not Riemann integrable but |f| is Riemann integrable?

  • Level: Graduate 
  • Thread starter Thread starter MimuiSnoopy
  • Start date Start date
  • Tags Tags
    Function Riemann
Join the discussion
Registration is free. Start your own thread to ask a follow-up.
1 reply · 3K views
MimuiSnoopy
Messages
2
Reaction score
0
I was just going over Riemann integrability and how to prove it, and was just wondering is it possible to have a function f that is not Riemann integrable but |f| is Riemann integrable? Say on an interval [0,1] for example. (as that is what most examples I have done are on so easiest for me to compare)
How would this work? Or does it not?
 
Physics news on Phys.org
f(x)=1 for rational x
f(x)=-1 for irrational x

Is it Riemann integrable?