Monotonicity of $a_n=1+frac{(-1)^n}{n}$












1












$begingroup$


I'm trying to study the monotonicity of $a_n=1+frac{(-1)^n}{n}$, but what I'm getting isn't correct:



I just assume that $a_n$ is monotonically increasing, and if it isn't, I'll get something absurd:



So, $a_n$ is monotonically increasing iff
$$
begin{split}
a_{n+1} geq a_n
&iff left(1+frac{(-1)^{n+1}}{n+1}right)
- left(1+frac{(-1)^{n}}{n}right) geq 0 \
&iff frac{(-1)^{n+1}}{n+1} - frac{(-1)^{n}}{n} geq 0 \
&iff frac{(-1)^{n+1}}{n+1} geq frac{(-1)^{n}}{n},
end{split}
$$



Which doesn't make sense since $lim_{n to infty} frac{(-1)^n}{n}=0$ and $lim_{n to infty} frac{(-1)^{n+1}}{n+1}=0$, but the later one decreases more rapidly, so $a_n$ would be monotonically decreasing.



But, the solution says that if $n$ is even then $a_n$ is monotonically decreasing and if $n$ is odd then monotonically increasing. How do I prove that? What's wrong with what I did?










share|cite|improve this question











$endgroup$

















    1












    $begingroup$


    I'm trying to study the monotonicity of $a_n=1+frac{(-1)^n}{n}$, but what I'm getting isn't correct:



    I just assume that $a_n$ is monotonically increasing, and if it isn't, I'll get something absurd:



    So, $a_n$ is monotonically increasing iff
    $$
    begin{split}
    a_{n+1} geq a_n
    &iff left(1+frac{(-1)^{n+1}}{n+1}right)
    - left(1+frac{(-1)^{n}}{n}right) geq 0 \
    &iff frac{(-1)^{n+1}}{n+1} - frac{(-1)^{n}}{n} geq 0 \
    &iff frac{(-1)^{n+1}}{n+1} geq frac{(-1)^{n}}{n},
    end{split}
    $$



    Which doesn't make sense since $lim_{n to infty} frac{(-1)^n}{n}=0$ and $lim_{n to infty} frac{(-1)^{n+1}}{n+1}=0$, but the later one decreases more rapidly, so $a_n$ would be monotonically decreasing.



    But, the solution says that if $n$ is even then $a_n$ is monotonically decreasing and if $n$ is odd then monotonically increasing. How do I prove that? What's wrong with what I did?










    share|cite|improve this question











    $endgroup$















      1












      1








      1





      $begingroup$


      I'm trying to study the monotonicity of $a_n=1+frac{(-1)^n}{n}$, but what I'm getting isn't correct:



      I just assume that $a_n$ is monotonically increasing, and if it isn't, I'll get something absurd:



      So, $a_n$ is monotonically increasing iff
      $$
      begin{split}
      a_{n+1} geq a_n
      &iff left(1+frac{(-1)^{n+1}}{n+1}right)
      - left(1+frac{(-1)^{n}}{n}right) geq 0 \
      &iff frac{(-1)^{n+1}}{n+1} - frac{(-1)^{n}}{n} geq 0 \
      &iff frac{(-1)^{n+1}}{n+1} geq frac{(-1)^{n}}{n},
      end{split}
      $$



      Which doesn't make sense since $lim_{n to infty} frac{(-1)^n}{n}=0$ and $lim_{n to infty} frac{(-1)^{n+1}}{n+1}=0$, but the later one decreases more rapidly, so $a_n$ would be monotonically decreasing.



      But, the solution says that if $n$ is even then $a_n$ is monotonically decreasing and if $n$ is odd then monotonically increasing. How do I prove that? What's wrong with what I did?










      share|cite|improve this question











      $endgroup$




      I'm trying to study the monotonicity of $a_n=1+frac{(-1)^n}{n}$, but what I'm getting isn't correct:



      I just assume that $a_n$ is monotonically increasing, and if it isn't, I'll get something absurd:



      So, $a_n$ is monotonically increasing iff
      $$
      begin{split}
      a_{n+1} geq a_n
      &iff left(1+frac{(-1)^{n+1}}{n+1}right)
      - left(1+frac{(-1)^{n}}{n}right) geq 0 \
      &iff frac{(-1)^{n+1}}{n+1} - frac{(-1)^{n}}{n} geq 0 \
      &iff frac{(-1)^{n+1}}{n+1} geq frac{(-1)^{n}}{n},
      end{split}
      $$



      Which doesn't make sense since $lim_{n to infty} frac{(-1)^n}{n}=0$ and $lim_{n to infty} frac{(-1)^{n+1}}{n+1}=0$, but the later one decreases more rapidly, so $a_n$ would be monotonically decreasing.



      But, the solution says that if $n$ is even then $a_n$ is monotonically decreasing and if $n$ is odd then monotonically increasing. How do I prove that? What's wrong with what I did?







      real-analysis calculus sequences-and-series monotone-functions






      share|cite|improve this question















      share|cite|improve this question













      share|cite|improve this question




      share|cite|improve this question








      edited Dec 24 '18 at 16:01









      gt6989b

      36.1k22557




      36.1k22557










      asked Dec 24 '18 at 15:51









      E----E----

      32410




      32410






















          5 Answers
          5






          active

          oldest

          votes


















          6












          $begingroup$

          HINT
          There is nothing wrong with your logic, but the last statement is false for any even $n$, since the RHS is positive and the LHS is negative.



          To appreciate what is going on, graph the function:
          enter image description here






          share|cite|improve this answer









          $endgroup$





















            2












            $begingroup$

            Your sequence is oscillating around its limit point. If you take a look at two subsequences for odd and even indices, you'll notice that both of them are monotone. One is monotonically increasing, while the other is monotonically decreasing:
            $$
            a_{2k} = 1 + {1over 2k} \
            a_{2k -1} = 1 - {1over 2k-1}
            $$



            But the whole sequence is not monotone.



            Here is a visualization.






            share|cite|improve this answer











            $endgroup$





















              2












              $begingroup$

              It is not monotonic since $a_{2n}>1$ and $a_{2n+1}<1$.






              share|cite|improve this answer









              $endgroup$





















                0












                $begingroup$

                But it's not monotonically increasing because $a_{2n+1}=1-1/(2n+1)<1+1/2n=a_{2n}.$






                share|cite|improve this answer









                $endgroup$





















                  0












                  $begingroup$

                  The sequence $(a_n)_{ngeq 1}$ is not monotonic, but the subsequence $(a_{2k})_{kgeq 1}$ is decreasing and the subsequence $(a_{2k+1})_{kgeq 1}$ is increasing.






                  share|cite|improve this answer









                  $endgroup$














                    Your Answer








                    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%2f3051378%2fmonotonicity-of-a-n-1-frac-1nn%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown

























                    5 Answers
                    5






                    active

                    oldest

                    votes








                    5 Answers
                    5






                    active

                    oldest

                    votes









                    active

                    oldest

                    votes






                    active

                    oldest

                    votes









                    6












                    $begingroup$

                    HINT
                    There is nothing wrong with your logic, but the last statement is false for any even $n$, since the RHS is positive and the LHS is negative.



                    To appreciate what is going on, graph the function:
                    enter image description here






                    share|cite|improve this answer









                    $endgroup$


















                      6












                      $begingroup$

                      HINT
                      There is nothing wrong with your logic, but the last statement is false for any even $n$, since the RHS is positive and the LHS is negative.



                      To appreciate what is going on, graph the function:
                      enter image description here






                      share|cite|improve this answer









                      $endgroup$
















                        6












                        6








                        6





                        $begingroup$

                        HINT
                        There is nothing wrong with your logic, but the last statement is false for any even $n$, since the RHS is positive and the LHS is negative.



                        To appreciate what is going on, graph the function:
                        enter image description here






                        share|cite|improve this answer









                        $endgroup$



                        HINT
                        There is nothing wrong with your logic, but the last statement is false for any even $n$, since the RHS is positive and the LHS is negative.



                        To appreciate what is going on, graph the function:
                        enter image description here







                        share|cite|improve this answer












                        share|cite|improve this answer



                        share|cite|improve this answer










                        answered Dec 24 '18 at 15:54









                        gt6989bgt6989b

                        36.1k22557




                        36.1k22557























                            2












                            $begingroup$

                            Your sequence is oscillating around its limit point. If you take a look at two subsequences for odd and even indices, you'll notice that both of them are monotone. One is monotonically increasing, while the other is monotonically decreasing:
                            $$
                            a_{2k} = 1 + {1over 2k} \
                            a_{2k -1} = 1 - {1over 2k-1}
                            $$



                            But the whole sequence is not monotone.



                            Here is a visualization.






                            share|cite|improve this answer











                            $endgroup$


















                              2












                              $begingroup$

                              Your sequence is oscillating around its limit point. If you take a look at two subsequences for odd and even indices, you'll notice that both of them are monotone. One is monotonically increasing, while the other is monotonically decreasing:
                              $$
                              a_{2k} = 1 + {1over 2k} \
                              a_{2k -1} = 1 - {1over 2k-1}
                              $$



                              But the whole sequence is not monotone.



                              Here is a visualization.






                              share|cite|improve this answer











                              $endgroup$
















                                2












                                2








                                2





                                $begingroup$

                                Your sequence is oscillating around its limit point. If you take a look at two subsequences for odd and even indices, you'll notice that both of them are monotone. One is monotonically increasing, while the other is monotonically decreasing:
                                $$
                                a_{2k} = 1 + {1over 2k} \
                                a_{2k -1} = 1 - {1over 2k-1}
                                $$



                                But the whole sequence is not monotone.



                                Here is a visualization.






                                share|cite|improve this answer











                                $endgroup$



                                Your sequence is oscillating around its limit point. If you take a look at two subsequences for odd and even indices, you'll notice that both of them are monotone. One is monotonically increasing, while the other is monotonically decreasing:
                                $$
                                a_{2k} = 1 + {1over 2k} \
                                a_{2k -1} = 1 - {1over 2k-1}
                                $$



                                But the whole sequence is not monotone.



                                Here is a visualization.







                                share|cite|improve this answer














                                share|cite|improve this answer



                                share|cite|improve this answer








                                edited Dec 24 '18 at 16:05

























                                answered Dec 24 '18 at 15:56









                                romanroman

                                2,55921226




                                2,55921226























                                    2












                                    $begingroup$

                                    It is not monotonic since $a_{2n}>1$ and $a_{2n+1}<1$.






                                    share|cite|improve this answer









                                    $endgroup$


















                                      2












                                      $begingroup$

                                      It is not monotonic since $a_{2n}>1$ and $a_{2n+1}<1$.






                                      share|cite|improve this answer









                                      $endgroup$
















                                        2












                                        2








                                        2





                                        $begingroup$

                                        It is not monotonic since $a_{2n}>1$ and $a_{2n+1}<1$.






                                        share|cite|improve this answer









                                        $endgroup$



                                        It is not monotonic since $a_{2n}>1$ and $a_{2n+1}<1$.







                                        share|cite|improve this answer












                                        share|cite|improve this answer



                                        share|cite|improve this answer










                                        answered Dec 24 '18 at 16:37









                                        TaladrisTaladris

                                        4,92731933




                                        4,92731933























                                            0












                                            $begingroup$

                                            But it's not monotonically increasing because $a_{2n+1}=1-1/(2n+1)<1+1/2n=a_{2n}.$






                                            share|cite|improve this answer









                                            $endgroup$


















                                              0












                                              $begingroup$

                                              But it's not monotonically increasing because $a_{2n+1}=1-1/(2n+1)<1+1/2n=a_{2n}.$






                                              share|cite|improve this answer









                                              $endgroup$
















                                                0












                                                0








                                                0





                                                $begingroup$

                                                But it's not monotonically increasing because $a_{2n+1}=1-1/(2n+1)<1+1/2n=a_{2n}.$






                                                share|cite|improve this answer









                                                $endgroup$



                                                But it's not monotonically increasing because $a_{2n+1}=1-1/(2n+1)<1+1/2n=a_{2n}.$







                                                share|cite|improve this answer












                                                share|cite|improve this answer



                                                share|cite|improve this answer










                                                answered Dec 24 '18 at 15:55









                                                John_WickJohn_Wick

                                                1,626111




                                                1,626111























                                                    0












                                                    $begingroup$

                                                    The sequence $(a_n)_{ngeq 1}$ is not monotonic, but the subsequence $(a_{2k})_{kgeq 1}$ is decreasing and the subsequence $(a_{2k+1})_{kgeq 1}$ is increasing.






                                                    share|cite|improve this answer









                                                    $endgroup$


















                                                      0












                                                      $begingroup$

                                                      The sequence $(a_n)_{ngeq 1}$ is not monotonic, but the subsequence $(a_{2k})_{kgeq 1}$ is decreasing and the subsequence $(a_{2k+1})_{kgeq 1}$ is increasing.






                                                      share|cite|improve this answer









                                                      $endgroup$
















                                                        0












                                                        0








                                                        0





                                                        $begingroup$

                                                        The sequence $(a_n)_{ngeq 1}$ is not monotonic, but the subsequence $(a_{2k})_{kgeq 1}$ is decreasing and the subsequence $(a_{2k+1})_{kgeq 1}$ is increasing.






                                                        share|cite|improve this answer









                                                        $endgroup$



                                                        The sequence $(a_n)_{ngeq 1}$ is not monotonic, but the subsequence $(a_{2k})_{kgeq 1}$ is decreasing and the subsequence $(a_{2k+1})_{kgeq 1}$ is increasing.







                                                        share|cite|improve this answer












                                                        share|cite|improve this answer



                                                        share|cite|improve this answer










                                                        answered Dec 24 '18 at 15:56









                                                        MirceaMircea

                                                        1736




                                                        1736






























                                                            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%2f3051378%2fmonotonicity-of-a-n-1-frac-1nn%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

                                                            Plaza Victoria

                                                            Puebla de Zaragoza

                                                            Musa