Simplify $y = frac{1-2exp(-x)cos(x)+exp(-2x)}{1+2exp(-x)sin(x)-exp(-2x)}$












4












$begingroup$


I'm trying to simplify the following equation:



$y = dfrac{1-2exp(-x)cos(x)+exp(-2x)}{1+2exp(-x)sin(x)-exp(-2x)}$



I suspect that a simpler form using complex exponents exists, but I can't find it.



For context, this equation describes the effective conductivity due to the skin effect of a flat conductor as a function of its thickness. I just removed some scale factors for simplicity. The underlying differential equation gives rise to expressions of the form $exp(pm(1+i)x)$, which is where the $sin(x)$ and $cos(x)$ came from.










share|cite|improve this question









New contributor




Maarten Baert is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.







$endgroup$

















    4












    $begingroup$


    I'm trying to simplify the following equation:



    $y = dfrac{1-2exp(-x)cos(x)+exp(-2x)}{1+2exp(-x)sin(x)-exp(-2x)}$



    I suspect that a simpler form using complex exponents exists, but I can't find it.



    For context, this equation describes the effective conductivity due to the skin effect of a flat conductor as a function of its thickness. I just removed some scale factors for simplicity. The underlying differential equation gives rise to expressions of the form $exp(pm(1+i)x)$, which is where the $sin(x)$ and $cos(x)$ came from.










    share|cite|improve this question









    New contributor




    Maarten Baert is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.







    $endgroup$















      4












      4








      4


      0



      $begingroup$


      I'm trying to simplify the following equation:



      $y = dfrac{1-2exp(-x)cos(x)+exp(-2x)}{1+2exp(-x)sin(x)-exp(-2x)}$



      I suspect that a simpler form using complex exponents exists, but I can't find it.



      For context, this equation describes the effective conductivity due to the skin effect of a flat conductor as a function of its thickness. I just removed some scale factors for simplicity. The underlying differential equation gives rise to expressions of the form $exp(pm(1+i)x)$, which is where the $sin(x)$ and $cos(x)$ came from.










      share|cite|improve this question









      New contributor




      Maarten Baert is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.







      $endgroup$




      I'm trying to simplify the following equation:



      $y = dfrac{1-2exp(-x)cos(x)+exp(-2x)}{1+2exp(-x)sin(x)-exp(-2x)}$



      I suspect that a simpler form using complex exponents exists, but I can't find it.



      For context, this equation describes the effective conductivity due to the skin effect of a flat conductor as a function of its thickness. I just removed some scale factors for simplicity. The underlying differential equation gives rise to expressions of the form $exp(pm(1+i)x)$, which is where the $sin(x)$ and $cos(x)$ came from.







      trigonometry complex-numbers






      share|cite|improve this question









      New contributor




      Maarten Baert is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|cite|improve this question









      New contributor




      Maarten Baert is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|cite|improve this question




      share|cite|improve this question








      edited 2 days ago









      TheSimpliFire

      13k62464




      13k62464






      New contributor




      Maarten Baert is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked Mar 31 at 2:20









      Maarten BaertMaarten Baert

      232




      232




      New contributor




      Maarten Baert is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      Maarten Baert is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      Maarten Baert is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          2 Answers
          2






          active

          oldest

          votes


















          13












          $begingroup$

          $$y=frac{1-2e^{-x}cos(x)+e^{-2x}}{1+2e^{-x}sin(x)-e^{-2x}}cdotfrac{e^x}{e^x}=frac{e^x-2cos(x)+e^{-x}}{e^x+2sin(x)-e^{-x}}cdotfrac{frac{1}{2}}{frac{1}{2}}$$ $$=frac{frac{e^x+e^{-x}}{2}-cos(x)}{frac{e^x-e^{-x}}{2}+sin(x)}=frac{cosh(x)-cos(x)}{sinh(x)+sin(x)}$$






          share|cite|improve this answer









          $endgroup$













          • $begingroup$
            Nice! Would it be possible to rewrite this using $tan$ or $tanh$? Unfortunately $sinh(x)$ and $cosh(x)$ cause numerical issues (overflow) for large values of $x$.
            $endgroup$
            – Maarten Baert
            Mar 31 at 3:21








          • 1




            $begingroup$
            If you want you can divide the top and bottom by $cosh(x)$ to get a $tanh(x)$ but this makes both the numerator and denominator more complicated.
            $endgroup$
            – coreyman317
            Mar 31 at 3:25



















          9












          $begingroup$

          After coreyman317's answer and your comment about large values of $x$, you could notice that for $x >24$
          $$frac{cosh(x)-cos(x)}{sinh(x)+sin(x)} sim coth(x)$$ for an error $ < 10^{-10}$.



          Moreover, for large $x$, $coth(x)sim 1+2e^{-2x}$.






          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
            });


            }
            });






            Maarten Baert is a new contributor. Be nice, and check out our Code of Conduct.










            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3168988%2fsimplify-y-frac1-2-exp-x-cosx-exp-2x12-exp-x-sinx-exp-2x%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









            13












            $begingroup$

            $$y=frac{1-2e^{-x}cos(x)+e^{-2x}}{1+2e^{-x}sin(x)-e^{-2x}}cdotfrac{e^x}{e^x}=frac{e^x-2cos(x)+e^{-x}}{e^x+2sin(x)-e^{-x}}cdotfrac{frac{1}{2}}{frac{1}{2}}$$ $$=frac{frac{e^x+e^{-x}}{2}-cos(x)}{frac{e^x-e^{-x}}{2}+sin(x)}=frac{cosh(x)-cos(x)}{sinh(x)+sin(x)}$$






            share|cite|improve this answer









            $endgroup$













            • $begingroup$
              Nice! Would it be possible to rewrite this using $tan$ or $tanh$? Unfortunately $sinh(x)$ and $cosh(x)$ cause numerical issues (overflow) for large values of $x$.
              $endgroup$
              – Maarten Baert
              Mar 31 at 3:21








            • 1




              $begingroup$
              If you want you can divide the top and bottom by $cosh(x)$ to get a $tanh(x)$ but this makes both the numerator and denominator more complicated.
              $endgroup$
              – coreyman317
              Mar 31 at 3:25
















            13












            $begingroup$

            $$y=frac{1-2e^{-x}cos(x)+e^{-2x}}{1+2e^{-x}sin(x)-e^{-2x}}cdotfrac{e^x}{e^x}=frac{e^x-2cos(x)+e^{-x}}{e^x+2sin(x)-e^{-x}}cdotfrac{frac{1}{2}}{frac{1}{2}}$$ $$=frac{frac{e^x+e^{-x}}{2}-cos(x)}{frac{e^x-e^{-x}}{2}+sin(x)}=frac{cosh(x)-cos(x)}{sinh(x)+sin(x)}$$






            share|cite|improve this answer









            $endgroup$













            • $begingroup$
              Nice! Would it be possible to rewrite this using $tan$ or $tanh$? Unfortunately $sinh(x)$ and $cosh(x)$ cause numerical issues (overflow) for large values of $x$.
              $endgroup$
              – Maarten Baert
              Mar 31 at 3:21








            • 1




              $begingroup$
              If you want you can divide the top and bottom by $cosh(x)$ to get a $tanh(x)$ but this makes both the numerator and denominator more complicated.
              $endgroup$
              – coreyman317
              Mar 31 at 3:25














            13












            13








            13





            $begingroup$

            $$y=frac{1-2e^{-x}cos(x)+e^{-2x}}{1+2e^{-x}sin(x)-e^{-2x}}cdotfrac{e^x}{e^x}=frac{e^x-2cos(x)+e^{-x}}{e^x+2sin(x)-e^{-x}}cdotfrac{frac{1}{2}}{frac{1}{2}}$$ $$=frac{frac{e^x+e^{-x}}{2}-cos(x)}{frac{e^x-e^{-x}}{2}+sin(x)}=frac{cosh(x)-cos(x)}{sinh(x)+sin(x)}$$






            share|cite|improve this answer









            $endgroup$



            $$y=frac{1-2e^{-x}cos(x)+e^{-2x}}{1+2e^{-x}sin(x)-e^{-2x}}cdotfrac{e^x}{e^x}=frac{e^x-2cos(x)+e^{-x}}{e^x+2sin(x)-e^{-x}}cdotfrac{frac{1}{2}}{frac{1}{2}}$$ $$=frac{frac{e^x+e^{-x}}{2}-cos(x)}{frac{e^x-e^{-x}}{2}+sin(x)}=frac{cosh(x)-cos(x)}{sinh(x)+sin(x)}$$







            share|cite|improve this answer












            share|cite|improve this answer



            share|cite|improve this answer










            answered Mar 31 at 2:30









            coreyman317coreyman317

            1,254522




            1,254522












            • $begingroup$
              Nice! Would it be possible to rewrite this using $tan$ or $tanh$? Unfortunately $sinh(x)$ and $cosh(x)$ cause numerical issues (overflow) for large values of $x$.
              $endgroup$
              – Maarten Baert
              Mar 31 at 3:21








            • 1




              $begingroup$
              If you want you can divide the top and bottom by $cosh(x)$ to get a $tanh(x)$ but this makes both the numerator and denominator more complicated.
              $endgroup$
              – coreyman317
              Mar 31 at 3:25


















            • $begingroup$
              Nice! Would it be possible to rewrite this using $tan$ or $tanh$? Unfortunately $sinh(x)$ and $cosh(x)$ cause numerical issues (overflow) for large values of $x$.
              $endgroup$
              – Maarten Baert
              Mar 31 at 3:21








            • 1




              $begingroup$
              If you want you can divide the top and bottom by $cosh(x)$ to get a $tanh(x)$ but this makes both the numerator and denominator more complicated.
              $endgroup$
              – coreyman317
              Mar 31 at 3:25
















            $begingroup$
            Nice! Would it be possible to rewrite this using $tan$ or $tanh$? Unfortunately $sinh(x)$ and $cosh(x)$ cause numerical issues (overflow) for large values of $x$.
            $endgroup$
            – Maarten Baert
            Mar 31 at 3:21






            $begingroup$
            Nice! Would it be possible to rewrite this using $tan$ or $tanh$? Unfortunately $sinh(x)$ and $cosh(x)$ cause numerical issues (overflow) for large values of $x$.
            $endgroup$
            – Maarten Baert
            Mar 31 at 3:21






            1




            1




            $begingroup$
            If you want you can divide the top and bottom by $cosh(x)$ to get a $tanh(x)$ but this makes both the numerator and denominator more complicated.
            $endgroup$
            – coreyman317
            Mar 31 at 3:25




            $begingroup$
            If you want you can divide the top and bottom by $cosh(x)$ to get a $tanh(x)$ but this makes both the numerator and denominator more complicated.
            $endgroup$
            – coreyman317
            Mar 31 at 3:25











            9












            $begingroup$

            After coreyman317's answer and your comment about large values of $x$, you could notice that for $x >24$
            $$frac{cosh(x)-cos(x)}{sinh(x)+sin(x)} sim coth(x)$$ for an error $ < 10^{-10}$.



            Moreover, for large $x$, $coth(x)sim 1+2e^{-2x}$.






            share|cite|improve this answer











            $endgroup$


















              9












              $begingroup$

              After coreyman317's answer and your comment about large values of $x$, you could notice that for $x >24$
              $$frac{cosh(x)-cos(x)}{sinh(x)+sin(x)} sim coth(x)$$ for an error $ < 10^{-10}$.



              Moreover, for large $x$, $coth(x)sim 1+2e^{-2x}$.






              share|cite|improve this answer











              $endgroup$
















                9












                9








                9





                $begingroup$

                After coreyman317's answer and your comment about large values of $x$, you could notice that for $x >24$
                $$frac{cosh(x)-cos(x)}{sinh(x)+sin(x)} sim coth(x)$$ for an error $ < 10^{-10}$.



                Moreover, for large $x$, $coth(x)sim 1+2e^{-2x}$.






                share|cite|improve this answer











                $endgroup$



                After coreyman317's answer and your comment about large values of $x$, you could notice that for $x >24$
                $$frac{cosh(x)-cos(x)}{sinh(x)+sin(x)} sim coth(x)$$ for an error $ < 10^{-10}$.



                Moreover, for large $x$, $coth(x)sim 1+2e^{-2x}$.







                share|cite|improve this answer














                share|cite|improve this answer



                share|cite|improve this answer








                edited 2 days ago

























                answered Mar 31 at 3:41









                Claude LeiboviciClaude Leibovici

                125k1158136




                125k1158136






















                    Maarten Baert is a new contributor. Be nice, and check out our Code of Conduct.










                    draft saved

                    draft discarded


















                    Maarten Baert is a new contributor. Be nice, and check out our Code of Conduct.













                    Maarten Baert is a new contributor. Be nice, and check out our Code of Conduct.












                    Maarten Baert is a new contributor. Be nice, and check out our Code of Conduct.
















                    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%2f3168988%2fsimplify-y-frac1-2-exp-x-cosx-exp-2x12-exp-x-sinx-exp-2x%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

                    數位音樂下載

                    When can things happen in Etherscan, such as the picture below?

                    格利澤436b