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

How should I support this large drywall patch? Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?How do I cover large gaps in drywall?How do I keep drywall around a patch from crumbling?Can I glue a second layer of drywall?How to patch long strip on drywall?Large drywall patch: how to avoid bulging seams?Drywall Mesh Patch vs. Bulge? To remove or not to remove?How to fix this drywall job?Prep drywall before backsplashWhat's the best way to fix this horrible drywall patch job?Drywall patching using 3M Patch Plus Primer

random experiment with two different functions on unit interval Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern)Random variable and probability space notionsRandom Walk with EdgesFinding functions where the increase over a random interval is Poisson distributedNumber of days until dayCan an observed event in fact be of zero probability?Unit random processmodels of coins and uniform distributionHow to get the number of successes given $n$ trials , probability $P$ and a random variable $X$Absorbing Markov chain in a computer. Is “almost every” turned into always convergence in computer executions?Stopped random walk is not uniformly integrable

Lowndes Grove History Architecture References Navigation menu32°48′6″N 79°57′58″W / 32.80167°N 79.96611°W / 32.80167; -79.9661132°48′6″N 79°57′58″W / 32.80167°N 79.96611°W / 32.80167; -79.9661178002500"National Register Information System"Historic houses of South Carolina"Lowndes Grove""+32° 48' 6.00", −79° 57' 58.00""Lowndes Grove, Charleston County (260 St. Margaret St., Charleston)""Lowndes Grove"The Charleston ExpositionIt Happened in South Carolina"Lowndes Grove (House), Saint Margaret Street & Sixth Avenue, Charleston, Charleston County, SC(Photographs)"Plantations of the Carolina Low Countrye