Electronic – Why do all digital signals have infinite bandwidth

bandwidthdatafrequencysignal

Why do digital signals have "infinite bandwidth"? Frequency is the number of cycles per second. I have seen before the formula that bandwidth = maximum frequencyminimum frequency. I remember I was told something like because of the vertical straight line for the digital signal, the bandwidth is infinite. But I still don't understand: How is the bandwidth infinite this way?

For periodic digital signals, there could still be a number of digital cycles per second, couldn't there? Then how is there a maximum and minimum frequency when the number of cycles per second is always constant throughout? Bandwidth would then be BW = Max_Freq – Min_Freq = 0.

For non-periodic digital signals, there may not be a fixed number of cycles per second, so there is a maximum and minimum frequency. But still, the bandwidth is not infinite, is it?

In both cases, how is the bandwidth infinite?

Best Answer

An ideal digital signal has infinitely steep edges. We can compose this signal from sines, one fundamental and a number of harmonics.

enter image description here

Neither of those separate sines has infinite steepness. The only way to get our steep edge is by adding an infinite number of harmonics.