Salta al contenuto
Note per Studenti Complex Numbers Report

Complex Numbers

In questa pagina 9

Historical origin

Complex numbers are introduced to make sense of the solutions of the quadratic equation

x2+bx+c=0,b,c∈R.x^2 + bx + c = 0, \qquad b, c \in \mathbb{R}.

The solutions are

x1,2=−b±Δ2,Δ=b2−4c.x_{1,2} = \frac{-b \pm \sqrt{\Delta}}{2}, \qquad \Delta = b^2 - 4c.

If Δ≥0\Delta \ge 0 then x1,x2∈Rx_1, x_2 \in \mathbb{R}. If Δ<0\Delta < 0 the square root of a negative number appears. Writing Δ=(−1)(−Δ)\Delta = (-1)(-\Delta) with −Δ>0-\Delta > 0:

x1,2=−b±(−1)(−Δ)2=−b±−1 −Δ2=−b2±j −Δ2.x_{1,2} = \frac{-b \pm \sqrt{(-1)(-\Delta)}}{2} = \frac{-b \pm \sqrt{-1}\,\sqrt{-\Delta}}{2} = -\frac{b}{2} \pm j\,\frac{\sqrt{-\Delta}}{2}.

The idea is to set j:=−1j := \sqrt{-1}, the imaginary unitthe number whose square is -1. This is a key definition: change it and the mathematics breaks. (The symbol :=:= means "is defined as".)

Basic notions

A complex number is

z:=a+jb∈C,a,b∈R.z := a + jb \in \mathbb{C}, \qquad a, b \in \mathbb{R}.

C\mathbb{C} is the set of complex numbers; it extends R\mathbb{R} and is identified with R×R\mathbb{R} \times \mathbb{R} (see the Cartesian representation below).

  • Re(z):=a∈R\mathrm{Re}(z) := a \in \mathbb{R} is the real part of zz.
  • Im(z):=b∈R\mathrm{Im}(z) := b \in \mathbb{R} is the imaginary part of zz (a real number).

Definition (imaginary unit jj). jj is such that j2=−1j^2 = -1, i.e. j:=−1j := \sqrt{-1}.

The triple (C,+,⋅)(\mathbb{C}, +, \cdot) is a field: both operations are commutative and, with z1=a1+jb1z_1 = a_1 + jb_1, z2=a2+jb2z_2 = a_2 + jb_2:

operation formula
sum z1+z2=(a1+a2)+j(b1+b2)z_1 + z_2 = (a_1 + a_2) + j(b_1 + b_2)
opposite −z2=−a2−jb2-z_2 = -a_2 - jb_2, so that z2−z2=0z_2 - z_2 = 0
difference z1−z2=(a1−a2)+j(b1−b2)z_1 - z_2 = (a_1 - a_2) + j(b_1 - b_2)
product z1z2=(a1+jb1)(a2+jb2)=(a1a2−b1b2)+j(a1b2+a2b1)z_1 z_2 = (a_1 + jb_1)(a_2 + jb_2) = (a_1 a_2 - b_1 b_2) + j(a_1 b_2 + a_2 b_1)
inverse (if z2≠0+j0z_2 \ne 0 + j0) z2−1=1z2=1a2+jb2=a2−jb2a22+b22z_2^{-1} = \dfrac{1}{z_2} = \dfrac{1}{a_2 + jb_2} = \dfrac{a_2 - jb_2}{a_2^2 + b_2^2}, and z2z2−1=1z_2 z_2^{-1} = 1
quotient (if z2≠0+j0z_2 \ne 0 + j0) z1z2=z1⋅1z2\dfrac{z_1}{z_2} = z_1 \cdot \dfrac{1}{z_2} (exercise)

The product formula follows by expanding and using j⋅j=−1j \cdot j = -1.

Examples (algebraic form)

  • 2+2+j3=4+j32 + 2 + j3 = 4 + j3 and 2+j3+j3=2+j62 + j3 + j3 = 2 + j6.
  • (2+j3)+(4+j5)=(2+4)+j(3+5)=6+j8(2 + j3) + (4 + j5) = (2 + 4) + j(3 + 5) = 6 + j8.
  • −(1−j)=−1+j-(1 - j) = -1 + j.
  • (−1+j)−(1+j)=(−1−1)+j(1−1)=−2+j0=−2(-1 + j) - (1 + j) = (-1 - 1) + j(1 - 1) = -2 + j0 = -2.
  • (10+j7)−(10−j3)=(10−10)+j(7−(−3))=0+j10=j10(10 + j7) - (10 - j3) = (10 - 10) + j(7 - (-3)) = 0 + j10 = j10.
  • Product: (2+j3)(4+j5)=2⋅4+2⋅j5+j3⋅4+j3⋅j5=(8−15)+j(10+12)=−7+j22(2 + j3)(4 + j5) = 2\cdot 4 + 2 \cdot j5 + j3 \cdot 4 + j3 \cdot j5 = (8 - 15) + j(10 + 12) = -7 + j22.
  • Inverse: multiply numerator and denominator by 2−j32 - j3:

(2+j3)−1=12+j3⋅2−j32−j3=2−j34−j29=2−j34+9=213+j313.(2 + j3)^{-1} = \frac{1}{2 + j3} \cdot \frac{2 - j3}{2 - j3} = \frac{2 - j3}{4 - j^2 9} = \frac{2 - j3}{4 + 9} = \frac{2}{13} + j\frac{3}{13}.

  • Quotient:

4+j52+j3=4+j52+j3⋅2−j32−j3=8−j12+j10+1513=2313−j213.\frac{4 + j5}{2 + j3} = \frac{4 + j5}{2 + j3} \cdot \frac{2 - j3}{2 - j3} = \frac{8 - j12 + j10 + 15}{13} = \frac{23}{13} - j\frac{2}{13}.

Remark. (2+j3)(2−j3)=22+32=4+9=13∈R>0(2 + j3)(2 - j3) = 2^2 + 3^2 = 4 + 9 = 13 \in \mathbb{R}_{>0}. This motivates the conjugate: 2−j3=:2+j3‾2 - j3 =: \overline{2 + j3}.

Further operations

Given z=a+jbz = a + jb:

  • Conjugation: z‾:=a−jb\overline{z} := a - jb.
  • Modulus: ∣z∣:=z⋅z‾=a2+b2|z| := \sqrt{z \cdot \overline{z}} = \sqrt{a^2 + b^2}.

Representations

Cartesian representation

z=a+jbz = a + jb is the point of coordinates (a,b)(a, b) in the complex plane, with Re(z)\mathrm{Re}(z) on the horizontal axis and Im(z)\mathrm{Im}(z) on the vertical axis. This is why C≃R×R\mathbb{C} \simeq \mathbb{R} \times \mathbb{R}.

 Im(z)
   ^
 b +- - - - o  z = a + jb
   |        .
   |        .
---+--------+----> Re(z)
   0        a

Polar representation

The same point is described by

  • ρ=∣z∣\rho = |z|, the modulus (or magnitude), ρ≥0\rho \ge 0;
  • φ=∠z\varphi = \angle z, the argument (or phase), with φ∈ ]−π,π]\varphi \in \,]-\pi, \pi] (or φ∈[0,2π[\varphi \in [0, 2\pi[).
 Im(z)
   ^
 b +- - - o  z = (rho, phi)    b = rho sin(phi)
   |     /.
   |   rho.
   |  / phi.
---+-/-----+----> Re(z)
   0   a = rho cos(phi)

Polar to Cartesian (ρ,φ)→(a,b)(\rho, \varphi) \to (a, b):

a=ρcos⁡φ,b=ρsin⁡φ⟹z=ρ(cos⁡φ+jsin⁡φ).a = \rho\cos\varphi, \quad b = \rho\sin\varphi \quad \Longrightarrow \quad z = \rho(\cos\varphi + j\sin\varphi).

Cartesian to polar (a,b)→(ρ,φ)(a, b) \to (\rho, \varphi):

ρ=a2+b2,φ={arctan⁡(ba),a>0sign(b) π+arctan⁡(ba),a<0, b≠0π,a<0, b=0sign(b) π2,a=0, b≠0indeterminate,a=0, b=0(take φ=0 if needed)\rho = \sqrt{a^2 + b^2}, \qquad \varphi = \begin{cases} \arctan\left(\dfrac{b}{a}\right), & a > 0 \\[2mm] \mathrm{sign}(b)\,\pi + \arctan\left(\dfrac{b}{a}\right), & a < 0,\ b \ne 0 \\[2mm] \pi, & a < 0,\ b = 0 \\[2mm] \mathrm{sign}(b)\,\dfrac{\pi}{2}, & a = 0,\ b \ne 0 \\[2mm] \text{indeterminate}, & a = 0,\ b = 0 \quad (\text{take } \varphi = 0 \text{ if needed}) \end{cases}

Important properties. If z=(ρ,φ)z = (\rho, \varphi) then z−1=(ρ−1,−φ)z^{-1} = (\rho^{-1}, -\varphi). If z1=(ρ1,φ1)z_1 = (\rho_1, \varphi_1) and z2=(ρ2,φ2)z_2 = (\rho_2, \varphi_2) then

z1z2=(ρ1ρ2, φ1+φ2),z1z2−1=(ρ1ρ2, φ1−φ2),z_1 z_2 = (\rho_1\rho_2,\ \varphi_1 + \varphi_2), \qquad z_1 z_2^{-1} = \left(\frac{\rho_1}{\rho_2},\ \varphi_1 - \varphi_2\right),

where the resulting phase is brought back to ]−π,π]]-\pi, \pi] by adding or subtracting multiples of 2π2\pi: moduli multiply (divide), phases add (subtract).

Names of the forms: the Cartesian form z=a+jbz = a + jb is the algebraic form (by definition); z=ρ(cos⁡φ+jsin⁡φ)z = \rho(\cos\varphi + j\sin\varphi) is the trigonometric form; the exponential form z=ρejφz = \rho e^{j\varphi} is justified below.

Examples (writing ρ∠φ\rho \angle \varphi)

  • 1+j0=1∠01 + j0 = 1\angle 0,  −1+j0=1∠π\ -1 + j0 = 1\angle\pi.
  • 0+j1=1∠π20 + j1 = 1\angle\frac{\pi}{2},  0−j1=1∠−π2\ 0 - j1 = 1\angle -\frac{\pi}{2}.
  • 1+j1=12+12 ∠arctan⁡11=2∠π41 + j1 = \sqrt{1^2 + 1^2}\,\angle\arctan\frac{1}{1} = \sqrt{2}\angle\frac{\pi}{4}.
  • 1−j3=12+(3)2 ∠arctan⁡(−3)=2∠−π31 - j\sqrt{3} = \sqrt{1^2 + (\sqrt{3})^2}\,\angle\arctan(-\sqrt{3}) = 2\angle -\frac{\pi}{3}.
  • −1+j3-1 + j\sqrt{3}: here a<0a < 0, b>0b > 0, so φ=arctan⁡(3−1)+π=−π3+π\varphi = \arctan\left(\frac{\sqrt{3}}{-1}\right) + \pi = -\frac{\pi}{3} + \pi, and −1+j3=2∠23π-1 + j\sqrt{3} = 2\angle\frac{2}{3}\pi.
  • −1−j33-1 - j\frac{\sqrt{3}}{3}: ρ=1+39=233\rho = \sqrt{1 + \frac{3}{9}} = \frac{2\sqrt{3}}{3} and φ=arctan⁡(−3/3−1)−π=π6−π\varphi = \arctan\left(\frac{-\sqrt{3}/3}{-1}\right) - \pi = \frac{\pi}{6} - \pi, so it equals 233∠−56π\frac{2\sqrt{3}}{3}\angle -\frac{5}{6}\pi.
  • 2∠π=−2+j02\angle\pi = -2 + j0,  7∠0=7+j0\ 7\angle 0 = 7 + j0.
  • 0∠φ=0cos⁡φ+j0sin⁡φ=00\angle\varphi = 0\cos\varphi + j0\sin\varphi = 0 for every φ∈ ]−π,π]\varphi \in \,]-\pi, \pi].
  • 4∠π6=4cos⁡π6+j4sin⁡π6=432+j412=23+j24\angle\frac{\pi}{6} = 4\cos\frac{\pi}{6} + j4\sin\frac{\pi}{6} = 4\frac{\sqrt{3}}{2} + j4\frac{1}{2} = 2\sqrt{3} + j2.
  • 3∠23π=3cos⁡23π+j3sin⁡23π=−32+j3233\angle\frac{2}{3}\pi = 3\cos\frac{2}{3}\pi + j3\sin\frac{2}{3}\pi = -\frac{3}{2} + j\frac{3}{2}\sqrt{3}.
  • (4∠π)(3∠π2)=4⋅3∠(π+π2)=12∠32π=12∠−π2=0−j12(4\angle\pi)(3\angle\frac{\pi}{2}) = 4\cdot 3\angle\left(\pi + \frac{\pi}{2}\right) = 12\angle\frac{3}{2}\pi = 12\angle -\frac{\pi}{2} = 0 - j12.
  • (28∠π2)/(7∠π2)=287∠(π2−π2)=4∠0=4+j0(28\angle\frac{\pi}{2})/(7\angle\frac{\pi}{2}) = \frac{28}{7}\angle\left(\frac{\pi}{2} - \frac{\pi}{2}\right) = 4\angle 0 = 4 + j0.

Exponential form and Euler's formula

Define, for z∈Cz \in \mathbb{C},

ez:=∑n=0+∞znn!.e^{z} := \sum_{n=0}^{+\infty} \frac{z^n}{n!}.

It is well defined because absolute convergence holds: ∑n=0+∞∣znn!∣<+∞\sum_{n=0}^{+\infty}\left|\frac{z^n}{n!}\right| < +\infty for all z∈Cz \in \mathbb{C}.

We need ez=ea+jb=ea⋅ejbe^{z} = e^{a + jb} = e^{a} \cdot e^{jb}. Let us prove something more general.

Fact. ex+y=ex⋅eye^{x + y} = e^{x} \cdot e^{y} for all x,y∈Cx, y \in \mathbb{C}.

Proof. Expand the power with Newton's binomial formula:

∑n=0+∞(x+y)nn!=∑n=0+∞∑m=0n(nm)xmyn−mn!=∑n=0+∞∑m=0n1n!(nm)xmyn−m.\sum_{n=0}^{+\infty}\frac{(x + y)^n}{n!} = \sum_{n=0}^{+\infty}\frac{\sum_{m=0}^{n}\binom{n}{m}x^m y^{n-m}}{n!} = \sum_{n=0}^{+\infty}\sum_{m=0}^{n}\frac{1}{n!}\binom{n}{m}x^m y^{n-m}.

Use (nm)=n!m! (n−m)!\binom{n}{m} = \frac{n!}{m!\,(n-m)!}, so n!n! cancels:

=∑n=0+∞∑m=0n1m! (n−m)! xmyn−m.= \sum_{n=0}^{+\infty}\sum_{m=0}^{n}\frac{1}{m!\,(n-m)!}\,x^m y^{n-m}.

The double sum runs over the "triangle" 0≤m≤n0 \le m \le n of the (n,m)(n, m) grid. Since the series converge absolutely, Tonelli's theorem for series lets us exchange the order of summation: sum first over n≥mn \ge m, then over m≥0m \ge 0. With ℓ=n−m\ell = n - m:

=∑m=0+∞∑ℓ=0+∞xmyℓm! ℓ!=(∑m=0+∞xmm!)(∑ℓ=0+∞yℓℓ!)=ex⋅ey.■= \sum_{m=0}^{+\infty}\sum_{\ell=0}^{+\infty}\frac{x^m y^{\ell}}{m!\,\ell!} = \left(\sum_{m=0}^{+\infty}\frac{x^m}{m!}\right)\left(\sum_{\ell=0}^{+\infty}\frac{y^\ell}{\ell!}\right) = e^{x}\cdot e^{y}. \qquad \blacksquare

Implications. For b∈Rb \in \mathbb{R}, split the series of ejbe^{jb} into even terms n=2hn = 2h and odd terms n=2h+1n = 2h + 1, using j2h=(−1)hj^{2h} = (-1)^h:

ejb=∑n=0+∞(jb)nn!=∑h=0+∞(−1)hb2h(2h)!+j∑h=0+∞(−1)hb2h+1(2h+1)!=cos⁡b+jsin⁡b.e^{jb} = \sum_{n=0}^{+\infty}\frac{(jb)^n}{n!} = \sum_{h=0}^{+\infty}(-1)^h\frac{b^{2h}}{(2h)!} + j\sum_{h=0}^{+\infty}(-1)^h\frac{b^{2h+1}}{(2h+1)!} = \cos b + j\sin b.

Hence Euler's formula (super important):

ejφ=cos⁡φ+jsin⁡φ∀φ∈R,\boxed{e^{j\varphi} = \cos\varphi + j\sin\varphi} \qquad \forall \varphi \in \mathbb{R},

and, in the same way, for z∈Cz \in \mathbb{C}: cos⁡z=ejz+e−jz2\cos z = \dfrac{e^{jz} + e^{-jz}}{2},  sin⁡z=ejz−e−jz2j\ \sin z = \dfrac{e^{jz} - e^{-jz}}{2j}.

A consequence to remember (the lecturer: "get a tattoo with this property"):

∣ejφ∣=cos⁡2φ+sin⁡2φ=1∀φ∈R.\boxed{|e^{j\varphi}| = \sqrt{\cos^2\varphi + \sin^2\varphi} = 1} \qquad \forall\varphi\in\mathbb{R}.

Consistency with the polar product rule: if z1=ρ1ejφ1z_1 = \rho_1 e^{j\varphi_1} and z2=ρ2ejφ2z_2 = \rho_2 e^{j\varphi_2} then z1z2=ρ1ρ2 ej(φ1+φ2)z_1 z_2 = \rho_1\rho_2\, e^{j(\varphi_1 + \varphi_2)}, i.e. (ρ1ρ2,φ1+φ2)(\rho_1\rho_2, \varphi_1 + \varphi_2), as expected.

Examples

  • 22+j22=cos⁡π4+jsin⁡π4=ejπ/4\frac{\sqrt{2}}{2} + j\frac{\sqrt{2}}{2} = \cos\frac{\pi}{4} + j\sin\frac{\pi}{4} = e^{j\pi/4}.
  • −2+j23=4(−12+j32)=4(cos⁡23π+jsin⁡23π)=4ej23π-2 + j2\sqrt{3} = 4\left(-\frac{1}{2} + j\frac{\sqrt{3}}{2}\right) = 4\left(\cos\frac{2}{3}\pi + j\sin\frac{2}{3}\pi\right) = 4e^{j\frac{2}{3}\pi}.
  • 7ejπ/2=7(cos⁡π2+jsin⁡π2)=7(0+j1)=j77e^{j\pi/2} = 7(\cos\frac{\pi}{2} + j\sin\frac{\pi}{2}) = 7(0 + j1) = j7.
  • eπj=1⋅(cos⁡π+jsin⁡π)=−1e^{\pi j} = 1\cdot(\cos\pi + j\sin\pi) = -1, i.e. eπj+1=0e^{\pi j} + 1 = 0.

Homework: conversions

Polar to Cartesian: ejπ/2=cos⁡π2+jsin⁡π2=je^{j\pi/2} = \cos\frac{\pi}{2} + j\sin\frac{\pi}{2} = j;  2e−jπ/4=2(cos⁡π4−jsin⁡π4)=2(22−j22)=1−j\ \sqrt{2}e^{-j\pi/4} = \sqrt{2}\left(\cos\frac{\pi}{4} - j\sin\frac{\pi}{4}\right) = \sqrt{2}\left(\frac{\sqrt{2}}{2} - j\frac{\sqrt{2}}{2}\right) = 1 - j;  jej3π=jejπej2π=jejπ=j(cos⁡π+jsin⁡π)=−j\ je^{j3\pi} = je^{j\pi}e^{j2\pi} = je^{j\pi} = j(\cos\pi + j\sin\pi) = -j.

Cartesian to polar (−π<φ≤π-\pi < \varphi \le \pi): 1+j=2ejπ/41 + j = \sqrt{2}e^{j\pi/4} (since φ=arctan⁡11=π4\varphi = \arctan\frac{1}{1} = \frac{\pi}{4});  −3j=3e−jπ/2\ -3j = 3e^{-j\pi/2} (since φ=sign(−3)π2=−π2\varphi = \mathrm{sign}(-3)\frac{\pi}{2} = -\frac{\pi}{2});  −2=2ejπ\ -2 = 2e^{j\pi}.

Powers

Given q∈Qq \in \mathbb{Q}, compute zqz^q. Write q=mnq = \frac{m}{n} with m,n∈Zm, n \in \mathbb{Z}, n≠0n \ne 0, and gcd⁡(∣m∣,∣n∣)=1\gcd(|m|, |n|) = 1. Since ejφe^{j\varphi} is 2π2\pi-periodic, for any ℓ∈Z\ell \in \mathbb{Z}:

zq=(ρejφ)mn=(ρej(φ+2ℓπ))mn=ρmn⋅ej(mnφ+2mℓnπ).z^q = \left(\rho e^{j\varphi}\right)^{\frac{m}{n}} = \left(\rho e^{j(\varphi + 2\ell\pi)}\right)^{\frac{m}{n}} = \rho^{\frac{m}{n}}\cdot e^{j\left(\frac{m}{n}\varphi + 2\frac{m\ell}{n}\pi\right)}.

The principal value of zqz^q is obtained with ℓ=0\ell = 0.

Examples

  • (22+j22)2=(ejπ/4)2=ejπ/2=j\left(\frac{\sqrt{2}}{2} + j\frac{\sqrt{2}}{2}\right)^2 = \left(e^{j\pi/4}\right)^2 = e^{j\pi/2} = j.
  • (22+j22)−2=(ejπ/4)−2=e−jπ/2=−j\left(\frac{\sqrt{2}}{2} + j\frac{\sqrt{2}}{2}\right)^{-2} = \left(e^{j\pi/4}\right)^{-2} = e^{-j\pi/2} = -j.
  • Square root: (ej(π4+2ℓπ))1/2=ej(π8+ℓπ)\left(e^{j(\frac{\pi}{4} + 2\ell\pi)}\right)^{1/2} = e^{j(\frac{\pi}{8} + \ell\pi)}, which gives ejπ/8e^{j\pi/8} for ℓ=0\ell = 0 (all even ℓ\ell) and e−j78πe^{-j\frac{7}{8}\pi} for ℓ=−1\ell = -1 (all odd ℓ\ell). Two distinct values, as expected for a square root.
  • With the half-angle formulas, ejπ/8=cos⁡12π4+jsin⁡12π4=1+cos⁡(π/4)2+j1−cos⁡(π/4)2=2+24+j2−24e^{j\pi/8} = \cos\frac{1}{2}\frac{\pi}{4} + j\sin\frac{1}{2}\frac{\pi}{4} = \sqrt{\frac{1 + \cos(\pi/4)}{2}} + j\sqrt{\frac{1 - \cos(\pi/4)}{2}} = \sqrt{\frac{2 + \sqrt{2}}{4}} + j\sqrt{\frac{2 - \sqrt{2}}{4}}. The other root e−j78πe^{-j\frac{7}{8}\pi} is left as an exercise.

Complex powers are not needed in the course, but note that jj=elog⁡(jj)=ejlog⁡(j)=ejlog⁡(ej(π2+2ℓπ))=ej(j(π2+2ℓπ))=e−(π2+2ℓπ)∈Rj^j = e^{\log(j^j)} = e^{j\log(j)} = e^{j\log(e^{j(\frac{\pi}{2} + 2\ell\pi)})} = e^{j\left(j\left(\frac{\pi}{2} + 2\ell\pi\right)\right)} = e^{-\left(\frac{\pi}{2} + 2\ell\pi\right)} \in \mathbb{R} for every ℓ∈Z\ell \in \mathbb{Z}: infinitely many real values (the lecturer's advice: "stay away").

Fundamental theorem of algebra

Theorem. The polynomial

pN(z)=aNzN+aN−1zN−1+⋯+a1z+a0,a0,…,aN∈C, N∈N, aN≠0,p_N(z) = a_N z^N + a_{N-1}z^{N-1} + \dots + a_1 z + a_0, \qquad a_0, \dots, a_N \in \mathbb{C},\ N \in \mathbb{N},\ a_N \ne 0,

admits exactly NN roots z1,…,zN∈Cz_1, \dots, z_N \in \mathbb{C} (counted with multiplicity), i.e. p(zi)=0p(z_i) = 0 for i=1,…,Ni = 1, \dots, N.

The proof is not given in the course (too hard).

Exercise (N=1N = 1). az+b=0az + b = 0 has one and only one solution if and only if a≠0a \ne 0. If a=0a = 0: for b=0b = 0 the equation is indeterminate (every zz is a solution); for b≠0b \ne 0 there is no solution.

Exercise. 9z2+6z+10=09z^2 + 6z + 10 = 0 must have two solutions. Using the reduced discriminant, Δ4=(62)2−9⋅10=9−90=−81\frac{\Delta}{4} = \left(\frac{6}{2}\right)^2 - 9\cdot 10 = 9 - 90 = -81, so

z1,2=−62±Δ49=−3±−819=−3±9j9=−13±j.z_{1,2} = \frac{-\frac{6}{2} \pm \sqrt{\frac{\Delta}{4}}}{9} = \frac{-3 \pm \sqrt{-81}}{9} = \frac{-3 \pm 9j}{9} = -\frac{1}{3} \pm j.

Roots of unity

Exercise (N∈N∖{0}N \in \mathbb{N}\setminus\{0\}). zN=1z^N = 1 must have NN solutions z1,…,zNz_1, \dots, z_N. Note that 1=ej2πℓ1 = e^{j2\pi\ell} for all ℓ∈Z\ell \in \mathbb{Z}. Since ej2πℓe^{j2\pi\ell} is periodic of period 2π2\pi in the exponent, only NN consecutive values of ℓ\ell give distinct solutions. From zN=ej2πℓz^N = e^{j2\pi\ell}:

zℓ+1=ej 2πℓN,ℓ=0,1,…,N−1\boxed{z_{\ell+1} = e^{j\,2\pi\frac{\ell}{N}}, \qquad \ell = 0, 1, \dots, N-1}

These are the NN solutions sought. Observation: ∣zℓ+1∣=1|z_{\ell+1}| = 1 for all ℓ\ell, so they lie on the unit circle, equally spaced by the angle 2πN\frac{2\pi}{N} (ℓ=0\ell = 0 gives z=1z = 1, ℓ=1\ell = 1 is the next point counter-clockwise, ℓ=N−1\ell = N-1 is the last one before returning to 11).

In the sketch of the course the points are drawn on the unit circle with ℓ=0\ell = 0 on the positive real axis, ℓ=1\ell = 1 just above it (counter-clockwise) and ℓ=N−1\ell = N-1 just below it.

No ordering relation in C\mathbb{C}

In C\mathbb{C} there is no ordering relation. For z1,z2∈Cz_1, z_2 \in \mathbb{C}, writing z1≤z2z_1 \le z_2 makes no sense. (Real or integer quantities such as ∣z∣|z|, Re(z)\mathrm{Re}(z), Im(z)\mathrm{Im}(z) can of course be compared.)

But we can solve inequalities between real quantities. Example:

∣z−1∣2≤Im(z)+Im(z)2.|z - 1|^2 \le \mathrm{Im}(z) + \mathrm{Im}(z)^2.

Trick: write z=a+jbz = a + jb. Then ∣a+jb−1∣2≤b+b2|a + jb - 1|^2 \le b + b^2 becomes (a−1)2+b2≤b+b2(a - 1)^2 + b^2 \le b + b^2, and cancelling b2b^2 gives b≥(a−1)2b \ge (a-1)^2. The solution set is

{z∈C∣Im(z)≥(Re(z)−1)2},\{z \in \mathbb{C} \mid \mathrm{Im}(z) \ge (\mathrm{Re}(z) - 1)^2\},

the region of the complex plane lying on or above the parabola Im(z)=(Re(z)−1)2\mathrm{Im}(z) = (\mathrm{Re}(z) - 1)^2, whose vertex is at Re(z)=1\mathrm{Re}(z) = 1.

Exercise. Solve {∣z−1∣≤1Re(z)=0\begin{cases}|z - 1| \le 1 \\ \mathrm{Re}(z) = 0\end{cases}. With z=a+jbz = a + jb, the second condition gives a=0a = 0; the first becomes ∣−1+jb∣2≤12|-1 + jb|^2 \le 1^2, i.e. (−1)2+b2≤1(-1)^2 + b^2 \le 1, i.e. b2≤0  ⟺  b=0b^2 \le 0 \iff b = 0. The only solution is z=0z = 0.

Homework from the course (practice problems)

The lecturer proposes a "furious exercise series" (check the results with a computer algebra system, which writes the imaginary unit as ii):

  1. Compute the algebraic form a+jba + jb of z1z2z_1 z_2, 1z2\frac{1}{z_2}, z2z1\frac{z_2}{z_1}, (z1+z2)2(z_1 + z_2)^2, z1z1+z2\frac{z_1}{z_1 + z_2} with z1=4−j5z_1 = 4 - j5, z2=2+j3z_2 = 2 + j3; and of 2e−jπ/42e^{-j\pi/4}, 3ejπ/23e^{j\pi/2}, ej5π4e^{j\frac{5\pi}{4}}, e−j43πe^{-j\frac{4}{3}\pi}, (1+j)16(1 + j)^{16}.
  2. Compute the exponential form ρejφ\rho e^{j\varphi} of 11, −3-3, 1+j1 + j, 1−j1 - j, −1+j-1 + j, −1−j-1 - j, 1+j1−j\frac{1 + j}{1 - j}, 1+j31 + j\sqrt{3}, (1−j3)2(1 - j\sqrt{3})^2, j(1+j)ejπ/6j(1 + j)e^{j\pi/6}, ejπ/3−11+j3\frac{e^{j\pi/3} - 1}{1 + j\sqrt{3}}, rsin⁡ϕ+jrcos⁡ϕr\sin\phi + jr\cos\phi.
  3. Determine real numbers such as Re(11+j)\mathrm{Re}\left(\frac{1}{1 + j}\right), Im(3+4j7−j)\mathrm{Im}\left(\frac{3 + 4j}{7 - j}\right), Re(e3+j3π)\mathrm{Re}(e^{3 + j3\pi}), Im(ejπ/4)\mathrm{Im}(e^{j\pi/4}), ∣1+j1−jej3∣\left|\frac{1 + j}{1 - j}e^{j\sqrt{3}}\right|, ∣ejπ/2−1ejπ/2+1∣\left|\frac{e^{j\pi/2} - 1}{e^{j\pi/2} + 1}\right|, ∣2cos⁡t+2jsin⁡t1+2j∣\left|\frac{2\cos t + 2j\sin t}{1 + 2j}\right|, ∣5+7j7−5j∣\left|\frac{5 + 7j}{7 - 5j}\right|, ∣(1+j)6j3(1+4j)2∣\left|\frac{(1 + j)^6}{j^3(1 + 4j)^2}\right|.
  4. Determine at least one form of 7+3j1+j\frac{7 + 3j}{1 + j}, (5+4j1+3j)‾\overline{\left(\frac{5 + 4j}{1 + 3j}\right)}, 1+j1−j\frac{1 + j}{1 - j}, (7+4j)2(7 + 4j)^2, (1+j)23+4j\frac{(1 + j)^2}{3 + 4j}, 1+j+j2+j31 + j + j^2 + j^3, (1+j)3(1 + j)^3, (1+j)3(1−j)2\frac{(1 + j)^3}{(1 - j)^2}, (1+j)128(1−j)64\frac{(1 + j)^{128}}{(1 - j)^{64}}.
  5. Compute the modulus of (1+j)81−j\frac{(1 + j)^8}{1 - j}, (1+j)2+j7+2j\frac{(1 + j)^2 + j}{7 + 2j}, (3+4j)5(8+6j)7\frac{(3 + 4j)^5}{(8 + 6j)^7}.
  6. Draw the subsets of C\mathbb{C}: (a) ∣z−4j∣=4|z - 4j| = 4; (b) 0<Re(z)<π20 < \mathrm{Re}(z) < \frac{\pi}{2}; (c) Re(z) Im(z)>0\mathrm{Re}(z)\,\mathrm{Im}(z) > 0; (d) ∣z∣≤2|z| \le 2; (e) ∣z∣>1|z| > 1; (f) 1≤∣z∣≤21 \le |z| \le 2; (g) ∣z−1∣≤1|z - 1| \le 1; (h) ∣z∣≤2∧∣z−j∣≥1|z| \le 2 \wedge |z - j| \ge 1; (i) ∠z∈[−π4,π4]\angle z \in \left[-\frac{\pi}{4}, \frac{\pi}{4}\right]; (j) Im(z)=2 Re(z)\mathrm{Im}(z) = 2\,\mathrm{Re}(z); (k) Im(z2)=1\mathrm{Im}(z^2) = 1; (l) ∠z3=π2\angle z^3 = \frac{\pi}{2}; (m) ∣z−1∣≤∣z+1∣|z - 1| \le |z + 1|.

Versione ripasso

  • j:=−1j := \sqrt{-1}, j2=−1j^2 = -1. z=a+jbz = a + jb, Re(z)=a\mathrm{Re}(z) = a, Im(z)=b\mathrm{Im}(z) = b (both real). (C,+,⋅)(\mathbb{C}, +, \cdot) is a field; C≃R×R\mathbb{C} \simeq \mathbb{R}\times\mathbb{R} (complex plane).
  • Product: (a1+jb1)(a2+jb2)=(a1a2−b1b2)+j(a1b2+a2b1)(a_1 + jb_1)(a_2 + jb_2) = (a_1a_2 - b_1b_2) + j(a_1b_2 + a_2b_1). Inverse: 1a+jb=a−jba2+b2\frac{1}{a + jb} = \frac{a - jb}{a^2 + b^2} (multiply by the conjugate).
  • Conjugate z‾=a−jb\overline{z} = a - jb; modulus ∣z∣=zz‾=a2+b2|z| = \sqrt{z\overline{z}} = \sqrt{a^2 + b^2}.
  • Polar: ρ=∣z∣≥0\rho = |z| \ge 0, φ=∠z∈ ]−π,π]\varphi = \angle z \in\,]-\pi, \pi]; a=ρcos⁡φa = \rho\cos\varphi, b=ρsin⁡φb = \rho\sin\varphi. Arctangent rule: φ=arctan⁡ba\varphi = \arctan\frac{b}{a} if a>0a > 0; sign(b)π+arctan⁡ba\mathrm{sign}(b)\pi + \arctan\frac{b}{a} if a<0a < 0, b≠0b \ne 0; π\pi if a<0a < 0, b=0b = 0; sign(b)π2\mathrm{sign}(b)\frac{\pi}{2} if a=0a = 0, b≠0b \ne 0; indeterminate at 00.
  • Product/quotient in polar form: moduli multiply/divide, phases add/subtract (bring back to ]−π,π]]-\pi, \pi]). z−1=(ρ−1,−φ)z^{-1} = (\rho^{-1}, -\varphi).
  • ez:=∑n≥0znn!e^{z} := \sum_{n\ge 0}\frac{z^n}{n!} converges absolutely for all zz; ex+y=exeye^{x+y} = e^xe^y (Newton's binomial + Tonelli for series).
  • Euler: ejφ=cos⁡φ+jsin⁡φe^{j\varphi} = \cos\varphi + j\sin\varphi; ∣ejφ∣=1|e^{j\varphi}| = 1; cos⁡z=ejz+e−jz2\cos z = \frac{e^{jz} + e^{-jz}}{2}, sin⁡z=ejz−e−jz2j\sin z = \frac{e^{jz} - e^{-jz}}{2j}; ejπ+1=0e^{j\pi} + 1 = 0.
  • Powers: zm/n=ρm/nej(mnφ+2mℓnπ)z^{m/n} = \rho^{m/n}e^{j(\frac{m}{n}\varphi + 2\frac{m\ell}{n}\pi)}, ℓ∈Z\ell \in \mathbb{Z}; principal value for ℓ=0\ell = 0. Example: (ejπ/4)1/2=ejπ/8\left(e^{j\pi/4}\right)^{1/2} = e^{j\pi/8} or e−j78πe^{-j\frac{7}{8}\pi}.
  • Fundamental theorem of algebra: a degree-NN polynomial over C\mathbb{C} has exactly NN roots (with multiplicity).
  • Roots of zN=1z^N = 1: zℓ+1=ej2πℓ/Nz_{\ell+1} = e^{j2\pi\ell/N}, ℓ=0,…,N−1\ell = 0, \dots, N-1, on the unit circle.
  • No ordering in C\mathbb{C}: z1≤z2z_1 \le z_2 is meaningless; compare only real quantities (∣z∣|z|, Re\mathrm{Re}, Im\mathrm{Im}). For inequalities set z=a+jbz = a + jb.
  • Typical mistakes: using arctan⁡(b/a)\arctan(b/a) alone when a<0a < 0 (the quadrant is wrong by π\pi); forgetting that j2=−1j^2 = -1 in products; leaving the phase outside ]−π,π]]-\pi, \pi] after multiplying; writing z1≤z2z_1 \le z_2.

Teoria collegata