Complex algebra

Videos

Review Videos

Videos, Organic Chemistry Tutor

Link to original

01 Theory - Complex arithmetic

Theory 1

The complex numbers ℂ are sums of real and imaginary numbers. Every complex number can be written uniquely in ‘Cartesian’ form:

z=a+bi,a,b∈ℝ

To add, subtract, scale, and multiply complex numbers, treat ‘i’ like a constant.

Simplify the result using i2=−1.

For example:

(1+3i)(2−2i)≫≫2−2i+6i−6i2≫≫2+4i−6(−1)≫≫8+4i

Complex conjugate

Every complex number has a complex conjugate:

z=a+bi≫≫z‾=a−bi

For example:

2+5i=2−5i2−5i=2+5i

In general, z‾‾=z.

Conjugates are useful mainly because they eliminate imaginary parts:

(2+5i)(2−5i)≫≫4+25≫≫29

In general:

(a+bi)(a−bi)≫≫a2−abi+bia−b2i2≫≫a2+b2∈ℝ

Complex division

To divide complex numbers, use the conjugate to eliminate the imaginary part in the denominator.

For example, reciprocals:

1a+bi≫≫1a+bi⋅a−bia−bi≫≫a−bia2+b2≫≫(aa2+b2)+(−ba2+b2)i

More general fractions:

a+bic+di≫≫a+bic+di⋅c−dic−di≫≫ac+bd+(bc−ad)ic2+d2≫≫ac+bdc2+d2+bc−adc2+d2i

Multiplication preserves conjugation

For any z,w∈ℂ:

zw=z‾w‾

Therefore, one can take products or conjugates in either order.

Link to original

02 Illustration

Example - Complex multiplication

Complex multiplication

Compute the products:

(a) (1−i)(4−7i) (b) (2+5i)(2−5i)

Solution

(a) (1−i)(4−7i)

Expand:

(1−i)(4−7i)≫≫4−7i−4i+7i2

Simplify i2:

≫≫4−7i−4i+7(−1)≫≫−3−11i

(b) (2+5i)(2−5i)

Expand:

(2+5i)(2−5i)≫≫4−10i+10i−25i2

Simplify i2:

≫≫4−10i+10i−25(−1)≫≫29 Link to original

Example - Complex division

Complex division

Compute the following divisions of complex numbers:

(a) 1−3+i (b) 1i (c) 17i (d) 2+5i2−5i

Solution

(a) 1−3+i

Conjugate is −3−i:

1−3+i≫≫1−3+i⋅−3−i−3−i

Simplify:

≫≫−3−i9+1≫≫−310+−110i

(b) 1i

Conjugate is −i:

1i≫≫1i⋅−i−i≫≫−i

(c) 17i

Factor out the 1/7:

17i≫≫17⋅1i

Use 1i=−i:

≫≫17⋅(−i)≫≫−17i

(d) 2+5i2−5i

Denominator conjugate is 2+5i:

2+5i2−5i≫≫2+5i2−5i⋅2+5i2+5i

Simplify:

≫≫4+20i+25i24+25≫≫−2129+2029iLink to original

Complex exponential

Videos

Review Videos

Videos, Khan Academy

Link to original

03 Theory - Complex plane and polar data

Theory 1

A complex number z=x+iy can be represented in the plane as the point with Cartesian coordinates (x,y). The coefficient of “i” determines the vertical coordinate, and the coefficient of “1” determines the horizontal coordinate.

center

center

Let us be given a complex number z=a+bi.

The “real part” and “imaginary part” of z can be extracted with designated functions:

Re(z)=a,Im(z)=b,for z=a+biz=Re(z)+Im(z)i

The polar data (radius and angle) have special names and notations for complex numbers:

r=a2+b2=|z|=“modulus” of zθ=tan−1⁡(b/a)+?π=Arg(z)=“argument” of z

Using this notation, we see that product with the conjugate gives square of modulus:

zz‾=|z|2Link to original

04 Theory - cis, Euler, products, powers

Theory 1

Multiplication of complex numbers is much easier to understand when the numbers are written using polar form.

There is a shorthand ‘cis’ notation. Convert to polar coordinates, so a=rcos⁡θ and b=rsin⁡θ:

a+bi≫≫rcos⁡θ+rsin⁡θi≫≫r(cos⁡θ+isin⁡θ)≫≫rcisθ

The “cis” stands for cos⁡θ+isin⁡θ. For example:

2−2i≫≫2(12−12i)≫≫2cos⁡(−π4)+2sin⁡(−π4)i≫≫2cis(−π4)

Euler Formula

General Euler Formula:

reiθ=rcos⁡θ+irsin⁡θ

On the unit circle r=1:

eiθ=cos⁡θ+isin⁡θ

The form reiθ expresses the same data as the cis form. The principal advantage of the form reiθ is that it reveals the rule for multiplication, which comes from exponent laws:

Complex multiplication - Exponential form

r1eiθ1⋅r2eiθ2=(r1r2)ei(θ1+θ2)

In words:

  • Multiply radii
  • Add angles

Notice:

multiply by eiπ2⟺rotate by +90∘

Notice:

eiπ2=+i

Therefore i ‘acts upon’ other numbers by rotating them 90∘ counterclockwise!


De Moivre’s Theorem - Complex powers

In exponential notation:

(reiθ)n=rnei⋅nθ

In cis notation:

(rcisθ)n=rncis(nθ)

Expanded cis notation:

(rcos⁡θ+irsin⁡θ)n=rncos⁡(nθ)+irnsin⁡(nθ)

So the power of n acts like this:

  • Stretch: r to rn
  • Rotate: by n increments of θ

Extra - Derivation of Euler Formula

Recall the power series for ex:

ex=1+11!x+12!x2+13!x3+…=∑i=0∞1i!xi

Plug in x=iθ:

eiθ≫≫1+(iθ)+12!(iθ)2+13!(iθ)3+⋯+

Simplify terms:

≫≫1+iθ−12!θ2−13!iθ3+14!θ4+15!iθ5−16!θ6−17!iθ7+18!θ8+⋯

Separate by i-factor. Select out the terms with i⏞:

≫≫1+iθ⏞−12!θ2−13!iθ3⏞+14!θ4+15!iθ5⏞−16!θ6−17!iθ7⏞+18!θ8+⋯

Separate into a series without i and a series with i:

≫≫(1−12!θ2+14!θ4−⋯)+(θ−13!θ3+15!θ5−⋯)i

Identify cos⁡θ and sin⁡θi. Write trig series:

cos⁡θ=1−12!θ2+14!θ4−⋯sin⁡θ=θ−13!θ3+15!θ5−⋯

Therefore eiθ=cos⁡θ+isin⁡θ.

Link to original

05 Illustration

Example - Complex product, quotient, power using Euler

Complex product, quotient, power using Euler

Define:

z=2eiπ2w=5eiπ3

Product zw:

zw≫≫(2eiπ2)⋅(5eiπ3)≫≫(2⋅5)(eiπ2)(eiπ3)≫≫10eiπ2+iπ3≫≫10ei5π6

Quotient z/w:

z/w≫≫(2eiπ2)/(5eiπ3)≫≫2eiπ25eiπ3≫≫25eiπ2e−iπ3≫≫25eiπ6

Power z8:

z8≫≫(2eiπ2)8≫≫28(eiπ2)8≫≫512ei⋅4π

Notice:

ei⋅4π≫≫(e2πi)2≫≫12≫≫1

Simplify:

512ei⋅4π≫≫512 Link to original

Example - Complex power from Cartesian

Complex power from Cartesian

Compute (3+3i)4.

Solution

First convert to exponential form:

3+3i≫≫32(12+12i)≫≫32eiπ4

Compute the power:

(3+3i)4≫≫(32eiπ4)4≫≫324eiπ≫≫−324Link to original

Complex roots

Videos

Review Videos

Videos, Trefor Bazett

Videos, Brain Gainz

Link to original

06 Theory - Roots formula

Theory 1

The exponential notation leads to a formula for a complex nth root of any complex number:

reiθn=rneiθn

n distinct roots

Every complex number actually has n distinct nth roots!

That’s two square roots, three cube roots, four 4th roots, etc.

All complex roots

The complex roots of z=reiθ are given by this formula:

wk=rn⋅ei(θn+k2πn)for each k=0,1,2,…,n−1

In Cartesian notation:

wk=rncos⁡(θn+k2πn)+rnsin⁡(θn+k2πn)i

In words:

  • Start with the basic root: rn⋅eiθn
  • Rotate by increments of 2πn to get all other roots
    • After n distinct roots, this process repeats itself

Extra - Complex roots proof

We must verify that wkn=reiθ:

(rn⋅ei(θn+k2πn))n≫≫rnn⋅ei(θn+k2πn)n≫≫r⋅ei(θ+2πk)≫≫reiθei2πk≫≫reiθ
Link to original

07 Illustration

Example - Finding all 4th roots of 16

Finding all 4th roots of 16

Compute all the 4th roots of 16.

Solution

Write 16=16e0i.

Evaluate roots formula:

(16e0i)14≫≫wk=1614ei(04+k2π4)

Simplify:

≫≫2ei⋅kπ2≫≫2,2i,−2,−2i Link to original

Example - Finding 2nd roots of 2i

Finding 2nd roots of 2i

Find both 2nd roots of 2i.

Solution

Write 2i=2eiπ2.

Evaluate roots formula:

(2eiπ2)12≫≫wk=2ei(π/22+k2π2)≫≫2ei(π4+kπ)

Compute the options: k=0,1:

≫≫2eiπ4,2ei5π4

Convert to rectangular:

≫≫2(12+12i),2(−12−12i)≫≫1+i,1−i Link to original

Example - Some roots of unity

Some roots of unity

Find the 1st and 2nd and 3rd and 4th and 5th and 6th roots of the number 1.

Solution

center

(1) 1st

Write 1=e0i. Evaluate roots formula. There is no possible k:

(e0i)11≫≫e0i≫≫1

(2) 2nd

Write 1=e0i. Evaluate roots formula in terms of k:

(e0i)12≫≫wk=ei(02+k2π2)k=0,1

Compute the two options, k=0,1:

≫≫1,eπi≫≫1,−1

(3) 3rd

Evaluate roots formula in terms of k:

(e0i)13≫≫wk=ei(03+k2π3)

Compute the options: k=0,1,2:

≫≫1,ei2π3,ei4π3≫≫1,−12+32i,−12−32i

(4) 4th

Evaluate roots formula:

(e0i)14≫≫wk=ei(04+k2π4)

Compute the options: k=0,1,2,3:

1,eiπ2,eiπ,ei3π2≫≫1,i,−1,−i

(5) 5th

Evaluate roots formula:

(e0i)15≫≫wk=ei(05+k2π5)

Compute the options: k=0,1,2,3,4:

1,ei2π5,ei4π5,ei6π5,ei8π5

Don’t simplify, it’s not feasible.


(6) 6th

Evaluate roots formula:

(e0i)16≫≫wk=ei(06+k2π6)

Compute the options: k=0,1,2,3,4,5:

1,ei2π6,ei4π6,ei6π6,ei8π6,ei10π6

Simplify:

≫≫1,12+32i,−12+32i,−1,−12−32i,12−32iLink to original