Why is this plotted summation of two sine functions not eveloped? The 2019 Stack Overflow Developer Survey Results Are In Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)Amplitude versus time producing unexpected patterns.Sum of Sinusoids with Same Frequency = Sinusoid (proof)Why can't I obtain values of Sine/Cosine with $f(x)=sqrt1-x^2?$Discrete-time sinusoids with same frequencyEnvelope of two sine waves interferingIs the limit of $left(sum_i=-n^i=n tanh(x - i)right)-2x$ a sine wave?Superposition of two wavesHow to calculate the angular frequency of a cosine wave and sine wave added together?How to find the phase-shift from the sum of two sines?What does it mean to multiply two sine waves together

How to handle characters who are more educated than the author?

Can I visit the Trinity College (Cambridge) library and see some of their rare books

Why can't devices on different VLANs, but on the same subnet, communicate?

What force causes entropy to increase?

"... to apply for a visa" or "... and applied for a visa"?

How did passengers keep warm on sail ships?

The following signatures were invalid: EXPKEYSIG 1397BC53640DB551

Word for: a synonym with a positive connotation?

What happens to a Warlock's expended Spell Slots when they gain a Level?

Am I ethically obligated to go into work on an off day if the reason is sudden?

What aspect of planet Earth must be changed to prevent the industrial revolution?

Make it rain characters

Mortgage adviser recommends a longer term than necessary combined with overpayments

What can I do if neighbor is blocking my solar panels intentionally?

One-dimensional Japanese puzzle

What is the role of 'For' here?

Sort list of array linked objects by keys and values

Word to describe a time interval

What was the last x86 CPU that did not have the x87 floating-point unit built in?

Homework question about an engine pulling a train

Can each chord in a progression create its own key?

Sub-subscripts in strings cause different spacings than subscripts

For what reasons would an animal species NOT cross a *horizontal* land bridge?

Why don't hard Brexiteers insist on a hard border to prevent illegal immigration after Brexit?



Why is this plotted summation of two sine functions not eveloped?



The 2019 Stack Overflow Developer Survey Results Are In
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)Amplitude versus time producing unexpected patterns.Sum of Sinusoids with Same Frequency = Sinusoid (proof)Why can't I obtain values of Sine/Cosine with $f(x)=sqrt1-x^2?$Discrete-time sinusoids with same frequencyEnvelope of two sine waves interferingIs the limit of $left(sum_i=-n^i=n tanh(x - i)right)-2x$ a sine wave?Superposition of two wavesHow to calculate the angular frequency of a cosine wave and sine wave added together?How to find the phase-shift from the sum of two sines?What does it mean to multiply two sine waves together










0












$begingroup$


I am simply plotting a sum of two different sine waves:



$$x(t)=asin(omega_0t)+bsin((1+epsilon)omega_0t)$$



According to this article about beat, the sum should be an enveloped sine wave:





However, when I do this myself, the result is different:



I notice the red sum wave simply has the frequency of the higher frequency wave, and its amplitude's pattern follows the amplitude's pattern of the other one, not oscillates between $pm g(t)=pmsqrta^2+b^2+2*a*b*cos(epsilonomega_0*t)$ as it theoretically should be.



Where did I do wrong? Here are the code input for MathStudio:



Slider([b, e], .1, 10, 0.1)
w=1;a=1
Plot(a*sin(w*x), color=PaleGreen)
Plot(b*sin((1+e)*w*x), color=LightBlue)
Plot(a*sin(w*x)+b*sin((1+e)*w*x), color=Crimson)
/*Plot(sqrt(a^2+b^2+2*a*b*cos(e*w*x)) */









share|cite|improve this question











$endgroup$











  • $begingroup$
    You should see the effect if you make $epsilon << 1$
    $endgroup$
    – WW1
    Jul 1 '17 at 20:41










  • $begingroup$
    When the two sine waves have almost the same frequency you get the upper graph. When one has much lower frequency than the other you get the lower graph.
    $endgroup$
    – md2perpe
    Jul 1 '17 at 23:35










  • $begingroup$
    @WW1 why does that happen? The article uses $epsilon=0.1$, which I also used, but I didn't see the expected result.
    $endgroup$
    – Ooker
    Jul 2 '17 at 4:52










  • $begingroup$
    Why do you say you used the same number as the article? $10 neq 0.1.$ If you have another attempt with the slider at the far left (so that $e = 0.1$) then you should be showing us that attempt instead of the one with $e=10.$
    $endgroup$
    – David K
    Mar 24 at 19:22











  • $begingroup$
    @DavidK sorry. At the time of posting I don't know the importance of $epsilon$, so I just pick a random graph.
    $endgroup$
    – Ooker
    Mar 25 at 0:09
















0












$begingroup$


I am simply plotting a sum of two different sine waves:



$$x(t)=asin(omega_0t)+bsin((1+epsilon)omega_0t)$$



According to this article about beat, the sum should be an enveloped sine wave:





However, when I do this myself, the result is different:



I notice the red sum wave simply has the frequency of the higher frequency wave, and its amplitude's pattern follows the amplitude's pattern of the other one, not oscillates between $pm g(t)=pmsqrta^2+b^2+2*a*b*cos(epsilonomega_0*t)$ as it theoretically should be.



Where did I do wrong? Here are the code input for MathStudio:



Slider([b, e], .1, 10, 0.1)
w=1;a=1
Plot(a*sin(w*x), color=PaleGreen)
Plot(b*sin((1+e)*w*x), color=LightBlue)
Plot(a*sin(w*x)+b*sin((1+e)*w*x), color=Crimson)
/*Plot(sqrt(a^2+b^2+2*a*b*cos(e*w*x)) */









share|cite|improve this question











$endgroup$











  • $begingroup$
    You should see the effect if you make $epsilon << 1$
    $endgroup$
    – WW1
    Jul 1 '17 at 20:41










  • $begingroup$
    When the two sine waves have almost the same frequency you get the upper graph. When one has much lower frequency than the other you get the lower graph.
    $endgroup$
    – md2perpe
    Jul 1 '17 at 23:35










  • $begingroup$
    @WW1 why does that happen? The article uses $epsilon=0.1$, which I also used, but I didn't see the expected result.
    $endgroup$
    – Ooker
    Jul 2 '17 at 4:52










  • $begingroup$
    Why do you say you used the same number as the article? $10 neq 0.1.$ If you have another attempt with the slider at the far left (so that $e = 0.1$) then you should be showing us that attempt instead of the one with $e=10.$
    $endgroup$
    – David K
    Mar 24 at 19:22











  • $begingroup$
    @DavidK sorry. At the time of posting I don't know the importance of $epsilon$, so I just pick a random graph.
    $endgroup$
    – Ooker
    Mar 25 at 0:09














0












0








0





$begingroup$


I am simply plotting a sum of two different sine waves:



$$x(t)=asin(omega_0t)+bsin((1+epsilon)omega_0t)$$



According to this article about beat, the sum should be an enveloped sine wave:





However, when I do this myself, the result is different:



I notice the red sum wave simply has the frequency of the higher frequency wave, and its amplitude's pattern follows the amplitude's pattern of the other one, not oscillates between $pm g(t)=pmsqrta^2+b^2+2*a*b*cos(epsilonomega_0*t)$ as it theoretically should be.



Where did I do wrong? Here are the code input for MathStudio:



Slider([b, e], .1, 10, 0.1)
w=1;a=1
Plot(a*sin(w*x), color=PaleGreen)
Plot(b*sin((1+e)*w*x), color=LightBlue)
Plot(a*sin(w*x)+b*sin((1+e)*w*x), color=Crimson)
/*Plot(sqrt(a^2+b^2+2*a*b*cos(e*w*x)) */









share|cite|improve this question











$endgroup$




I am simply plotting a sum of two different sine waves:



$$x(t)=asin(omega_0t)+bsin((1+epsilon)omega_0t)$$



According to this article about beat, the sum should be an enveloped sine wave:





However, when I do this myself, the result is different:



I notice the red sum wave simply has the frequency of the higher frequency wave, and its amplitude's pattern follows the amplitude's pattern of the other one, not oscillates between $pm g(t)=pmsqrta^2+b^2+2*a*b*cos(epsilonomega_0*t)$ as it theoretically should be.



Where did I do wrong? Here are the code input for MathStudio:



Slider([b, e], .1, 10, 0.1)
w=1;a=1
Plot(a*sin(w*x), color=PaleGreen)
Plot(b*sin((1+e)*w*x), color=LightBlue)
Plot(a*sin(w*x)+b*sin((1+e)*w*x), color=Crimson)
/*Plot(sqrt(a^2+b^2+2*a*b*cos(e*w*x)) */






trigonometry summation






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Mar 24 at 17:56









J. M. is not a mathematician

61.2k5152291




61.2k5152291










asked Jul 1 '17 at 20:29









OokerOoker

349319




349319











  • $begingroup$
    You should see the effect if you make $epsilon << 1$
    $endgroup$
    – WW1
    Jul 1 '17 at 20:41










  • $begingroup$
    When the two sine waves have almost the same frequency you get the upper graph. When one has much lower frequency than the other you get the lower graph.
    $endgroup$
    – md2perpe
    Jul 1 '17 at 23:35










  • $begingroup$
    @WW1 why does that happen? The article uses $epsilon=0.1$, which I also used, but I didn't see the expected result.
    $endgroup$
    – Ooker
    Jul 2 '17 at 4:52










  • $begingroup$
    Why do you say you used the same number as the article? $10 neq 0.1.$ If you have another attempt with the slider at the far left (so that $e = 0.1$) then you should be showing us that attempt instead of the one with $e=10.$
    $endgroup$
    – David K
    Mar 24 at 19:22











  • $begingroup$
    @DavidK sorry. At the time of posting I don't know the importance of $epsilon$, so I just pick a random graph.
    $endgroup$
    – Ooker
    Mar 25 at 0:09

















  • $begingroup$
    You should see the effect if you make $epsilon << 1$
    $endgroup$
    – WW1
    Jul 1 '17 at 20:41










  • $begingroup$
    When the two sine waves have almost the same frequency you get the upper graph. When one has much lower frequency than the other you get the lower graph.
    $endgroup$
    – md2perpe
    Jul 1 '17 at 23:35










  • $begingroup$
    @WW1 why does that happen? The article uses $epsilon=0.1$, which I also used, but I didn't see the expected result.
    $endgroup$
    – Ooker
    Jul 2 '17 at 4:52










  • $begingroup$
    Why do you say you used the same number as the article? $10 neq 0.1.$ If you have another attempt with the slider at the far left (so that $e = 0.1$) then you should be showing us that attempt instead of the one with $e=10.$
    $endgroup$
    – David K
    Mar 24 at 19:22











  • $begingroup$
    @DavidK sorry. At the time of posting I don't know the importance of $epsilon$, so I just pick a random graph.
    $endgroup$
    – Ooker
    Mar 25 at 0:09
















$begingroup$
You should see the effect if you make $epsilon << 1$
$endgroup$
– WW1
Jul 1 '17 at 20:41




$begingroup$
You should see the effect if you make $epsilon << 1$
$endgroup$
– WW1
Jul 1 '17 at 20:41












$begingroup$
When the two sine waves have almost the same frequency you get the upper graph. When one has much lower frequency than the other you get the lower graph.
$endgroup$
– md2perpe
Jul 1 '17 at 23:35




$begingroup$
When the two sine waves have almost the same frequency you get the upper graph. When one has much lower frequency than the other you get the lower graph.
$endgroup$
– md2perpe
Jul 1 '17 at 23:35












$begingroup$
@WW1 why does that happen? The article uses $epsilon=0.1$, which I also used, but I didn't see the expected result.
$endgroup$
– Ooker
Jul 2 '17 at 4:52




$begingroup$
@WW1 why does that happen? The article uses $epsilon=0.1$, which I also used, but I didn't see the expected result.
$endgroup$
– Ooker
Jul 2 '17 at 4:52












$begingroup$
Why do you say you used the same number as the article? $10 neq 0.1.$ If you have another attempt with the slider at the far left (so that $e = 0.1$) then you should be showing us that attempt instead of the one with $e=10.$
$endgroup$
– David K
Mar 24 at 19:22





$begingroup$
Why do you say you used the same number as the article? $10 neq 0.1.$ If you have another attempt with the slider at the far left (so that $e = 0.1$) then you should be showing us that attempt instead of the one with $e=10.$
$endgroup$
– David K
Mar 24 at 19:22













$begingroup$
@DavidK sorry. At the time of posting I don't know the importance of $epsilon$, so I just pick a random graph.
$endgroup$
– Ooker
Mar 25 at 0:09





$begingroup$
@DavidK sorry. At the time of posting I don't know the importance of $epsilon$, so I just pick a random graph.
$endgroup$
– Ooker
Mar 25 at 0:09











0






active

oldest

votes












Your Answer








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%2f2343316%2fwhy-is-this-plotted-summation-of-two-sine-functions-not-eveloped%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes















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%2f2343316%2fwhy-is-this-plotted-summation-of-two-sine-functions-not-eveloped%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

Moe incest case Sentencing See also References Navigation menu"'Australian Josef Fritzl' fathered four children by daughter""Small town recoils in horror at 'Australian Fritzl' incest case""Victorian rape allegations echo Fritzl case - Just In (Australian Broadcasting Corporation)""Incest father jailed for 22 years""'Australian Fritzl' sentenced to 22 years in prison for abusing daughter for three decades""RSJ v The Queen"

John Burke, 9th Earl of Clanricarde References Navigation menuA General and heraldic dictionary of the peerage and baronetage of the British EmpireLeigh Rayment's Peerage Pages

Sum infinite sum for a complex variable not in the integers The 2019 Stack Overflow Developer Survey Results Are In Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)Convergence of the infinite product $prod_n = 1^infty fracz - alpha_nz - beta_n$Suppose $sum_k=-infty^inftya_kz^k$ and $sum_-infty^inftyb_kz^k$ converge to $1/sin(pi z)$. Find $b_k-a_k$.Laurent series of $ 1over (z - i) $Laurent series for $z^2 e^1/z$ at $z = infty$Write $sumlimits_n=0^infty e^-xn^3$ in the form $sumlimits_n=-infty^infty a_nx^n$Help needed on laurent series for a complex functionShow that $sum_-infty^infty (-1)^nexp(nz-frac12(n+frac12)^2omega)$ converges and is entireΑn entire function as an infinite sum of entire functionsClassify singularities in the extended complex planeFinding the laurent series around z = 0