Can this equation be simplified further?












2












$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$

















    2












    $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$















      2












      2








      2





      $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






      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 2 hours ago









      Maarten BaertMaarten Baert

      132




      132




      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


















          6












          $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
            1 hour ago








          • 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
            1 hour ago



















          3












          $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}$






          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%2fcan-this-equation-be-simplified-further%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









            6












            $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
              1 hour ago








            • 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
              1 hour ago
















            6












            $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
              1 hour ago








            • 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
              1 hour ago














            6












            6








            6





            $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 2 hours ago









            coreyman317coreyman317

            1,069420




            1,069420












            • $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
              1 hour ago








            • 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
              1 hour ago


















            • $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
              1 hour ago








            • 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
              1 hour ago
















            $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
            1 hour ago






            $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
            1 hour ago






            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
            1 hour ago




            $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
            1 hour ago











            3












            $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}$






            share|cite|improve this answer









            $endgroup$


















              3












              $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}$






              share|cite|improve this answer









              $endgroup$
















                3












                3








                3





                $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}$






                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}$







                share|cite|improve this answer












                share|cite|improve this answer



                share|cite|improve this answer










                answered 59 mins ago









                Claude LeiboviciClaude Leibovici

                125k1158135




                125k1158135






















                    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%2fcan-this-equation-be-simplified-further%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

                    Ponta tanko

                    Tantalo (mitologio)

                    Erzsébet Schaár