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
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

Back
Top