Since courses on signal analysis and electromagnetism I have become confused about what the spectrum of electromagnetic radiation really means. I know light is when electric and magnetic fields become coupled and start propagating through space with a certain frequency, according to Maxwell's equations, and this is usually depicted as a simple linearly polarized sine wave (or plane wave). Now a pure sine wave is infinitely long in space and needs infinite time to have a single frequency (frequency and wavelength are coupled by the speed of light), this is due to the Fourier transform: truncated signals get spread in the frequency domain and vice versa.
So when scientists and engineers talk about the frequency of light, how can they speak of just a frequency, and not a bandwidth of frequencies, because the light wave is not simply a pure sine wave it is actually a pure sine wave multiplied with a block function/window function. In fact if the light was an intricate signal with varying electric and magnetic fields, such as a radio plane wave, which is clearly not sinusoidal, we would obtain a continuous spectrum not just a Delta function with a slight bandwidth. Even crazier, how is it that spectral lines are said to be a single frequency, even though we need a slight bandwidth around each spectral line. Furthermore, when they speak of a spectrum, isn't this simply a Fourier transform of an arbitrary signal of electric and magnetic fields (here for simplicity I assume the fields propagate in the same direction and are linearly polarized, see sketch below), which is then decomposed into pure sinusoids (technically complex exponentials, but for real signals both are fine to use). Isn't this what a prism or diffraction grating does, splitting the light wave (which could be an arbitrary signal) into pure frequencies of sinusoids and the spectrum we observe is a physical Fourier spectrum created by the prism or diffraction grating.
Also, I am aware that the Fourier transform is a mathematical construct that simplifies the analysis of many problems, so in theory we can apply it to any signal or function. The reason I believe a certain EM spectrum is a physical Fourier spectrum is because Maxwell's equations have plane waves as fundamental solution to the electromagnetic wave equation and these can be superimposed to create any arbitrary forward traveling wave; by Fourier analysis.
Below is a sketch of what I imagine to be an arbitrary light wave or signal (linearly polarized) that is split into it's constituent frequency components, I've only drawn a few sine waves to illustrate the prism's effect, in reality it would be a continuum or a few spectral lines (with some spread). The exact refraction and effect on polarization by the prism is not important here.
Thank you for your time and effort.
With kind regards,
Jelle
(Undergraduate physics student)