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)(22i)22i+6i6i22+4i6(1)8+4i

Complex conjugate

Every complex number has a complex conjugate:

z=a+biz=abi

For example:

2+5i=25i25i=2+5i

In general, z=z.

Conjugates are useful mainly because they eliminate imaginary parts:

(2+5i)(25i)4+2529

In general:

(a+bi)(abi)a2abi+biab2i2a2+b2

Complex division

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

For example, reciprocals:

1a+bi1a+biabiabiabia2+b2(aa2+b2)+(ba2+b2)i

More general fractions:

a+bic+dia+bic+dicdicdiac+bd+(bcad)ic2+d2ac+bdc2+d2+bcadc2+d2i

Multiplication preserves conjugation

For any z,w:

zw=zw

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

Link to original

02 Illustration

Example - Complex multiplication

Complex multiplication

Compute the products:

(a) (1i)(47i) (b) (2+5i)(25i)

Solution

(a) (1i)(47i)

Expand:

(1i)(47i)47i4i+7i2

Simplify i2:

47i4i+7(1)311i

(b) (2+5i)(25i)

Expand:

(2+5i)(25i)410i+10i25i2

Simplify i2:

410i+10i25(1)29 Link to original

Example - Complex division

Complex division

Compute the following divisions of complex numbers:

(a) 13+i (b) 1i (c) 17i (d) 2+5i25i

Solution

(a) 13+i

Conjugate is 3i:

13+i13+i3i3i

Simplify:

3i9+1310+110i

(b) 1i

Conjugate is i:

1i1iiii

(c) 17i

Factor out the 1/7:

17i171i

Use 1i=i:

17(i)17i

(d) 2+5i25i

Denominator conjugate is 2+5i:

2+5i25i2+5i25i2+5i2+5i

Simplify:

4+20i+25i24+252129+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θ=tan1(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+bircosθ+rsinθir(cosθ+isinθ)rcisθ

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

22i2(1212i)2cos(π4)+2sin(π4)i2cis(π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θ1r2eiθ2=(r1r2)ei(θ1+θ2)

In words:

  • Multiply radii
  • Add angles

Notice:

multiply by eiπ2rotate 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=rneinθ

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=01i!xi

Plug in x=iθ:

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

Simplify terms:

1+iθ12!θ213!iθ3+14!θ4+15!iθ516!θ617!iθ7+18!θ8+

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

1+iθ12!θ213!iθ3+14!θ4+15!iθ516!θ617!iθ7+18!θ8+

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

(112!θ2+14!θ4)+(θ13!θ3+15!θ5)i

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

cosθ=112!θ2+14!θ4sinθ=θ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)(25)(eiπ2)(eiπ3)10eiπ2+iπ310ei5π6

Quotient z/w:

z/w(2eiπ2)/(5eiπ3)2eiπ25eiπ325eiπ2eiπ325eiπ6

Power z8:

z8(2eiπ2)828(eiπ2)8512ei4π

Notice:

ei4π(e2πi)2121

Simplify:

512ei4π512 Link to original

Example - Complex power from Cartesian

Complex power from Cartesian

Compute (3+3i)4.

Solution

First convert to exponential form:

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

Compute the power:

(3+3i)4(32eiπ4)4324eiπ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=rnei(θn+k2πn)for each k=0,1,2,,n1

In Cartesian notation:

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

In words:

  • Start with the basic root: rneiθ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θ:

(rnei(θn+k2πn))nrnnei(θn+k2πn)nrei(θ+2πk)reiθei2πkreiθ
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)14wk=1614ei(04+k2π4)

Simplify:

2eikπ22,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)12wk=2ei(π/22+k2π2)2ei(π4+kπ)

Compute the options: k=0,1:

2eiπ4,2ei5π4

Convert to rectangular:

2(12+12i),2(1212i)1+i,1i 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)11e0i1

(2) 2nd

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

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

Compute the two options, k=0,1:

1,eπi1,1

(3) 3rd

Evaluate roots formula in terms of k:

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

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

1,ei2π3,ei4π31,12+32i,1232i

(4) 4th

Evaluate roots formula:

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

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

1,eiπ2,eiπ,ei3π21,i,1,i

(5) 5th

Evaluate roots formula:

(e0i)15wk=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)16wk=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,1232i,1232iLink to original