# Why a windowed signal is considered to evaluate the Power Spectral Density?

Let's consider a real function of time $$x(t)$$ being a Fourier-transformable signal. The synthesis equation states that:

$$x(t)=∫_{-∞}^{+∞}X(f)⋅e^{2πjft} df$$

Meaning: $$x(t)$$ can be seen as the sum of infinite sine waves at different frequencies (spectral components) with amplitude |X(f)| and initial phase (delay) equal to ∠X(f).

Now, let's suppose to evaluate the Power Spectral Density. If we define it as power per frequency bandwidth, I'd evaluate it in the following way.The Fourier synthesis relation tells us that the elementary sinusoid is:

$$X(f)⋅e^{2πjft} df$$

Its average elementary power dP() is ½ peak amplitude (i.e. |X(f)df|) for the real part and the same for the imaginary part. So

$$dP= |X(f)df|^2$$

Hence:

$$PSD(f)=dP/df=|X(f)|^2 df$$

Ok, there is the frequency bin df inside the equation, which may look strange. However, I do not find any mistake in my derivation. Is it wrong?

This definition appears quite similar to the way a Spectrum Analyzer evaluates the power per frequency bandwidth. It applies a narrow Resolution Bandwidth bandpass filter (moving frequency filter), lets out only one sine wave and measures the Watts transported by that sine wave. These Watts Absorbed divided by the Resolution Bandwidth is the PSD (Watts/Hz) at that specific frequency.

However, the only definition I can find of PSD is the following one:

$$PSD(f) = lim_{T→+∞}⁡\frac{1}{T}|X_T (f)|^2$$

I really can't understand it and associate it with the definition "Power per bandwidth". If we want the power per bandwidth, why shouldn't we consider the power of the single spectral component (which is 1/2 times peak amplitude: no need for windowing the signal on period T).

• Keep in mind most (all?) real-world signals have zero PSD (because of the limit). When the PSD of an actual signal is calculated, there is an underlying assumption: that the signal is a portion of a random (or unknown) signal of infinite duration. Then you can estimate the PSD, not of the actual signal, but of the larger infinite-duration signal.
– MBaz
Oct 16, 2023 at 13:45