Talk:Phase (waves)

From Wikipedia, the free encyclopedia

Contents

[edit] Physicists

Do physicists really use φ(x) for the wave function and φ0 for the phase? — Omegatron 22:37, 31 October 2005 (UTC)

[edit] Text references

The test refers to entities called A, B and C. Are these waves? Are they the waves in the diagrams? Some clarification would be nice for people who do not know this material.

I think they refer to older diagrams that were replaced without updating the text. — Omegatron 20:00, 28 November 2005 (UTC)

[edit] Equation

Shouldn't the equation be:

\sin(2 \pi F t - \phi)\, (Note the minus phi rather than the plus)

As is shown here http://en.wikipedia.org/wiki/Sine_wave (albeit with some other variables included).

Surely this way of writing it makes more sense as well as it would mean that a wave that is time shifted in front of another would have a positive phase difference rather than a negative one. It would also make the example make more sense which shows a minus of a phase difference for a wave shifted forward.

--Datr 22:08, 14 February 2006 (UTC)

When I first arrived here, people were calling \phi\, the phase of the sine function, which contradicts other articles that define frequency as the time-derivative of phase. So I think it is very helpful to be able to refer to \phi\, as the initial phase, to clearly distinguish it from the time-variant phase. If you change the sign, it just becomes more awkward. When we tell them that \phi\, is the negative of the initial phase, they are bound to wonder why we didn't just use a plus sign. --Bob K 02:46, 15 February 2006 (UTC)
By the way, if signal A has an initial phase of 1° and signal B has an initial phase of 0°, then signal A has a head start. In your words, it is "time-shifted in front of signal B". But apparently you disagree. So "in front of" means different things to different people. --Bob K 03:05, 15 February 2006 (UTC)
Sorry, I'm only doing this at a high school level and so am having problems understanding. Just to be clear are you telling me that φ is the negative of the initial phase difference? As unless i'm confusing the math that is the only way the equation using +φ would give the correct answer.
I thought that the initial phase difference would be measured positively (i.e. wave B is π in front of wave A so φ = π. But for that to be the case the equation would have to use -φ. --Datr 11:49, 17 February 2006 (UTC)
I've realised I may be overlooking something, I assumed phase difference was measured from the beginning of one wave to the beginning of the next. However, the equation using +φ would work if the phase difference was measured from the beginning of the second wave to the end of the first. Is this my mistake? --Datr 12:08, 17 February 2006 (UTC)
The initial phase is the phase at t=0. So as it is currently defined, that would be just \phi\,. Your definition would make it: -\phi\,, or in other words \phi\, would be the negative of the initial phase, which is a bit awkward for a definition.
The phase-difference between two waveforms is something you define either way (A-B or B-A). It doesn't matter, as long as your interpretation of the results is consistent with your definition. --Bob K 19:39, 18 February 2006 (UTC)
I'm not sure but I think the problem might be I'm using an incorect defininition. At my school, phi is used to describe how ofset one wave is relative to another (which might be different from the intial phase of a wave). For example a wave that begins pi/4 after another would be said to be pi/4 out of phase relative to the first wave. If you were to use the equation in this article to plot both waves then for it to show the second wave as being pi/4 in front of the first wave you would have to subtract the phase difference. I.e. A-B would have the waves the correct way round but B-A (the intuitive way) would not, do you mean this doesn't matter though and you just refer to the wave in front as the one you know should be in front? Surely this wouldn't work with calculations that depend on the waves points at an exact time though such as working out superposition, would it?
Would a wave with an intial phase difference of a quarter of a wave have the same initial displacement as the same wave with no intial phase difference but a quarter of the way through an oscillation? Or would a wave with an intial phase difference of a quarter of a wave have the same displacement as a wave with no intial displacement a quarter of an oscillation before? --Datr 21:51, 18 February 2006 (UTC)
I don't have time to address your questions point-by-point, but I think what you are getting at is that various perspectives are possible, depending on the problem you are trying to model. Indeed, phi can be used "to describe how offset one wave is relative to another", as you said. But that presumes the situation you are modelling has two waves. A definition that requires only one wave is also applicable to more complex situations (i.e. two waves). But a definition that requires two waves is useless for just one wave. --Bob K 22:45, 18 February 2006 (UTC)

Take one waveform, copy it and paste it a quarter of an oscillation away. I'm sure you can see that they are not the same. Figure this one out, and you'll also figure why it's + and not -. --Freanz5 03:27, 29 August 2006 (UTC)

I don't agree that it is that simple. For instance, does "away" mean to the left or the right?  Or what if \phi\, is 3π/2 ? --Bob K 16:36, 29 August 2006 (UTC)

[edit] Removed obsolete material

I removed the following, which refers to a diagram that no longer exists:

Both A and B have the same amplitude and the same wavelength.

It is apparent that the positions of the peaks (X), troughs (Y) and zero-crossing points (Z) of both waves all coincide. The phase difference of the waves is thus zero, or, the waves are said to be in phase.

If the two in-phase waves A and B are added together (for instance, if they are two light waves shining on the same spot), the result will be a third wave of the same wavelength as A and B, but with twice the amplitude. This is known as constructive interference.

...

A and C are also of the same amplitude and wavelength. However, it can be seen that although the zero-crossing points (Z) are coincident between A and C, the positions of the peaks and troughs are reversed, that is an X on A becomes a Y on C, and vice versa. In this case, the two waves are said to be out of phase or in antiphase, or the phase difference of the two waves is π radians, or half the wavelength (λ/2).

If waves A and C are added, the result is a wave of zero amplitude. This is called destructive interference.

In this situation, a peak (X) on wave A becomes a zero-crossing point (Z) on D, a zero-point becomes a peak, and so on. The waves A and D can be said to be in quadrature, or exactly π/2, or λ/4 out of phase.

--Heron 18:21, 18 June 2006 (UTC)

Why does the diagram no longer exist? — Omegatron 00:56, 19 June 2006 (UTC)
Because its been deleted? 8-)--Light current 01:11, 19 June 2006 (UTC)
Is it worth reproducing, though? — Omegatron 19:02, 23 June 2006 (UTC)
I dont know. I have not seen it 8-|--Light current 19:15, 23 June 2006 (UTC)


[edit] Merging-

  • Agree with all proposed merges. 8-)--Light current 19:45, 23 June 2006 (UTC)
  • Ditto. --Bob K 14:21, 24 June 2006 (UTC)

[edit] Misleading image??

Huh?? Please explain the difference between time shifting a sine wave and phase shifting a sine wave. — Omegatron 20:47, 23 June 2006 (UTC)

Ones got a horizontal axis of time, and the other of angle. Normally diagrams like this have the horiz axis as time. So the horiz axis needs labelling in degrees to remove confusion.. That would do it. Also, consider the prime directive: [1] 8-)--Light current 20:55, 23 June 2006 (UTC)
How can you justify this image in view of the prime directive? 8-? --Light current 23:46, 23 June 2006 (UTC)
  • The what? Please read the rest of that thread. It's mostly about biographies on living people, several others disagreed with Jimbo's sentiments, and he explicitly stated they are not policy. If you want to call it your Prime Directive (which would seem appropriate in light of your deletionist tendencies), you can refer to it as such, but having your own declared modus operandi is not sufficient justification for removing useful information from articles. Vandals have directives, too, but that doesn't make their edits valid.
  • Now, please explain the difference between a time-shifted sine wave and a phase-shifted sine wave. Perhaps you could show us some equations? You might want to read the article first, too. — Omegatron 00:20, 24 June 2006 (UTC)
I quote from Jimbo's email:
This is true of ALL information, but it is particularly true of negative information about living persons.

my bolding and caps

I have already explained the difference between a time-shifted sine wave and a phase-shifted sine wave diagram. THe diagram is misleading as it stands as it does not have the axes labelled. 8-|

--Light current 00:39, 24 June 2006 (UTC)

I agree that the diagram could/should be better labelled. But it is not wrong, and frankly it is thought-provoking in a good way. It gets your attention. IMO it is better than no diagram. So if you want to delete it, please replace it with a better one.
--Bob K 05:01, 24 June 2006 (UTC)
I didnt say it was wrong. I said it was misleading because it is. Misleading info should be removed according to Jimbos directive.> He doesnt say anything about waiting until a new version exists before deleting - does he?--Light current 17:19, 24 June 2006 (UTC)
  1. It is not misleading.
  2. Just because an article contains a misleading statement doesn't mean you delete the whole article. You fix it so that it isn't misleading anymore. This should be common sense to a Wikipedian with your experience. If you don't have time or are too lazy to fix it, leave it for someone else to fix. You could even tag it as needing attention so others will notice it needs work. That's why we have a multitude of cleanup and attention tags.
  3. Misleading information is better than no information? I disagree. Misleading information is better than no information. No information is better than incorrect information, but misleading ≠ incorrect. While we're at it, incomplete information is better than no information, and correct and complete information is better than all.
  4. Destroying information is bad. Wasting time with pointless discussions is bad. Especially over trivial things like this. This image has been there for three months with no complaints. If you have a minor complaint like this about something in the article, bring it up on the talk page. Don't go around deleting useful things without discussion. — Omegatron 17:56, 24 June 2006 (UTC)
And he didn't say anything about judging one element of an article totally out-of-context, which is what you are doing. You haven't said anything about the supporting text, most notably:   "Thus, a shift in time is equivalent to a change in the initial phase. Conversely, a change in the initial phase is tantamount to a shift in time." If we delete every figure in Wikipedia that is ambiguous without explanation, that would probably be a majority. Your opinion matters, but it is not the only one that matters. Mine is that in the context of the article, the image is not misleading. And I am asking you to please leave it alone, unless you can make a positive improvement. --Bob K 17:43, 24 June 2006 (UTC)
I think the diagram needs to be improved forthwith. If I could find out how to do it myself I would. 8-|--Light current 17:47, 24 June 2006 (UTC)
Thank you! Maybe these sources are useful to you:
I suspect Omegatron would be happy to do it himself, if you can agree on what needs to be done. It's worth a shot.
--Bob K 18:14, 24 June 2006 (UTC)
How would you improve it? — Omegatron 17:57, 24 June 2006 (UTC)

Well, IMO, all it needs really is the x axis labelling as Phase (deg)-- 0 to 360 say, or Phase (rad) 0 to 2pi.--Light current 18:32, 24 June 2006 (UTC)

Ive changed the caption now. Thats all I can do ATM to make it less misleading --Light current 18:46, 24 June 2006 (UTC)

And why would an x axis of time be incorrect? — Omegatron 19:39, 24 June 2006 (UTC)

It would be incorrect as it stands because the diag shows the distance between the two points shown as being a phase diff. Phase is not the same thing as time 8-|--Light current 20:45, 24 June 2006 (UTC)

So if the red waveform was sin(2πft), what would the equation for a phase-shifted version be, and what would the curve look like? — Omegatron 22:04, 24 June 2006 (UTC)

I assume you are asking these questions in good faith so I will answer likewise. The phase shifted version would of course be a sine wave displaced along the horizontal axis by phi degrees from the original waveform.

The equation of the phase shifted waveform is: y = sin(2πft + phi) NB phi may be +ve or -ve --Light current 22:31, 24 June 2006 (UTC)

[edit] Extract from WP:V

Jimmy Wales has said of this: "I can NOT emphasize this enough. There seems to be a terrible bias among some editors that some sort of random speculative 'I heard it somewhere' pseudo information is to be tagged with a 'needs a cite' tag. Wrong. It should be removed, aggressively, unless it can be sourced. This is true of all information, but it is particularly true of negative information about living persons." [1][2]

If its not policy, why is it on the policy page?--Light current 00:46, 24 June 2006 (UTC)

And this has what to do with the image? — Omegatron 03:51, 24 June 2006 (UTC)
Nothing. The image is not incorrect. It is not pseudo information. It does not require a source. Could it be even better?... yes. Is it better than nothing?... yes. Is this debate a waste of time?... yes. --Bob K 05:01, 24 June 2006 (UTC)

You are being obtuse 'O'. REread my above comments. Bob, tHe image is 'misleading'. The directive is to remove misleading info.--Light current 09:51, 24 June 2006 (UTC)

No. I am expressing a different 'O'pinion than yours. I was not misled by the image, but I did have to stop and think about it. Also note that the image does not stand alone in a vacuum. There is explanatory text, notably this:   "Thus, a shift in time is equivalent to a change in the initial phase. Conversely, a change in the initial phase is tantamount to a shift in time." --Bob K 13:08, 24 June 2006 (UTC)

Only for a fixed frequency!--Light current 20:47, 24 June 2006 (UTC)

Which is what the whole article is about. I guess you just need to have the last word, so go ahead. Unless it contains some actual substance, I will leave it alone next time. --Bob K 22:33, 24 June 2006 (UTC)

Yes thats OK. The diagram(s) though, should reflect what the text is saying. Only when its the correct last word! 8-)--Light current 22:35, 24 June 2006 (UTC)

Good examples of phase difference: [2] The lh phasor diag shows phase diff. The rh waveform shows subsequent time delay between the waveforms.--Light current 23:24, 24 June 2006 (UTC)

Very nice. I suggest we add a link to that site. --Bob K 00:16, 25 June 2006 (UTC)

What's with the [single brackets] everywhere? Looks like those should be (parentheses)? — Omegatron 18:45, 26 June 2006 (UTC)

Doh! You are absolutely right, but I had to check google to find out. It is apparently a bad habit of mine that I have been doing for so long that it looks perfectly normal to me. And this is actually the first time anyone has asked about it. Feel free to fix them, if so inclined. I will try to do better in the future. --Bob K 07:21, 27 June 2006 (UTC)

[edit] Phase vs polarity

Is "phase shifting a wave by 180°" the same thing as "inverting the polarity of a wave"? Does it even make sense to say "phase shifting a wave" when the wave is not a sinusoid? See Talk:Active_noise_control#Phase_vs._polarity. — Omegatron 18:31, 10 August 2006 (UTC)

Consider:   A(t)\cdot e^{j [\omega (t)\cdot t + \theta]} = X(t)\cdot e^{j \theta} \,.   Unless A(t)\, and \omega (t)\, are constants, this modulated signal is not a sinusoid. Yet a change in \theta \, can be construed as a phase shift. Since   e^{j (\theta + \pi)} = -e^{j \theta}\,,   a 180° shift is equivalent to sign inversion. --Bob K 20:17, 10 August 2006 (UTC)
When someone "phase shifts a square wave by 180°", the outcome is equivalent no matter how you think of it, but if they "phase shift a square wave by 35°", you could think of it as shifting the entire square wave by a fraction of its period, or of shifting each individual frequency component by 35°, which would make it not a square anymore. Does it make sense to talk about phase shifting arbitrary signals, or only sinusoids?
Also, a phase shift in real life implies a time delay, no? So phase shifting an entire signal by 180° would require a delay of at least half a period of the lowest frequency present? So a device that instantaneously shifts the phase of every frequency component of a signal by 33° is not physically realizable, similar to how non-causal ideal filters aren't physically realizable, and therefore a 180° device of the same description would also be impossible, so 180° phase shift in real life implies a time delay, and polarity inversion does not?
  • "If you think about it, it's obvious that there is no such thing as "out-of-phase" for a sound that has more than one frequency. As the figures above illustrate, any given delay time will yield an infinite number of phase shifts at an equally infinite number of different frequencies. So how can a sound be 180° out of phase? Answer: it can't, unless it's a sine wave." [3]
  • "Usage Note: polarity vs. phase shift: polarity refers to a signal's reference NOT to its phase shift. Being 180° out-of-phase and having inverse polarity are DIFFERENT things. We wrongly say something is out-of-phase when we mean it is inverted. One takes time; the other does not." [4]Omegatron 20:53, 10 August 2006 (UTC)


So going back to my example, are you saying that a sound wave can never have the form:
\operatorname{Re}\left\{A(t)\cdot e^{j [\omega (t)\cdot t + \theta]}\right\} = A(t)\cdot \cos(\omega (t)\cdot t + \theta) \, ?
Also note that:
A(t)\cdot \cos(\omega (t)\cdot t + \theta +\pi) + A(t)\cdot \cos(\omega (t)\cdot t + \theta) = 0\,
which represents destructive interference, as occurs when two speakers are wired in opposite phase.
--Bob K 22:34, 10 August 2006 (UTC)


I took a peek at [5]. I believe the confusion is that his conception of phase shift is limited to the special case of a time-delay that is constant for all frequency components. The corresponding phase shift is a linear function of frequency. So there is only one frequency that can have a 180° shift. His perspective makes sense for the case of sound propagation in air, because air is a non-dispersive medium [6]. But his perspective is not the general case of phase-shift possibilities. --Bob K 22:56, 11 August 2006 (UTC)

[edit] Technicalia

Just moving the template here where it belongs. -- Your friendly, neighborhood housekeeper, Flex 14:41, 6 September 2006 (UTC)