High School Modules > Precalculus by Gregory A. Moore
The Polar & Exponential Form of Complex Numbers
This is a further development of complex numbers. Also see worksheets on Complex Numbers and Complex Number Operations in the Algebra I & II PowerTool.
[Directions : Execute the Code Resource section first. Although there will be no output immediately, these definitions are used later in this worksheet.]
0. Code
| > | restart; with(plots): |
Warning, the name changecoords has been redefined
| > | ComplexPlot := proc() local k,A,Pt,c,cg,shade,r,u,Lines; u:= 0; cg := COLOR(RGB, .7,.8,.7); for k from 1 to nargs do shade := evalf(rand()/10^12,2)/4 + .3; c := COLOR(RGB, shade,shade+.2, shade); A||k := complexplot( [0,args[k]], linestyle = 2, scaling = constrained, color = c); Lines||k := plot( [[ 0, Im(args[k])], [Re(args[k]), Im(args[k])], [Re(args[k]), 0]], color = cg); u := max( u, abs(Re(args[k])),abs(Im(args[k])) ); od; r := evalf(u/40,2); for k from 1 to nargs do shade := evalf(rand()/10^12,2)/4 + .1; c := COLOR(RGB, shade,.8, shade); Pt||k := plottools[disk]( [Re(args[k]), Im(args[k])],r, color = c ); od; display( [seq( A||k, k = 1..nargs), seq( Pt||k, k = 1..nargs), seq( Lines||k, k = 1..nargs)] ); end proc: |
| > | reset := proc() global a,b,z,R,theta; a := 'a': b := 'b': z := 'z': theta := 'theta': R := 'R': return (a,b,z,R,theta): end proc: |
1. The Polar Form of Complex Numbers
Concept of Polar Form
Here is a complex number in standard "real part + imaginary part" component form.
| > | z := 4 + 4*sqrt(3)*I; |
| > | ComplexPlot(z); |
When we look at the geometric representation, we might notice that this point forms a right triangle by looking at the real part of the number on the x-axis as one leg, and the diagonal line from the origin to the point as the hypotenuse. The angle that the hypotenuse makes with the x axis is called the argument of the complex number.
| > | argument(z); |
And the distance from the origin to the point is the absolute value of the complex number.
| > | abs(z); |
These two numbers can identify the point completely. For example, this same number can be expressed in this form - which is called the polar or trigonometric form.
| > | 8*cos(Pi/3) + 8*sin(Pi/3)*I; |
2. Converting To Polar Form
Converting from Component Form to Trig Form
As above, the process involves finding two things :
- the argument and
- the modulus.
Finding the Argument
We can compute the argument directly using Maple, but to do it by hand, we would use the two legs of the triangle to find the slope. Those two legs are none other than the real and imaginary parts of the complex number. Once we know the slope, we note that it is equal to the tangent of the angle. Therefore the inverse tangent of the slope is the angle.
| > | z := 11 + 11*I; arctan( Im(z) / Re(z) ); argument(z); |
| > | z := 4*sqrt(3) - 4*I; arctan( Im(z) / Re(z) ); argument(z); |
Something seems to go wrong here.
| > | z := -5 + 5*sqrt(3)*I; arctan( Im(z) / Re(z) ); argument(z); |
What happened? Well, the range of the arctan is
which is only quadrants I and IV. However, this point is actually in quadrant II. So if we add
to our arctan, we get the actual argument of
. Here is another example.
| > | z := - 10*sqrt(3) + 10*I;arctan( Im(z) / Re(z) ); argument(z); |
Finding the Absolute Value
The absolute value of a complex number is essentially Pythagoras' theorem. We know the legs of the triangle to be the real and imaginary parts of the complex number.
| > | z := 9 + 40*I; |
| > | a := Re(z); b := Im(z); c^2 = a^2 + b^2; c = sqrt(a^2 + b^2); |
| > | sqrt( Re(z)^2 + Im(z)^2); |
| > | abs(z); |
| > | z := -15 + 8*I; abs(z); |
| > | z := -2 + 1*I; abs(z); |
Expressing a Complex Number in Polar Form
Once you know the argument and absolute value, then just write it in the form :
where R = |z|, and
.
| > | z := -12 + 12*I; |
| > | theta := argument(z); |
| > | R := abs(z); |
| > | z = R * ('cos'(theta) + I*'sin'(theta)); |
| > | z := 9 -40*I; theta := argument(z); R := abs(z); z = R * ('cos'(theta) + I*'sin'(theta)); |
| > | z := sqrt(39) + sqrt(13)*I; theta := argument(z); theta := simplify(%); R := abs(z); z = R * ('cos'(theta) + I*'sin'(theta)); |
3. Converting from Polar Form
Converting from Trig Form to Component Form
It's even easier to convert from trig form to component form.
| > | reset(): |
| > | theta := 4*Pi/3; R := 60; z = R * ('cos'(theta) + I*'sin'(theta)); |
| > | a := R*cos(theta); b := R*sin(theta); z = a + b*I; |
| > | theta := Pi/8; R := 256; z = R * ('cos'(theta) + I*'sin'(theta)); a := R*cos(theta); b := R*sin(theta); z = a + b*I; evalf(%); |
| > | theta := 1; R := 10; z = R * ('cos'(theta) + I*'sin'(theta)); a := R*cos(theta); b := R*sin(theta); z = a + b*I; evalf(%); |
4. The Exponential Form of Complex Numbers
e to an imaginary Power
Euler discovered that e, when raised to an imaginary power, can be expressed as a complex number in polar form. Obviously a revolutionary discovery made using Taylor series, which you will learn about in calculus.
| > | reset(); |
| > | exp(theta*I): % = convert(%, trig); |
Here are examples
| > | ''exp( (7*Pi/6)*I)'': % = convert(%, trig); |
| > | ''exp( (2.75)*I)'': % = convert(%, trig); |
The absolute value of
for any value of
is 1, and all such numbers lie on the unit circle.
can be any real number.
| > | exp( (7*Pi/6)*I): z1 := convert(%, trig); exp( (2.75)*I): z2 := convert(%, trig); exp( 1*I): z3 := convert(%, trig); exp( sqrt(2)*I): z4 := convert(%, trig); exp( (-4/7)*I): z5 := convert(%, trig); |
| > | abs(z1); abs(z2); abs(z3): % = simplify(%); abs(z4): % = simplify(%); abs(z5): % = simplify(%); |
| > | display( polarplot( 1, color = gray), ComplexPlot( z1,z2,z3,z4,z5)); |
e to a Complex Power
Although this might seem to be much more complicated, it really isn't because of one of the simplest rules of exponents.
| > | exp(a+b) = exp(a) * exp(b); |
| > | exp(a+I*b) = exp(a) * exp(I*b); |
So it becomes a product of two numbers.
is a real number, and
is a polar form of a complex number that we saw just above.
| > | exp( 3 + 2*I); |
| > | exp( 3 + 2*I ) = exp(3) * exp(2*I); |
| > | exp( 3 + 2*I ) = exp(3) * convert( exp(2*I), trig) ; |
Here is another example.
| > | exp( 5 + Pi*I ) = exp(5) * convert( exp(Pi*I), trig) ; |
| > | exp( ln(8) + (3*Pi/4)*I ) = exp(ln(8)) * convert( exp((3*Pi/4)*I), trig) ; |
| > | exp( 1 + 2*Pi*I ) = exp(1) * convert( exp(2*Pi*I), trig) ; |
5. Developing Trig Identities at Warp Speed
As you are probably well aware, trigonometry has no shortage of formulas and identities. Here are some hopefully familiar reminders.
| > | sin(a + b): % = expand(%, trig); |
| > | cos(a - b): % = expand(%, trig); |
| > | tan(2*a): % = expand(%, trig); |
These formulas are less easy to prove than they are to remember - using the geometry. However, they can be developed very quickly using the exponential form of complex numbers. What we do is express an exponential expression in two different ways, using the standard rules of exponents. Then we expand each side into polar forms, and equate the real and imaginary parts of each side.
| > | exp( (a+b)*I): L := %: % = expand(%); convert( %, trig): convert( L, trig) = expand( rhs(%) ); |
| > | `Equate the real parts of the left and right sides`; cos(a+b) = cos(a)*cos(b)-sin(a)*sin(b); |
| > | `Equate the imaginary parts of the left and right sides`; I*sin(a+b) = I*cos(a)*sin(b)+I*sin(a)*cos(b); sin(a+b) = cos(a)*sin(b)+ sin(a)*cos(b); |
Voila! You have just developed two trig identities for the price of one. You have a formula for the sine of a sum of angles, and a formula for the cosine of a sum. What formulas come out of these?
| > | exp( 2*a*I): L := %: % = expand(%); convert( %, trig): convert( L, trig) = expand( rhs(%) ); |
You can even amaze your friends with your own identities "not in the book."
| > | exp( 4*a*I): L := %: % = expand(%); convert( %, trig): convert( L, trig) = expand( rhs(%) ); |
| > | exp( (2*a + b)*I): L := %: % = expand(%); convert( %, trig): convert( L, trig) = expand( rhs(%) ); |
| > | exp( (3*b)*I): L := %: % = expand(%); convert( %, trig): convert( L, trig) = expand( rhs(%) ); |
© 2002 Waterloo Maple Inc