Complex numbers and phasors

Introduction

In addition to the set of real numbers that everyone is used to working with, a whole new dimension is introduced by complex numbers. These complex numbers can be used to describe sinusoidal signals through phasors, which has proven to be useful in many applications.

Screencast video [⯈]



Module overview

This module covers the following topics:

  1. Number sets - This section covers the inevitable need for complex numbers for engineering practices.
  2. Euler equations - Through the use of Taylor expansions, we are allowed to rewrite sinusoids in terms of complex exponentials.
  3. Complex numbers [⯈] - This section elaborates more on the notation of complex numbers and introduces mathematical operations on these complex numbers.
  4. Phasors [⯈] - This section introduces sinusoidal signals in terms of time varying complex exponentials.



Exercises

In this section several exercises are available, including their answers. The exercises marked in blue are explained by means of more extensive pencast videos.

Video quiz

Finish the following sentence:

The complex number $z=\sqrt{j}$ is equal to ...



Convert the following complex number from Cartesian to polar representation: $z=\sqrt{3} - j$



Convert the following complex number from polar to Cartesian representation: $z=2\sqrt{2}e^{j\frac{\pi}{4}}$



Evaluate the expression of the following complex number: $z=j^3 - \frac{1}{2j^2}$



Find a solution for the following equation: $zz^\ast - \mathrm{Im}(z)^2 -1 = 0$



Define $A$, $\omega$, $\Phi$ knowing that the following figure represents the real part of the phasor $z(t) = Ae^{j(\omega t+\Phi)}$.
Sinusoidal signal for question 6.




Find possible values for $\Phi_0$ and $\Phi_1$ that satisfy the following equation: $\sqrt{3}\cos(\omega_0 t + \Phi_0) = \cos(\omega_0 t + \Phi_1) + \cos(\omega_0 t - \Phi_1)$



Exercise bundle

This browser does not support PDFs. Please download the PDF to view it: Download PDF.

Answers

Download the answers here.

Pencast videos [⯈]

The above video player contains a playlist of all pencast videos which can be expanded by clicking the playlist icon in the upper-right corner.



MATLAB lab

Accompanied to this modules are some exercises in MATLAB, which will test your knowledge of the module and will help improve your MATLAB skills.

Lab assignment

This browser does not support PDFs. Please download the PDF to view it: Download PDF.

MATLAB demo [⯈]



Summary

  • The imaginary unit: $\boxed{\mbox{j} = \sqrt{-1}}$
  • Euler equation: $\boxed{\mbox{e}^{j\theta} = \cos({\theta}) + \mbox{j}\cdot \sin({\theta})}$
  • Alternative expression for $\sin(\cdot)$ and $\cos(\cdot)$ function: $$ \boxed{\cos(\theta)= \frac{e^{j\theta}+e^{-j\theta}}{2} = \Re e \{ e^{j\theta} \} } \qquad \text{and} \qquad \boxed{\sin(\theta)=\frac{e^{j\theta}-e^{-j\theta}}{2j} = \Im m \{ e^{j\theta} \} } $$
  • Polar representation set of complex numbers: $\boxed{\mathbb{C} = \{ z= r e^{j\theta} \ |\ r \in \mathbb{R} \mbox{ and } \theta \in \mathbb{R} \} }$
  • Cartesian representation set of complex numbers: $\boxed{\mathbb{C} = \{ z=x+ j\cdot y\ |\ x \in \mathbb{R} \mbox{ and } y \in \mathbb{R} \}} $
  • Conversion Cartesion to Polar representation: $$ \boxed{r= \sqrt{x^2 + y^2} \mbox{ and } \theta= \left \{ \begin{array}{ll} \arctan (\frac{y}{x}) & \mbox{for } x > 0 \\ \arctan (\frac{y}{x}) + \pi & \mbox{for } x < 0; y \geq 0 \\ \arctan (\frac{y}{x}) - \pi & \mbox{for } x < 0; y < 0 \\ \frac{\pi}{2} & \mbox{for } x=0; y > 0 \\ -\frac{\pi}{2} & \mbox{for } x=0; y < 0 \\ \mbox{undetermined} & \mbox{for } x=y=0 \end{array} \right . } $$
  • Conversion Polar to Cartesian representation: $$ \boxed{ x= r \cos(\theta)} \mbox{ and } \boxed{y = r \sin(\theta)} $$
  • Complex conjugation: Replace $j$ by $-j$ (and vice versa!)
  • Length of complex vector: $\boxed{|z| = \sqrt{z \cdot z^* }} \qquad \text{real and } \geq 0 $
  • It is the easiest to use Cartesian notation for addition and subtraction, and polar notation for multiplication and division.
  • Phasor representation of sinusoidal signals: $$ \begin{eqnarray*} A \cos (\omega_o t +\phi) &=& \Re e \{ A e^{j(\omega_o t +\phi)} \} = \frac{A e^{j(\omega_o t +\phi)} + A e^{-j(\omega_o t +\phi)}}{2} \newline A \sin (\omega_o t +\phi) &=& \Im m \{ A e^{j(\omega_o t +\phi)} \} = \frac{A e^{j(\omega_o t +\phi)} - A e^{-j(\omega_o t +\phi)}}{2 j} \end{eqnarray*}$$
  • The sum of original sinusoidal signals, all with the same radian frequency $\omega_0$, results in one sinusoidal signal with the same radian frequency $\omega_0$. Amplitude and phase of this resulting signal can be found by adding the complex representation of amplitude and phase of the individual original sinusoidal signals. $$ \boxed{ x(t) = \sum_{k=1}^{N} A_k \cos (\omega_0 t + \phi_k)= A \cos (\omega_0 t + \phi)} \mbox{ with } \boxed{A e^{j\phi} = \sum_{k=1}^N A_k e^{j\phi_k}} $$