Recurrence relations (finding the solution)











up vote
1
down vote

favorite
1












Let $k in mathbb{N}$ with $k geq 2$.



$x_k=frac{2}{3}x_{k-1}+frac{1}{3}x_{k-2}$



$x_0=0$



$x_1=1$



How to find the solution for $lbrace x_k rbrace _{k in mathbb{N_0}}$?



Since it's for $k geq 2$ I got:



$k=2:$



$x_2=frac{2}{3}x_1+frac{1}{3}x_0=frac{2}{3}$



But how to continue to find the solution? I thought about using induction and I get as result:



$x_{k+1}= frac{2}{3}x_k+frac{1}{3}x_{k-1}$



Here I don't know what to do next.










share|cite|improve this question


























    up vote
    1
    down vote

    favorite
    1












    Let $k in mathbb{N}$ with $k geq 2$.



    $x_k=frac{2}{3}x_{k-1}+frac{1}{3}x_{k-2}$



    $x_0=0$



    $x_1=1$



    How to find the solution for $lbrace x_k rbrace _{k in mathbb{N_0}}$?



    Since it's for $k geq 2$ I got:



    $k=2:$



    $x_2=frac{2}{3}x_1+frac{1}{3}x_0=frac{2}{3}$



    But how to continue to find the solution? I thought about using induction and I get as result:



    $x_{k+1}= frac{2}{3}x_k+frac{1}{3}x_{k-1}$



    Here I don't know what to do next.










    share|cite|improve this question
























      up vote
      1
      down vote

      favorite
      1









      up vote
      1
      down vote

      favorite
      1






      1





      Let $k in mathbb{N}$ with $k geq 2$.



      $x_k=frac{2}{3}x_{k-1}+frac{1}{3}x_{k-2}$



      $x_0=0$



      $x_1=1$



      How to find the solution for $lbrace x_k rbrace _{k in mathbb{N_0}}$?



      Since it's for $k geq 2$ I got:



      $k=2:$



      $x_2=frac{2}{3}x_1+frac{1}{3}x_0=frac{2}{3}$



      But how to continue to find the solution? I thought about using induction and I get as result:



      $x_{k+1}= frac{2}{3}x_k+frac{1}{3}x_{k-1}$



      Here I don't know what to do next.










      share|cite|improve this question













      Let $k in mathbb{N}$ with $k geq 2$.



      $x_k=frac{2}{3}x_{k-1}+frac{1}{3}x_{k-2}$



      $x_0=0$



      $x_1=1$



      How to find the solution for $lbrace x_k rbrace _{k in mathbb{N_0}}$?



      Since it's for $k geq 2$ I got:



      $k=2:$



      $x_2=frac{2}{3}x_1+frac{1}{3}x_0=frac{2}{3}$



      But how to continue to find the solution? I thought about using induction and I get as result:



      $x_{k+1}= frac{2}{3}x_k+frac{1}{3}x_{k-1}$



      Here I don't know what to do next.







      calculus recurrence-relations






      share|cite|improve this question













      share|cite|improve this question











      share|cite|improve this question




      share|cite|improve this question










      asked Nov 15 at 20:48









      Hertul

      425




      425






















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          1
          down vote



          accepted










          Write $$
          x_k=frac{2}{3}x_{k-1}+frac{1}{3}y_{k-1}\
          y_k = x_{k-1}
          $$

          so
          $$
          left(x_k atop y_k right)=left({frac23 quad frac13 } atop {1 quad 0 } right) left(x_{k-1} atop y_{k-1} right)
          $$

          which gives you
          $$
          left(x_k atop y_k right)=left({frac23 quad frac13 } atop {1 quad 0 } right)^k left(x_{0} atop x_1 right)
          $$

          So you need the powers of the matrix which can be found by eigenvalues. They are $1$ and $ - frac13$. So you can as well make the ansatz



          $$
          x_k = a + b (-frac13)^k
          $$

          solving for $a$ and $b$ gives
          $$
          0 = x_0 = a + b \
          1 = x_1 = a + -frac{b}{3}
          $$

          So
          $$
          x_k = frac34 (1 - (-frac13)^k)
          $$






          share|cite|improve this answer























          • +1. It make sense to write it as a system of equations because the theory is well developed for solving a system of first order difference equations. See here for all the steps.
            – Mason
            Nov 15 at 21:00











          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%2f3000305%2frecurrence-relations-finding-the-solution%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








          up vote
          1
          down vote



          accepted










          Write $$
          x_k=frac{2}{3}x_{k-1}+frac{1}{3}y_{k-1}\
          y_k = x_{k-1}
          $$

          so
          $$
          left(x_k atop y_k right)=left({frac23 quad frac13 } atop {1 quad 0 } right) left(x_{k-1} atop y_{k-1} right)
          $$

          which gives you
          $$
          left(x_k atop y_k right)=left({frac23 quad frac13 } atop {1 quad 0 } right)^k left(x_{0} atop x_1 right)
          $$

          So you need the powers of the matrix which can be found by eigenvalues. They are $1$ and $ - frac13$. So you can as well make the ansatz



          $$
          x_k = a + b (-frac13)^k
          $$

          solving for $a$ and $b$ gives
          $$
          0 = x_0 = a + b \
          1 = x_1 = a + -frac{b}{3}
          $$

          So
          $$
          x_k = frac34 (1 - (-frac13)^k)
          $$






          share|cite|improve this answer























          • +1. It make sense to write it as a system of equations because the theory is well developed for solving a system of first order difference equations. See here for all the steps.
            – Mason
            Nov 15 at 21:00















          up vote
          1
          down vote



          accepted










          Write $$
          x_k=frac{2}{3}x_{k-1}+frac{1}{3}y_{k-1}\
          y_k = x_{k-1}
          $$

          so
          $$
          left(x_k atop y_k right)=left({frac23 quad frac13 } atop {1 quad 0 } right) left(x_{k-1} atop y_{k-1} right)
          $$

          which gives you
          $$
          left(x_k atop y_k right)=left({frac23 quad frac13 } atop {1 quad 0 } right)^k left(x_{0} atop x_1 right)
          $$

          So you need the powers of the matrix which can be found by eigenvalues. They are $1$ and $ - frac13$. So you can as well make the ansatz



          $$
          x_k = a + b (-frac13)^k
          $$

          solving for $a$ and $b$ gives
          $$
          0 = x_0 = a + b \
          1 = x_1 = a + -frac{b}{3}
          $$

          So
          $$
          x_k = frac34 (1 - (-frac13)^k)
          $$






          share|cite|improve this answer























          • +1. It make sense to write it as a system of equations because the theory is well developed for solving a system of first order difference equations. See here for all the steps.
            – Mason
            Nov 15 at 21:00













          up vote
          1
          down vote



          accepted







          up vote
          1
          down vote



          accepted






          Write $$
          x_k=frac{2}{3}x_{k-1}+frac{1}{3}y_{k-1}\
          y_k = x_{k-1}
          $$

          so
          $$
          left(x_k atop y_k right)=left({frac23 quad frac13 } atop {1 quad 0 } right) left(x_{k-1} atop y_{k-1} right)
          $$

          which gives you
          $$
          left(x_k atop y_k right)=left({frac23 quad frac13 } atop {1 quad 0 } right)^k left(x_{0} atop x_1 right)
          $$

          So you need the powers of the matrix which can be found by eigenvalues. They are $1$ and $ - frac13$. So you can as well make the ansatz



          $$
          x_k = a + b (-frac13)^k
          $$

          solving for $a$ and $b$ gives
          $$
          0 = x_0 = a + b \
          1 = x_1 = a + -frac{b}{3}
          $$

          So
          $$
          x_k = frac34 (1 - (-frac13)^k)
          $$






          share|cite|improve this answer














          Write $$
          x_k=frac{2}{3}x_{k-1}+frac{1}{3}y_{k-1}\
          y_k = x_{k-1}
          $$

          so
          $$
          left(x_k atop y_k right)=left({frac23 quad frac13 } atop {1 quad 0 } right) left(x_{k-1} atop y_{k-1} right)
          $$

          which gives you
          $$
          left(x_k atop y_k right)=left({frac23 quad frac13 } atop {1 quad 0 } right)^k left(x_{0} atop x_1 right)
          $$

          So you need the powers of the matrix which can be found by eigenvalues. They are $1$ and $ - frac13$. So you can as well make the ansatz



          $$
          x_k = a + b (-frac13)^k
          $$

          solving for $a$ and $b$ gives
          $$
          0 = x_0 = a + b \
          1 = x_1 = a + -frac{b}{3}
          $$

          So
          $$
          x_k = frac34 (1 - (-frac13)^k)
          $$







          share|cite|improve this answer














          share|cite|improve this answer



          share|cite|improve this answer








          edited Nov 15 at 21:08

























          answered Nov 15 at 20:58









          Andreas

          7,5441037




          7,5441037












          • +1. It make sense to write it as a system of equations because the theory is well developed for solving a system of first order difference equations. See here for all the steps.
            – Mason
            Nov 15 at 21:00


















          • +1. It make sense to write it as a system of equations because the theory is well developed for solving a system of first order difference equations. See here for all the steps.
            – Mason
            Nov 15 at 21:00
















          +1. It make sense to write it as a system of equations because the theory is well developed for solving a system of first order difference equations. See here for all the steps.
          – Mason
          Nov 15 at 21:00




          +1. It make sense to write it as a system of equations because the theory is well developed for solving a system of first order difference equations. See here for all the steps.
          – Mason
          Nov 15 at 21:00


















          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%2f3000305%2frecurrence-relations-finding-the-solution%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

          Brian Clough

          Cáceres