# The Concept of Frequency

Wireless signals between two devices travel through the use of radio waves. A radio wave is an electromagnetic wave propagated by an antenna. Radio waves have different frequencies, and one can pick up a specific signal by tuning a radio receiver to a specific frequency. But what is a frequency anyway?

## A Complex Sinusoid

Consider a complex number in an -plane with an angle and length as shown in this Figure. Its projection on -axis is equal to and projection on -axis is equal to . Now imagine rotating with an angle continuously increasing with time. Then, can be treated as a signal with time as independent variable and we call it a complex sinusoid. Just like velocity is the rate of change of displacement, frequency is the rate of change in phase of a complex sinusoid. This rate of change of phase results in rotating in the time -plane at an angular velocity , as shown in Figure below.

Note that as time passes, is shown in Figure above as coming out of the page. When its projection from a -dimensional plane to a -dimensional plane formed by time and -axis is drawn, we get . Similarly, when the projection is drawn on a -dimensional plane formed by time and -axis, it generates . Randomly choosing as our reference sinusoid, the component is called inphase because it is in phase with while component is called qaudrature because is in quadrature — i.e., apart — with .

In conclusion, a complex sinusoid with frequency is composed of two real sinusoids

(1)

where is the continuous frequency with units of cycles/second or Hertz (Hz). The direction of rotation is considered positive for anticlockwise rotation, and negative for clockwise rotation.

Amplitude and phase are the two other parameters that characterize a sinusoidal signal, where determines the maximum amplitude for the sinusoid, and determines the initial angular offset of at .

Sinusoid parameters

Remember that whenever you hear the word “frequency”, it is the frequency of a sinusoid or . There are parameters that characterize a sinusoid:

1. Frequency
2. Phase
3. Amplitude

Referring to this Figure, it is clear that if the complex sinusoid rotates faster, the corresponding real sinusoids jump up and down faster, the time for completing one period becomes smaller, and we call it a higher frequency. Therefore, it is related to time period as

and the range of continuous frequency values is

Example

When one tunes to a radio station at MHz, one is actually listening to a station broadcasting a radio signal at a carrier frequency of Hz, which means that the transmitter is oscillating at a frequency of cycles/second. Accordingly, that wave is completing one period in ns.

## What is a Negative Frequency?

Negative frequencies can cause some confusion as it is hard to visualize a negative frequency viewed as inverse period of a sinusoid. Since the term magnitude is absolute value of the amplitude, the inverse period only gives the magnitude of that frequency. Define it through the rate of rotation of a complex sinusoid in this Figure, and it is evident that a negative frequency simply implies rotation of in a clockwise direction. Negative frequencies are real, just like negative numbers are real.

## A Real Sinusoid

We have learned that a complex sinusoid rotating in time -plane generates two real sinusoids. The question is: How to produce only one real sinusoid in complex plane?

Interestingly, just like a complex sinusoid is made up of two real sinusoids (Eq (1)), a real sinusoid can be produced by two complex sinusoids rotating in opposite directions to each other, one with a positive frequency and other with a negative frequency . From Figure below, it can be seen that components of the complex sinusoids cancel out in this scenario while parts add up to form a cosine wave. As before, time dimension, not shown here, is coming out of the page.

From the definitions of a complex sinusoid in Eq (1) and conjugate of a complex number in this Eq, a real cosine wave can be written as

The amplitudes of both complex sinusoids are scaled by to cater for factor from addition of two similar parts. A sine wave can also be constructed in a similar manner.

## Frequency Domain

Above, we have talked about frequency being the rate of rotation of a complex sinusoid in time -plane (as in this Figure). It is evident that this rate of rotation can be changed from very slow (close to ) to as fast as possible (close to ). As also explained above, a clockwise direction of rotation implies a negative frequency, and hence the complete range of frequencies of a complex sinusoid is from to . When a signal or function is drawn in frequency domain, the graph actually shows the and components of those complex sinusoids whose frequencies are present in that signal.

Since one complex sinusoid has a single frequency, it is drawn as a narrow impulse on the frequency -plane. Remember that this frequency -plane is different than the time -plane drawn in this Figure earlier.

Let us look at examples of a real cosine wave and a real sine wave in frequency domain representation in Figure below.

Time -plane vs Freq -plane

The arrows in frequency -plane are not rotating like this Figure and this Figure earlier. In fact, these are frequency domain impulse symbols indicating a single spectral line for a single complex sinusoid. The height of the impulses in frequency domain indicates the magnitude of that sinusoid while their relative phases can be seen through the directions in which the spectral impulses are pointing.

Any signal plotted in frequency domain represents the magnitudes and phases of complex sinusoids combined together to form that signal. As such, they form a basic unit of signal construction of any shape. As more and more such sinusoids come together, they form a continuum in frequency domain that is illustrated as a continuous spectral graph.

A natural question arises at this stage: What about the signals having components other than these nice looking sinusoids? The answer is surprising: There are hardly any! Long ago, scientists figured out that most signals of practical interest can be considered as a sum of many sinusoids — possibly infinite — oscillating at different frequencies regardless of the signal shape. So an arbitrary signal can be written as

where , , are amplitudes that determine the impact each sinusoid has on . If has no sinusoid of frequency , then the corresponding amplitude .

It is difficult to believe in such a statement for many signals with sharp edges like a square or triangular waveform but this concept is true even for such signals. In that case, the number of sinusoids participating in construction of that signal tends to .

As an example, consider a square wave signal. The curves in Figure below show how it is approximated with integer multiples of a fundamental frequency (the corresponding negative axis in frequency domain is not shown for simplicity).

The blue curve consists of the first two terms

which is clearly quite inaccurate. However, increasing this approximation with just three more terms in red curve as

displays significantly closer behaviour. If we increase the number of sinusoids with respective decreasing amplitudes, we can improve this approximation even more.

## Spectrum and Bandwidth

A frequency spectrum, or simply the spectrum, is just the range of all possible frequencies of electromagnetic radiation. A full continuous spectrum, for example, includes radio waves, microwaves, infrared, ultraviolet, x-rays and gamma rays.

In an ideal world, bandwidth of a signal is the range of frequencies of sinusoids present in that signal. In other words, taking into account all the sinusoids, the bandwidth is simply the difference between the highest frequency and the lowest frequency in the spectrum of that signal.

An ideal band-limited signal has a spectrum that is zero outside a finite frequency range :

Having said that, a signal can have a very low contribution from a sinusoid of a particular frequency but not completely zero. Skipping the mathematical proof, we present the following argument: Remember that the concept of frequency is defined through sinusoids that are infinitely long in time domain, see this Figure. Since sinusoids exist only for a finite duration in real-world, the spectrum of these truncated sinusoids is not an impulse as shown in this Figure. Instead, frequency domain representation of a finite duration sinusoid spreads out in the entire spectrum from to .

Time and frequency support

A signal cannot be limited in both time and frequency domains. For practical implementations, a signal must be time limited which makes it unlimited in frequency. Therefore, every real signal occupies an infinite amount of bandwidth. A band-limited signal is then referred to as a signal with most of its energy concentrated within a certain amount of frequency range. Practical definitions of bandwidth vary depending on that amount of energy.

For example, Federal Communications Commission (FCC) defines bandwidth as the band in which of the signal power is contained. Another common definition is that everywhere outside the specified band, a certain attenuation (say, dB) must be attained.

As a general rule, signals with fast irregular variations have large bandwidth as a large number of sinusoids are required to build such a signal, while slowly varying signals have low bandwidth. Consequently, signals that are narrow in time domain have a large bandwidth in frequency domain, and vice versa.