Appendix A

Complex Numbers and Euler’s Formula

A.1 Introduction

Complex numbers allow us to solve equations for which no real solution can be found. Consider, for example, the equation

x2+9=0(A.1)

which cannot be satisfied for any real number. By introducing an imaginary unit1 j=-1 so that j2 = −1, Eqn. (A.1) can be solved to yield

x=j3

Similarly, the equation

(x+2)2+9=0(A.2)

has the solutions

x=-2j3(A.3)

A general complex number is in the form

x=a+jb(A.4)

where a and b are real numbers. The values a and b are referred to as the real part and imaginary part of the complex number x respectively. Following notation is used for real and imaginary parts of a complex number:

a=Re{ x }b=Im{ x }

For two complex numbers to be equal, both their real parts and imaginary parts must be equal. Given two complex numbers x1 = a + jb and x2 = c + jd, the equality x1 = x2 implies that a = c and b = d.

It is often convenient to graphically represent a complex number as a point in the complex plane constructed using a horizontal axis corresponding to the real part and a vertical axis corresponding to the imaginary part as depicted in Fig. A.1.

Figure A.1

Figure showing Complex number x = xr + jxi shown as a point in the complex plane.

Complex number x = xr + jxi shown as a point in the complex plane.

If the imaginary part of a complex number is equal to zero, the resulting number is said to be purely real. An example is x = 3 + j0. Similarly, a complex number the real part of which is equal to zero is said to be purely imaginary. An example of a purely imaginary number is x = 0 + j5. Purely real and purely imaginary numbers are simply special cases of the more general class of complex numbers.

Another method of graphical representation of a complex number can be found through the use of a vector as shown in Fig. A.2. Vector representation of complex numbers is quite useful since vector operations can be used for manipulating complex numbers.

Figure A.2

Figure showing Complex number x = xr + jxi shown as a vector.

Complex number x = xr + jxi shown as a vector.

A complex number written as the sum of its real and imaginary parts such as x = xr + jxi is said to be in Cartesian form. An alternative form referred to as a polar form is derived from the vector representation of a complex number by using the norm |x| and the angle θ of the vector instead of the real and imaginary parts xr and xi. The two forms of the complex number x are:

x=xr+jxi,Cartesian formx=| x |ejθ,polar form

The norm |x| is the distance of the point representing the complex number from the origin. The angle θ is the angle measured counterclockwise starting with the positive real axis.

A complex number can easily be converted from Cartesian form to polar form and vice versa. Through simple geometric relationships it can be shown that

| x |=xr2+xi2(A.5)

and

θ=tan-1(xixr)(A.6)

Alternately, real and imaginary parts can be obtained from the norm and the angle through

xr=| x |cos(θ)(A.7)

and

xi=| x |sin(θ)(A.8)

A.2 Arithmetic with Complex Numbers

Definitions of arithmetic operators are easily extended to apply to complex numbers. In Section A.2.1 addition and subtraction operators will be discussed. Multiplication and division of complex numbers will be discussed in Section A.2.2.

A.2.1 Addition and subtraction

Consider two complex numbers x1 = a + jb and x2 = c + jd. Addition of these two complex numbers is carried out as follows:

y=x1+x2=(a+jb)+(c+jd)=(a+c)+j(b+d)(A.9)

Real and imaginary parts of the result can be written separately as

Re{ y }=Re{ x1 }+Re{ x2 }Im{ y }=Im{ x1 }+Im{ x2 }

Subtraction of complex numbers is similar to addition. The difference z = x1x2 is computed as follows:

z=x1=x2=(a+jb)-(c+jd)=(a-c)+j(b-d)(A.10)

Real and imaginary parts of the result can be written separately as

Re{ z }=Re{ x1 }-Re{ x2 }Im{ z }=Im{ x1 }-Im{ x2 }

Addition and subtraction operators for complex numbers are analogous for addition and subtraction of vectors using the parallelogram rule. This is illustrated in Fig. A.3.

Figure A.3

Figure showing Addition and subtraction operators with complex vectors.

Addition and subtraction operators with complex vectors.

If the complex numbers to be added are expressed in polar form, they must first be converted to Cartesian form before they can be added. Consider two complex numbers in polar form given as

x1=| x1 |ejθ1,andx2=| x2 |ejθ2(A.11)

The sum z of these complex numbers is found as

z=x1+x2=|x1|cos(θ1)+j|x1|sin(θ1) + |x2|cos(θ2)+j|x2|sin(θ2)=[|x1|cos(θ1)+|x2|cos(θ2)] + j [|x1|sin(θ1) + |x2|sin(θ2)](A.12)

which can be put into polar form as

z=| z |ejθz(A.13)

where

|z|=|x1|2+|x2|2+2|x1| |x2|cos(θ1-θ2)(A.14)

and

θz=tan-1(|x1|sin(θ1) + |x2|sin(θ2)|x1|cos(θ1) + |x2|cos(θ2))(A.15)

A.2.2 Multiplication and division

Again consider two complex numbers x1 = a + jb and x2 = c + jd. The product of these two complex numbers is computed as follows:

y=x1x2=(a+jb)(c+jd)=ac+j ad+j bc+j2bd=(ac-bd)+j (ad+bc)(A.16)

Real and imaginary parts of the result can be written separately as

Re{ y }=Re{ x1 }-Re{ x2 }-Im{ x1 }Im{ x2 }Im{ y }=Re{ x1 }-Im{ x2 }+Im{ x1 }Re{ x2 }

Product of a complex number and its own complex conjugate is equal to the squared norm of the complex number:

x1x1*=(a+jb)(a+jb)*=(a+jb)(a-jb)=a2+b2=| x1 |2

Division of complex numbers is slightly more involved. Consider the complex number z defined as

z=x1x2=(a+jb)(c+jd)(A.17)

The expression in Eqn. (A.17) can be simplified by multiplying both the numerator and the denominator by the complex conjugate of the denominator:

z=x1x2=(a+jb)(c+jd)(c-jd)(c-jd)(A.18)

A.3 Euler’s Formula

A complex exponential function can be expressed in the form

ejx=cos(x)  + j sin(x)(A.19)

This relationship is known as Euler’s formula, and will be used extensively in working with signals, linear systems and various transforms. If the sign of x changes in Eqn. (A.20), we get

e-jx=cos (-x) + j sin (-x)=cos (x)-j sin (x)(A.20)

Using Eqns. (A.19) and (A.2), trigonometric functions cos (x) and sin (x) may be expressed in terms of complex exponential functions as

cos(x)=ejx+e-jx2(A.21)

and

sin(x)=ejx-e-jx2j(A.22)

1 The imaginary unit was first introduced by Italian mathematician Gerolamo Cardano as he worked on the solutions of cubic and quartic equations, although its utility was not fully understood and appreciated until the works of Leonhard Euler and Carl Friedrich Gauss almost two centuries later.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset