# Frequency spectrum of phase shift

• I
Gold Member
What does a 180 degree phase shift of a sinusoidal in a signal do to the frequency spectrum of the signal?

phinds
Gold Member
2021 Award
What does a 180 degree phase shift of a sinusoidal in a signal do to the frequency spectrum of the signal?
What do you think and why?

Gold Member
What do you think and why?
I think a wield of various harmonics due to the energy in the signal at the phase shift. What I'm interested in is what the frequency spectrum looks like in that case.

phinds
Gold Member
2021 Award
OK, so if it get you right, you are talking about a complex waveform and ALL of the various frequencies are magically phase shifted exactly 180 degrees, yes?

Or do you mean that you have a complex waveform and ONE of the components gets phase shifted?

Gold Member
OK, so if it get you right, you are talking about a complex waveform and ALL of the various frequencies are magically phase shifted exactly 180 degrees, yes?

Or do you mean that you have a complex waveform and ONE of the components gets phase shifted?
We can assume a single sinusoid with a 180 degree phase shift exactly in the middle of the signal. phinds
Gold Member
2021 Award
We can assume a single sinusoid with a 180 degree phase shift exactly in the middle of the signal. Gold Member
I think I don't know what you mean then...

FAPP, I mean a dicrete signal with a sinosoid with phase change in it.

Last edited:
phinds
Gold Member
2021 Award
I think I don't know what you mean then...

FAPP, I mean a dicrete signal with a sinosoid with phase change in it.
Do you mean a pure sine wave that has a discontinuity with a sudden phase change?

Gold Member
Do you mean a pure sine wave that has a discontinuity with a sudden phase change?
Precisely.

phinds
Gold Member
2021 Award
Ah. OK, that's clear enough. I seem to recall that a discontinuity gives a Fourier analysis output saying that it is composed of all possible frequencies but it's been over 50 years since I took Fourier Analysis so I may be wrong. I may be thinking of one where the graph actually has a jump disconuity, not one that's 180 degrees where it just changes direction.

Gold Member
I figured the two might be different, that's why I asked Homework Helper
Gold Member
The initial signal has ## \tilde{F}(\omega)=A_o \delta(\omega-\omega_o) ##, and the same signal with a phase shift ## \phi ## has ## \tilde{F}(\omega)=A_o e^{i \phi} \delta(\omega-\omega_o) ##. The spectral energy density ## U(\omega) ## is proportional to ## |\tilde{F}(\omega)|^2 ## and will be the same for both cases. Mathematically, the energy density gets unworkable if it involves the square of a delta function, so there really needs to be some finite bandwidth.

Last edited:
phinds
Gold Member
2021 Award
Yeah. I thought at first that you were talking about a complex waveform (which Fourier Analysis would show is made up of LOTS of sine waves) with just one of the sine waves suddenly changing phase.

phinds
Gold Member
2021 Award
The initial signal has ## \tilde{F}(\omega)=A_o \delta(\omega-\omega_o) ##, and the same signal with a phase shift ## \phi ## has ## \tilde{F}(\omega)=A_o e{\i \phi} \delta(\omega-\omega_o) ##. The energy density ## U(\omega) ## is proportional to ## |\tilde{F}(\omega)|^2 ## and will be the same for both cases. Mathematically, the energy density gets unworkable if it involves the square of a delta function, so there really needs to be some finite bandwidth.
I don't know about entropy1 but that's all Greek to me.

Gold Member
The initial signal
Which signal do you speak of here? Homework Helper
Gold Member
Which signal do you speak of here? The original signal is ##F(t)=e^{i \omega_o t } ##. It really needs to be modified by a finite bandwidth to be completely workable. Including something like ## e^{-\alpha |t|} ## with small ## \alpha ## can help the mathematics.

Last edited:
Gold Member
The original signal is ##F(t)=e^{i \omega_o t } ##. It really needs to be modified by a finite bandwidth to be completely workable.
So the frequency spectrum contains a delta function, or a single harmonic? (which seems logical)

Homework Helper
Gold Member
So the frequency spectrum contains a delta function, or a single harmonic? (which seems logical)
Logical, but the Fourier transform theory I believe requires the function ## F(t) ## to be square integrable from ## -\infty ## to ## +\infty ##. See the addition I made to the previous post.

Gold Member
So if the energy density of the first half of the signal and the second half of the signal is the same, the problem arises at the discontinuity, as would be expected?

Gold Member
I thought at first that you were talking about a complex waveform
Oh, maybe I should be Homework Helper
Gold Member
So if the energy density of the first half of the signal and the second half of the signal is the same, the problem arises at the discontinuity, as would be expected?
You could have the two signals be ## F_1(t)=e^{-\alpha |t|} e^{i \omega _o t } ## for ## t<0 ## and ## F_1(t)=0 ## for ## t>0 ##, and ## F_2(t)=e^{i \phi} e^{-\alpha |t|}e^{i \omega_o t} ## for ## t>0 ##, and ## F_2(t)=0 ## for ## t<0 ##. I believe the F.T.'s are quite workable. See this thread, post 2, https://www.physicsforums.com/threa...y-formula-e-iwt-or-e-iwt.952487/#post-6037110 for the definition of Fourier Transform that I like to use. Basically these two will differ by ## e^{i \phi} ## if I'm not mistaken. There may be additional small differences, but the spectral energy density ## U(\omega) ## should be the same for both.

Homework Helper
Gold Member
Yes. I want to treat the waveform as a single signal though.
Then simply superimpose ## F_1(t) ## and ## F_2(t) ## and compute the F.T.

Gold Member
Then simply superimpose ## F_1(t) ## and ## F_2(t) ## and compute the F.T.
Yes. I did not read you correctly. I thought I could circumvent calculating it by lazily asking the question bluntly Last edited:
Homework Helper
Gold Member
Yes. I did not read you correctly. I thought I could circumvent calculating it by lazyly asking the question bluntly The result of the factor ## e^{- \alpha |t|} ## should be to introduce a bandwidth ## \Delta \omega \approx \alpha ##. I believe I have worked through this, or a very similar calculation, a number of years ago. You can also make the time interval finite from ## -T ## to ## +T ## (large ## T ##), with ## F(t)=0 ## outside of this interval, and you will have a bandwidth ## \Delta \omega \approx \frac{1}{T} ##.

jasonRF
Gold Member
If we let ##\mathrm{sign}(t)## be ##1## when ##t>0## and ##-1## when ##t<0##, then it sounds like you are talking about a signal that could be represented
$$f(t) = \mathrm{sign}(t)e^{i\omega_0 t}.$$ If we define the Fourier transform by,
$$F(\omega) = \int_{-\infty}^\infty f(t) e^{-i\omega t} dt$$ then the Fourier transform of this signal is,
$$F(\omega) = \frac{2}{i(\omega - \omega_0)}.$$ This would usually be derived using the convolution theorem, and by knowing that the Fourier transform of ##\mathrm{sign}(t)## is ##2/i\omega## and the Fourier transform of ##e^{i\omega_0 t}## is the delta function ##\delta(\omega-\omega_0)##. .

If you are interested in (and have the background for) the details then please keep reading, otherwise please ignore this paragraph. If we require ##F(\omega)## to be a function and try to evaluate the Fourier transform integral as written above, we find that it does not exist. So for the "answer" above we are really letting the Fourier transform be a generalized function (or distribution), and should probably more correctly write
$$F(\omega) = \mathrm{PV}\frac{2}{i(\omega - \omega_0)},$$ where the ##\mathrm{PV}## symbol simply means principle value, and indicates that when integrated against a "nice" test function ##\phi(\omega)##, we will use,
$$\int_{-\infty}^\infty F(\omega) \phi(\omega) d\omega = \lim_{\epsilon \rightarrow 0^+} \left[\int_{-\infty}^{\omega_0 - \epsilon} \frac{2\, \phi(\omega)}{i(\omega-\omega_0)} d\omega + \int_{\omega_0 + \epsilon}^\infty \frac{ 2\, \phi(\omega)}{i(\omega-\omega_0)} d\omega \right].$$ Again, if this paragraph is confusing please ignore it!

Hope that helps,

Jason