Analytical Foundations of ECE

Complex Numbers

Definition of a Complex Number

Consider x2−1=0x^2-1=0. To find the roots: x2−1=0x2=1x=1⇒x=±1 \begin{aligned} x^2-1 &= 0\\ x^2 &= 1\\ x &= \sqrt{1}\\ \rArr x &= \plusmn{1} \end{aligned}

Now consider x2+1=0x^2+1=0: x2+1=0x2=−1x=−1⇒x=±j \begin{aligned} x^2 + 1 &= 0\\ x^2 &= -1\\ x &= \sqrt{-1}\\ \rArr x &= \plusmn{j} \end{aligned}

jj is an imaginary unit introduced to solve this type of equation. It is better known as ii: i2=−1{MathematicsPhysicsChemistry i^2 = -1 \begin{cases} \text{Mathematics} \\ \text{Physics} \\ \text{Chemistry} \end{cases}

j2=−1{Engineering j^2 = -1 \begin{cases} \text{Engineering} \end{cases}

A complex number is represented as z=a+jbz = a+jb, where: a=Re(z) Real part of zb=Im(z) Imaginary part of z \begin{aligned} a &= Re(z)\ &\text{Real part of }z\\ b &= Im(z)\ &\text{Imaginary part of }z \end{aligned}

Complex Number Example

Sketch the following complex numbers in the 2D complex plane.

    • z1=1+j2z_1 = 1 + j2
    • z2=−1+j2z_2 = -1 + j2
    • z3=−1−j2z_3 = -1 - j2
    • z4=1−j2z_4 = 1 - j2
  • Example 1

For a complex number z=a+jbz = a + jb, the magnitude of zz is denoted by ∣z∣|z|. It represents the distance of a complex number from the origin. Using simple trigonometry:

∣z∣=Re(z)2+Im(z)2=a2+b2 \begin{aligned} |z| &= \sqrt{Re(z)^2+Im(z)^2}\\ &= \sqrt{a^2+b^2} \end{aligned}

Conjugate of a complex number z=a+jbz = a+jb is denoted by z∗z^{\ast}. It’s obtained by replacing jj by −j-j in the expression of zz.

Forms of a Complex Number

Complex numbers can be represented in 3 forms:

  1. Rectangular Form (also known as Cartesian form)
  2. Exponential Form
  3. Polar Form

Rectangular Form

A complex number is expressed in Rectangular (Cartesian) form as z=a+jbwhere  a=Re(z)b=Im(z) \begin{aligned} z = a + jb \quad\text{where}\thickspace &a = Re(z)\\ &b = Im(z) \end{aligned}

Exponential Form

Consider the following complex number mapped in the complex plane: complex-plane-img Then the following applies: a=∣z∣cos⁡θb=∣z∣sin⁡θ \begin{gathered} a = |z|\cos{\theta}\\ b = |z|\sin{\theta} \end{gathered} ba=∣z∣sin⁡θ∣z∣cos⁡θ=tan⁡θ=Im(z)Re(z) \dfrac{b}{a} = \dfrac{|z|\sin{\theta}}{|z|\cos{\theta}} = \tan{\theta} = \dfrac{Im(z)}{Re(z)} ⇒θ=arctan⁡(ba)=arctan⁡(Im(z)Re(z)) \rArr \theta = \arctan{\Big\lparen \dfrac{b}{a} \Big\rparen} = \arctan{\Big( \dfrac{Im(z)}{Re(z)}\Big)} Thus, z=a+jb=∣z∣cos⁡θ+j∣z∣sin⁡θ=∣z∣(cos⁡θ+jsin⁡θ) \begin{aligned} z &= a + jb\\ & = |z|\cos{\theta} + j|z|\sin{\theta}\\ & = |z|(\cos{\theta} + j\sin{\theta}) \end{aligned} From here, we can introduce a new, and famous, formula.
Euler’s Formula: ejθ=cos⁡θ+jsin⁡θ \Large e^{j\theta}=\cos{\theta}+j\sin{\theta}

Now, using Euler’s formula: z=∣z∣(cos⁡θ+jsin⁡θ)=∣z∣ejθ \begin{aligned} z &= |z|(\cos{\theta}+j\sin{\theta})\\ &= |z|e^{j\theta} \end{aligned} This is known as the exponential form.

Note on the angle of a complex number

Consider the formula we derived earlier for the angle θ\theta: θ=arctan⁡(Im(z)Re(z)) \theta = \arctan{\Big( \dfrac{Im(z)}{Re(z)}\Big)} There is a problem. Inverse tangent only has a valid range of (−π2,π2)(-\frac{\pi}{2},\frac{\pi}{2}). This unfortunately means that this formula does not work properly for complex numbers in the second and third quadrants of the complex plane, when its real component is negative.

This makes sense. When considering the fraction Im(z)/Re(z)Im(z)/Re(z), the resulting ratio does not change when both signs flip, or when only the sign moves between the numerator and denominator. In other words, these resulting ratios are equivalent: −Im(z)Re(z)=Im(z)−Re(z) \dfrac{-Im(z)}{Re(z)}=\dfrac{Im(z)}{-Re(z)} −Im(z)−Re(z)=Im(z)Re(z) \dfrac{-Im(z)}{-Re(z)}=\dfrac{Im(z)}{Re(z)}

This means that the formula for our angle in its current form is inaccurate for complex numbers with a negative real component. To remedy this, it is helpful to picture a complex number in the complex plane when its real and imaginary components are known.

  • When the real component is less than 0, i.e. negative, the complex number is either in the second or third quadrants.
  • If the imaginary component is less than 0, i.e. negative, the complex number is either in the third or fourth quadrants.

Using this:

  • If (Re(z)<0)∧(Im(z)>0)(Re(z) < 0) \land (Im(z) > 0) , then π2<θ<π\frac{\pi}{2} < \theta < \pi
  • If (Re(z)<0)∧(Im(z)<0)(Re(z) < 0) \land (Im(z) < 0) , then −π<θ<−π2-\pi < \theta < -\frac{\pi}{2}

From here, we can now derive a more verbose formula for the angle of a complex number: θ={arctan⁡(Im(z)Re(z))if Re(z)>0arctan⁡(Im(z)Re(z))+πif Re(z)<0∧Im(z)≥0arctan⁡(Im(z)Re(z))−πif Re(z)<0∧Im(z)<0π/2if Re(z)=0∧Im(z)>0−π/2if Re(z)=0∧Im(z)<0 \theta = \begin{cases} \arctan{\Big( \dfrac{Im(z)}{Re(z)}\Big)} &\text{if } Re(z) > 0 \\ \arctan{\Big( \dfrac{Im(z)}{Re(z)}\Big)} + \pi &\text{if } Re(z) < 0 \land Im(z) \geq 0\\ \arctan{\Big( \dfrac{Im(z)}{Re(z)}\Big)} - \pi &\text{if } Re(z) < 0 \land Im(z) < 0\\ \pi/2 & \text{if } Re(z) = 0 \land Im(z) > 0\\ -\pi/2 & \text{if } Re(z) = 0 \land Im(z) < 0 \end{cases}

Exponential Form Example

Express the following complex numbers in exponential form:

z1=1+jz_1=1+j ∣z1∣=12+12=2 |z_1| = \sqrt{1^2+1^2} = \sqrt{2} θ1=arctan⁡11=π4=45° \theta_1 = \arctan{\frac{1}{1}} = \frac{\pi}{4} = 45\degree ⇒z1=2ejπ/4 \rArr z_1 = \sqrt{2}e^{j\pi/4}
z2=−1+jz_2=-1+j ∣z2∣=(−1)2+12=2 |z_2| = \sqrt{(-1)^2+1^2} = \sqrt{2} θ2=arctan⁡(1−1)+π=3π4=135° \theta_2 = \arctan{(\frac{1}{-1})}+\pi = \frac{3\pi}{4} = 135\degree ⇒z2=2ej3π/4 \rArr z_2 = \sqrt{2}e^{j3\pi/4}
z3=−1−jz_3=-1-j ∣z3∣=(−1)2+(−1)2=2 |z_3| = \sqrt{(-1)^2+(-1)^2} = \sqrt{2} θ3=arctan⁡(−1−1)−π=−3π4=−135° \theta_3 = \arctan{(\frac{-1}{-1})} - \pi = -\frac{3\pi}{4} = -135\degree ⇒z3=2e−j3π/4 \rArr z_3 = \sqrt{2}e^{-j3\pi/4}
z4=1−jz_4=1-j ∣z4∣=12+(−1)2=2 |z_4| = \sqrt{1^2+(-1)^2} = \sqrt{2} θ4=arctan⁡1−1=−π4=−45° \theta_4 = \arctan{\frac{1}{-1}} = -\frac{\pi}{4} = -45\degree ⇒z4=2e−jπ/4 \rArr z_4 = \sqrt{2}e^{-j\pi/4}

Polar Form

A complex number is expressed in polar form as: z=∣z∣∠θ z = |z| \angle \theta

Complex Number Algebra

Let z1=a+jbz_1 = a + jb and z2=c+jdz_2 = c + jd

  • Addition: Calculate za=z1+z2z_a = z_1 + z_2 =(a+jb)+(c+jd)=(a+c)+j(b+d) \begin{aligned} &= (a + jb)+(c + jd)\\ &= (a+c) + j(b + d) \end{aligned}
  • Subtraction: Calculate zs=z1−z2z_s = z_1 - z_2 =(a+jb)−(c+jd)=(a−c)+j(b−d) \begin{aligned} &= (a + jb)-(c + jd)\\ &= (a-c) + j(b - d) \end{aligned}
  • Multiplication: Calculate zm=z1∗z2z_m = z_1 * z_2 =(a+jb)(c+jd)=ac+j(ad)+j(bc)+jb(jd)=ac+j(ad+bc)−bd \begin{aligned} &= (a + jb)(c + jd)\\ &= ac + j(ad) + j(bc) + jb(jd)\\ &= ac + j(ad + bc) - bd \end{aligned}
  • Division: Calculate zd=z1/z2z_d = z_1 / z_2 =a+jbc+jd=(a+jb)(c−jd)(c+jd)(c−jd)=ac−jad+jbc−j2bdc2−jcd+jcd−j2d2=ac+bd+j(bc−ad)c2+d2=ac+bdc2+d2+jbc−adc2+d2 \begin{aligned} &= \frac{a+jb}{c+jd}\\ &= \frac{(a+jb)(c-jd)}{(c+jd)(c-jd)}\\ &= \frac{ac-jad+jbc-j^2bd}{c^2-jcd+jcd-j^2d^2}\\ &= \frac{ac+bd+j(bc-ad)}{c^2+d^2}\\ &= \frac{ac+bd}{c^2+d^2} + j\frac{bc-ad}{c^2+d^2} \end{aligned}

Multiplying by its Conjugate

In the division example, we multiply both parts of the fraction by the conjugate of the denominator, or (z2)∗(z_2)^{\ast}.

This allows us to create a difference of squares, which removes the imaginary part of the denominator, allowing us to simplify our fraction, and eventually split it into the form a+jba+jb.

However, some of those more keen-eyed may have noticed something familiar about the denominator when multiplying a complex number by its conjugate. Let’s explore it a bit further:

Let us define a complex number: z=a+jbz = a + jb.

Therefore, z∗=a−jb z^{\ast} = a - jb

Now let us calculate z×z∗z \times z^{\ast} as we described earlier: z×z∗=(a+jb)(a−jb)=a(a)+a(−jb)+jb(a)+jb(−jb)=a2−jab+jab−j2b2=a2+b2 \begin{aligned} z \times z^{\ast} &= (a+jb)(a-jb)\\ &= a(a) + a(-jb) + jb(a) + jb(-jb)\\ &= a^2 - jab + jab - j^2b^2\\ &= a^2 + b^2 \end{aligned}

This looks suspiciously similar to another equation we saw earlier: the magnitude of a complex number, ∣z∣|z|. In fact, if we square ∣z∣|z|, we get the exact same value: ∣z∣2=(a2+b2)2=a2+b2 \begin{aligned} |z|^2 &= (\sqrt{a^2+b^2})^2\\ &= a^2 + b^2 \end{aligned}

Essentially, this means we can conclude: zz∗≡∣z∣2=a2+b2 \begin{aligned} zz^{\ast} \equiv |z|^2 = a^2 + b^2 \end{aligned}

Euler’s Formula

Earlier, we introduced Euler’s formula: ejθ=cos⁡θ+jsin⁡θ e^{j\theta} = \cos{\theta}+j\sin{\theta}

Now, we can build upon this formula. Using trigonometric identities, namely the fact that cos⁡(−θ)=cos⁡θ\cos{(-\theta)} = \cos{\theta} and sin⁡(−θ)=−sin⁡θ\sin{(-\theta)} = -\sin{\theta}, it holds that the following is true: e−jθ=cos⁡θ−jsin⁡θ e^{-j\theta} = \cos{\theta}-j\sin{\theta}

Using these two, we can now further manipulate Euler’s formula to prove the following: ejθ+e−jθ=(cos⁡θ+jsin⁡θ)+(cos⁡θ−jsin⁡θ)=2cos⁡θ \begin{aligned} e^{j\theta} + e^{-j\theta} &= (\cos{\theta}+j\sin{\theta}) + (\cos{\theta}-j\sin{\theta})\\ &= 2\cos{\theta} \end{aligned} ejθ−e−jθ=(cos⁡θ+jsin⁡θ)−(cos⁡θ−jsin⁡θ)=2jsin⁡θ \begin{aligned} e^{j\theta} - e^{-j\theta} &= (\cos{\theta}+j\sin{\theta}) - (\cos{\theta}-j\sin{\theta})\\ &= 2j\sin{\theta} \end{aligned} Therefore, ejθ+e−jθ2=cos⁡θ \frac{e^{j\theta} + e^{-j\theta}}{2} = \cos{\theta} ejθ−e−jθj2=sin⁡θ \frac{e^{j\theta} - e^{-j\theta}}{j2} = \sin{\theta}

Simplifying Trigonometry

We can use Euler’s formula to simplify complex trigonometric functions. Consider the following example: cos⁡2 ⁣θ=(ejθ+e−jθ2)2=14(ejθ+e−jθ)2 \begin{aligned} \cos^2\!\theta &= \Big(\frac{e^{j\theta} + e^{-j\theta}}{2}\Big)^2\\ &=\frac{1}{4}(e^{j\theta} + e^{-j\theta})^2 \end{aligned} We can use Pascal’s Triangle to quickly simplify the binomial on the right side. 01111212131331414641515101051 \begin{array}{c|cccccc} 0 & 1\\ 1 & 1 & 1\\ 2 & 1 & 2 & 1 \\ 3 & 1 & 3 & 3 & 1 \\ 4 & 1 & 4 & 6 & 4 & 1\\ 5 & 1 & 5 & 10 & 10 & 5 & 1 \end{array} We then get the following: ⇒14[(ejθ)2(e−jθ)0+2(ejθ)1(e−jθ)1+(ejθ)0(e−jθ)2]=14[(ej2θ)(1)+2(ejθ)(e−jθ)+(1)(e−j2θ)]=14[ej2θ+2+e−j2θ]=24+ej2θ+e−j2θ4=12+2cos⁡2θ4=12+cos⁡2θ2 \begin{aligned} &\rArr \frac{1}{4}\Big[ (e^{j\theta})^2(e^{-j\theta})^0 + 2(e^{j\theta})^1(e^{-j\theta})^1 + (e^{j\theta})^0(e^{-j\theta})^2 \Big]\\ &= \frac{1}{4}\Big[ (e^{j2\theta})(1) + 2(e^{j\theta})(e^{-j\theta}) + (1)(e^{-j2\theta}) \Big]\\ &= \frac{1}{4}\Big[ e^{j2\theta} + 2 + e^{-j2\theta} \Big]\\ &= \frac{2}{4} + \frac{e^{j2\theta} + e^{-j2\theta}}{4}\\ &= \frac{1}{2} + \frac{2\cos{2\theta}}{4}\\ &= \frac{1}{2} + \frac{\cos{2\theta}}{2} \end{aligned}

Note here that we have actually derived the half-angle identity for cosine, which states: cos⁡θ2=±1+cos⁡θ2⇒(cos⁡θ2)2=1+cos⁡θ2 \begin{gathered} \cos{\frac{\theta}{2}} = \plusmn\sqrt{ \frac{1+\cos{\theta}}{2} }\\ \rArr (\cos{\frac{\theta}{2}})^2 = \frac{1+\cos{\theta}}{2} \end{gathered}

Here’s a more complicated example:

cos⁡5 ⁣θ\cos^5\!\theta =(ejθ+e−jθ2)5=132(ejθ+e−jθ)5=132[(ejθ)5(e−jθ)0+5(ejθ)4(e−jθ)1+10(ejθ)3(e−jθ)2+10(ejθ)2(e−jθ)3+5(ejθ)1(e−jθ)4+(ejθ)0(e−jθ)5]=132[(ej5θ)(1)+5(ej4θ)(e−jθ)+10(ej3θ)(e−j2θ)+10(ej2θ)(e−j3θ)+5(ejθ)(e−j4θ)+(1)(e−j5θ)]=132[(ej5θ)+5(ej3θ)+10(ejθ)+10(e−jθ)+5(e−j3θ)+(e−j5θ)]=132[(ej5θ+e−j5θ)+5(ej3θ+e−j3θ)+10(ejθ+e−jθ)]=132[(2cos⁡5θ)+5(2cos⁡3θ)+10(2cos⁡θ)]=132[2cos⁡5θ+10cos⁡3θ+20cos⁡θ]=116cos⁡5θ+516cos⁡3θ+58cos⁡θ \begin{aligned} &= \Big(\frac{e^{j\theta} + e^{-j\theta}}{2}\Big)^5\\ &= \frac{1}{32}(e^{j\theta} + e^{-j\theta})^5\\ &= \frac{1}{32}\Big[ (e^{j\theta})^5(e^{-j\theta})^0 + 5(e^{j\theta})^4(e^{-j\theta})^1 + 10(e^{j\theta})^3(e^{-j\theta})^2 + 10(e^{j\theta})^2(e^{-j\theta})^3 + 5(e^{j\theta})^1(e^{-j\theta})^4 + (e^{j\theta})^0(e^{-j\theta})^5 \Big]\\ &= \frac{1}{32}\Big[ (e^{j5\theta})(1) + 5(e^{j4\theta})(e^{-j\theta}) + 10(e^{j3\theta})(e^{-j2\theta}) + 10(e^{j2\theta})(e^{-j3\theta}) + 5(e^{j\theta})(e^{-j4\theta}) + (1)(e^{-j5\theta}) \Big]\\ &= \frac{1}{32}\Big[ (e^{j5\theta}) + 5(e^{j3\theta}) + 10(e^{j\theta}) + 10(e^{-j\theta}) + 5(e^{-j3\theta}) + (e^{-j5\theta}) \Big]\\ &= \frac{1}{32}\Big[ (e^{j5\theta} + e^{-j5\theta}) + 5(e^{j3\theta} + e^{-j3\theta}) + 10(e^{j\theta} + e^{-j\theta}) \Big]\\ &= \frac{1}{32}\Big[ (2\cos{5\theta}) + 5(2\cos{3\theta}) + 10(2\cos{\theta}) \Big]\\ &= \frac{1}{32}\Big[ 2\cos{5\theta} + 10\cos{3\theta} + 20\cos{\theta} \Big]\\ &= \frac{1}{16}\cos{5\theta} + \frac{5}{16}\cos{3\theta} + \frac{5}{8}\cos{\theta} \end{aligned}

(Example) Express the following complex numbers in rectangular form:

Recall common angles and their sine, cosine and tangents:

θ\theta 00 π/6\pi/6 π/4\pi/4 π/3\pi/3 π/2\pi/2
sin⁡θ\sin{\theta} 0/2\sqrt{0}/2 1/2\sqrt{1}/2 2/2\sqrt{2}/2 3/2\sqrt{3}/2 4/2\sqrt{4}/2
cos⁡θ\cos{\theta} 4/2\sqrt{4}/2 3/2\sqrt{3}/2 2/2\sqrt{2}/2 1/2\sqrt{1}/2 0/2\sqrt{0}/2
tan⁡θ\tan{\theta} 00 1/31/\sqrt{3} 11 3/1\sqrt{3}/1 ∞\infin
z1=2ejπ/6z_1 = 2e^{j\pi/6} z1=2ejπ/6=2(cos⁡(π6)+jsin⁡(π6))=2(3/2)+2j(1/2)=3+j \begin{aligned} z_1 &= 2e^{j\pi/6}\\ &= 2(\cos(\frac{\pi}{6})+j\sin(\frac{\pi}{6}))\\ &= 2(\sqrt{3}/2)+2j(1/2)\\ &=\sqrt{3}+j \end{aligned}
z2=4ejπ/3z_2 = 4e^{j\pi/3} z2=4ejπ/3=4(cos⁡(π3)+jsin⁡(π3))=4(1/2)+4j(3/2)=2+j23 \begin{aligned} z_2 &= 4e^{j\pi/3}\\ &= 4(\cos(\frac{\pi}{3})+j\sin(\frac{\pi}{3}))\\ &= 4(1/2)+4j(\sqrt{3}/2)\\ &=2+j2\sqrt{3} \end{aligned}
z3=5ejπ/2z_3 = 5e^{j\pi/2} z3=5ejπ/2=5(cos⁡(π2)+jsin⁡(π2))=5(0)+5j(1)=j5 \begin{aligned} z_3 &= 5e^{j\pi/2}\\ &= 5(\cos(\frac{\pi}{2})+j\sin(\frac{\pi}{2}))\\ &= 5(0)+5j(1)\\ &=j5 \end{aligned}

More examples to consider:

jjj^j jj=(ejπ/2)j=ej2(π/2)=e−π/2 \begin{aligned} j^j &= (e^{j\pi/2})^j\\ &= e^{j^{2}(\pi/2)}\\ &= e^{-\pi/2} \end{aligned}
cos⁡θsin⁡θ\cos{\theta}\sin{\theta} cos⁡θsin⁡θ=ejθ+e−jθ2ejθ−e−jθ2j=14j(ej2θ−e−j2θ)=14j(2jsin⁡(2θ))=12sin⁡(2θ) \begin{aligned} \cos{\theta}\sin{\theta} &= \frac{e^{j\theta}+e^{-j\theta}}{2}\frac{e^{j\theta}-e^{-j\theta}}{2j}\\ & = \frac{1}{4j}(e^{j2\theta}-e^{-j2\theta})\\ & = \frac{1}{4j}(2j\sin(2\theta))\\ & = \frac{1}{2}\sin(2\theta) \end{aligned}
cos⁡2θ−sin⁡2θ\cos^2\theta-\sin^2\theta cos⁡2(θ)−sin⁡2(θ)=(ejθ+e−jθ2)2−(ejθ−e−jθ2j)2=14(ej2θ+2+e−j2θ)+14(ej2θ−2+e−j2θ)=12(ej2θ+e−j2θ)=12(2cos⁡(2θ))=cos⁡(2θ) \begin{aligned} \cos^2(\theta)-\sin^2(\theta)&=\Big\lparen\frac{e^{j\theta}+e^{-j\theta}}{2}\Big\rparen^2-\Big\lparen\frac{e^{j\theta}-e^{-j\theta}}{2j}\Big\rparen^2\\ &=\frac{1}{4}(e^{j2\theta}+2+e^{-j2\theta})+\frac{1}{4}(e^{j2\theta}-2+e^{-j2\theta})\\ &=\frac{1}{2}(e^{j2\theta}+e^{-j2\theta})\\ &=\frac{1}{2}(2\cos(2\theta))\\ &=\cos(2\theta) \end{aligned}
(ejθ)2(e^{j\theta})^2

We will use the previous two examples to substitute parts of the following example.

(ejθ)2=(cos⁡θ+jsin⁡θ)2=cos⁡2θ+2jcos⁡θsin⁡θ−sin⁡2θ=cos⁡2θ−sin⁡2θ+2jcos⁡θsin⁡θ=cos⁡2θ+2j12sin⁡2θ=cos⁡2θ+jsin⁡2θ≡ej2θ \begin{aligned} (e^{j\theta})^2 &= (\cos\theta + j\sin\theta)^2\\ &=\cos^2\theta + 2j\cos\theta\sin\theta - \sin^2\theta\\ &=\cos^2\theta - \sin^2\theta + 2j\cos\theta\sin\theta\\ &=\cos{2\theta} + 2j\frac{1}{2}\sin{2\theta}\\ &=\cos{2\theta} + j\sin{2\theta}\\ &\equiv e^{j2\theta} \end{aligned}

In general:

ejnθ=cos⁡nθ+jsin⁡nθ e^{jn\theta} = \cos{n\theta} + j\sin{n\theta}

This is de Moivre’s formula.

nth roots of a Complex Number

Any non-zero complex number zz has exactly nn (positive integer) roots.

An nthn^{th} root of a complex number zz is given by un=zu^n = z

(Example) Cubic root of z=1z = 1 u3=1=1ej(0+2πk)where k is an integer⇒uk=ej(03+2kπ3) \begin{aligned} u^3&=1\\ &=1e^{j(0+2\pi k)}\quad\text{where}\,k\,\text{is an integer}\\ \Rarr u_k&=e^{j(\frac{0}{3}+\frac{2k\pi}{3})} \end{aligned}

In general… the nthn^{th} roots of unity (z=1z = 1) are given by ej2kπ/nwhere k=0,1,…,n−1 \Large e^{j2k\pi/n}\quad\text{where}\,k=0,1,\dots,n-1

Let z=a+jbz = a + jb: un=z=a+jb=∣z∣ejθun=∣z∣ej(θ+2kπ)u=∣z∣1nej(θ+2kπ)⋅1n=∣z∣1nej(θn+2kπn)where k=0,1,…,n−1 \begin{aligned} u^n = z &= a + jb = \lvert z \rvert e^{j\theta}\\ u^n &= \lvert z \rvert e^{j(\theta+2k\pi)}\\ u &= \lvert z \rvert^\frac{1}{n} e^{j(\theta+2k\pi)\cdot\frac{1}{n}}\\ &= \lvert z \rvert^\frac{1}{n}e^{j(\frac{\theta}{n}+\frac{2k\pi}{n})}\quad\text{where}\,k=0,1,\dots,n-1 \end{aligned}

Example: z6+2z3−3z^6+2z^3-3 Let u=z3u = z^3: z6+2z3−3=u2+2u−3 z^6+2z^3-3=u^2+2u-3 Solving for uu yields u=1,u=−3u = 1, u = -3
  1. Solving for z3=1z^3 = 1 z3=1=1ej(0+2kπ)z3=ej(2kπ)zk=ej(2kπ/3)z0=1z1=ej(2π/3)z2=ej(4π/3) \begin{aligned} z^3&=1=1e^{j(0+2k\pi)}\\ z^3&=e^{j(2k\pi)}\\ z_k&=e^{j(2k\pi/3)}\\ z_0&=1\\ z_1&=e^{j(2\pi/3)}\\ z_2&=e^{j(4\pi/3)}\\ \end{aligned}
  2. Solving for z3=−3z^3 = -3 z3=−3=3ejπz3=3ej(π+2kπ)z3=3ej(1+2k)πz0=33ejπ/3z1=33ejπz2=33ej5π/3 \begin{aligned} z^3&=-3=3e^{j\pi}\\ z^3&=3e^{j(\pi+2k\pi)}\\ z^3&=3e^{j(1+2k)\pi}\\ z_0&=\sqrt[3]{3}e^{j\pi/3}\\ z_1&=\sqrt[3]{3}e^{j\pi}\\ z_2&=\sqrt[3]{3}e^{j5\pi/3} \end{aligned}

Functions

In electrical and computer engineering, signals are voltage and current. The functions depend on one or multiple variables.

v(t)v(t), vv is the dependent variable and tt is the independent.

In this class, we will study functions of one independent variable which is time tt. i(t)currentv(t)voltage \begin{gathered} i(t)\quad\text{current}\\ v(t)\quad\text{voltage} \end{gathered}

Exponential Functions

A real exponential function is defined as AeatAe^{at} where A,aA, a are real constants. v(t)=e2tv(t)=10e−3t \begin{gathered} v(t)=e^{2t}\\ v(t)=10e^{-3t} \end{gathered}

Sinusoidal Functions

A sine wave is defined as X(t)=Acos⁡(ωt+θ) X(t) = A\cos(\omega t+\theta) where:

  • AA is the peak amplitude A>0A > 0
  • ω\omega is called the angular frequency, expressed in radians per second (rad/s)
  • θ\theta is called the phase angle

Unit Step Function

The unit step function is defined as u(t)={1,  t≥00,  t<0 u(t) = \begin{cases} 1,\thickspace t\geq0\\ 0,\thickspace t<0 \end{cases} One way to think of this is as a switch opening and closing a circuit at t=0t = 0.

Unit Impulse Function

The unit inpulse function (also known as the Dirac delta function) is defined as δ(t)=du(t)dt={∞,  t=00,   elsewhere \delta(t) = \frac{du(t)}{dt} = \begin{cases} \infin,\thickspace t=0\\ 0,\thickspace\text{ elsewhere} \end{cases}