1.6.8.4 multiplication of complex numbersne112/lecture_materials/pdfs/1...5 2 3 3 2 44 2 sss 1 22 ss...

15
7/21/2021 1 NE 112 Linear algebra for nanotechnology engineering Douglas Wilhelm Harder, LEL, M.Math. [email protected] [email protected] 1.6.8.4 Multiplication of complex numbers Introduction In this topic, we will Define the multiplication of complex numbers Focus on the polar representation Look at a geometric interpretation Make some observations regarding properties Prove multiplication distributes over addition Multiplication of complex numbers 2 1 2

Upload: others

Post on 11-Aug-2021

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 1.6.8.4 Multiplication of complex numbersne112/Lecture_materials/pdfs/1...5 2 3 3 2 44 2 SSS 1 22 SS 11S 9 10 7/21/2021 6 Geometric interpretation • If we have zand w, their product

7/21/2021

1

NE 112 Linear algebra for nanotechnology engineering

Douglas Wilhelm Harder, LEL, [email protected]

[email protected]

1.6.8.4 Multiplicationof complex numbers

Introduction

• In this topic, we will

– Define the multiplication of complex numbers

• Focus on the polar representation

– Look at a geometric interpretation

– Make some observations regarding properties

– Prove multiplication distributes over addition

Multiplication of complex numbers

2

1

2

Page 2: 1.6.8.4 Multiplication of complex numbersne112/Lecture_materials/pdfs/1...5 2 3 3 2 44 2 SSS 1 22 SS 11S 9 10 7/21/2021 6 Geometric interpretation • If we have zand w, their product

7/21/2021

2

Review

• Recall from secondary school the following two products:

• You used the FOIL rule:

Multiplication of complex numbers

3

( )( ) 2

2

3.2 4.8 5.1 9.6 16.32 30.72 24.48 46.08

16.32 6.24 46.08

x x x x x

x x

+ − + = − + − +

= − + +

( )( )2

0.5 4.9 2 7.3 1.8 2 3.65 0.9 2 35.77 2 8.82 2

21.29 36.67 2

− − = − − +

= −

First Outside Inside Last

Complex multiplication

• Recall that , thus if

it follows that

Multiplication of complex numbers

4

def

1j = −

z j

w j

= +

= +

( )( )zw j j = + +

( ) ( )1j = + + + −

2j j j = + + +

( ) ( ) j = − + +

22but 1 1j = − = −

3

4

Page 3: 1.6.8.4 Multiplication of complex numbersne112/Lecture_materials/pdfs/1...5 2 3 3 2 44 2 SSS 1 22 SS 11S 9 10 7/21/2021 6 Geometric interpretation • If we have zand w, their product

7/21/2021

3

Complex multiplication

• Some examples:

Multiplication of complex numbers

5

( )( ) 23 4 2 5 3 2 3 5 4 2 4 5j j j j j+ + = + + +

( ) ( )6 20 15 8 j= − + +

14 23 j= − +

( )( ) ( ) ( ) 21 2 2 1 2 2 2 2j j j j j+ − + = − + + − +

( ) ( )2 2 1 4 j= − − + −

4 3 j= − −

Complex multiplication

• Some more examples:

Multiplication of complex numbers

6

( )( ) ( ) ( )

( ) ( )

3.2 4.8 5.1 9.6 3.2 5.1 3.2 9.6 4.8 5.1 4.8 9.6

16.32 46.08 30.72 24.48

62.4 6.24

j j j j

j

j

+ − + = − + + − −

= − − + −

= − +

( )( ) ( ) ( ) ( ) ( )

( ) ( )

0.5 4.9 7.3 1.8 0.5 7.3 0.5 1.8 4.9 7.3 4.9 1.8

3.65 8.82 0.9 35.77

5.17 36.67

j j j j

j

j

− − = + − + − − − −

= − + − −

= − −

5

6

Page 4: 1.6.8.4 Multiplication of complex numbersne112/Lecture_materials/pdfs/1...5 2 3 3 2 44 2 SSS 1 22 SS 11S 9 10 7/21/2021 6 Geometric interpretation • If we have zand w, their product

7/21/2021

4

Polar representation

• Problem: there is no reasonable geometric interpretation of complex multiplication using the rectangular representation…

– Instead, we will have to go to the polar representation

Multiplication of complex numbers

7

( )( ) ( ) ( )zw j j j = + + = − + +

Polar representation

• Let and

– Question: What is zw?

– We only have the definition in rectangular representation, so

Multiplication of complex numbers

8

z z = w w =

( )( )zw z w =

( ) ( )( ) ( ) ( )( )cos sin cos sinz z j w w j = + +

( ) ( ) ( ) ( )

( ) ( ) ( ) ( )

cos cos sin sin

cos sin sin cos

z w z w

z w j z w j

= −

+ +

( ) ( ) ( ) ( )( )

( ) ( ) ( ) ( )( )

cos cos sin sin

cos sin sin cos

z w

z w j

= −

+ +

7

8

Page 5: 1.6.8.4 Multiplication of complex numbersne112/Lecture_materials/pdfs/1...5 2 3 3 2 44 2 SSS 1 22 SS 11S 9 10 7/21/2021 6 Geometric interpretation • If we have zand w, their product

7/21/2021

5

Polar representation

• Recall your double-angle formulas:

• Thus,

Multiplication of complex numbers

9

( ) ( ) ( ) ( )( )

( ) ( ) ( ) ( )( )

cos cos sin sin

cos sin sin cos

zw z w

z w j

= −

+ +

( ) ( ) ( ) ( ) ( )

( ) ( ) ( ) ( ) ( )

cos cos cos sin sin

sin cos sin sin cos

+ = −

+ = +

( )z w = +

( ) ( )cos sinzw z w z w j = + + +

Polar representation

• Thus,

– Multiply the magnitudes and add the angles

• Examples:

– The value and

– Given and ,

we have

which equals

Multiplication of complex numbers

10

( )( ) ( )zw z w z w = = +

21j =

( )( )2

2 21 1j =

41 2j + = 3 3 − =

( )( )1 3 3 3j j+ − = − −

( )( ) ( )54 4

2 3 3 2 =

( )2

2 21 = + 1 1= = −

9

10

Page 6: 1.6.8.4 Multiplication of complex numbersne112/Lecture_materials/pdfs/1...5 2 3 3 2 44 2 SSS 1 22 SS 11S 9 10 7/21/2021 6 Geometric interpretation • If we have zand w, their product

7/21/2021

6

Geometric interpretation

• If we have z and w, their product zw has:

– The sum of the angles

– The product of the absolute values

Multiplication of complex numbers

11

Geometric interpretation

• Let’s consider a few products in particular

– Here are z and w

Multiplication of complex numbers

12

11

12

Page 7: 1.6.8.4 Multiplication of complex numbersne112/Lecture_materials/pdfs/1...5 2 3 3 2 44 2 SSS 1 22 SS 11S 9 10 7/21/2021 6 Geometric interpretation • If we have zand w, their product

7/21/2021

7

Geometric interpretation

• Let’s consider a few products in particular

– Recall that

– Multiplying by j rotates complex numbers by 90° clockwise

Multiplication of complex numbers

13

21j =

Geometric interpretation

• Let’s consider a few products in particular

– Recall that

– Multiplying by –j rotates by 90° counter-clockwise

Multiplication of complex numbers

14

32 2

1 1j − = − =

13

14

Page 8: 1.6.8.4 Multiplication of complex numbersne112/Lecture_materials/pdfs/1...5 2 3 3 2 44 2 SSS 1 22 SS 11S 9 10 7/21/2021 6 Geometric interpretation • If we have zand w, their product

7/21/2021

8

Geometric interpretation

• Let’s consider a few products in particular

– Suppose we are multiplying by 1.75 – 0.1j

– This will stretch the numbers by a little more than 75%

– It will rotate the numbers a few degrees counter-clockwise

Multiplication of complex numbers

15

Absolute value

Theorem: |zw| = |z||w|

The simple proof:

Recall that for and ,

the product is so |zw| = |z||w|.

Multiplication of complex numbers

16

z z = w w =

( )zw z w = +

QED

15

16

Page 9: 1.6.8.4 Multiplication of complex numbersne112/Lecture_materials/pdfs/1...5 2 3 3 2 44 2 SSS 1 22 SS 11S 9 10 7/21/2021 6 Geometric interpretation • If we have zand w, their product

7/21/2021

9

Absolute value

Theorem: |zw| = |z||w|

The tedious proof:

Taking the square root of both sides:

Multiplication of complex numbers

17

2 2 2 2 2zw zw z w z w z w= = = = QED

( )( ) ( ) ( )zw j j j = + + = − + +

( ) ( )2 22

zw = − + +

2 2 2 2 2 2 2 22 2 = − + + + +

2 2 2 2 2 2 2 2 = + + +

( ) ( )2 2 2 2 2 2 = + + +

( )( )2 2 2 2 = + +

2 2z w=

Commutativity

Theorem: Complex multiplication is commutative.

The easy proof:

If and , then

But addition and multiplication of real numbers are commutative, so

Multiplication of complex numbers

18

z z = w w =

( )zw z w = +

( )w z = +

wz=

( )zw z w = +

QED

17

18

Page 10: 1.6.8.4 Multiplication of complex numbersne112/Lecture_materials/pdfs/1...5 2 3 3 2 44 2 SSS 1 22 SS 11S 9 10 7/21/2021 6 Geometric interpretation • If we have zand w, their product

7/21/2021

10

Commutativity

Theorem: Complex multiplication is commutative.

The tedious proof:

If and , then

But multiplication of real numbers is commutative, so

Multiplication of complex numbers

19

z j = + w j = +

( ) ( )zw j = − + +

QED

( ) ( )zw j = − + +

2j j j = + + +

( )( )j j = + +

wz=

Associativity

Theorem: Complex multiplication is associative.

The easy proof:

If , and , then

But addition and multiplication of real numbers are commutative, so

Multiplication of complex numbers

20

1 1 1z z =

( ) ( )( )1 2 3 1 2 3z z z = + +

( ) ( )( )1 2 3 1 2 3 2 3z z z z z z = +

( ) ( )( )1 2 3 1 2 3z z z = + +

( ) ( ) ( )( )1 2 3 1 2 3 1 2 3z z z z z z = + +

( )( )1 2 1 2 3z z z = +

( )1 2 3z z z= QED

2 2 2z z = 3 3 3z z =

19

20

Page 11: 1.6.8.4 Multiplication of complex numbersne112/Lecture_materials/pdfs/1...5 2 3 3 2 44 2 SSS 1 22 SS 11S 9 10 7/21/2021 6 Geometric interpretation • If we have zand w, their product

7/21/2021

11

( ) ( ) ( )( )( )

( ) ( ) ( )( )

( ) ( )( ) ( ) ( )( )

( ) ( )

( ) ( )

( ) ( )( ) ( ) ( )( )

( ) ( )( )( )

( )

1 2 3

1 2 3

z z z j j j

j j

j

j

j

j

j j

z z z

= + + +

= + − + +

= − − + + + − −

= − − − + + − +

= − − − + − + +

= − − + + − + +

= − + + +

=

Associativity

Theorem: Complex multiplication is associative.

The tedious proof:

If , and ,

Multiplication of complex numbers

21

1z j = + 2z j = + 3z j = +

QED

The multiplicative identity

Theorem: 1 is the multiplicative identity.

The easy proof:

If , then

The tedious proof:

If , then

Multiplication of complex numbers

22

z z =

( )( )1 1 0

1 1 0 0

z j j

j j

j z

= + +

= + + −

= + =

1 1 0 1 0j= + =

z j = +

( )1 0z = +

( )( )1 1 0z z =

z z= = QED

QED

21

22

Page 12: 1.6.8.4 Multiplication of complex numbersne112/Lecture_materials/pdfs/1...5 2 3 3 2 44 2 SSS 1 22 SS 11S 9 10 7/21/2021 6 Geometric interpretation • If we have zand w, their product

7/21/2021

12

Observations

• Here are some more results from elementary school:

– Multiplying two positive reals yields a positive real:

– Multiplying two negative reals yields a positive real

– Multiplying positive and negative real yields a negative real

Addition of complex numbers

23

( )( ) ( )1 2 1 2 1 20 0 0 0 0z z z z z z= + =

( )( ) ( ) ( )1 2 1 2 1 2 1 22 0z z z z z z z z = + = =

( )( ) ( )1 2 1 2 1 20 0z z z z z z = + =

Multiplication distributes over addition

Theorem: Complex multiplication distributes over addition.

Proof: If , and ,

But real multiplication distributes over real addition:

Addition of complex numbers

24

1z j = + 2z j = + 3z j = +

( ) ( ) ( ) ( )( )1 2 3z z z j j j + = + + + +

( ) ( ) ( )( )j j = + + + +

( ) ( )( ) ( ) ( )( ) j = + − + + + + +

QED

( ) ( ) j = + − − + + + +

( ) ( ) ( ) ( )j j = − + + + − + +

( )( ) ( )( )j j j j = + + + + +

1 2 1 3z z z z= +

23

24

Page 13: 1.6.8.4 Multiplication of complex numbersne112/Lecture_materials/pdfs/1...5 2 3 3 2 44 2 SSS 1 22 SS 11S 9 10 7/21/2021 6 Geometric interpretation • If we have zand w, their product

7/21/2021

13

Important takeaways

• The most important takeaways are

– Multiplying complex numbers in the rectangular representation is no more than multiplying two linear polynomials

– In the polar representation, it is the product of the magnitudes and the sum of the angles

– Given n complex numbers being multiplied, you can multiply them in any order, and you’ll get the same result

– For example,

(3.9 + 5.7j)(1.8 – 8.6j)(–0.5 + 3.4j)(1.9 – 3.1j)

(3.9 + 8.4j)(–6.4 + 1.5j)(2.2 + 4.2j)(4.1 – 7.0j)

equals –550769.08882032 – 1687878.63288576j

Addition of complex numbers

25

Summary

• In this topic, we’ve introduced complex multiplication

– Very similar to polynomial multiplication

– The geometric interpretation is reasonably easy

– We saw that

• It is commutative

• It is associative

• 1 + 0j is the multiplicative identity

• Multiplication distributes over addition

Multiplication of complex numbers

26

25

26

Page 14: 1.6.8.4 Multiplication of complex numbersne112/Lecture_materials/pdfs/1...5 2 3 3 2 44 2 SSS 1 22 SS 11S 9 10 7/21/2021 6 Geometric interpretation • If we have zand w, their product

7/21/2021

14

References

[1] https://en.wikipedia.org/wiki/Complex_number#Addition_and_subtraction

[2] https://en.wikipedia.org/wiki/Absolute_value#Complex_numbers

Multiplication of complex numbers

27

Acknowledgments

Tina Hanna for correcting a typo.

Multiplication of complex numbers

28

27

28

Page 15: 1.6.8.4 Multiplication of complex numbersne112/Lecture_materials/pdfs/1...5 2 3 3 2 44 2 SSS 1 22 SS 11S 9 10 7/21/2021 6 Geometric interpretation • If we have zand w, their product

7/21/2021

15

Colophon

These slides were prepared using the Cambria typeface. Mathematical equations use Times New Roman, and source code is presented using Consolas.

The photographs of flowers and a monarch butter appearing on the title slide and accenting the top of each other slide were taken at the Royal Botanical Gardens in October of 2017 by Douglas Wilhelm Harder. Please see

https://www.rbg.ca/

for more information.

Multiplication of complex numbers

29

Disclaimer

These slides are provided for the NE 112 Linear algebra fornanotechnology engineering course taught at the University ofWaterloo. The material in it reflects the authors’ best judgment inlight of the information available to them at the time of preparation.Any reliance on these course slides by any party for any otherpurpose are the responsibility of such parties. The authors acceptno responsibility for damages, if any, suffered by any party as aresult of decisions made or actions based on these course slides forany other purpose than that for which it was intended.

Multiplication of complex numbers

30

29

30