Disprove: If $f$ is Riemann integrable on $ [a, b]$, then $f$ is continuous on $[a, b]$.












0












$begingroup$


Do you have any other function that serves as a counterexample to this statement?




If $f$ is Riemann integrable on $ [a, b]$, then $f$ is continuous on $[a, b]$.




My counter-examples



Consider the following
begin{align}f(x)=cases{0& if $x=0,$\sin(1/x)& if $x in (0,1]$.} end{align}



and
begin{align}f(x)=cases{0& if $0leq x<1/2,$\1 & if $1/2leq x leq 1 $.} end{align}
Both are not continuous, but are integrable over $[0,1].$










share|cite|improve this question









$endgroup$








  • 2




    $begingroup$
    Take $[a,b]=[-1,1]$ and $f$ to be the function $f(0)=1$ and $f(x)=0$ for all $xneq 0$.
    $endgroup$
    – Levent
    Jan 10 at 13:40












  • $begingroup$
    You're right! (+1)
    $endgroup$
    – Omojola Micheal
    Jan 10 at 13:41






  • 2




    $begingroup$
    Look at this weird function: en.wikipedia.org/wiki/Thomae%27s_function
    $endgroup$
    – sranthrop
    Jan 10 at 13:41










  • $begingroup$
    @sranthrop: What? That's interesting! I'd be happy if you can show it serves as a counterexample. (+1)
    $endgroup$
    – Omojola Micheal
    Jan 10 at 13:43












  • $begingroup$
    The wikipedia article contains all the proofs, you just have to look at it for more than only one minute ;) Moreover, Thomae's function has been treated in many questions on MSE!
    $endgroup$
    – sranthrop
    Jan 10 at 13:48
















0












$begingroup$


Do you have any other function that serves as a counterexample to this statement?




If $f$ is Riemann integrable on $ [a, b]$, then $f$ is continuous on $[a, b]$.




My counter-examples



Consider the following
begin{align}f(x)=cases{0& if $x=0,$\sin(1/x)& if $x in (0,1]$.} end{align}



and
begin{align}f(x)=cases{0& if $0leq x<1/2,$\1 & if $1/2leq x leq 1 $.} end{align}
Both are not continuous, but are integrable over $[0,1].$










share|cite|improve this question









$endgroup$








  • 2




    $begingroup$
    Take $[a,b]=[-1,1]$ and $f$ to be the function $f(0)=1$ and $f(x)=0$ for all $xneq 0$.
    $endgroup$
    – Levent
    Jan 10 at 13:40












  • $begingroup$
    You're right! (+1)
    $endgroup$
    – Omojola Micheal
    Jan 10 at 13:41






  • 2




    $begingroup$
    Look at this weird function: en.wikipedia.org/wiki/Thomae%27s_function
    $endgroup$
    – sranthrop
    Jan 10 at 13:41










  • $begingroup$
    @sranthrop: What? That's interesting! I'd be happy if you can show it serves as a counterexample. (+1)
    $endgroup$
    – Omojola Micheal
    Jan 10 at 13:43












  • $begingroup$
    The wikipedia article contains all the proofs, you just have to look at it for more than only one minute ;) Moreover, Thomae's function has been treated in many questions on MSE!
    $endgroup$
    – sranthrop
    Jan 10 at 13:48














0












0








0


1



$begingroup$


Do you have any other function that serves as a counterexample to this statement?




If $f$ is Riemann integrable on $ [a, b]$, then $f$ is continuous on $[a, b]$.




My counter-examples



Consider the following
begin{align}f(x)=cases{0& if $x=0,$\sin(1/x)& if $x in (0,1]$.} end{align}



and
begin{align}f(x)=cases{0& if $0leq x<1/2,$\1 & if $1/2leq x leq 1 $.} end{align}
Both are not continuous, but are integrable over $[0,1].$










share|cite|improve this question









$endgroup$




Do you have any other function that serves as a counterexample to this statement?




If $f$ is Riemann integrable on $ [a, b]$, then $f$ is continuous on $[a, b]$.




My counter-examples



Consider the following
begin{align}f(x)=cases{0& if $x=0,$\sin(1/x)& if $x in (0,1]$.} end{align}



and
begin{align}f(x)=cases{0& if $0leq x<1/2,$\1 & if $1/2leq x leq 1 $.} end{align}
Both are not continuous, but are integrable over $[0,1].$







real-analysis analysis continuity riemann-integration






share|cite|improve this question













share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked Jan 10 at 13:37









Omojola MichealOmojola Micheal

1,824324




1,824324








  • 2




    $begingroup$
    Take $[a,b]=[-1,1]$ and $f$ to be the function $f(0)=1$ and $f(x)=0$ for all $xneq 0$.
    $endgroup$
    – Levent
    Jan 10 at 13:40












  • $begingroup$
    You're right! (+1)
    $endgroup$
    – Omojola Micheal
    Jan 10 at 13:41






  • 2




    $begingroup$
    Look at this weird function: en.wikipedia.org/wiki/Thomae%27s_function
    $endgroup$
    – sranthrop
    Jan 10 at 13:41










  • $begingroup$
    @sranthrop: What? That's interesting! I'd be happy if you can show it serves as a counterexample. (+1)
    $endgroup$
    – Omojola Micheal
    Jan 10 at 13:43












  • $begingroup$
    The wikipedia article contains all the proofs, you just have to look at it for more than only one minute ;) Moreover, Thomae's function has been treated in many questions on MSE!
    $endgroup$
    – sranthrop
    Jan 10 at 13:48














  • 2




    $begingroup$
    Take $[a,b]=[-1,1]$ and $f$ to be the function $f(0)=1$ and $f(x)=0$ for all $xneq 0$.
    $endgroup$
    – Levent
    Jan 10 at 13:40












  • $begingroup$
    You're right! (+1)
    $endgroup$
    – Omojola Micheal
    Jan 10 at 13:41






  • 2




    $begingroup$
    Look at this weird function: en.wikipedia.org/wiki/Thomae%27s_function
    $endgroup$
    – sranthrop
    Jan 10 at 13:41










  • $begingroup$
    @sranthrop: What? That's interesting! I'd be happy if you can show it serves as a counterexample. (+1)
    $endgroup$
    – Omojola Micheal
    Jan 10 at 13:43












  • $begingroup$
    The wikipedia article contains all the proofs, you just have to look at it for more than only one minute ;) Moreover, Thomae's function has been treated in many questions on MSE!
    $endgroup$
    – sranthrop
    Jan 10 at 13:48








2




2




$begingroup$
Take $[a,b]=[-1,1]$ and $f$ to be the function $f(0)=1$ and $f(x)=0$ for all $xneq 0$.
$endgroup$
– Levent
Jan 10 at 13:40






$begingroup$
Take $[a,b]=[-1,1]$ and $f$ to be the function $f(0)=1$ and $f(x)=0$ for all $xneq 0$.
$endgroup$
– Levent
Jan 10 at 13:40














$begingroup$
You're right! (+1)
$endgroup$
– Omojola Micheal
Jan 10 at 13:41




$begingroup$
You're right! (+1)
$endgroup$
– Omojola Micheal
Jan 10 at 13:41




2




2




$begingroup$
Look at this weird function: en.wikipedia.org/wiki/Thomae%27s_function
$endgroup$
– sranthrop
Jan 10 at 13:41




$begingroup$
Look at this weird function: en.wikipedia.org/wiki/Thomae%27s_function
$endgroup$
– sranthrop
Jan 10 at 13:41












$begingroup$
@sranthrop: What? That's interesting! I'd be happy if you can show it serves as a counterexample. (+1)
$endgroup$
– Omojola Micheal
Jan 10 at 13:43






$begingroup$
@sranthrop: What? That's interesting! I'd be happy if you can show it serves as a counterexample. (+1)
$endgroup$
– Omojola Micheal
Jan 10 at 13:43














$begingroup$
The wikipedia article contains all the proofs, you just have to look at it for more than only one minute ;) Moreover, Thomae's function has been treated in many questions on MSE!
$endgroup$
– sranthrop
Jan 10 at 13:48




$begingroup$
The wikipedia article contains all the proofs, you just have to look at it for more than only one minute ;) Moreover, Thomae's function has been treated in many questions on MSE!
$endgroup$
– sranthrop
Jan 10 at 13:48










1 Answer
1






active

oldest

votes


















0












$begingroup$

The following function is also an interesting example-
$G:[0,1]rightarrowmathbb{R}$
$G(x):=begin{cases}
frac{1}{n} for x=frac{1}{n}(ninmathbb{N})\
0 xin[0,1]
end{cases}$



This function is not continuous at infinitely many points($x=frac{1}{n}(ninmathbb{N})$ to be precise) but still turns out to be integrable. Let's prove this by the familiar $epsilon-delta$ definition of Riemann integrability-



Let me guess that the integral is $0$ and then I'll prove it. Consider the set $E={x|G(x)geqfrac{epsilon}{2}}$ which is a finite set(eg-$epsilon=frac{1}{10},E={1,frac{1}{2},frac{1}{3},frac{1}{4},frac{1}{5},frac{1}{6},frac{1}{7},frac{1}{8},frac{1}{9},frac{1}{10}}$ of cardinality n(say) and consider $delta=frac{epsilon}{4n}$ and break the tagged partition $dot{P}$ into two parts



$dot{P_1}$:=tags in $E$ and $dot{P_2}$:=tags in $E^c$ respectively. Then even in the maximal case when all points in $E$ are tags of 2 partitions(i.e are boundary points of both), you would have $S(h;dot{P_1})=2n.frac{epsilon}{4n}$. Also, size of intervals$<1$ which would mean that $S(h;dot{P_2})=frac{epsilon}{2}*(size of interval)<frac{epsilon}{2}$



$S(h;dot{P})=S(h;dot{P_1})+S(h;dot{P_2})< 2n.frac{epsilon}{4n} +frac{epsilon}{2}=epsilon$



Since $epsilon>0$ was any random number, the function is Riemann integrable.



The Thomae function as pointed out in the comments is also an interesting example where the function is not continuous at infinitely many points($mathbb{Q}cap[0,1]$ to be precise) but still turns out to be integrable. For the part about continuity, you can refer to my answer here- https://math.stackexchange.com/a/3056570/584828



For showing that the function is continuous, there are 2 ways that I know of-



1) Using the Lebegue integrability criteria of integrability of a function which says that a bounded function $f:[a,b]rightarrowmathbb{R}$ is Riemann integrable iff it is continuous almost everywhere(meaning discontinuous only at some null set). Clearly, the points of discontinuity are $mathbb{Q}cap[0,1]$(refer to the link above for further explanation) which is a null set and so the function is Riemann integrable.



2) You can also prove it using the familiar $epsilon-delta$ definition of Riemann integrability(this is almost exactly the same as done for G above)-



Let me guess that the integral is $0$ and then I'll prove it. Let $E={x|h(x)geqfrac{epsilon}{2}}$(where h is the Thomae's function) and break the tagged partition $dot{P}$ into two parts



$dot{P_1}$:=tags in $E$ and $dot{P_2}$:=tags in $E^c$ respectively. Now, you must realize that E is a finite set(eg-$frac{epsilon}{2}=frac{1}{5},E={1,frac{1}{2},frac{1}{3},frac{2}{3},frac{1}{4},frac{3}{4},frac{1}{5},frac{2}{5},frac{3}{5},frac{4}{5}}$) of cardinality n(say) and hence, if you set $delta=frac{epsilon}{4n}$, then even in the maximal case when all points in $E$ are tags of 2 partitions(i.e are boundary points of both), you would have $S(h;dot{P_1})=2n.frac{epsilon}{4n}$. Also, size of intervals$<1$ which would mean that $S(h;dot{P_2})=frac{epsilon}{2}*(size of interval)<frac{epsilon}{2}$



$S(h;dot{P})=S(h;dot{P_1})+S(h;dot{P_2})< 2n.frac{epsilon}{4n} +frac{epsilon}{2}=epsilon$



Since $epsilon>0$ was any random number, the function is Riemann integrable.






share|cite|improve this answer









$endgroup$













    Your Answer





    StackExchange.ifUsing("editor", function () {
    return StackExchange.using("mathjaxEditing", function () {
    StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
    StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
    });
    });
    }, "mathjax-editing");

    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "69"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    noCode: true, onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3068647%2fdisprove-if-f-is-riemann-integrable-on-a-b-then-f-is-continuous-on%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0












    $begingroup$

    The following function is also an interesting example-
    $G:[0,1]rightarrowmathbb{R}$
    $G(x):=begin{cases}
    frac{1}{n} for x=frac{1}{n}(ninmathbb{N})\
    0 xin[0,1]
    end{cases}$



    This function is not continuous at infinitely many points($x=frac{1}{n}(ninmathbb{N})$ to be precise) but still turns out to be integrable. Let's prove this by the familiar $epsilon-delta$ definition of Riemann integrability-



    Let me guess that the integral is $0$ and then I'll prove it. Consider the set $E={x|G(x)geqfrac{epsilon}{2}}$ which is a finite set(eg-$epsilon=frac{1}{10},E={1,frac{1}{2},frac{1}{3},frac{1}{4},frac{1}{5},frac{1}{6},frac{1}{7},frac{1}{8},frac{1}{9},frac{1}{10}}$ of cardinality n(say) and consider $delta=frac{epsilon}{4n}$ and break the tagged partition $dot{P}$ into two parts



    $dot{P_1}$:=tags in $E$ and $dot{P_2}$:=tags in $E^c$ respectively. Then even in the maximal case when all points in $E$ are tags of 2 partitions(i.e are boundary points of both), you would have $S(h;dot{P_1})=2n.frac{epsilon}{4n}$. Also, size of intervals$<1$ which would mean that $S(h;dot{P_2})=frac{epsilon}{2}*(size of interval)<frac{epsilon}{2}$



    $S(h;dot{P})=S(h;dot{P_1})+S(h;dot{P_2})< 2n.frac{epsilon}{4n} +frac{epsilon}{2}=epsilon$



    Since $epsilon>0$ was any random number, the function is Riemann integrable.



    The Thomae function as pointed out in the comments is also an interesting example where the function is not continuous at infinitely many points($mathbb{Q}cap[0,1]$ to be precise) but still turns out to be integrable. For the part about continuity, you can refer to my answer here- https://math.stackexchange.com/a/3056570/584828



    For showing that the function is continuous, there are 2 ways that I know of-



    1) Using the Lebegue integrability criteria of integrability of a function which says that a bounded function $f:[a,b]rightarrowmathbb{R}$ is Riemann integrable iff it is continuous almost everywhere(meaning discontinuous only at some null set). Clearly, the points of discontinuity are $mathbb{Q}cap[0,1]$(refer to the link above for further explanation) which is a null set and so the function is Riemann integrable.



    2) You can also prove it using the familiar $epsilon-delta$ definition of Riemann integrability(this is almost exactly the same as done for G above)-



    Let me guess that the integral is $0$ and then I'll prove it. Let $E={x|h(x)geqfrac{epsilon}{2}}$(where h is the Thomae's function) and break the tagged partition $dot{P}$ into two parts



    $dot{P_1}$:=tags in $E$ and $dot{P_2}$:=tags in $E^c$ respectively. Now, you must realize that E is a finite set(eg-$frac{epsilon}{2}=frac{1}{5},E={1,frac{1}{2},frac{1}{3},frac{2}{3},frac{1}{4},frac{3}{4},frac{1}{5},frac{2}{5},frac{3}{5},frac{4}{5}}$) of cardinality n(say) and hence, if you set $delta=frac{epsilon}{4n}$, then even in the maximal case when all points in $E$ are tags of 2 partitions(i.e are boundary points of both), you would have $S(h;dot{P_1})=2n.frac{epsilon}{4n}$. Also, size of intervals$<1$ which would mean that $S(h;dot{P_2})=frac{epsilon}{2}*(size of interval)<frac{epsilon}{2}$



    $S(h;dot{P})=S(h;dot{P_1})+S(h;dot{P_2})< 2n.frac{epsilon}{4n} +frac{epsilon}{2}=epsilon$



    Since $epsilon>0$ was any random number, the function is Riemann integrable.






    share|cite|improve this answer









    $endgroup$


















      0












      $begingroup$

      The following function is also an interesting example-
      $G:[0,1]rightarrowmathbb{R}$
      $G(x):=begin{cases}
      frac{1}{n} for x=frac{1}{n}(ninmathbb{N})\
      0 xin[0,1]
      end{cases}$



      This function is not continuous at infinitely many points($x=frac{1}{n}(ninmathbb{N})$ to be precise) but still turns out to be integrable. Let's prove this by the familiar $epsilon-delta$ definition of Riemann integrability-



      Let me guess that the integral is $0$ and then I'll prove it. Consider the set $E={x|G(x)geqfrac{epsilon}{2}}$ which is a finite set(eg-$epsilon=frac{1}{10},E={1,frac{1}{2},frac{1}{3},frac{1}{4},frac{1}{5},frac{1}{6},frac{1}{7},frac{1}{8},frac{1}{9},frac{1}{10}}$ of cardinality n(say) and consider $delta=frac{epsilon}{4n}$ and break the tagged partition $dot{P}$ into two parts



      $dot{P_1}$:=tags in $E$ and $dot{P_2}$:=tags in $E^c$ respectively. Then even in the maximal case when all points in $E$ are tags of 2 partitions(i.e are boundary points of both), you would have $S(h;dot{P_1})=2n.frac{epsilon}{4n}$. Also, size of intervals$<1$ which would mean that $S(h;dot{P_2})=frac{epsilon}{2}*(size of interval)<frac{epsilon}{2}$



      $S(h;dot{P})=S(h;dot{P_1})+S(h;dot{P_2})< 2n.frac{epsilon}{4n} +frac{epsilon}{2}=epsilon$



      Since $epsilon>0$ was any random number, the function is Riemann integrable.



      The Thomae function as pointed out in the comments is also an interesting example where the function is not continuous at infinitely many points($mathbb{Q}cap[0,1]$ to be precise) but still turns out to be integrable. For the part about continuity, you can refer to my answer here- https://math.stackexchange.com/a/3056570/584828



      For showing that the function is continuous, there are 2 ways that I know of-



      1) Using the Lebegue integrability criteria of integrability of a function which says that a bounded function $f:[a,b]rightarrowmathbb{R}$ is Riemann integrable iff it is continuous almost everywhere(meaning discontinuous only at some null set). Clearly, the points of discontinuity are $mathbb{Q}cap[0,1]$(refer to the link above for further explanation) which is a null set and so the function is Riemann integrable.



      2) You can also prove it using the familiar $epsilon-delta$ definition of Riemann integrability(this is almost exactly the same as done for G above)-



      Let me guess that the integral is $0$ and then I'll prove it. Let $E={x|h(x)geqfrac{epsilon}{2}}$(where h is the Thomae's function) and break the tagged partition $dot{P}$ into two parts



      $dot{P_1}$:=tags in $E$ and $dot{P_2}$:=tags in $E^c$ respectively. Now, you must realize that E is a finite set(eg-$frac{epsilon}{2}=frac{1}{5},E={1,frac{1}{2},frac{1}{3},frac{2}{3},frac{1}{4},frac{3}{4},frac{1}{5},frac{2}{5},frac{3}{5},frac{4}{5}}$) of cardinality n(say) and hence, if you set $delta=frac{epsilon}{4n}$, then even in the maximal case when all points in $E$ are tags of 2 partitions(i.e are boundary points of both), you would have $S(h;dot{P_1})=2n.frac{epsilon}{4n}$. Also, size of intervals$<1$ which would mean that $S(h;dot{P_2})=frac{epsilon}{2}*(size of interval)<frac{epsilon}{2}$



      $S(h;dot{P})=S(h;dot{P_1})+S(h;dot{P_2})< 2n.frac{epsilon}{4n} +frac{epsilon}{2}=epsilon$



      Since $epsilon>0$ was any random number, the function is Riemann integrable.






      share|cite|improve this answer









      $endgroup$
















        0












        0








        0





        $begingroup$

        The following function is also an interesting example-
        $G:[0,1]rightarrowmathbb{R}$
        $G(x):=begin{cases}
        frac{1}{n} for x=frac{1}{n}(ninmathbb{N})\
        0 xin[0,1]
        end{cases}$



        This function is not continuous at infinitely many points($x=frac{1}{n}(ninmathbb{N})$ to be precise) but still turns out to be integrable. Let's prove this by the familiar $epsilon-delta$ definition of Riemann integrability-



        Let me guess that the integral is $0$ and then I'll prove it. Consider the set $E={x|G(x)geqfrac{epsilon}{2}}$ which is a finite set(eg-$epsilon=frac{1}{10},E={1,frac{1}{2},frac{1}{3},frac{1}{4},frac{1}{5},frac{1}{6},frac{1}{7},frac{1}{8},frac{1}{9},frac{1}{10}}$ of cardinality n(say) and consider $delta=frac{epsilon}{4n}$ and break the tagged partition $dot{P}$ into two parts



        $dot{P_1}$:=tags in $E$ and $dot{P_2}$:=tags in $E^c$ respectively. Then even in the maximal case when all points in $E$ are tags of 2 partitions(i.e are boundary points of both), you would have $S(h;dot{P_1})=2n.frac{epsilon}{4n}$. Also, size of intervals$<1$ which would mean that $S(h;dot{P_2})=frac{epsilon}{2}*(size of interval)<frac{epsilon}{2}$



        $S(h;dot{P})=S(h;dot{P_1})+S(h;dot{P_2})< 2n.frac{epsilon}{4n} +frac{epsilon}{2}=epsilon$



        Since $epsilon>0$ was any random number, the function is Riemann integrable.



        The Thomae function as pointed out in the comments is also an interesting example where the function is not continuous at infinitely many points($mathbb{Q}cap[0,1]$ to be precise) but still turns out to be integrable. For the part about continuity, you can refer to my answer here- https://math.stackexchange.com/a/3056570/584828



        For showing that the function is continuous, there are 2 ways that I know of-



        1) Using the Lebegue integrability criteria of integrability of a function which says that a bounded function $f:[a,b]rightarrowmathbb{R}$ is Riemann integrable iff it is continuous almost everywhere(meaning discontinuous only at some null set). Clearly, the points of discontinuity are $mathbb{Q}cap[0,1]$(refer to the link above for further explanation) which is a null set and so the function is Riemann integrable.



        2) You can also prove it using the familiar $epsilon-delta$ definition of Riemann integrability(this is almost exactly the same as done for G above)-



        Let me guess that the integral is $0$ and then I'll prove it. Let $E={x|h(x)geqfrac{epsilon}{2}}$(where h is the Thomae's function) and break the tagged partition $dot{P}$ into two parts



        $dot{P_1}$:=tags in $E$ and $dot{P_2}$:=tags in $E^c$ respectively. Now, you must realize that E is a finite set(eg-$frac{epsilon}{2}=frac{1}{5},E={1,frac{1}{2},frac{1}{3},frac{2}{3},frac{1}{4},frac{3}{4},frac{1}{5},frac{2}{5},frac{3}{5},frac{4}{5}}$) of cardinality n(say) and hence, if you set $delta=frac{epsilon}{4n}$, then even in the maximal case when all points in $E$ are tags of 2 partitions(i.e are boundary points of both), you would have $S(h;dot{P_1})=2n.frac{epsilon}{4n}$. Also, size of intervals$<1$ which would mean that $S(h;dot{P_2})=frac{epsilon}{2}*(size of interval)<frac{epsilon}{2}$



        $S(h;dot{P})=S(h;dot{P_1})+S(h;dot{P_2})< 2n.frac{epsilon}{4n} +frac{epsilon}{2}=epsilon$



        Since $epsilon>0$ was any random number, the function is Riemann integrable.






        share|cite|improve this answer









        $endgroup$



        The following function is also an interesting example-
        $G:[0,1]rightarrowmathbb{R}$
        $G(x):=begin{cases}
        frac{1}{n} for x=frac{1}{n}(ninmathbb{N})\
        0 xin[0,1]
        end{cases}$



        This function is not continuous at infinitely many points($x=frac{1}{n}(ninmathbb{N})$ to be precise) but still turns out to be integrable. Let's prove this by the familiar $epsilon-delta$ definition of Riemann integrability-



        Let me guess that the integral is $0$ and then I'll prove it. Consider the set $E={x|G(x)geqfrac{epsilon}{2}}$ which is a finite set(eg-$epsilon=frac{1}{10},E={1,frac{1}{2},frac{1}{3},frac{1}{4},frac{1}{5},frac{1}{6},frac{1}{7},frac{1}{8},frac{1}{9},frac{1}{10}}$ of cardinality n(say) and consider $delta=frac{epsilon}{4n}$ and break the tagged partition $dot{P}$ into two parts



        $dot{P_1}$:=tags in $E$ and $dot{P_2}$:=tags in $E^c$ respectively. Then even in the maximal case when all points in $E$ are tags of 2 partitions(i.e are boundary points of both), you would have $S(h;dot{P_1})=2n.frac{epsilon}{4n}$. Also, size of intervals$<1$ which would mean that $S(h;dot{P_2})=frac{epsilon}{2}*(size of interval)<frac{epsilon}{2}$



        $S(h;dot{P})=S(h;dot{P_1})+S(h;dot{P_2})< 2n.frac{epsilon}{4n} +frac{epsilon}{2}=epsilon$



        Since $epsilon>0$ was any random number, the function is Riemann integrable.



        The Thomae function as pointed out in the comments is also an interesting example where the function is not continuous at infinitely many points($mathbb{Q}cap[0,1]$ to be precise) but still turns out to be integrable. For the part about continuity, you can refer to my answer here- https://math.stackexchange.com/a/3056570/584828



        For showing that the function is continuous, there are 2 ways that I know of-



        1) Using the Lebegue integrability criteria of integrability of a function which says that a bounded function $f:[a,b]rightarrowmathbb{R}$ is Riemann integrable iff it is continuous almost everywhere(meaning discontinuous only at some null set). Clearly, the points of discontinuity are $mathbb{Q}cap[0,1]$(refer to the link above for further explanation) which is a null set and so the function is Riemann integrable.



        2) You can also prove it using the familiar $epsilon-delta$ definition of Riemann integrability(this is almost exactly the same as done for G above)-



        Let me guess that the integral is $0$ and then I'll prove it. Let $E={x|h(x)geqfrac{epsilon}{2}}$(where h is the Thomae's function) and break the tagged partition $dot{P}$ into two parts



        $dot{P_1}$:=tags in $E$ and $dot{P_2}$:=tags in $E^c$ respectively. Now, you must realize that E is a finite set(eg-$frac{epsilon}{2}=frac{1}{5},E={1,frac{1}{2},frac{1}{3},frac{2}{3},frac{1}{4},frac{3}{4},frac{1}{5},frac{2}{5},frac{3}{5},frac{4}{5}}$) of cardinality n(say) and hence, if you set $delta=frac{epsilon}{4n}$, then even in the maximal case when all points in $E$ are tags of 2 partitions(i.e are boundary points of both), you would have $S(h;dot{P_1})=2n.frac{epsilon}{4n}$. Also, size of intervals$<1$ which would mean that $S(h;dot{P_2})=frac{epsilon}{2}*(size of interval)<frac{epsilon}{2}$



        $S(h;dot{P})=S(h;dot{P_1})+S(h;dot{P_2})< 2n.frac{epsilon}{4n} +frac{epsilon}{2}=epsilon$



        Since $epsilon>0$ was any random number, the function is Riemann integrable.







        share|cite|improve this answer












        share|cite|improve this answer



        share|cite|improve this answer










        answered Jan 10 at 16:32









        MustangMustang

        3427




        3427






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Mathematics Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            Use MathJax to format equations. MathJax reference.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3068647%2fdisprove-if-f-is-riemann-integrable-on-a-b-then-f-is-continuous-on%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Mario Kart Wii

            The Binding of Isaac: Rebirth/Afterbirth

            What does “Dominus providebit” mean?