Maximization of wave interference

Click For Summary

Discussion Overview

The discussion revolves around the maximization of wave interference from two musical notes, focusing on the area under the resulting wave's curve while minimizing amplitude. Participants explore mathematical approaches to evaluate the integral of the combined waveforms and the implications of frequency and phase relationships.

Discussion Character

  • Exploratory
  • Mathematical reasoning
  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant proposes maximizing the integral of the sum of two cosine functions while keeping their combined amplitude equal to one.
  • Another participant questions the definition of the period in the context of different frequencies and suggests that the area might represent the beat period.
  • A participant discusses minimizing destructive interference by selecting an appropriate frequency and phase for a second note to complement a G1 note.
  • Some participants mention that using incommensurate frequencies results in a maximum amplitude that is independent of the initial phase.
  • One participant suggests using MATLAB for numerical integration to find the frequency that maximizes the area under the curve, while noting that the phase will average out over a long period.
  • Another participant expresses confusion about numerical integration and the potential for local maxima in periodic functions.
  • There is a suggestion to plot the area of the integral against frequency to identify trends and maxima.
  • A participant reports running a MATLAB simulation, indicating that maximum area occurs when the frequencies are equal.

Areas of Agreement / Disagreement

Participants express differing views on the implications of frequency relationships and the nature of the resulting waveforms. There is no consensus on the best approach to maximize the area under the curve or the conditions under which this occurs.

Contextual Notes

Participants note the complexity of dealing with periodic functions and the potential for local maxima in numerical methods. The discussion also highlights the need for clarity regarding the definitions of periods and areas in the context of wave interference.

V0ODO0CH1LD
Messages
278
Reaction score
0
I was thinking about which two musical notes, when played together, maximize the absolute value of the area under the curve of the resulting wave within its period while keeping the amplitude to a minimum (ideally the amplitude of the original two sound waves). I guess you could try to maximize
[tex]f(\omega,z)=\int_0^T{}|cos(t)+cos(\omega{}t+z)|dt[/tex]
with respect to ##\omega## and ##z##, while keeping the amplitude of ##cos(t)+cos(\omega{}t+z)## equal to ##1##. But I have no idea how to go about it.

Also, I am not looking for particular frequencies.. I guess what matters is the difference between the frequencies since I am only considering the area within their periods.

Thanks!
 
Science news on Phys.org
What period are you talking about? Two different frequencies have two different periods. Is it the period of the beat arising from the sum? Could you try to be more specific about what the area represents you are mentioning? Maximum area with minimum amplitude sounds to me like you are looking for a square wave.
 
Say I play a G1 (49 Hz) at 0 dB (1 amplitude ratio), which other note do I have to play in order to minimize the destructive interference while also keeping the amplitude to a minimum. So, for instance, a G2 (98 Hz) played together with that G1 would result in a wave with maximum amplitude 6 dB (amplitude ratio of 2), but ideally the resulting amplitude should't clip beyond 0 dB. So I could play a shifted G1 that would completely cancel out the original G1, but that is completely destructive interference.. I want to minimize this destructive behavior. Basically, I want to know which frequency and phase the other wave has to have in order to get the best of both worlds.
 
If you have two incommensurate frequencies (that is, not some perfect ratio), then the initial phase doesn't matter and you always have twice the amplitude maximum. But, I agree with elegy, it sounds like you want to approximate a square wave.
 
I don't know a simple answer. My approach would be to use MATLAB and just evaluate

[tex]f(\omega,z)=\int_0^T{}|cos(t)+cos(\omega{}t+z)|dt[/tex]

for some T much greater than the period of the beat. This way the phase won't matter because it will average out.
You could do this with a simple for/if loop. for example,

wmax = 0;
intmax = 0;
t=0:.001:100;

for w = 1:10:10000
f=abs(cos(t)+cos(w.*t));
intf = trapz(t,f));
if intf > intmax
intmax = intf;
wmax = w;
end
end

wmax will hold the frequency which maximizes the sum,
intmax will hold the area of the maximized integral.
That should work over the frequency range 1/2pi to 10k/2pi Hz, due to specifying w = 1:10000.

You could create a new variable for the other frequency, and then see if the ratio depends on the fixed w.

You could get fancy here and have it plot the area vs w. Now we're cookin' lol

I don't have a copy of MATLAB on this pc, so this is from memory. It might need some tweaks if you actually try to run that.
 
I don't know matlab.. so some of what you said went completely over my head, but are you saying I should try to do some numerical integration and wait until the value of the integral reaches a maximum and starts decreasing back again? If that is the case, how do I know that would be a global maximum not a local one? After all we are dealing with periodic functions.

Thanks!
 
yeah, numerical integration. If you can do a little programming like that, you can plot the area of the integral as a function of the frequency to find an approximate answer to your question.

As for whether it's global, just cover a large range of frequencies to be sure. This way of doing things isn't a formal proof.

I wonder though, whether the ratio is constant or dependent on the fixed ω. It's also very possible too that the area is max only when the two frequencies are equal (not considering frequencies less than the fixed ω).
 
I ran it in matlab. I changed a few things, but the equation used is shown in the plots.
There's 3 plots, at different scales. as you can see, the maximum occurs when the frequencies are equal.
area13.jpg
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 0 ·
Replies
0
Views
294
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 32 ·
2
Replies
32
Views
4K