Finding the Maclaurin series of $e^{sin x}$ by comparing coefficients











up vote
1
down vote

favorite
1












I believe I have found a nice way to find the Maclaurin series of $e^{sin x}$. Please check if there are any mistakes with my working. Is this method well known?










share|cite|improve this question




























    up vote
    1
    down vote

    favorite
    1












    I believe I have found a nice way to find the Maclaurin series of $e^{sin x}$. Please check if there are any mistakes with my working. Is this method well known?










    share|cite|improve this question


























      up vote
      1
      down vote

      favorite
      1









      up vote
      1
      down vote

      favorite
      1






      1





      I believe I have found a nice way to find the Maclaurin series of $e^{sin x}$. Please check if there are any mistakes with my working. Is this method well known?










      share|cite|improve this question















      I believe I have found a nice way to find the Maclaurin series of $e^{sin x}$. Please check if there are any mistakes with my working. Is this method well known?







      calculus proof-verification power-series taylor-expansion






      share|cite|improve this question















      share|cite|improve this question













      share|cite|improve this question




      share|cite|improve this question








      edited Nov 27 at 12:23









      Bernard

      117k637109




      117k637109










      asked Nov 27 at 12:12









      3684

      1277




      1277






















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          3
          down vote













          (Working finds up to $x^5$ and assumes knowledge that the Maclaurin series of $cos xapprox1-frac{x^2}{2}+frac{x^4}{24}$.)



          Let $f(x)= e^{sin x}$, therefore $f'(x)=cos x*e^{sin x}=cos x*f(x)$ by chain rule.



          Assume that $f(x)$ has a Maclaurin series and let that series $f(x)=a+bx+cx^2+dx^3+ex^4+fx^5$, therefore $f^{'}(x)=b+2cx+3dx^2+4ex^3+5fx^4$.



          Sub in known expressions into $f^{'}(x)=cos x*f(x)$ to get: $b+2cx+3dx^2+4ex^3+5fx^4=(1-frac{x^2}{2}+frac{x^4}{24})(a+bx+cx^2+dx^3+ex^4+fx^5)$.



          Expand the right hand side to get: $RHS=a+bx+(c-frac{1}{2})x^2+(d-frac{b}{2})x^3+(e-frac{c}{2}+frac{a}{24})x^4+(f-frac{d}{2}+frac{b}{24})x^5$.



          Camparing coefficients of $LHS$ and $RHS$ yields:



          $b=a$



          $2c=b$



          $3d=c-frac{1}{2}$



          $4e=d-frac{b}{2}$



          $5f=e-frac{c}{2}+frac{a}{24}$.



          When $x=0$, $f(x)=1$ and $f(x)=a$, therefore $a=1$. Which can be used to find:



          $b=1$



          $c=frac{1}{2}$



          $d=0$



          $e=-frac{1}{8}$



          $f=-frac{1}{15}$.



          This means the Maclaurin series of $e^{sin x}=1+x+frac{1}{2}x^2-frac{1}{8}x^4-frac{1}{15}x^5$ which is indeed to correct series.






          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: 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%2f3015698%2ffinding-the-maclaurin-series-of-e-sin-x-by-comparing-coefficients%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
            3
            down vote













            (Working finds up to $x^5$ and assumes knowledge that the Maclaurin series of $cos xapprox1-frac{x^2}{2}+frac{x^4}{24}$.)



            Let $f(x)= e^{sin x}$, therefore $f'(x)=cos x*e^{sin x}=cos x*f(x)$ by chain rule.



            Assume that $f(x)$ has a Maclaurin series and let that series $f(x)=a+bx+cx^2+dx^3+ex^4+fx^5$, therefore $f^{'}(x)=b+2cx+3dx^2+4ex^3+5fx^4$.



            Sub in known expressions into $f^{'}(x)=cos x*f(x)$ to get: $b+2cx+3dx^2+4ex^3+5fx^4=(1-frac{x^2}{2}+frac{x^4}{24})(a+bx+cx^2+dx^3+ex^4+fx^5)$.



            Expand the right hand side to get: $RHS=a+bx+(c-frac{1}{2})x^2+(d-frac{b}{2})x^3+(e-frac{c}{2}+frac{a}{24})x^4+(f-frac{d}{2}+frac{b}{24})x^5$.



            Camparing coefficients of $LHS$ and $RHS$ yields:



            $b=a$



            $2c=b$



            $3d=c-frac{1}{2}$



            $4e=d-frac{b}{2}$



            $5f=e-frac{c}{2}+frac{a}{24}$.



            When $x=0$, $f(x)=1$ and $f(x)=a$, therefore $a=1$. Which can be used to find:



            $b=1$



            $c=frac{1}{2}$



            $d=0$



            $e=-frac{1}{8}$



            $f=-frac{1}{15}$.



            This means the Maclaurin series of $e^{sin x}=1+x+frac{1}{2}x^2-frac{1}{8}x^4-frac{1}{15}x^5$ which is indeed to correct series.






            share|cite|improve this answer



























              up vote
              3
              down vote













              (Working finds up to $x^5$ and assumes knowledge that the Maclaurin series of $cos xapprox1-frac{x^2}{2}+frac{x^4}{24}$.)



              Let $f(x)= e^{sin x}$, therefore $f'(x)=cos x*e^{sin x}=cos x*f(x)$ by chain rule.



              Assume that $f(x)$ has a Maclaurin series and let that series $f(x)=a+bx+cx^2+dx^3+ex^4+fx^5$, therefore $f^{'}(x)=b+2cx+3dx^2+4ex^3+5fx^4$.



              Sub in known expressions into $f^{'}(x)=cos x*f(x)$ to get: $b+2cx+3dx^2+4ex^3+5fx^4=(1-frac{x^2}{2}+frac{x^4}{24})(a+bx+cx^2+dx^3+ex^4+fx^5)$.



              Expand the right hand side to get: $RHS=a+bx+(c-frac{1}{2})x^2+(d-frac{b}{2})x^3+(e-frac{c}{2}+frac{a}{24})x^4+(f-frac{d}{2}+frac{b}{24})x^5$.



              Camparing coefficients of $LHS$ and $RHS$ yields:



              $b=a$



              $2c=b$



              $3d=c-frac{1}{2}$



              $4e=d-frac{b}{2}$



              $5f=e-frac{c}{2}+frac{a}{24}$.



              When $x=0$, $f(x)=1$ and $f(x)=a$, therefore $a=1$. Which can be used to find:



              $b=1$



              $c=frac{1}{2}$



              $d=0$



              $e=-frac{1}{8}$



              $f=-frac{1}{15}$.



              This means the Maclaurin series of $e^{sin x}=1+x+frac{1}{2}x^2-frac{1}{8}x^4-frac{1}{15}x^5$ which is indeed to correct series.






              share|cite|improve this answer

























                up vote
                3
                down vote










                up vote
                3
                down vote









                (Working finds up to $x^5$ and assumes knowledge that the Maclaurin series of $cos xapprox1-frac{x^2}{2}+frac{x^4}{24}$.)



                Let $f(x)= e^{sin x}$, therefore $f'(x)=cos x*e^{sin x}=cos x*f(x)$ by chain rule.



                Assume that $f(x)$ has a Maclaurin series and let that series $f(x)=a+bx+cx^2+dx^3+ex^4+fx^5$, therefore $f^{'}(x)=b+2cx+3dx^2+4ex^3+5fx^4$.



                Sub in known expressions into $f^{'}(x)=cos x*f(x)$ to get: $b+2cx+3dx^2+4ex^3+5fx^4=(1-frac{x^2}{2}+frac{x^4}{24})(a+bx+cx^2+dx^3+ex^4+fx^5)$.



                Expand the right hand side to get: $RHS=a+bx+(c-frac{1}{2})x^2+(d-frac{b}{2})x^3+(e-frac{c}{2}+frac{a}{24})x^4+(f-frac{d}{2}+frac{b}{24})x^5$.



                Camparing coefficients of $LHS$ and $RHS$ yields:



                $b=a$



                $2c=b$



                $3d=c-frac{1}{2}$



                $4e=d-frac{b}{2}$



                $5f=e-frac{c}{2}+frac{a}{24}$.



                When $x=0$, $f(x)=1$ and $f(x)=a$, therefore $a=1$. Which can be used to find:



                $b=1$



                $c=frac{1}{2}$



                $d=0$



                $e=-frac{1}{8}$



                $f=-frac{1}{15}$.



                This means the Maclaurin series of $e^{sin x}=1+x+frac{1}{2}x^2-frac{1}{8}x^4-frac{1}{15}x^5$ which is indeed to correct series.






                share|cite|improve this answer














                (Working finds up to $x^5$ and assumes knowledge that the Maclaurin series of $cos xapprox1-frac{x^2}{2}+frac{x^4}{24}$.)



                Let $f(x)= e^{sin x}$, therefore $f'(x)=cos x*e^{sin x}=cos x*f(x)$ by chain rule.



                Assume that $f(x)$ has a Maclaurin series and let that series $f(x)=a+bx+cx^2+dx^3+ex^4+fx^5$, therefore $f^{'}(x)=b+2cx+3dx^2+4ex^3+5fx^4$.



                Sub in known expressions into $f^{'}(x)=cos x*f(x)$ to get: $b+2cx+3dx^2+4ex^3+5fx^4=(1-frac{x^2}{2}+frac{x^4}{24})(a+bx+cx^2+dx^3+ex^4+fx^5)$.



                Expand the right hand side to get: $RHS=a+bx+(c-frac{1}{2})x^2+(d-frac{b}{2})x^3+(e-frac{c}{2}+frac{a}{24})x^4+(f-frac{d}{2}+frac{b}{24})x^5$.



                Camparing coefficients of $LHS$ and $RHS$ yields:



                $b=a$



                $2c=b$



                $3d=c-frac{1}{2}$



                $4e=d-frac{b}{2}$



                $5f=e-frac{c}{2}+frac{a}{24}$.



                When $x=0$, $f(x)=1$ and $f(x)=a$, therefore $a=1$. Which can be used to find:



                $b=1$



                $c=frac{1}{2}$



                $d=0$



                $e=-frac{1}{8}$



                $f=-frac{1}{15}$.



                This means the Maclaurin series of $e^{sin x}=1+x+frac{1}{2}x^2-frac{1}{8}x^4-frac{1}{15}x^5$ which is indeed to correct series.







                share|cite|improve this answer














                share|cite|improve this answer



                share|cite|improve this answer








                edited Nov 27 at 12:25









                Bernard

                117k637109




                117k637109










                answered Nov 27 at 12:12









                3684

                1277




                1277






























                    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%2f3015698%2ffinding-the-maclaurin-series-of-e-sin-x-by-comparing-coefficients%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

                    Different font size/position of beamer's navigation symbols template's content depending on regular/plain...

                    Berounka

                    I want to find a topological embedding $f : X rightarrow Y$ and $g: Y rightarrow X$, yet $X$ is not...