DISCLAIMER: Math buffs, feel free to correct me... I'd like to see where I've gone astray. However, I think I'm pretty solid...
----
Inverted: y' = sin(x+pi) + d or sin(x-pi) + d
I interpreted the sign in the parentheses as direction of phase shift. That's why there are two equations with two solutions; one rotates the value "clockwise" the other "counterclockwise". Is that a correct enough interpretation? If so, then time is implied in the equations because the value of that sign defines the direction of shift on the timeline. Or am I way off on that interpretation?
Yes, 'cw' and 'ccw' is a good interpretation. However, we still don't have time, t, part of the equation. We are simply dealing with a wave frozen in time. Or in other words, observing how the wave behaves at t=0. When we shift phase of original wave and compare the new wave with the original wave.
We can take a wave and multiply by another wave:
y = sin(x) * .3*sin(10x)
You now get a wave 10x of frequency of the original wave riding the original wave. If we shift phase of both waves:
y' = sin(x-pi) * .3*sin(10x-pi)
The new wave, y', will look exactly like if you multiplied the wave y by a negative:
y' = -[sin(x) * .3*sin(10x)]
This example shows that polarity inversion and phase shift produce exact results even if the wave is more complex than just a simple sine wave.
Now, let's add add some offset, d.
y = sin(x) * .3*sin(10x)
If we shift phase, we supposedly achieve the following result:
y' = sin(x-pi) * .3*sin(10x-pi) + d
Obviously multiplying the wave y by -1 does not produce same results:
y'' = -[sin(x) * .3*sin(10x) + d]
y' != y''
where != means 'does not equal to'
Waves y' and y'' are not equal because the offset, d, has changed signs in y'' equation.
But then you are not performing the same function to each term of the equation (mathematically speaking).
For example, sin(x-pi) = -sin(x) are interchangeable.
So is sin(x-pi) * .3*sin(10x-pi) and -[sin(x) * .3*sin(10x)]
So when I'm distributing -1 for every term in the following equation:
y'' = -[sin(x) * .3*sin(10x) + d]
Then y'' = -sin(x) * .3*sin(10x) - d
You must agree that by multiplying the sine wave by -1 I have performed a equally valid phase shift since I can equally write down y'' as the following equation (substitution property):
y'' = sin(x-pi) * .3*sin(10x-pi) - d
So if I go back to the original equation
y = sin(x) * .3*sin(10x) + d
and decide to shift phase, why should I ignore to multiply second term, d, by -1? It is as if I took my original equation, y, multiplied it by -1 as a whole, except that I forgot to multiply one of the terms by -1. It would be considered bad mathematics, right? We need to make sure we are consistent.
If you mark a point on the wave, you will think of it as moving one way or the other due to phase shift, but mathematically it is irrelevant. We are not tracking a single point on our equations are not tracking a single point as well. We are dealing the wave as whole. There is also no time delay to worry about because time is not an element of the equation.
----
We can also write our wave equation as
y = (wt + phi)
where
w= angular frequency
t = time
phi = phase
However, this only describes where the wave in terms of time. We don't know where it is in space. In fact, we are looking at one point x=0 and how the wave looks like in terms of time.
Same arguments/mathematics applies as described above. Do we have delay? No - our wave is not moving anywhere. We are still looking at a frozen wave (in space now) and seeing its y position in terms of time.
-----
To describe a wave in terms of x-axis space and time, we need to use the following equation:
y = sin(wt - kx + phi) + d
Well, ok, we are now treading into a differential equation territory...
Are we going to get a delay now? Actually, why should we? All phi does is allow us to describe the phase of a wave relative to a wave that we consider 'original'. The wave with it's shifted phase is still there (it's not coming in late) - it's just has a different y value. It's peak might be coming in late, but then we observe that when we flip polarity as well.
Humm... I think I proved that phase shift and polarity inversion are the same thing - literally. At least mathematically. This explains why we call polarity inversion a phase shift - because it is just that.
An inversion of the type being theoretically debated in this thread has no component of time; i.e. there is no "shift" or rotation per se. It is a "flipping in place" on the X axis. Therefore any equation that defines it as a rotation or a shift in either direction loses it's meaning in this context. The wave isn't shifted -180°, nor is it shifted +180°. It's *inverted*, and that inversion happens to resemble a 180° shift...just without the actual shift

.
Again, keep in mind that there is no element of time. We have cut out that dimension and only dealing in two dimensional space now. Whether you flip the wave or shift the phase, your wave will look the same. Period. The above examples show that it shouldn't even matter if we have an offset.
Think of the phase shift as a partial inversion. Limiting yourself to just "inversion", your wave is either upright or upside-down. Phase shift allows you to partially "invert" the wave. Is not the same as physically turning a 2-d wave in a 3-d space, but i think that particular concept is irrelevant here...
It's also for this reason that the frequency components of the wave don't play in.
Actually, since we have no time, frequency becomes irrelevant. You need time to measure frequency.
Regardless of the complexity of the wave and of the number or frequencies of the component wavelets, all are equally inverted by 180°. This is not possible (AFIK) with a simple shift or rotation because each component wavelet has a different phase relationship over a set period of time.
Now, what I don't know is just what the algebra would be for such a time-independent phase inversion...or even whether there IS one. Since what is actually physically being done is a normalized polarity inversion, the question perhaps is: is the math actually the same for each?
Or perhaps there IS NO algebra for a time independent phase inversion, and all that can really be done that way is a polarity inversion. In which case, that would pretty much seal the deal on this whole debate.
G.
I think I demonstrated a counterargument in the above example(s).
Well, I guess here you have it, practicality and hardware aside - pure mathematics.........................
