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

Solar Wings Breeze Design and development Specifications (Breeze) References Navigation menu1368-485X"Hang glider: Breeze (Solar Wings)"e

Kathakali Contents Etymology and nomenclature History Repertoire Songs and musical instruments Traditional plays Styles: Sampradayam Training centers and awards Relationship to other dance forms See also Notes References External links Navigation menueThe Illustrated Encyclopedia of Hinduism: A-MSouth Asian Folklore: An EncyclopediaRoutledge International Encyclopedia of Women: Global Women's Issues and KnowledgeKathakali Dance-drama: Where Gods and Demons Come to PlayKathakali Dance-drama: Where Gods and Demons Come to PlayKathakali Dance-drama: Where Gods and Demons Come to Play10.1353/atj.2005.0004The Illustrated Encyclopedia of Hinduism: A-MEncyclopedia of HinduismKathakali Dance-drama: Where Gods and Demons Come to PlaySonic Liturgy: Ritual and Music in Hindu Tradition"The Mirror of Gesture"Kathakali Dance-drama: Where Gods and Demons Come to Play"Kathakali"Indian Theatre: Traditions of PerformanceIndian Theatre: Traditions of PerformanceIndian Theatre: Traditions of PerformanceIndian Theatre: Traditions of PerformanceMedieval Indian Literature: An AnthologyThe Oxford Companion to Indian TheatreSouth Asian Folklore: An Encyclopedia : Afghanistan, Bangladesh, India, Nepal, Pakistan, Sri LankaThe Rise of Performance Studies: Rethinking Richard Schechner's Broad SpectrumIndian Theatre: Traditions of PerformanceModern Asian Theatre and Performance 1900-2000Critical Theory and PerformanceBetween Theater and AnthropologyKathakali603847011Indian Theatre: Traditions of PerformanceIndian Theatre: Traditions of PerformanceIndian Theatre: Traditions of PerformanceBetween Theater and AnthropologyBetween Theater and AnthropologyNambeesan Smaraka AwardsArchivedThe Cambridge Guide to TheatreRoutledge International Encyclopedia of Women: Global Women's Issues and KnowledgeThe Garland Encyclopedia of World Music: South Asia : the Indian subcontinentThe Ethos of Noh: Actors and Their Art10.2307/1145740By Means of Performance: Intercultural Studies of Theatre and Ritual10.1017/s204912550000100xReconceiving the Renaissance: A Critical ReaderPerformance TheoryListening to Theatre: The Aural Dimension of Beijing Opera10.2307/1146013Kathakali: The Art of the Non-WorldlyOn KathakaliKathakali, the dance theatreThe Kathakali Complex: Performance & StructureKathakali Dance-Drama: Where Gods and Demons Come to Play10.1093/obo/9780195399318-0071Drama and Ritual of Early Hinduism"In the Shadow of Hollywood Orientalism: Authentic East Indian Dancing"10.1080/08949460490274013Sanskrit Play Production in Ancient IndiaIndian Music: History and StructureBharata, the Nāṭyaśāstra233639306Table of Contents2238067286469807Dance In Indian Painting10.2307/32047833204783Kathakali Dance-Theatre: A Visual Narrative of Sacred Indian MimeIndian Classical Dance: The Renaissance and BeyondKathakali: an indigenous art-form of Keralaeee

Method to test if a number is a perfect power? Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern)Detecting perfect squares faster than by extracting square rooteffective way to get the integer sequence A181392 from oeisA rarely mentioned fact about perfect powersHow many numbers such $n$ are there that $n<100,lfloorsqrtn rfloor mid n$Check perfect squareness by modulo division against multiple basesFor what pair of integers $(a,b)$ is $3^a + 7^b$ a perfect square.Do there exist any positive integers $n$ such that $lfloore^nrfloor$ is a perfect power? What is the probability that one exists?finding perfect power factors of an integerProve that the sequence contains a perfect square for any natural number $m $ in the domain of $f$ .Counting Perfect Powers