Riemann-integral for a function that has infinitely many discontinuity points












0












$begingroup$


The question is following:



Let $f:[0,1]rightarrow mathbb{R}.$



$f(x)=x,$ if $x=1/n, ninmathbb{N}$



$f(x)=0,$ otherwise.



Is $f$ Riemann-integrable? If it is, what is its value?



I know that the basic idea of Riemann-integral is to find two step-functions $h$ and $g$ which both integrate to the same value and $h(x) leq f(x) leq g(x)$. This time I can't find the upper step-function. However I guess that this function is Riemann-integrable as it's discontinuous only on $1/n$. Also I'm guessing that it's value is $0$. Am I correct and how could I proof it?










share|cite|improve this question









$endgroup$












  • $begingroup$
    There is a theorem that says that a bounded function is Riemann integrable if and only if the set of its discontinuities has measure zero. In particular, if a bounded function has countably many discontinuities, it is Riemann integrable.
    $endgroup$
    – uniquesolution
    Jan 22 at 19:30










  • $begingroup$
    Okay so this tells me that I'm correct with my guess that this function is Riemann-integrable and it's value is 0. However I'm stuck trying to proof it
    $endgroup$
    – jte
    Jan 22 at 19:31










  • $begingroup$
    There is a different approach that uses more machinery, which I'm not sure is allowed for you. But, there is a theorem that says if $f$ is Riemann integrable, then its Riemann integral equals its Lebesgue integral. Your function satisfies the hypothesis of theorem. Using the Lebesgue integral, it is very easy to calculate that it is 0.
    $endgroup$
    – Nicholas Roberts
    Jan 22 at 20:03










  • $begingroup$
    Sadly I have to use the definition of Riemann's integral for this :( I might check that out if I can't come up with a solution otherwise.
    $endgroup$
    – jte
    Jan 22 at 20:05










  • $begingroup$
    Ok. The theorem I have referenced is Theorem 2.28 in Folland's Real Analysis, page 57. Good luck!
    $endgroup$
    – Nicholas Roberts
    Jan 22 at 20:06
















0












$begingroup$


The question is following:



Let $f:[0,1]rightarrow mathbb{R}.$



$f(x)=x,$ if $x=1/n, ninmathbb{N}$



$f(x)=0,$ otherwise.



Is $f$ Riemann-integrable? If it is, what is its value?



I know that the basic idea of Riemann-integral is to find two step-functions $h$ and $g$ which both integrate to the same value and $h(x) leq f(x) leq g(x)$. This time I can't find the upper step-function. However I guess that this function is Riemann-integrable as it's discontinuous only on $1/n$. Also I'm guessing that it's value is $0$. Am I correct and how could I proof it?










share|cite|improve this question









$endgroup$












  • $begingroup$
    There is a theorem that says that a bounded function is Riemann integrable if and only if the set of its discontinuities has measure zero. In particular, if a bounded function has countably many discontinuities, it is Riemann integrable.
    $endgroup$
    – uniquesolution
    Jan 22 at 19:30










  • $begingroup$
    Okay so this tells me that I'm correct with my guess that this function is Riemann-integrable and it's value is 0. However I'm stuck trying to proof it
    $endgroup$
    – jte
    Jan 22 at 19:31










  • $begingroup$
    There is a different approach that uses more machinery, which I'm not sure is allowed for you. But, there is a theorem that says if $f$ is Riemann integrable, then its Riemann integral equals its Lebesgue integral. Your function satisfies the hypothesis of theorem. Using the Lebesgue integral, it is very easy to calculate that it is 0.
    $endgroup$
    – Nicholas Roberts
    Jan 22 at 20:03










  • $begingroup$
    Sadly I have to use the definition of Riemann's integral for this :( I might check that out if I can't come up with a solution otherwise.
    $endgroup$
    – jte
    Jan 22 at 20:05










  • $begingroup$
    Ok. The theorem I have referenced is Theorem 2.28 in Folland's Real Analysis, page 57. Good luck!
    $endgroup$
    – Nicholas Roberts
    Jan 22 at 20:06














0












0








0





$begingroup$


The question is following:



Let $f:[0,1]rightarrow mathbb{R}.$



$f(x)=x,$ if $x=1/n, ninmathbb{N}$



$f(x)=0,$ otherwise.



Is $f$ Riemann-integrable? If it is, what is its value?



I know that the basic idea of Riemann-integral is to find two step-functions $h$ and $g$ which both integrate to the same value and $h(x) leq f(x) leq g(x)$. This time I can't find the upper step-function. However I guess that this function is Riemann-integrable as it's discontinuous only on $1/n$. Also I'm guessing that it's value is $0$. Am I correct and how could I proof it?










share|cite|improve this question









$endgroup$




The question is following:



Let $f:[0,1]rightarrow mathbb{R}.$



$f(x)=x,$ if $x=1/n, ninmathbb{N}$



$f(x)=0,$ otherwise.



Is $f$ Riemann-integrable? If it is, what is its value?



I know that the basic idea of Riemann-integral is to find two step-functions $h$ and $g$ which both integrate to the same value and $h(x) leq f(x) leq g(x)$. This time I can't find the upper step-function. However I guess that this function is Riemann-integrable as it's discontinuous only on $1/n$. Also I'm guessing that it's value is $0$. Am I correct and how could I proof it?







riemann-integration






share|cite|improve this question













share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked Jan 22 at 19:21









jtejte

336




336












  • $begingroup$
    There is a theorem that says that a bounded function is Riemann integrable if and only if the set of its discontinuities has measure zero. In particular, if a bounded function has countably many discontinuities, it is Riemann integrable.
    $endgroup$
    – uniquesolution
    Jan 22 at 19:30










  • $begingroup$
    Okay so this tells me that I'm correct with my guess that this function is Riemann-integrable and it's value is 0. However I'm stuck trying to proof it
    $endgroup$
    – jte
    Jan 22 at 19:31










  • $begingroup$
    There is a different approach that uses more machinery, which I'm not sure is allowed for you. But, there is a theorem that says if $f$ is Riemann integrable, then its Riemann integral equals its Lebesgue integral. Your function satisfies the hypothesis of theorem. Using the Lebesgue integral, it is very easy to calculate that it is 0.
    $endgroup$
    – Nicholas Roberts
    Jan 22 at 20:03










  • $begingroup$
    Sadly I have to use the definition of Riemann's integral for this :( I might check that out if I can't come up with a solution otherwise.
    $endgroup$
    – jte
    Jan 22 at 20:05










  • $begingroup$
    Ok. The theorem I have referenced is Theorem 2.28 in Folland's Real Analysis, page 57. Good luck!
    $endgroup$
    – Nicholas Roberts
    Jan 22 at 20:06


















  • $begingroup$
    There is a theorem that says that a bounded function is Riemann integrable if and only if the set of its discontinuities has measure zero. In particular, if a bounded function has countably many discontinuities, it is Riemann integrable.
    $endgroup$
    – uniquesolution
    Jan 22 at 19:30










  • $begingroup$
    Okay so this tells me that I'm correct with my guess that this function is Riemann-integrable and it's value is 0. However I'm stuck trying to proof it
    $endgroup$
    – jte
    Jan 22 at 19:31










  • $begingroup$
    There is a different approach that uses more machinery, which I'm not sure is allowed for you. But, there is a theorem that says if $f$ is Riemann integrable, then its Riemann integral equals its Lebesgue integral. Your function satisfies the hypothesis of theorem. Using the Lebesgue integral, it is very easy to calculate that it is 0.
    $endgroup$
    – Nicholas Roberts
    Jan 22 at 20:03










  • $begingroup$
    Sadly I have to use the definition of Riemann's integral for this :( I might check that out if I can't come up with a solution otherwise.
    $endgroup$
    – jte
    Jan 22 at 20:05










  • $begingroup$
    Ok. The theorem I have referenced is Theorem 2.28 in Folland's Real Analysis, page 57. Good luck!
    $endgroup$
    – Nicholas Roberts
    Jan 22 at 20:06
















$begingroup$
There is a theorem that says that a bounded function is Riemann integrable if and only if the set of its discontinuities has measure zero. In particular, if a bounded function has countably many discontinuities, it is Riemann integrable.
$endgroup$
– uniquesolution
Jan 22 at 19:30




$begingroup$
There is a theorem that says that a bounded function is Riemann integrable if and only if the set of its discontinuities has measure zero. In particular, if a bounded function has countably many discontinuities, it is Riemann integrable.
$endgroup$
– uniquesolution
Jan 22 at 19:30












$begingroup$
Okay so this tells me that I'm correct with my guess that this function is Riemann-integrable and it's value is 0. However I'm stuck trying to proof it
$endgroup$
– jte
Jan 22 at 19:31




$begingroup$
Okay so this tells me that I'm correct with my guess that this function is Riemann-integrable and it's value is 0. However I'm stuck trying to proof it
$endgroup$
– jte
Jan 22 at 19:31












$begingroup$
There is a different approach that uses more machinery, which I'm not sure is allowed for you. But, there is a theorem that says if $f$ is Riemann integrable, then its Riemann integral equals its Lebesgue integral. Your function satisfies the hypothesis of theorem. Using the Lebesgue integral, it is very easy to calculate that it is 0.
$endgroup$
– Nicholas Roberts
Jan 22 at 20:03




$begingroup$
There is a different approach that uses more machinery, which I'm not sure is allowed for you. But, there is a theorem that says if $f$ is Riemann integrable, then its Riemann integral equals its Lebesgue integral. Your function satisfies the hypothesis of theorem. Using the Lebesgue integral, it is very easy to calculate that it is 0.
$endgroup$
– Nicholas Roberts
Jan 22 at 20:03












$begingroup$
Sadly I have to use the definition of Riemann's integral for this :( I might check that out if I can't come up with a solution otherwise.
$endgroup$
– jte
Jan 22 at 20:05




$begingroup$
Sadly I have to use the definition of Riemann's integral for this :( I might check that out if I can't come up with a solution otherwise.
$endgroup$
– jte
Jan 22 at 20:05












$begingroup$
Ok. The theorem I have referenced is Theorem 2.28 in Folland's Real Analysis, page 57. Good luck!
$endgroup$
– Nicholas Roberts
Jan 22 at 20:06




$begingroup$
Ok. The theorem I have referenced is Theorem 2.28 in Folland's Real Analysis, page 57. Good luck!
$endgroup$
– Nicholas Roberts
Jan 22 at 20:06










1 Answer
1






active

oldest

votes


















2












$begingroup$

To do this from scratch, let $epsilon>0$ and consider the partition $Q$, such that:



$1). epsilon$ is a partition point, so that if $n>1/epsilon, 1/nin [0,epsilon].$ Let $Nge 2$ be the smallest integer for which this happens



and



$2). $ there are $x_{k}in Q,$ such that $x_k<1/k<x_{k+1}$ and $x_{k+1}-x_k<epsilon/2^k$ for $k<N.$



Then, $U(f,Q)=epsilonsum^N_{k=1}frac{1}{k2^k}+frac{epsilon }{N}<epsilon.$ Now clearly $L(f,Q)=0$ so $U(f,Q)-L(f,Q)<epsilon.$



Since $L(f,Q)leunderline int fle overline int fle U(f,Q)$, we conclude that $overline int f- underline int f<epsilon$, and since $epsilon$ is arbitrary, $int f$ exists and is equal to $0.$






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%2f3083590%2friemann-integral-for-a-function-that-has-infinitely-many-discontinuity-points%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









    2












    $begingroup$

    To do this from scratch, let $epsilon>0$ and consider the partition $Q$, such that:



    $1). epsilon$ is a partition point, so that if $n>1/epsilon, 1/nin [0,epsilon].$ Let $Nge 2$ be the smallest integer for which this happens



    and



    $2). $ there are $x_{k}in Q,$ such that $x_k<1/k<x_{k+1}$ and $x_{k+1}-x_k<epsilon/2^k$ for $k<N.$



    Then, $U(f,Q)=epsilonsum^N_{k=1}frac{1}{k2^k}+frac{epsilon }{N}<epsilon.$ Now clearly $L(f,Q)=0$ so $U(f,Q)-L(f,Q)<epsilon.$



    Since $L(f,Q)leunderline int fle overline int fle U(f,Q)$, we conclude that $overline int f- underline int f<epsilon$, and since $epsilon$ is arbitrary, $int f$ exists and is equal to $0.$






    share|cite|improve this answer











    $endgroup$


















      2












      $begingroup$

      To do this from scratch, let $epsilon>0$ and consider the partition $Q$, such that:



      $1). epsilon$ is a partition point, so that if $n>1/epsilon, 1/nin [0,epsilon].$ Let $Nge 2$ be the smallest integer for which this happens



      and



      $2). $ there are $x_{k}in Q,$ such that $x_k<1/k<x_{k+1}$ and $x_{k+1}-x_k<epsilon/2^k$ for $k<N.$



      Then, $U(f,Q)=epsilonsum^N_{k=1}frac{1}{k2^k}+frac{epsilon }{N}<epsilon.$ Now clearly $L(f,Q)=0$ so $U(f,Q)-L(f,Q)<epsilon.$



      Since $L(f,Q)leunderline int fle overline int fle U(f,Q)$, we conclude that $overline int f- underline int f<epsilon$, and since $epsilon$ is arbitrary, $int f$ exists and is equal to $0.$






      share|cite|improve this answer











      $endgroup$
















        2












        2








        2





        $begingroup$

        To do this from scratch, let $epsilon>0$ and consider the partition $Q$, such that:



        $1). epsilon$ is a partition point, so that if $n>1/epsilon, 1/nin [0,epsilon].$ Let $Nge 2$ be the smallest integer for which this happens



        and



        $2). $ there are $x_{k}in Q,$ such that $x_k<1/k<x_{k+1}$ and $x_{k+1}-x_k<epsilon/2^k$ for $k<N.$



        Then, $U(f,Q)=epsilonsum^N_{k=1}frac{1}{k2^k}+frac{epsilon }{N}<epsilon.$ Now clearly $L(f,Q)=0$ so $U(f,Q)-L(f,Q)<epsilon.$



        Since $L(f,Q)leunderline int fle overline int fle U(f,Q)$, we conclude that $overline int f- underline int f<epsilon$, and since $epsilon$ is arbitrary, $int f$ exists and is equal to $0.$






        share|cite|improve this answer











        $endgroup$



        To do this from scratch, let $epsilon>0$ and consider the partition $Q$, such that:



        $1). epsilon$ is a partition point, so that if $n>1/epsilon, 1/nin [0,epsilon].$ Let $Nge 2$ be the smallest integer for which this happens



        and



        $2). $ there are $x_{k}in Q,$ such that $x_k<1/k<x_{k+1}$ and $x_{k+1}-x_k<epsilon/2^k$ for $k<N.$



        Then, $U(f,Q)=epsilonsum^N_{k=1}frac{1}{k2^k}+frac{epsilon }{N}<epsilon.$ Now clearly $L(f,Q)=0$ so $U(f,Q)-L(f,Q)<epsilon.$



        Since $L(f,Q)leunderline int fle overline int fle U(f,Q)$, we conclude that $overline int f- underline int f<epsilon$, and since $epsilon$ is arbitrary, $int f$ exists and is equal to $0.$







        share|cite|improve this answer














        share|cite|improve this answer



        share|cite|improve this answer








        edited Jan 22 at 21:36

























        answered Jan 22 at 21:21









        MatematletaMatematleta

        11.4k2920




        11.4k2920






























            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%2f3083590%2friemann-integral-for-a-function-that-has-infinitely-many-discontinuity-points%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?