Example of a non-integrable function f , such that |f| and f^2 are integrable?

  • Thread starter Thread starter irresistible
  • Start date Start date
  • Tags Tags
    Example Function
Click For Summary
A function f that meets the criteria of being discontinuous while having both |f| and f² integrable is f(x) = 1 for rational x and -1 for irrational x. This function is discontinuous everywhere, which aligns with the requirement for f. The discussion emphasizes that for Riemann or Newton integrals, such a function would not be integrable, but it is integrable in the broader sense. The participants acknowledge the challenge of finding such a function and express gratitude for the insights shared. Overall, the conversation highlights the nuances of integrability in mathematical analysis.
irresistible
Messages
15
Reaction score
0
I'm looking for a function
f:[a,b] -> R such that |f| and f2 are integrable on [a,b]
any helps?
 
Physics news on Phys.org
To start with, f must be discontinuous (a continuous function on a closed interval is integrable). Can you think of a function f such that f is discontinuous, but |f| (and thus f2 = |f|2) is continuous?This is really an analysis question, so it really belongs in that forum. :)[/size]
 
Last edited:
f(x)= 1 for x rational,
-1 for x irational
 
Don't just give him an answer. ;)

(That's the exact same function I was thinking of, though.)
 
I forgot to say: Only if you are dealing with Newton or rieman integrals, otherwise f(x) is integrable.
 
Oh I don't know why I didn't think of that!
Thank you so much to both of youuuu!
:smile:
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 20 ·
Replies
20
Views
3K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 10 ·
Replies
10
Views
6K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 15 ·
Replies
15
Views
2K