Maximization of wave interference

In summary: The second plot shows how the area is max when the frequency is shifted by a certain amount, and the third plot shows how the area is max when the frequencies are shifted by a certain amount and kept the same amplitude.In summary, the area is maximized when the frequencies are equal and the amplitude is kept to a minimum.
  • #1
V0ODO0CH1LD
278
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
  • #2
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.
 
  • #3
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.
 
  • #4
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.
 
  • #5
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.
 
  • #6
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!
 
  • #7
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 ω).
 
  • #8
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
 

Related to Maximization of wave interference

What is wave interference?

Wave interference occurs when two or more waves meet and interact with each other. This can result in the waves either reinforcing or cancelling each other out, depending on their amplitudes and phases.

How does wave interference affect the amplitude of a wave?

When two waves with the same frequency and amplitude interfere constructively, their amplitudes will add together, resulting in a larger amplitude. Alternatively, if the waves interfere destructively, their amplitudes will cancel each other out, resulting in a smaller amplitude or even complete cancellation.

What is the principle of superposition?

The principle of superposition states that when two or more waves meet at a point in space, the resulting displacement at that point is equal to the sum of the individual displacements of each wave. This principle is fundamental in understanding wave interference.

How can wave interference be maximized?

Wave interference can be maximized by adjusting the amplitudes and phases of the interfering waves. This can be achieved through techniques such as tuning the frequency and angle of incidence of the waves, or by using devices such as wave plates and mirrors to manipulate the phase of the waves.

What are some real-life applications of wave interference?

Wave interference has many practical applications, such as in noise-cancelling headphones, where destructive interference is used to cancel out unwanted sound waves. It is also utilized in technologies such as radar and sonar, which use the principles of wave interference to detect and locate objects. Additionally, wave interference is an important concept in optics, helping to explain phenomena such as diffraction and interference patterns in double-slit experiments.

Similar threads

Replies
5
Views
1K
Replies
9
Views
912
Replies
8
Views
1K
Replies
5
Views
843
  • Introductory Physics Homework Help
Replies
17
Views
462
Replies
3
Views
12K
Replies
1
Views
590
  • Calculus and Beyond Homework Help
Replies
6
Views
305
  • Introductory Physics Homework Help
Replies
10
Views
979
Back
Top