Skip to content Skip to navigation Skip to collection information

OpenStax-CNX

You are here: Home » Content » Fundamentals of Electrical Engineering I » Complex Numbers

Navigation

Table of Contents

Lenses

What is a lens?

Definition of a lens

Lenses

A lens is a custom view of the content in the repository. You can think of it as a fancy kind of list that will let you see content through the eyes of organizations and people you trust.

What is in a lens?

Lens makers point to materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

Who can create a lens?

Any individual member, a community, or a respected organization.

What are tags? tag icon

Tags are descriptors added by lens makers to help label content, attaching a vocabulary that is meaningful in the context of the lens.

This content is ...

Affiliated with (What does "Affiliated with" mean?)

This content is either by members of the organizations listed or about topics related to the organizations listed. Click each link to see a list of all content affiliated with the organization.
  • OrangeGrove display tagshide tags

    This collection is included inLens: Florida Orange Grove Textbooks
    By: Florida Orange Grove

    Click the "OrangeGrove" link to see all content affiliated with them.

    Click the tag icon tag icon to display tags associated with this content.

  • Rice DSS - Braille display tagshide tags

    This collection is included inLens: Rice University Disability Support Services's Lens
    By: Rice University Disability Support Services

    Comments:

    "Electrical Engineering Digital Processing Systems in Braille."

    Click the "Rice DSS - Braille" link to see all content affiliated with them.

    Click the tag icon tag icon to display tags associated with this content.

  • Rice Digital Scholarship display tagshide tags

    This collection is included in aLens by: Digital Scholarship at Rice University

    Click the "Rice Digital Scholarship" link to see all content affiliated with them.

    Click the tag icon tag icon to display tags associated with this content.

  • Bookshare

    This collection is included inLens: Bookshare's Lens
    By: Bookshare - A Benetech Initiative

    Comments:

    "Accessible versions of this collection are available at Bookshare. DAISY and BRF provided."

    Click the "Bookshare" link to see all content affiliated with them.

  • Featured Content display tagshide tags

    This collection is included inLens: Connexions Featured Content
    By: Connexions

    Comments:

    "The course focuses on the creation, manipulation, transmission, and reception of information by electronic means. It covers elementary signal theory, time- and frequency-domain analysis, the […]"

    Click the "Featured Content" link to see all content affiliated with them.

    Click the tag icon tag icon to display tags associated with this content.

Also in these lenses

  • Lens for Engineering

    This module and collection are included inLens: Lens for Engineering
    By: Sidney Burrus

    Click the "Lens for Engineering" link to see all content selected in this lens.

  • Elec Sci lens

    This module is included inLens: Electrical Science
    By: Andy Mitofsky

    Click the "Elec Sci lens" link to see all content selected in this lens.

  • Busbee's Math Materials display tagshide tags

    This module is included inLens: Busbee's Math Materials Lens
    By: Kenneth Leroy Busbee

    Click the "Busbee's Math Materials" link to see all content selected in this lens.

    Click the tag icon tag icon to display tags associated with this content.

Recently Viewed

This feature requires Javascript to be enabled.

Tags

(What is a tag?)

These tags come from the endorsement, affiliation, and other lenses that include this content.
 

Complex Numbers

Module by: Don Johnson. E-mail the author

Summary: An introduction to complex numbers.

While the fundamental signal used in electrical engineering is the sinusoid, it can be expressed mathematically in terms of an even more fundamental signal: the complex exponential. Representing sinusoids in terms of complex exponentials is not a mathematical oddity. Fluency with complex numbers and rational functions of complex variables is a critical skill all engineers master. Understanding information and power system designs and developing new systems all hinge on using complex numbers. In short, they are critical to modern electrical engineering, a realization made over a century ago.

Definitions

The notion of the square root of -1 -1 originated with the quadratic formula: the solution of certain quadratic equations mathematically exists only if the so-called imaginary quantity -1 -1 could be defined. Euler first used ii for the imaginary unit but that notation did not take hold until roughly Ampère's time. Ampère used the symbol ii to denote current (intensité de current). It wasn't until the twentieth century that the importance of complex numbers to circuit theory became evident. By then, using ii for current was entrenched and electrical engineers chose j for writing complex numbers.

An imaginary number has the form jb=b2 b b 2 . A complex number, zz, consists of the ordered pair (aa,bb), aa is the real component and bb is the imaginary component (the j is suppressed because the imaginary component of the pair is always in the second position). The imaginary number jb b equals (00,bb). Note that aa and bb are real-valued numbers.

Figure 1 shows that we can locate a complex number in what we call the complex plane. Here, aa, the real part, is the xx-coordinate and bb, the imaginary part, is the yy-coordinate.

Figure 1: A complex number is an ordered pair (aa,bb) that can be regarded as coordinates in the plane. Complex numbers can also be expressed in polar coordinates as rθ rθ .
The Complex Plane
The Complex Plane (complex.png)
From analytic geometry, we know that locations in the plane can be expressed as the sum of vectors, with the vectors corresponding to the xx and yy directions. Consequently, a complex number zz can be expressed as the (vector) sum z=a+jb z a b where j indicates the yy-coordinate. This representation is known as the Cartesian form of zz. An imaginary number can't be numerically added to a real number; rather, this notation for a complex number represents vector addition, but it provides a convenient notation when we perform arithmetic manipulations.

Some obvious terminology. The real part of the complex number z=a+jb z a b , written as Rez z , equals aa. We consider the real part as a function that works by selecting that component of a complex number not multiplied by j. The imaginary part of zz, Imz z , equals bb: that part of a complex number that is multiplied by j. Again, both the real and imaginary parts of a complex number are real-valued.

The complex conjugate of zz, written as z* z , has the same real part as zz but an imaginary part of the opposite sign.

z=Rez+jImz z*=RezjImz z z z z z z
(1)

Using Cartesian notation, the following properties easily follow.

  • If we add two complex numbers, the real part of the result equals the sum of the real parts and the imaginary part equals the sum of the imaginary parts. This property follows from the laws of vector addition. a1+jb1+a2+jb2=a1+a2+j(b1+b2) a1 b1 a2 b2 a1 a2 b1 b2 In this way, the real and imaginary parts remain separate.
  • The product of j and a real number is an imaginary number: ja a . The product of j and an imaginary number is a real number: j(jb)=b b b because j2=1 2 1 . Consequently, multiplying a complex number by j rotates the number's position by 9090 degrees.

Exercise 1

Use the definition of addition to show that the real and imaginary parts can be expressed as a sum/difference of a complex number and its conjugate. Rez=z+z*2 z z z 2 and Imz=zz*2j z z z 2 .

Solution

z+z*=a+jb+ajb=2a=2Rez z z a b a b 2 a 2 z . Similarly, zz*=a+jb(ajb)=2jb=2jImz z z a b a b 2 b 2 z

Complex numbers can also be expressed in an alternate form, polar form, which we will find quite useful. Polar form arises arises from the geometric interpretation of complex numbers. The Cartesian form of a complex number can be re-written as a+jb=a2+b2(aa2+b2+jba2+b2) a b a 2 b 2 a a 2 b 2 b a 2 b 2 By forming a right triangle having sides aa and bb, we see that the real and imaginary parts correspond to the cosine and sine of the triangle's base angle. We thus obtain the polar form for complex numbers. z=a+jb=rθ r=|z|=a2+b2 a=rcosθ b=rsinθ θ=arctanba z a b r θ r z a 2 b 2 a r θ b r θ θ b a The quantity rr is known as the magnitude of the complex number zz, and is frequently written as |z| z . The quantity θθ is the complex number's angle. In using the arc-tangent formula to find the angle, we must take into account the quadrant in which the complex number lies.

Exercise 2

Convert 32j 3 2 to polar form.

Solution

To convert 32j 3 2 to polar form, we first locate the number in the complex plane in the fourth quadrant. The distance from the origin to the complex number is the magnitude rr, which equals 13=32+22 13 3 2 2 2 . The angle equals arctan23 2 3 or -0.588-0.588 radians (33.733.7 degrees). The final answer is 13(33.7) 13 33.7 degrees.

Euler's Formula

Surprisingly, the polar form of a complex number zz can be expressed mathematically as

z=rejθ z r θ
(2)
To show this result, we use Euler's relations that express exponentials with imaginary arguments in terms of trigonometric functions.
ejθ=cosθ+jsinθ θ θ θ
(3)
cosθ=ejθ+e(jθ)2 θ θ θ 2
(4)
sinθ=ejθe(jθ)2j θ θ θ 2 The first of these is easily derived from the Taylor's series for the exponential. ex=1+x1!+x22!+x33!+ x 1 x 1 x 2 2 x 3 3 Substituting jθ θ for xx, we find that ejθ=1+jθ1!θ22!jθ33!+ θ 1 θ 1 θ 2 2 θ 3 3 because j2=-1 2 -1 , j3=j 3 , and j4=1 4 1 . Grouping separately the real-valued terms and the imaginary-valued ones, ejθ=1θ22!++j(θ1!θ33!+) θ 1 θ 2 2 θ 1 θ 3 3 The real-valued terms correspond to the Taylor's series for cosθ θ , the imaginary ones to sinθ θ , and Euler's first relation results. The remaining relations are easily derived from the first. We see that multiplying the exponential in Equation 3 by a real constant corresponds to setting the radius of the complex number to the constant.

Calculating with Complex Numbers

Adding and subtracting complex numbers expressed in Cartesian form is quite easy: You add (subtract) the real parts and imaginary parts separately.

z 1 ± z 2 =( a 1 ± a 2 )+j( b 1 ± b 2 ) ± z 1 z 2 ± a 1 a 2 ± b 1 b 2
(5)
To multiply two complex numbers in Cartesian form is not quite as easy, but follows directly from following the usual rules of arithmetic.
z 1 z 2 =( a 1 +j b 1 )( a 2 +j b 2 )= a 1 a 2 b 1 b 2 +j( a 1 b 2 + a 2 b 1 ) z 1 z 2 a 1 b 1 a 2 b 2 a 1 a 2 b 1 b 2 a 1 b 2 a 2 b 1
(6)
Note that we are, in a sense, multiplying two vectors to obtain another vector. Complex arithmetic provides a unique way of defining vector multiplication.

Exercise 3

What is the product of a complex number and its conjugate?

Solution

zz*=(a+jb)(ajb)=a2+b2 z z a b a b a 2 b 2 . Thus, zz*=r2=|z|2 z z r2 z 2 .

Division requires mathematical manipulation. We convert the division problem into a multiplication problem by multiplying both the numerator and denominator by the conjugate of the denominator.

z1z2=a1+jb1a2+jb2=a1+jb1a2+jb2a2jb2a2jb2=( a 1 +j b 1 )( a 2 j b 2 ) a 2 2+ b 2 2= a 1 a 2 + b 1 b 2 +j( a 2 b 1 a 1 b 2 ) a 2 2+ b 2 2 z1 z2 a1 b1 a2 b2 a1 b1 a2 b2 a2 b2 a2 b2 a 1 b 1 a 2 b 2 a 2 2 b 2 2 a 1 a 2 b 1 b 2 a 2 b 1 a 1 b 2 a 2 2 b 2 2
(7)
Because the final result is so complicated, it's best to remember how to perform division—multiplying numerator and denominator by the complex conjugate of the denominator—than trying to remember the final result.

The properties of the exponential make calculating the product and ratio of two complex numbers much simpler when the numbers are expressed in polar form.

z 1 z 2 = r 1 ej θ 1 r 2 ej θ 2 = r 1 r 2 ej( θ 1 + θ 2 ) z 1 z 2 r 1 θ 1 r 2 θ 2 r 1 r 2 θ 1 θ 2
(8)
z 1 z 2 = r 1 ej θ 1 r 2 ej θ 2 = r 1 r 2 ej( θ 1 θ 2 ) z 1 z 2 r 1 θ 1 r 2 θ 2 r 1 r 2 θ 1 θ 2 To multiply, the radius equals the product of the radii and the angle the sum of the angles. To divide, the radius equals the ratio of the radii and the angle the difference of the angles. When the original complex numbers are in Cartesian form, it's usually worth translating into polar form, then performing the multiplication or division (especially in the case of the latter). Addition and subtraction of polar forms amounts to converting to Cartesian form, performing the arithmetic operation, and converting back to polar form.

Example 1

When we solve circuit problems, the crucial quantity, known as a transfer function, will always be expressed as the ratio of polynomials in the variable s=j2πf s 2 f . What we'll need to understand the circuit's effect is the transfer function in polar form. For instance, suppose the transfer function equals

s+2s2+s+1 s 2 s 2 s 1
(9)
s=j2πf s 2 f
(10)
Performing the required division is most easily accomplished by first expressing the numerator and denominator each in polar form, then calculating the ratio. Thus,
s+2s2+s+1=j2πf+2-4π2f2+j2πf+1 s 2 s 2 s 1 2 f 2 -4 2 f 2 2 f 1
(11)
s+2s2+s+1 =4+4π2f2ejarctanπf14π2f22+4π2f2ejarctan2πf14π2f2 s 2 s 2 s 1 4 4 2 f 2 f 1 4 2 f 2 2 4 2 f 2 2 f 1 4 2 f 2
(12)
s+2s2+s+1 =4+4π2f214π2f2+16π4f4ej(arctanπfarctan2πf14π2f2) s 2 s 2 s 1 4 4 2 f 2 1 4 2 f 2 16 4 f 4 f 2 f 1 4 2 f 2
(13)

Collection Navigation

Content actions

Download:

Collection as:

PDF | EPUB (?)

What is an EPUB file?

EPUB is an electronic book format that can be read on a variety of mobile devices.

Downloading to a reading device

For detailed instructions on how to download this content's EPUB to your specific device, click the "(?)" link.

| More downloads ...

Module as:

PDF | More downloads ...

Add:

Collection to:

My Favorites (?)

'My Favorites' is a special kind of lens which you can use to bookmark modules and collections. 'My Favorites' can only be seen by you, and collections saved in 'My Favorites' can remember the last module you were on. You need an account to use 'My Favorites'.

| A lens I own (?)

Definition of a lens

Lenses

A lens is a custom view of the content in the repository. You can think of it as a fancy kind of list that will let you see content through the eyes of organizations and people you trust.

What is in a lens?

Lens makers point to materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

Who can create a lens?

Any individual member, a community, or a respected organization.

What are tags? tag icon

Tags are descriptors added by lens makers to help label content, attaching a vocabulary that is meaningful in the context of the lens.

| External bookmarks

Module to:

My Favorites (?)

'My Favorites' is a special kind of lens which you can use to bookmark modules and collections. 'My Favorites' can only be seen by you, and collections saved in 'My Favorites' can remember the last module you were on. You need an account to use 'My Favorites'.

| A lens I own (?)

Definition of a lens

Lenses

A lens is a custom view of the content in the repository. You can think of it as a fancy kind of list that will let you see content through the eyes of organizations and people you trust.

What is in a lens?

Lens makers point to materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

Who can create a lens?

Any individual member, a community, or a respected organization.

What are tags? tag icon

Tags are descriptors added by lens makers to help label content, attaching a vocabulary that is meaningful in the context of the lens.

| External bookmarks