[Math] What does it mean to multiply two sine waves together

image processingtrigonometrywave equationwavelets

Suppose I have a wave pool with two sources, A and B. The two sources both produce sine waves of the same frequency, and the sources are separated by a distance of the period of the wave.

So they will make an interference pattern on the surface of the pond (or if they are light waves, an interference pattern of light).

Now I want to add another wave source – this one the product of A and B. The puzzle is how to do that. I can mathematically multiply a sine by another sine – it will give a wave of the same period, but the shape is different – however, I don't know that you could generate a wave like this with either water or light.

Is there any solution other than that one? My goal is to find the values of A and B such that a sum such as "A + B – AB" is maximized and I thought of using waves as a way to do this kind of math.

Best Answer

To answer these comments in order:

Think of a network of nodes (like a neural net or a Hopfield net) which are connected by symmetrical bidirectional connections. If two nodes that have an activation of 1 are connected by a weight of 1, then they reinforce each other. If they are connected by a weight of -1, then they inhibit each other. If two nodes have an activation of -1, then again, a weight of 1 means reinforcement. If one node has an activation of 1, and the other has an activation of -1, then a weight of 1 between them would be inhibitory.

People set up these networks, and let them evolve over time, and try to get the most activations that are consistent with each other. The network doesn't always settle into the best solution, but it can settle into a almost-good solution.

You can express networks like these with equations such as the above (A + B - AB + CD - CA.....

So you need to be able to simulate both sums and products, including products with negative signs. My idea is that somewhere in the interference pattern there is a maximal solution (maybe it would appear darkest on a photo, for instance). The nice thing about an interference pattern is that it tries out all combinations (I think). But can it be done?

An equation such as A + B - C can be expressed as waves - A and B can be the source of waves that are in phase and with the same frequency, and C can be the source of a wave that is 90 degrees out of phase with the others. But how do you express the products (AB, CD, etc)?

On the last comment, are you saying that you generate any arbitrary wave shape electronically?

Related Question