#### Table of Contents

#### Introduction

Thinking about complex sinusoids, , the unit circle, phase, negative frequency and using instead of can all be confusing when the material is first encountered. Have you asked yourself the following questions? I certainly have:

- Why do we need the complex plane?
- Why can’t we just use degrees instead of radians?
- Why is the unit circle useful?

Unfortunately many of the mathematical tools encountered in the first and second years of an undergraduate EE degree are abstract and their value may not seem practical until graduate school or your first job as an engineer. The hope is that the following post will connect these concepts into a real world situation using the face of a clock in an attempt to build some intuition.

Additional blog posts on complex numbers:

For more information check out my book Fundamentals of Digital Signal Processing: Complex Numbers, available on Amazon now!

#### The Unit Circle

The unit circle is a foundational concept and is used as the reference geometry in all of DSP. Baseball has to have the baseball field with its foul lines, outfield fence and base paths which are the foundation for all other rules in the game. Driving from one city to another requires foundational geometry: north, south, east and west. So too does DSP need its foundational geometry, the unit circle.

The unit circle is field the game of DSP is played upon. The unit circle is the reference allowing the measurement of parameters such as phase and frequency. The unit circle is used to create modulations for transmitters and compute center frequency offset for receivers.

The unit circle is a circle of radius 1 within the complex plane. The unit circle can be thought of as a complex vector with unit magnitude being swept across all values of . The angle from 0 radians or is given by .

By convention the angles of the unit circle are given in radians, most commonly from to or sometimes from 0 to . Figure 1 shows the unit circle with an example complex vector whose phase is as labeled on the plot.

#### Angles on Face of Clock

Figure 2 overlays the unit circle and the angles onto the face of a clock.

#### Instantaneous Phase

The instantaneous phase is the angle of the complex vector measured from 0 radians at a given time. For the face of a clock the instantaneous phase is the angle from 3 o’clock at a given moment. For simplicity the clock will only use hours and the minute and second hands will be ignored.

Figure 3 gives an example of the clock hand pointing to 5 o’clock. From Figure 1 and (1) 5 o’clock on the face of the clock is an instantaneous phase of .

#### Instantaneous Frequency

Instantaneous frequency is the velocity at which a complex sinusoid is rotating around the unit circle. Where phase is give in radians frequency is given in radians per second. By analogy the instantaneous frequency is the velocity of the clock hand rotation around the face of the clock. Recall that the instantaneous frequency is the time-derivative of the instantaneous phase

(2)

The clock hand moves at a constant speed so the time-derivative can be calculated by

(3)

Figure 4 shows an example where the clock hand has moved from 8 to 12.

From (1) the phase at hour 8 is and the phase at hour 12 is . The angle is converted into a positive angle

(4)

so the subtraction is not done across the boundary. The change in phase is therefore

(5)

and the change in time is

(6)

From Figure 4 and (5) and (6) the frequency is

(7)

By convention negative frequencies rotate in counter-clockwise direction and (7) is consistent with this. After converting to degrees the frequency is

(8)

which is correct because the face of the clock has and is divided into 12 hours thus allocating each hour . Normalized frequencies are typically given in radians/second and therefore the frequency is

(9)

or

(10)

#### Takeaway

There is a word to describe people who are confused by the mathematics of DSP: *normal*.

Remember:

- The instantaneous phase of a complex vector can be thought of as the angle from 3 o’clock.
- The instantaneous frequency can be thought of as the velocity at which the clock hand is rotating over the face of the clock.
- The unit circle is like the outline on the face of the clock where the hours are labeled.
- The unit circle is the field upon which the game of DSP is played.

The goal of this post was to connect abstract concepts into a real world scenario in an attempt to build some intuition about phase, frequency and the unit circle. Hopefully posts such as Phase, Frequency and Negative Frequency and Basic Rules for Complex Math are easier to understanding after reading through this blog.

If you found this post useful please leave a comment below!

More posts on complex numbers: