Simplify $y = frac{1-2exp(-x)cos(x)+exp(-2x)}{1+2exp(-x)sin(x)-exp(-2x)}$
$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.
trigonometry complex-numbers
New contributor
$endgroup$
add a comment |
$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.
trigonometry complex-numbers
New contributor
$endgroup$
add a comment |
$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.
trigonometry complex-numbers
New contributor
$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
trigonometry complex-numbers
New contributor
New contributor
edited 2 days ago
TheSimpliFire
13k62464
13k62464
New contributor
asked Mar 31 at 2:20
Maarten BaertMaarten Baert
232
232
New contributor
New contributor
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
$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)}$$
$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
add a comment |
$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}$.
$endgroup$
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
$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)}$$
$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
add a comment |
$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)}$$
$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
add a comment |
$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)}$$
$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)}$$
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
add a comment |
$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
add a comment |
$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}$.
$endgroup$
add a comment |
$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}$.
$endgroup$
add a comment |
$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}$.
$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}$.
edited 2 days ago
answered Mar 31 at 3:41
Claude LeiboviciClaude Leibovici
125k1158136
125k1158136
add a comment |
add a comment |
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.
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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