Finding $f(1)$ from the given integral function











up vote
4
down vote

favorite













Consider the function-
$$g(x)=begin{cases} 1, text{ if } xin[-1,1]\ 0, text{ otherwise } end{cases}$$



and $$f(x)=lim_{hto0}frac{1}{2h}int_{x-h}^{x+h}g(y)dy$$



then what is the value of $f(1)?$




My attempt:



We get, $$f(1)=lim_{hto0}frac{1}{2h}int_{1-h}^{1+h}g(y)dy$$



Applying Newton-Leibnitz for the nuemerator after applying L'Hopital for this $0/0$ limit, we get



$$f(1)=frac{g(1+h)+g(1-h)}{2}=1$$



Am I correct?










share|cite|improve this question


























    up vote
    4
    down vote

    favorite













    Consider the function-
    $$g(x)=begin{cases} 1, text{ if } xin[-1,1]\ 0, text{ otherwise } end{cases}$$



    and $$f(x)=lim_{hto0}frac{1}{2h}int_{x-h}^{x+h}g(y)dy$$



    then what is the value of $f(1)?$




    My attempt:



    We get, $$f(1)=lim_{hto0}frac{1}{2h}int_{1-h}^{1+h}g(y)dy$$



    Applying Newton-Leibnitz for the nuemerator after applying L'Hopital for this $0/0$ limit, we get



    $$f(1)=frac{g(1+h)+g(1-h)}{2}=1$$



    Am I correct?










    share|cite|improve this question
























      up vote
      4
      down vote

      favorite









      up vote
      4
      down vote

      favorite












      Consider the function-
      $$g(x)=begin{cases} 1, text{ if } xin[-1,1]\ 0, text{ otherwise } end{cases}$$



      and $$f(x)=lim_{hto0}frac{1}{2h}int_{x-h}^{x+h}g(y)dy$$



      then what is the value of $f(1)?$




      My attempt:



      We get, $$f(1)=lim_{hto0}frac{1}{2h}int_{1-h}^{1+h}g(y)dy$$



      Applying Newton-Leibnitz for the nuemerator after applying L'Hopital for this $0/0$ limit, we get



      $$f(1)=frac{g(1+h)+g(1-h)}{2}=1$$



      Am I correct?










      share|cite|improve this question














      Consider the function-
      $$g(x)=begin{cases} 1, text{ if } xin[-1,1]\ 0, text{ otherwise } end{cases}$$



      and $$f(x)=lim_{hto0}frac{1}{2h}int_{x-h}^{x+h}g(y)dy$$



      then what is the value of $f(1)?$




      My attempt:



      We get, $$f(1)=lim_{hto0}frac{1}{2h}int_{1-h}^{1+h}g(y)dy$$



      Applying Newton-Leibnitz for the nuemerator after applying L'Hopital for this $0/0$ limit, we get



      $$f(1)=frac{g(1+h)+g(1-h)}{2}=1$$



      Am I correct?







      calculus integration






      share|cite|improve this question













      share|cite|improve this question











      share|cite|improve this question




      share|cite|improve this question










      asked Nov 18 at 19:28









      tatan

      5,53162555




      5,53162555






















          4 Answers
          4






          active

          oldest

          votes

















          up vote
          1
          down vote



          accepted










          Since the function under limit is an even function of $h$ it is sufficient to deal with $hto 0^{+}$ only.



          We have $$lim_{hto 0^{+}}frac{1}{2h}int_{1-h}^{1+h}g(y),dy=lim_{hto 0^{+}}frac{1}{2h}int_{1-h}^{1}g(y),dy$$ The integral evaluates to $h$ and hence the above limit is $1/2$.



          Your approach is fine but the issue is that you seem to assume $g$ continous at $1$.






          share|cite|improve this answer





















          • Thanks. I think I had gone blind while solving this to miss out on the real trivial part
            – tatan
            Nov 19 at 3:21


















          up vote
          4
          down vote













          You are replacing the wrong variable in your solution.



          $$
          f(1)=lim_{hto 0}frac{1}{2h}int_{1-h}^{1+h}g(y)dy.
          $$



          Now, for each fixed $h<2$,



          $$
          int_{1-h}^{1+h}g(y)dy=1-(1-h)=h.
          $$



          Thus,



          $$
          f(1)=lim_{hto 0}frac{h}{2h}=lim_{hto 0}frac{1}{2}=frac{1}{2}.
          $$






          share|cite|improve this answer




























            up vote
            2
            down vote













            $$f(1)=lim_{hto0}frac{1}{2h}int_{1-h}^{1+h}g(y)dy = lim_{hto0}frac{1}{2h}int_{1-h}^{1}g(y)dy = lim_{hto0}frac{1}{2h}(1-(1-h)) ={1over 2}$$






            share|cite|improve this answer




























              up vote
              0
              down vote













              The two sided limit, $lim_{h rightarrow 0}~g(1+h)$, does not exist because $g(x)$ is discontinuous in $x=1$. (To be more specific, we are dealing with a jump discontinuity.) This will cause problems when computing $f(1)$.



              If we would to take the one-sided limit from above, then we would get $lim_{h rightarrow 0^+}~g(1+h) = 0$ and $lim_{h rightarrow 0^+}~g(1-h) = 1$.



              I have not done the full derivation but I am guessing the final answer would be $f(1)=1/2$.



              I hope this helps you out enough, good luck solving the math problem!






              share|cite|improve this answer





















              • A jump discontinuity is no problem for an integral. For any $h lt 2$ we have the computation of $f(1)$ at that $h$ is $frac 12$, so the limit as $h to 0$ is $frac 12$
                – Ross Millikan
                Nov 19 at 1:21











              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',
              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%2f3004013%2ffinding-f1-from-the-given-integral-function%23new-answer', 'question_page');
              }
              );

              Post as a guest















              Required, but never shown

























              4 Answers
              4






              active

              oldest

              votes








              4 Answers
              4






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes








              up vote
              1
              down vote



              accepted










              Since the function under limit is an even function of $h$ it is sufficient to deal with $hto 0^{+}$ only.



              We have $$lim_{hto 0^{+}}frac{1}{2h}int_{1-h}^{1+h}g(y),dy=lim_{hto 0^{+}}frac{1}{2h}int_{1-h}^{1}g(y),dy$$ The integral evaluates to $h$ and hence the above limit is $1/2$.



              Your approach is fine but the issue is that you seem to assume $g$ continous at $1$.






              share|cite|improve this answer





















              • Thanks. I think I had gone blind while solving this to miss out on the real trivial part
                – tatan
                Nov 19 at 3:21















              up vote
              1
              down vote



              accepted










              Since the function under limit is an even function of $h$ it is sufficient to deal with $hto 0^{+}$ only.



              We have $$lim_{hto 0^{+}}frac{1}{2h}int_{1-h}^{1+h}g(y),dy=lim_{hto 0^{+}}frac{1}{2h}int_{1-h}^{1}g(y),dy$$ The integral evaluates to $h$ and hence the above limit is $1/2$.



              Your approach is fine but the issue is that you seem to assume $g$ continous at $1$.






              share|cite|improve this answer





















              • Thanks. I think I had gone blind while solving this to miss out on the real trivial part
                – tatan
                Nov 19 at 3:21













              up vote
              1
              down vote



              accepted







              up vote
              1
              down vote



              accepted






              Since the function under limit is an even function of $h$ it is sufficient to deal with $hto 0^{+}$ only.



              We have $$lim_{hto 0^{+}}frac{1}{2h}int_{1-h}^{1+h}g(y),dy=lim_{hto 0^{+}}frac{1}{2h}int_{1-h}^{1}g(y),dy$$ The integral evaluates to $h$ and hence the above limit is $1/2$.



              Your approach is fine but the issue is that you seem to assume $g$ continous at $1$.






              share|cite|improve this answer












              Since the function under limit is an even function of $h$ it is sufficient to deal with $hto 0^{+}$ only.



              We have $$lim_{hto 0^{+}}frac{1}{2h}int_{1-h}^{1+h}g(y),dy=lim_{hto 0^{+}}frac{1}{2h}int_{1-h}^{1}g(y),dy$$ The integral evaluates to $h$ and hence the above limit is $1/2$.



              Your approach is fine but the issue is that you seem to assume $g$ continous at $1$.







              share|cite|improve this answer












              share|cite|improve this answer



              share|cite|improve this answer










              answered Nov 19 at 1:17









              Paramanand Singh

              48.5k555156




              48.5k555156












              • Thanks. I think I had gone blind while solving this to miss out on the real trivial part
                – tatan
                Nov 19 at 3:21


















              • Thanks. I think I had gone blind while solving this to miss out on the real trivial part
                – tatan
                Nov 19 at 3:21
















              Thanks. I think I had gone blind while solving this to miss out on the real trivial part
              – tatan
              Nov 19 at 3:21




              Thanks. I think I had gone blind while solving this to miss out on the real trivial part
              – tatan
              Nov 19 at 3:21










              up vote
              4
              down vote













              You are replacing the wrong variable in your solution.



              $$
              f(1)=lim_{hto 0}frac{1}{2h}int_{1-h}^{1+h}g(y)dy.
              $$



              Now, for each fixed $h<2$,



              $$
              int_{1-h}^{1+h}g(y)dy=1-(1-h)=h.
              $$



              Thus,



              $$
              f(1)=lim_{hto 0}frac{h}{2h}=lim_{hto 0}frac{1}{2}=frac{1}{2}.
              $$






              share|cite|improve this answer

























                up vote
                4
                down vote













                You are replacing the wrong variable in your solution.



                $$
                f(1)=lim_{hto 0}frac{1}{2h}int_{1-h}^{1+h}g(y)dy.
                $$



                Now, for each fixed $h<2$,



                $$
                int_{1-h}^{1+h}g(y)dy=1-(1-h)=h.
                $$



                Thus,



                $$
                f(1)=lim_{hto 0}frac{h}{2h}=lim_{hto 0}frac{1}{2}=frac{1}{2}.
                $$






                share|cite|improve this answer























                  up vote
                  4
                  down vote










                  up vote
                  4
                  down vote









                  You are replacing the wrong variable in your solution.



                  $$
                  f(1)=lim_{hto 0}frac{1}{2h}int_{1-h}^{1+h}g(y)dy.
                  $$



                  Now, for each fixed $h<2$,



                  $$
                  int_{1-h}^{1+h}g(y)dy=1-(1-h)=h.
                  $$



                  Thus,



                  $$
                  f(1)=lim_{hto 0}frac{h}{2h}=lim_{hto 0}frac{1}{2}=frac{1}{2}.
                  $$






                  share|cite|improve this answer












                  You are replacing the wrong variable in your solution.



                  $$
                  f(1)=lim_{hto 0}frac{1}{2h}int_{1-h}^{1+h}g(y)dy.
                  $$



                  Now, for each fixed $h<2$,



                  $$
                  int_{1-h}^{1+h}g(y)dy=1-(1-h)=h.
                  $$



                  Thus,



                  $$
                  f(1)=lim_{hto 0}frac{h}{2h}=lim_{hto 0}frac{1}{2}=frac{1}{2}.
                  $$







                  share|cite|improve this answer












                  share|cite|improve this answer



                  share|cite|improve this answer










                  answered Nov 18 at 19:34









                  ervx

                  10.3k31338




                  10.3k31338






















                      up vote
                      2
                      down vote













                      $$f(1)=lim_{hto0}frac{1}{2h}int_{1-h}^{1+h}g(y)dy = lim_{hto0}frac{1}{2h}int_{1-h}^{1}g(y)dy = lim_{hto0}frac{1}{2h}(1-(1-h)) ={1over 2}$$






                      share|cite|improve this answer

























                        up vote
                        2
                        down vote













                        $$f(1)=lim_{hto0}frac{1}{2h}int_{1-h}^{1+h}g(y)dy = lim_{hto0}frac{1}{2h}int_{1-h}^{1}g(y)dy = lim_{hto0}frac{1}{2h}(1-(1-h)) ={1over 2}$$






                        share|cite|improve this answer























                          up vote
                          2
                          down vote










                          up vote
                          2
                          down vote









                          $$f(1)=lim_{hto0}frac{1}{2h}int_{1-h}^{1+h}g(y)dy = lim_{hto0}frac{1}{2h}int_{1-h}^{1}g(y)dy = lim_{hto0}frac{1}{2h}(1-(1-h)) ={1over 2}$$






                          share|cite|improve this answer












                          $$f(1)=lim_{hto0}frac{1}{2h}int_{1-h}^{1+h}g(y)dy = lim_{hto0}frac{1}{2h}int_{1-h}^{1}g(y)dy = lim_{hto0}frac{1}{2h}(1-(1-h)) ={1over 2}$$







                          share|cite|improve this answer












                          share|cite|improve this answer



                          share|cite|improve this answer










                          answered Nov 18 at 19:37









                          greedoid

                          36.3k114591




                          36.3k114591






















                              up vote
                              0
                              down vote













                              The two sided limit, $lim_{h rightarrow 0}~g(1+h)$, does not exist because $g(x)$ is discontinuous in $x=1$. (To be more specific, we are dealing with a jump discontinuity.) This will cause problems when computing $f(1)$.



                              If we would to take the one-sided limit from above, then we would get $lim_{h rightarrow 0^+}~g(1+h) = 0$ and $lim_{h rightarrow 0^+}~g(1-h) = 1$.



                              I have not done the full derivation but I am guessing the final answer would be $f(1)=1/2$.



                              I hope this helps you out enough, good luck solving the math problem!






                              share|cite|improve this answer





















                              • A jump discontinuity is no problem for an integral. For any $h lt 2$ we have the computation of $f(1)$ at that $h$ is $frac 12$, so the limit as $h to 0$ is $frac 12$
                                – Ross Millikan
                                Nov 19 at 1:21















                              up vote
                              0
                              down vote













                              The two sided limit, $lim_{h rightarrow 0}~g(1+h)$, does not exist because $g(x)$ is discontinuous in $x=1$. (To be more specific, we are dealing with a jump discontinuity.) This will cause problems when computing $f(1)$.



                              If we would to take the one-sided limit from above, then we would get $lim_{h rightarrow 0^+}~g(1+h) = 0$ and $lim_{h rightarrow 0^+}~g(1-h) = 1$.



                              I have not done the full derivation but I am guessing the final answer would be $f(1)=1/2$.



                              I hope this helps you out enough, good luck solving the math problem!






                              share|cite|improve this answer





















                              • A jump discontinuity is no problem for an integral. For any $h lt 2$ we have the computation of $f(1)$ at that $h$ is $frac 12$, so the limit as $h to 0$ is $frac 12$
                                – Ross Millikan
                                Nov 19 at 1:21













                              up vote
                              0
                              down vote










                              up vote
                              0
                              down vote









                              The two sided limit, $lim_{h rightarrow 0}~g(1+h)$, does not exist because $g(x)$ is discontinuous in $x=1$. (To be more specific, we are dealing with a jump discontinuity.) This will cause problems when computing $f(1)$.



                              If we would to take the one-sided limit from above, then we would get $lim_{h rightarrow 0^+}~g(1+h) = 0$ and $lim_{h rightarrow 0^+}~g(1-h) = 1$.



                              I have not done the full derivation but I am guessing the final answer would be $f(1)=1/2$.



                              I hope this helps you out enough, good luck solving the math problem!






                              share|cite|improve this answer












                              The two sided limit, $lim_{h rightarrow 0}~g(1+h)$, does not exist because $g(x)$ is discontinuous in $x=1$. (To be more specific, we are dealing with a jump discontinuity.) This will cause problems when computing $f(1)$.



                              If we would to take the one-sided limit from above, then we would get $lim_{h rightarrow 0^+}~g(1+h) = 0$ and $lim_{h rightarrow 0^+}~g(1-h) = 1$.



                              I have not done the full derivation but I am guessing the final answer would be $f(1)=1/2$.



                              I hope this helps you out enough, good luck solving the math problem!







                              share|cite|improve this answer












                              share|cite|improve this answer



                              share|cite|improve this answer










                              answered Nov 18 at 20:38









                              Martijn Cazemier

                              11




                              11












                              • A jump discontinuity is no problem for an integral. For any $h lt 2$ we have the computation of $f(1)$ at that $h$ is $frac 12$, so the limit as $h to 0$ is $frac 12$
                                – Ross Millikan
                                Nov 19 at 1:21


















                              • A jump discontinuity is no problem for an integral. For any $h lt 2$ we have the computation of $f(1)$ at that $h$ is $frac 12$, so the limit as $h to 0$ is $frac 12$
                                – Ross Millikan
                                Nov 19 at 1:21
















                              A jump discontinuity is no problem for an integral. For any $h lt 2$ we have the computation of $f(1)$ at that $h$ is $frac 12$, so the limit as $h to 0$ is $frac 12$
                              – Ross Millikan
                              Nov 19 at 1:21




                              A jump discontinuity is no problem for an integral. For any $h lt 2$ we have the computation of $f(1)$ at that $h$ is $frac 12$, so the limit as $h to 0$ is $frac 12$
                              – Ross Millikan
                              Nov 19 at 1:21


















                              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.





                              Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                              Please pay close attention to the following guidance:


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


                              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%2f3004013%2ffinding-f1-from-the-given-integral-function%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

                              How to change which sound is reproduced for terminal bell?

                              Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents

                              Can I use Tabulator js library in my java Spring + Thymeleaf project?