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

  • Thread starter Thread starter MimuiSnoopy
  • Start date Start date
  • Tags Tags
    Function Riemann
Click For Summary
A function can be constructed that is not Riemann integrable while its absolute value is Riemann integrable. The example discussed is f(x) = 1 for rational x and f(x) = -1 for irrational x on the interval [0,1]. This function is not Riemann integrable due to its discontinuities, as it oscillates between two values without settling. However, the absolute value |f| equals 1 for all x, which is constant and thus Riemann integrable. This illustrates the distinction between the integrability of a function and its absolute value.
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?
 
There are probably loads of proofs of this online, but I do not want to cheat. Here is my attempt: Convexity says that $$f(\lambda a + (1-\lambda)b) \leq \lambda f(a) + (1-\lambda) f(b)$$ $$f(b + \lambda(a-b)) \leq f(b) + \lambda (f(a) - f(b))$$ We know from the intermediate value theorem that there exists a ##c \in (b,a)## such that $$\frac{f(a) - f(b)}{a-b} = f'(c).$$ Hence $$f(b + \lambda(a-b)) \leq f(b) + \lambda (a - b) f'(c))$$ $$\frac{f(b + \lambda(a-b)) - f(b)}{\lambda(a-b)}...

Similar threads

  • · Replies 16 ·
Replies
16
Views
4K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 28 ·
Replies
28
Views
6K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 10 ·
Replies
10
Views
4K
  • · Replies 8 ·
Replies
8
Views
755