<< Chapter < Page Chapter >> Page >
This module is part of the collection, A First Course in Electrical and Computer Engineering . The LaTeX source files for this collection were created using an optical character recognition technology, and because of this process there may be more errors than usual. Please contact us if you discover any errors.

So far we have coded the complex number z = x + j y with the Cartesianpair ( x , y ) and with the polar pair ( r θ ) . We now show how the complexnumber z may be coded with a two-dimensional vector z and show how this new code may be used to gain insight about complex numbers.

Coding a Complex Number as a Vector. We code the complex number z = x + j y with the two-dimensional vector z = x y :

x + j y = z z = x y .

We plot this vector as in [link] . We say that the vector z belongs to a “vector space.” This means that vectors may be added and scaled according to the rules

z 1 + z 2 = x 1 + x 2 y 1 + y 2
a z = a x a y .
This Cartesion graph contains a line segment extending from the origin to a point labeled Z in quadrant I. This Cartesion graph contains a line segment extending from the origin to a point labeled Z in quadrant I.
The Vector z Coding the Complex Number z

Furthermore, it means that an additive inverse - z , an additive identity 0 , and a multiplicative identity 1 all exist:

z + ( - z ) = 0
l z = z .

The vector 0 is 0 = 0 0 .

Prove that vector addition and scalar multiplication satisfy these properties of commutation, association, and distribution:

z 1 + z 2 = z 2 + z 1
( z 1 + z 2 ) + z 3 = z 1 + ( z 2 + z 3 )
a ( b z ) = ( a b ) z
a ( z 1 + z 2 ) = a z 1 + a z 2 .

Inner Product and Norm. The inner product between two vectors z 1 and z 2 is defined to be the real number

( z 1 , z 2 ) = x 1 x 2 + y 1 y 2 .

We sometimes write this inner product as the vector product (more on this in Linear Algebra )

( z 1 , z 2 ) = z 1 T z 2 = [ x 1 y 1 ] x 2 y 2 = ( x 1 x 2 + y 1 y 2 ) .

When z 1 = z 2 = z , then the inner product between z and itself is the norm squared of z :

| | z | | 2 = ( z , z ) = x 2 + y 2 .

These properties of vectors seem abstract. However, as we now show, they may be used to develop a vector calculus for doing complex arithmetic.

A Vector Calculus for Complex Arithmetic. The addition of two complex numbers z 1 and z 2 corresponds to the addition of the vectors z 1 and z 2 :

z 1 + z 2 z 1 + z 2 = x 1 + x 2 y 1 + y 2

The scalar multiplication of the complex number z 2 by the real number x 1 corresponds to scalar multiplication of the vector z 2 by x 1 :

x 1 z 2 x 1 x 2 y 2 = x 1 x 2 x 1 y 2 .

Similarly, the multiplication of the complex number z 2 by the real number y 1 is

y 1 z 2 y 1 x 2 y 2 = y 1 x 2 y 1 y 2 .

The complex product z 1 z 2 = ( x 1 + j y 1 ) z 2 is therefore represented as

z 1 z 2 x 1 x 2 - y 1 y 2 x 1 y 2 + y 1 x 2 .

This representation may be written as the inner product

z 1 z 2 = z 2 z 1 ( v , z 1 ) ( w , z 1 )

where v and w are the vectors v = x 2 - y 2 and w = y 2 x 2 . By defining the matrix

x 2 - y 2 y 2 x 2 ,

we can represent the complex product z 1 z 2 as a matrix-vector multiply (more on this in Linear Algebra ):

z 1 z 2 = z 2 z 1 x 2 - y 2 y 2 x 2 x 1 y 1 .

With this representation, we can represent rotation as

z e j θ = e j θ z cos θ - sin θ sin θ cos θ x 1 x 2 .

We call the matrix cos θ - sin θ sin θ cos θ a “rotation matrix.”

Inner Product and Polar Representation. From the norm of a vector, we derive a formula for the magnitude of z in the polar representation z = r e j θ :

r = ( x 2 + y 2 ) 1 / 2 = | | z | | = ( z , z ) 1 / 2 .

If we define the coordinate vectors e 1 = 1 0 and e 2 = 0 1 , then we can represent the vector z as

z = ( z , e 1 ) e 1 + ( z , e 2 ) e 2 .

See [link] . From the figure it is clear that the cosine and sine of the angle θ are

cos θ = ( z , e 1 ) | | z | | ; sin θ = ( z , e 2 ) | | z | |
Representation of z in its Natural Basis

This gives us another representation for any vector z :

z = | | z | | cos θ e 1 + | | z | | sin θ e 2 .

The inner product between two vectors z 1 and z 2 is now

( z 1 , z 2 ) = [ ( z 1 , e 1 ) e 1 T ( z 1 , e 2 ) e 2 T ] ( z 2 , e 1 ) e 1 ( z 2 , e 2 ) e 2 = ( z 1 , e 1 ) ( z 2 , e 1 ) + ( z 1 , e 2 ) ( z 2 , e 2 ) = | | z 1 | | cos θ 1 | | z 2 | | cos θ 2 + | | z 1 | | s i n θ 1 | | z 2 | | sin θ 2 .

It follows that cos ( θ 2 - θ 1 ) = cos θ 2 cos θ 1 + sin θ 1 sin θ 2 may be written as

cos ( θ 2 - θ 1 ) = ( z 1 , z 2 ) | | z 1 | | | | z 2 | |

This formula shows that the cosine of the angle between two vectors z 1 and z 2 , which is, of course, the cosine of the angle of z 2 z 1 * , is the ratio of the inner product to the norms.

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, A first course in electrical and computer engineering. OpenStax CNX. Sep 14, 2009 Download for free at http://cnx.org/content/col10685/1.2
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'A first course in electrical and computer engineering' conversation and receive update notifications?

Ask