Solve the recursion given by $f(n) = 2f(n-1) + frac{(-1)^n}{n!}$ using generating functions.












1












$begingroup$


Assume that $f(0) = 0, f(1) = -1$.



$g(x)$ is $f(n)$'s generating function, I got to the expression:



$ g(x) = frac{e^{-x}-1}{1-2x} $



But am now stuck, since I can't find a power series for the function in simple terms. Any ideas?










share|cite|improve this question











$endgroup$

















    1












    $begingroup$


    Assume that $f(0) = 0, f(1) = -1$.



    $g(x)$ is $f(n)$'s generating function, I got to the expression:



    $ g(x) = frac{e^{-x}-1}{1-2x} $



    But am now stuck, since I can't find a power series for the function in simple terms. Any ideas?










    share|cite|improve this question











    $endgroup$















      1












      1








      1


      1



      $begingroup$


      Assume that $f(0) = 0, f(1) = -1$.



      $g(x)$ is $f(n)$'s generating function, I got to the expression:



      $ g(x) = frac{e^{-x}-1}{1-2x} $



      But am now stuck, since I can't find a power series for the function in simple terms. Any ideas?










      share|cite|improve this question











      $endgroup$




      Assume that $f(0) = 0, f(1) = -1$.



      $g(x)$ is $f(n)$'s generating function, I got to the expression:



      $ g(x) = frac{e^{-x}-1}{1-2x} $



      But am now stuck, since I can't find a power series for the function in simple terms. Any ideas?







      combinatorics discrete-mathematics power-series generating-functions recursion






      share|cite|improve this question















      share|cite|improve this question













      share|cite|improve this question




      share|cite|improve this question








      edited Jan 24 at 17:12









      OmG

      2,527822




      2,527822










      asked Jan 24 at 16:44









      Amit LevyAmit Levy

      747




      747






















          2 Answers
          2






          active

          oldest

          votes


















          1












          $begingroup$

          I think you should have $e^{-x}$ in your formula, not $e^x$.



          Now you have $g(x) = (e^{-x}-1) cdot frac{1}{1-2x}$. Can you find power series for those both separately? Do you know how to multiply power series?






          share|cite|improve this answer









          $endgroup$













          • $begingroup$
            The exponent was just a spelling mistake which I now fixed. I do know how to multiply power series, but then I get a sum as the solution, which doesn't feel simplified enough. Is that usually considered a solution to a recursion?
            $endgroup$
            – Amit Levy
            Jan 24 at 17:02










          • $begingroup$
            Sometimes there may be a way to simplify the sum, but sometimes not.
            $endgroup$
            – kccu
            Jan 24 at 17:12












          • $begingroup$
            In any case, you should still be able to say what happens to $f(n)$ asymptotically, which may be of interest.
            $endgroup$
            – kccu
            Jan 24 at 17:14



















          0












          $begingroup$

          A simpler solution might be expand the recursion equation here.



          $$f(n) = sum_{i = 1}^{n} 2^{n-i} frac{(-1)^i}{i!} = 2^nsum_{i = 1}^{n} 2^{-i} frac{(-1)^i}{i!}$$






          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%2f3086102%2fsolve-the-recursion-given-by-fn-2fn-1-frac-1nn-using-generati%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            1












            $begingroup$

            I think you should have $e^{-x}$ in your formula, not $e^x$.



            Now you have $g(x) = (e^{-x}-1) cdot frac{1}{1-2x}$. Can you find power series for those both separately? Do you know how to multiply power series?






            share|cite|improve this answer









            $endgroup$













            • $begingroup$
              The exponent was just a spelling mistake which I now fixed. I do know how to multiply power series, but then I get a sum as the solution, which doesn't feel simplified enough. Is that usually considered a solution to a recursion?
              $endgroup$
              – Amit Levy
              Jan 24 at 17:02










            • $begingroup$
              Sometimes there may be a way to simplify the sum, but sometimes not.
              $endgroup$
              – kccu
              Jan 24 at 17:12












            • $begingroup$
              In any case, you should still be able to say what happens to $f(n)$ asymptotically, which may be of interest.
              $endgroup$
              – kccu
              Jan 24 at 17:14
















            1












            $begingroup$

            I think you should have $e^{-x}$ in your formula, not $e^x$.



            Now you have $g(x) = (e^{-x}-1) cdot frac{1}{1-2x}$. Can you find power series for those both separately? Do you know how to multiply power series?






            share|cite|improve this answer









            $endgroup$













            • $begingroup$
              The exponent was just a spelling mistake which I now fixed. I do know how to multiply power series, but then I get a sum as the solution, which doesn't feel simplified enough. Is that usually considered a solution to a recursion?
              $endgroup$
              – Amit Levy
              Jan 24 at 17:02










            • $begingroup$
              Sometimes there may be a way to simplify the sum, but sometimes not.
              $endgroup$
              – kccu
              Jan 24 at 17:12












            • $begingroup$
              In any case, you should still be able to say what happens to $f(n)$ asymptotically, which may be of interest.
              $endgroup$
              – kccu
              Jan 24 at 17:14














            1












            1








            1





            $begingroup$

            I think you should have $e^{-x}$ in your formula, not $e^x$.



            Now you have $g(x) = (e^{-x}-1) cdot frac{1}{1-2x}$. Can you find power series for those both separately? Do you know how to multiply power series?






            share|cite|improve this answer









            $endgroup$



            I think you should have $e^{-x}$ in your formula, not $e^x$.



            Now you have $g(x) = (e^{-x}-1) cdot frac{1}{1-2x}$. Can you find power series for those both separately? Do you know how to multiply power series?







            share|cite|improve this answer












            share|cite|improve this answer



            share|cite|improve this answer










            answered Jan 24 at 17:00









            kccukccu

            10.6k11229




            10.6k11229












            • $begingroup$
              The exponent was just a spelling mistake which I now fixed. I do know how to multiply power series, but then I get a sum as the solution, which doesn't feel simplified enough. Is that usually considered a solution to a recursion?
              $endgroup$
              – Amit Levy
              Jan 24 at 17:02










            • $begingroup$
              Sometimes there may be a way to simplify the sum, but sometimes not.
              $endgroup$
              – kccu
              Jan 24 at 17:12












            • $begingroup$
              In any case, you should still be able to say what happens to $f(n)$ asymptotically, which may be of interest.
              $endgroup$
              – kccu
              Jan 24 at 17:14


















            • $begingroup$
              The exponent was just a spelling mistake which I now fixed. I do know how to multiply power series, but then I get a sum as the solution, which doesn't feel simplified enough. Is that usually considered a solution to a recursion?
              $endgroup$
              – Amit Levy
              Jan 24 at 17:02










            • $begingroup$
              Sometimes there may be a way to simplify the sum, but sometimes not.
              $endgroup$
              – kccu
              Jan 24 at 17:12












            • $begingroup$
              In any case, you should still be able to say what happens to $f(n)$ asymptotically, which may be of interest.
              $endgroup$
              – kccu
              Jan 24 at 17:14
















            $begingroup$
            The exponent was just a spelling mistake which I now fixed. I do know how to multiply power series, but then I get a sum as the solution, which doesn't feel simplified enough. Is that usually considered a solution to a recursion?
            $endgroup$
            – Amit Levy
            Jan 24 at 17:02




            $begingroup$
            The exponent was just a spelling mistake which I now fixed. I do know how to multiply power series, but then I get a sum as the solution, which doesn't feel simplified enough. Is that usually considered a solution to a recursion?
            $endgroup$
            – Amit Levy
            Jan 24 at 17:02












            $begingroup$
            Sometimes there may be a way to simplify the sum, but sometimes not.
            $endgroup$
            – kccu
            Jan 24 at 17:12






            $begingroup$
            Sometimes there may be a way to simplify the sum, but sometimes not.
            $endgroup$
            – kccu
            Jan 24 at 17:12














            $begingroup$
            In any case, you should still be able to say what happens to $f(n)$ asymptotically, which may be of interest.
            $endgroup$
            – kccu
            Jan 24 at 17:14




            $begingroup$
            In any case, you should still be able to say what happens to $f(n)$ asymptotically, which may be of interest.
            $endgroup$
            – kccu
            Jan 24 at 17:14











            0












            $begingroup$

            A simpler solution might be expand the recursion equation here.



            $$f(n) = sum_{i = 1}^{n} 2^{n-i} frac{(-1)^i}{i!} = 2^nsum_{i = 1}^{n} 2^{-i} frac{(-1)^i}{i!}$$






            share|cite|improve this answer









            $endgroup$


















              0












              $begingroup$

              A simpler solution might be expand the recursion equation here.



              $$f(n) = sum_{i = 1}^{n} 2^{n-i} frac{(-1)^i}{i!} = 2^nsum_{i = 1}^{n} 2^{-i} frac{(-1)^i}{i!}$$






              share|cite|improve this answer









              $endgroup$
















                0












                0








                0





                $begingroup$

                A simpler solution might be expand the recursion equation here.



                $$f(n) = sum_{i = 1}^{n} 2^{n-i} frac{(-1)^i}{i!} = 2^nsum_{i = 1}^{n} 2^{-i} frac{(-1)^i}{i!}$$






                share|cite|improve this answer









                $endgroup$



                A simpler solution might be expand the recursion equation here.



                $$f(n) = sum_{i = 1}^{n} 2^{n-i} frac{(-1)^i}{i!} = 2^nsum_{i = 1}^{n} 2^{-i} frac{(-1)^i}{i!}$$







                share|cite|improve this answer












                share|cite|improve this answer



                share|cite|improve this answer










                answered Jan 24 at 17:11









                OmGOmG

                2,527822




                2,527822






























                    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%2f3086102%2fsolve-the-recursion-given-by-fn-2fn-1-frac-1nn-using-generati%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?