How to write recursive formula as explicit (specifically, exponential)?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












I recall learning in school how to convert arithmetic and geometric sequence formulas between recursive and explicit, but I don't remember learning a systematic method to approach it. For example, let $a_n=2a_n-1+2$ where $a_0=5$. How would I convert this to an explicit form defined in terms of $n$? Beyond this specific example, is there a generalized method to do so?







share|cite|improve this question























    up vote
    0
    down vote

    favorite












    I recall learning in school how to convert arithmetic and geometric sequence formulas between recursive and explicit, but I don't remember learning a systematic method to approach it. For example, let $a_n=2a_n-1+2$ where $a_0=5$. How would I convert this to an explicit form defined in terms of $n$? Beyond this specific example, is there a generalized method to do so?







    share|cite|improve this question





















      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I recall learning in school how to convert arithmetic and geometric sequence formulas between recursive and explicit, but I don't remember learning a systematic method to approach it. For example, let $a_n=2a_n-1+2$ where $a_0=5$. How would I convert this to an explicit form defined in terms of $n$? Beyond this specific example, is there a generalized method to do so?







      share|cite|improve this question











      I recall learning in school how to convert arithmetic and geometric sequence formulas between recursive and explicit, but I don't remember learning a systematic method to approach it. For example, let $a_n=2a_n-1+2$ where $a_0=5$. How would I convert this to an explicit form defined in terms of $n$? Beyond this specific example, is there a generalized method to do so?









      share|cite|improve this question










      share|cite|improve this question




      share|cite|improve this question









      asked Aug 6 at 0:51









      AARON TSAI

      163




      163




















          3 Answers
          3






          active

          oldest

          votes

















          up vote
          1
          down vote













          There is a systematic way of solving something like $a_n=2a_n-1+2a_n-2$, which is called a linear recurrence relation. For example this pdf shows you how to do it.



          But for your specific example you have a constant $2$, so it's not a linear recurrence. However you can rewrite it as $a_n+2=2(a_n-1+2),a_0+2=7$ where it's obvious that $a_n+2=7cdot 2^n$ so $a_n=7cdot 2^n-2$.



          For a completely general recurrence there isn't really a systematic way to convert it to a formula, but you can always try tricks like the above (linear recurrence, substitution) to see if they work.






          share|cite|improve this answer




























            up vote
            1
            down vote













            It's equivalent to $left(~mboxwith a_0 = 5~right)$:
            beginalign
            a_n + 2 & = 2left(a_n - 1 + 2right) = 2^2left(a_n - 2 + 2right) =
            2^3left(a_n - 3 + 2right) = cdots = 2^nleft(a_0 + 2right) = 7 times 2^n
            \[5mm] implies & bbox[15px,border:1px solid navy]a_n = 7 times 2^n - 2
            endalign






            share|cite|improve this answer




























              up vote
              1
              down vote













              Leu us consider the general case of $$a_n=alpha, a_n-1+beta$$ Let first $a_n=b_n+gamma$ which makes
              $$b_n+gamma=alpha,(b_n-1+gamma)+betaimplies b_n=alpha,b_n-1+(alphagamma+beta-gamma)$$ To come back to something simple, let (assuming $alphaneq 1$)
              $$alphagamma+beta-gamma=0 implies gamma=frac beta 1-alpha$$ So, we are left with
              $$ b_n=alpha,b_n-1 implies b_n=c ,alpha^n-1implies a_n=c, alpha^n-1+frac beta 1-alpha$$






              share|cite|improve this answer





















                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: false,
                showLowRepImageUploadWarning: true,
                reputationToPostImages: 10,
                bindNavPrevention: true,
                postfix: "",
                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%2f2873476%2fhow-to-write-recursive-formula-as-explicit-specifically-exponential%23new-answer', 'question_page');

                );

                Post as a guest






























                3 Answers
                3






                active

                oldest

                votes








                3 Answers
                3






                active

                oldest

                votes









                active

                oldest

                votes






                active

                oldest

                votes








                up vote
                1
                down vote













                There is a systematic way of solving something like $a_n=2a_n-1+2a_n-2$, which is called a linear recurrence relation. For example this pdf shows you how to do it.



                But for your specific example you have a constant $2$, so it's not a linear recurrence. However you can rewrite it as $a_n+2=2(a_n-1+2),a_0+2=7$ where it's obvious that $a_n+2=7cdot 2^n$ so $a_n=7cdot 2^n-2$.



                For a completely general recurrence there isn't really a systematic way to convert it to a formula, but you can always try tricks like the above (linear recurrence, substitution) to see if they work.






                share|cite|improve this answer

























                  up vote
                  1
                  down vote













                  There is a systematic way of solving something like $a_n=2a_n-1+2a_n-2$, which is called a linear recurrence relation. For example this pdf shows you how to do it.



                  But for your specific example you have a constant $2$, so it's not a linear recurrence. However you can rewrite it as $a_n+2=2(a_n-1+2),a_0+2=7$ where it's obvious that $a_n+2=7cdot 2^n$ so $a_n=7cdot 2^n-2$.



                  For a completely general recurrence there isn't really a systematic way to convert it to a formula, but you can always try tricks like the above (linear recurrence, substitution) to see if they work.






                  share|cite|improve this answer























                    up vote
                    1
                    down vote










                    up vote
                    1
                    down vote









                    There is a systematic way of solving something like $a_n=2a_n-1+2a_n-2$, which is called a linear recurrence relation. For example this pdf shows you how to do it.



                    But for your specific example you have a constant $2$, so it's not a linear recurrence. However you can rewrite it as $a_n+2=2(a_n-1+2),a_0+2=7$ where it's obvious that $a_n+2=7cdot 2^n$ so $a_n=7cdot 2^n-2$.



                    For a completely general recurrence there isn't really a systematic way to convert it to a formula, but you can always try tricks like the above (linear recurrence, substitution) to see if they work.






                    share|cite|improve this answer













                    There is a systematic way of solving something like $a_n=2a_n-1+2a_n-2$, which is called a linear recurrence relation. For example this pdf shows you how to do it.



                    But for your specific example you have a constant $2$, so it's not a linear recurrence. However you can rewrite it as $a_n+2=2(a_n-1+2),a_0+2=7$ where it's obvious that $a_n+2=7cdot 2^n$ so $a_n=7cdot 2^n-2$.



                    For a completely general recurrence there isn't really a systematic way to convert it to a formula, but you can always try tricks like the above (linear recurrence, substitution) to see if they work.







                    share|cite|improve this answer













                    share|cite|improve this answer



                    share|cite|improve this answer











                    answered Aug 6 at 2:09









                    Akababa

                    2,557922




                    2,557922




















                        up vote
                        1
                        down vote













                        It's equivalent to $left(~mboxwith a_0 = 5~right)$:
                        beginalign
                        a_n + 2 & = 2left(a_n - 1 + 2right) = 2^2left(a_n - 2 + 2right) =
                        2^3left(a_n - 3 + 2right) = cdots = 2^nleft(a_0 + 2right) = 7 times 2^n
                        \[5mm] implies & bbox[15px,border:1px solid navy]a_n = 7 times 2^n - 2
                        endalign






                        share|cite|improve this answer

























                          up vote
                          1
                          down vote













                          It's equivalent to $left(~mboxwith a_0 = 5~right)$:
                          beginalign
                          a_n + 2 & = 2left(a_n - 1 + 2right) = 2^2left(a_n - 2 + 2right) =
                          2^3left(a_n - 3 + 2right) = cdots = 2^nleft(a_0 + 2right) = 7 times 2^n
                          \[5mm] implies & bbox[15px,border:1px solid navy]a_n = 7 times 2^n - 2
                          endalign






                          share|cite|improve this answer























                            up vote
                            1
                            down vote










                            up vote
                            1
                            down vote









                            It's equivalent to $left(~mboxwith a_0 = 5~right)$:
                            beginalign
                            a_n + 2 & = 2left(a_n - 1 + 2right) = 2^2left(a_n - 2 + 2right) =
                            2^3left(a_n - 3 + 2right) = cdots = 2^nleft(a_0 + 2right) = 7 times 2^n
                            \[5mm] implies & bbox[15px,border:1px solid navy]a_n = 7 times 2^n - 2
                            endalign






                            share|cite|improve this answer













                            It's equivalent to $left(~mboxwith a_0 = 5~right)$:
                            beginalign
                            a_n + 2 & = 2left(a_n - 1 + 2right) = 2^2left(a_n - 2 + 2right) =
                            2^3left(a_n - 3 + 2right) = cdots = 2^nleft(a_0 + 2right) = 7 times 2^n
                            \[5mm] implies & bbox[15px,border:1px solid navy]a_n = 7 times 2^n - 2
                            endalign







                            share|cite|improve this answer













                            share|cite|improve this answer



                            share|cite|improve this answer











                            answered Aug 6 at 2:20









                            Felix Marin

                            65.6k7105136




                            65.6k7105136




















                                up vote
                                1
                                down vote













                                Leu us consider the general case of $$a_n=alpha, a_n-1+beta$$ Let first $a_n=b_n+gamma$ which makes
                                $$b_n+gamma=alpha,(b_n-1+gamma)+betaimplies b_n=alpha,b_n-1+(alphagamma+beta-gamma)$$ To come back to something simple, let (assuming $alphaneq 1$)
                                $$alphagamma+beta-gamma=0 implies gamma=frac beta 1-alpha$$ So, we are left with
                                $$ b_n=alpha,b_n-1 implies b_n=c ,alpha^n-1implies a_n=c, alpha^n-1+frac beta 1-alpha$$






                                share|cite|improve this answer

























                                  up vote
                                  1
                                  down vote













                                  Leu us consider the general case of $$a_n=alpha, a_n-1+beta$$ Let first $a_n=b_n+gamma$ which makes
                                  $$b_n+gamma=alpha,(b_n-1+gamma)+betaimplies b_n=alpha,b_n-1+(alphagamma+beta-gamma)$$ To come back to something simple, let (assuming $alphaneq 1$)
                                  $$alphagamma+beta-gamma=0 implies gamma=frac beta 1-alpha$$ So, we are left with
                                  $$ b_n=alpha,b_n-1 implies b_n=c ,alpha^n-1implies a_n=c, alpha^n-1+frac beta 1-alpha$$






                                  share|cite|improve this answer























                                    up vote
                                    1
                                    down vote










                                    up vote
                                    1
                                    down vote









                                    Leu us consider the general case of $$a_n=alpha, a_n-1+beta$$ Let first $a_n=b_n+gamma$ which makes
                                    $$b_n+gamma=alpha,(b_n-1+gamma)+betaimplies b_n=alpha,b_n-1+(alphagamma+beta-gamma)$$ To come back to something simple, let (assuming $alphaneq 1$)
                                    $$alphagamma+beta-gamma=0 implies gamma=frac beta 1-alpha$$ So, we are left with
                                    $$ b_n=alpha,b_n-1 implies b_n=c ,alpha^n-1implies a_n=c, alpha^n-1+frac beta 1-alpha$$






                                    share|cite|improve this answer













                                    Leu us consider the general case of $$a_n=alpha, a_n-1+beta$$ Let first $a_n=b_n+gamma$ which makes
                                    $$b_n+gamma=alpha,(b_n-1+gamma)+betaimplies b_n=alpha,b_n-1+(alphagamma+beta-gamma)$$ To come back to something simple, let (assuming $alphaneq 1$)
                                    $$alphagamma+beta-gamma=0 implies gamma=frac beta 1-alpha$$ So, we are left with
                                    $$ b_n=alpha,b_n-1 implies b_n=c ,alpha^n-1implies a_n=c, alpha^n-1+frac beta 1-alpha$$







                                    share|cite|improve this answer













                                    share|cite|improve this answer



                                    share|cite|improve this answer











                                    answered Aug 6 at 3:36









                                    Claude Leibovici

                                    112k1055126




                                    112k1055126






















                                         

                                        draft saved


                                        draft discarded


























                                         


                                        draft saved


                                        draft discarded














                                        StackExchange.ready(
                                        function ()
                                        StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2873476%2fhow-to-write-recursive-formula-as-explicit-specifically-exponential%23new-answer', 'question_page');

                                        );

                                        Post as a guest













































































                                        Comments

                                        Popular posts from this blog

                                        What is the equation of a 3D cone with generalised tilt?

                                        Relationship between determinant of matrix and determinant of adjoint?

                                        Color the edges and diagonals of a regular polygon