Download Complex Numbers II

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

Mathematics of radio engineering wikipedia , lookup

History of trigonometry wikipedia , lookup

Fundamental theorem of algebra wikipedia , lookup

Transcript
FACULTY OF MATHEMATICAL STUDIES
MATHEMATICS FOR PART I ENGINEERING
Lectures
MODULE 22
COMPLEX NUMBERS II
1. Revision
2. Relationships between trigonometric and hyperbolic functions
3. Logarithm of a complex number
4. De Moivre’s theorem and complex roots
5. Loci in the complex plane
1. Revision
Let us first recall the main points of module 5 on complex numbers. The key definition is
j=
√
−1,
→
j 2 = −1 .
A complex number is then written z = x + jy , where both x and y are real.
x is the real part of z , written Re z ;
y is the imaginary part of z , written Im z .
[Note that the imaginary part does not involve j and therefore is a real number.]
Examples of complex numbers are 2 + j3, −1 − j, a + bj . The product j3 is the same as 3j and so both
forms are used in writing complex numbers. It should also be pointed out that in the third example the real
and imaginary parts are algebraic – this is fine but letters represent real quantities, from the definition of a
complex number.
Complex numbers are displayed using an Argand diagram, in which the the real and imaginary parts of
a complex number form the x- and y-coordinates with respect to the usual xy Cartesian axes.
y
3
2+3j =(2,3)
2
-1 -2 1
-1+j =(-1,1)
1
-1
2
3
x
-2
(
polar form
modulus-argument form
exponential form
These alternative forms essentially arise from expressing a point (x, y) in the Cartesian plane in polar
coordinates (r, θ) , i.e. r = x + jy = r(cos θ + j sin θ) , where
r denotes the modulus of z (written |z| , or mod z) ;
θ is the argument of z (usually written arg z ).
p
Hence r denotes the distance from the point (x, y) to the origin with r = x2 + y 2 . Recall that θ is
the angle between the positive x-axis and the line joining the point to the origin. In the usual way, angles
measured in an anti-clockwise direction are positive, whereas those measured in the opposite clockwise
direction are negative. The principal value of the argument lies in the range (−π, +π] , but clearly
A complex number can also be expressed in
1
integral multiples of 2π can be added to the argument without altering the position of the complex number
in the Argand diagram.
To illustrate the ideas consider z = 2 + 2j. Draw the Argand diagram, which is extremely useful in deciding
the quadrant in which the complex number lies, and hence the magnitude of the argument.
y
2
r
θ
1
1
-1
2
x
In this case it is clear from the diagram √
that √
r2 = 22 + 22 = 4 + 4 = 8 hence r = 8 = 2 2,
1
π
2
(= 45o ).
→ θ=
cos θ = √ = √ ,
4
2 2
2
Next consider z = 1 − j and again draw the corresponding Argand diagram.
y
2
1
-1
r
1
α
2
x
From the triangle including α it is easy to deduce that
√
1
r2 = 12 + 12 = 1 + 1 = 2, so r = 2, and cos α = √ ,
2
→
α=
π
.
4
π
.
4
[The determination of the correct angle is usually most easily calculated with the aid of a diagram, as above.
Note that in the second example the angle was found from a triangle, using the positive lengths of the sides.
The argument of the given complex number could easily be found from the triangle using other trigonometric
π
1
functions, e.g. from tan α = = 1, which again gives α = . ]
1
4
Before writing the complex number in the alternative forms recall that in module 5 we stated Euler’s formula
ejθ = cos θ + j sin θ . Using this, and the usual formulae for polar coordinates, we can write:
√
√ π
π
= 2 2 ejπ/4 ,
2 + 2j = 2 2 cos + j sin
4
4 √ π
π √ −jπ/4
+ j sin −
= 2e
1 − j = 2 cos −
.
4
4
In this example the angle is being measured in a clockwise direction so arg (1 − j) = −
2. Relationships between trigonometric and hyperbolic functions
Euler’s formula states ejθ = cos θ + j sin θ . Replacing θ by −θ then implies
e−jθ = cos(−θ) + j sin(−θ) = cos θ − j sin θ,
(since
cos(−θ) = cos θ,
sin(−θ) = − sin θ). Adding and subtracting the above expressions leads to
cos θ =
ejθ + e−jθ
,
2
sin θ =
2
ejθ − e−jθ
.
2j
From the earlier work on hyperbolic functions you know that
cosh x =
ex + e−x
,
2
sinh x =
ex − e−x
,
2
(these definitions can also be found on the Formula sheet and in the Engineering Data book) and, by
comparing the above two sets of results, relationships between trigonometric and hyperbolic functions can
be established:
ejx + e−jx
ejx − e−jx
cosh(jx) =
= cos x,
sinh(jx) =
= j sin x .
2
2
Note that the definitions of the hyperbolic functions were initially given for real variables but in writing
the above formulae their extension to complex variables has been introduced, e.g. it has been assumed that
ez + e−z
, where z is complex.
cosh z =
2
From the definitions of cos, sin, cosh and sinh it also follows that
2
2
ej x + e−j x
e−x + ex
ej(jx) + e−j(jx)
=
=
= cosh x,
2
2
2
2
2
ej(jx) − e−j(jx)
ej x − e−j x
j e−x − e+x
ex − e−x
sin(jx) =
=
=
=j
= j sinh x.
2j
2j
j
2j
−2(−1)
cos(jx) =
Two comments should be made about the above relationships:
(i) you are not expected to remember the above identities, but you should be able to derive them if you
are asked to do so;
(ii) the identities hold for all variables x , even when the latter is complex. (For example, replacing x by
jx in cos(jx) = cosh x leads to the earlier result cos x = cosh(jx) .
Ex 1.
Find the value of sin
nπ
o
(1 + j) .
4
Using the Formula Sheet for the expansion of sin(A + B) , and the above identities
o
nπ
π
π
nπ
πo
π
π
(1 + j) = sin
+j
= sin cos j
+ cos sin j
sin
4
4
4
4
4
4
4
1 1 π
1 π
π
π
+√
= √
= √
cosh
j sinh
cosh + j sinh
4
4
4
4
2
2
2
( = 0.9366 + j 0.6142,
Ex 2.
to four decimal places)
Find all values of z such that cos z = 2 .
Put z = x + jy where x and y are real, then
cos z = cos(x + jy) = cos x cos(jy) − sin x sin(jy)
= cos x cosh y − sin x (j sinh y),
= 2 (given).
Equating real and imaginary parts in the latter expression yields
cos x cosh y = 2
(1)
sin x sinh y = 0
(2)
sin x = 0, i.e. x = nπ, where n is an integer
or sinh y = 0, i.e. y = 0.
If y = 0 then cosh y = 1 and hence (1) → cos x = 2 . This is not possible for real x so the possibility
y = 0 leads to an unacceptable answer.
(2)
→
3
Hence must have x = nπ . Now cos(nπ) = (−1)n and substituting this result into equation (1) implies
cosh y =
2
.
(−1)n
But cosh y ≥ 1 , and so n must be an even integer, giving cosh y = 2 which leads to y = ± cosh−1 2 .
The final solution therefore is
z = mπ ± j cosh−1 2,
m = 0, ±2, ±4, ...
z = 2nπ ± j cosh−1 2,
n = 0, ±1, ±2, ...
which is more usually written as
Hence cos z = 2 has infinitely many solutions.
3. Logarithm of a complex number
The easiest way to obtain the answer is to express z in exponential form, take logs and use the standard
results for exponentials and logarithms:
z = rejθ
→
ln z = ln rejθ = ln r + ln ejθ = ln r + jθ.
Integral multiples of 2π can always be added to θ without changing z, so the above definition can be
extended
n = 0, ±1, ±2, ...
z = rej(θ+2nπ) ,
→ ln z = ln r + ln ej(θ+2nπ)
i.e. ln z = ln |z| + j(θ + 2nπ) = ln |z| + j(arg z + 2nπ),
n = 0, ±1, ±2, ...
Note that for a particular value of z there are an infinite number of values of ln z, one for each value of n,
which implies ln z is not a standard function).
When the argument of z takes its principal value, lying in the range (−π, +π], then define the principal
value of ln z by
Ln z = ln |z| + j arg z .
Observe that a capital L is used to denote that the log is calculated using the principal value of the argument.
Ex 3.
Obtain all values of ln(1 − j) .
In section 1 it was shown that
1−j =
hence
√
√ j −π
π
2 e ( 4 ) = 2 ej (− 4 +2nπ) ,
o
n
√
π
ln(1 − j) = ln 2 + ln ej (− 4 +2nπ) ,
π
√
= ln 2 + j − + 2nπ ,
4
n = 0, ±1, ±2, ...
n = 0, ±1, ±2, ...
n = 0, ±1, ±2, ...
4. De Moivre’s theorem
Since z = rejθ using the properties of exponentials it follows that
n
z n = rejθ = rn ejnθ .
4
Using the modulus argument form for z on the LHS and expanding the exponential on the RHS using
Euler’s theorem for angle nθ, we obtain the usual form of de Moivre’s theorem
n
[r(cos θ + j sin θ)] = rn [cos(nθ) + j sin(nθ)] .
The theorem is usually proved first for positive integer n , by multiplying out and using trigonometric
identities for small n , and by induction for the general case. The above exponential approach requires proof
of the exponential results for complex exponents, if you want to prove the result rigorously.
Ex 4. Express 2 + 2j in polar form, and hence evaluate (2 + 2j)12 .
In section 1 it was shown that
π o
π
√
√ n
+ j sin
,
2 + 2j = 2 2 ejπ/4 = 2 2 cos
4
4
hence
π o12
π
√ 12 n
√ 12
12π
12π
12
(2 + 2j) = (2 2)
+ j sin
+ j sin
cos
cos
= (2 2)
4
4
4
4
= (23/2 )12 {cos(3π) + j sin(3π)} = 218 {cos π + j sin π} = 218 {−1 + j(0)}
= −218 = −262144
De Moivre’s theorem is most commonly used to find the roots of complex numbers. Suppose z = r(cos θ +
j sin θ), then using de Moivre’s theorem with n = p/q we obtain
p
p
pθ p2nπ
pθ p2nπ
z q = r q cos
+
+ j sin
+
, n = 0, 1, 2, ..., (q − 1).
q
q
q
q
The parameter n is needed to obtain all the qth roots of z p .
The angles appearing in the general result above may not all lie in the range −π to +π so further amendments are often necessary, see Ex 5 below.
1
1
Given z = − + j evaluate z 1/2 .
2
2
1/2
For z , a square root, two solutions are expected.
Ex 5.
y
1/2
r
φ
θ
x
-1/2
From the diagram
2 2
1
1
1 1
1
1
2
r =
+
= + = , → r= √
2
2
4 4
2
2
π
π
3π
1/2
= 1, → φ = ,
→ θ=π− =
.
tan φ =
1/2
4
4
4
Therefore
1
1
1
3π
3π
z =− +j = √
+ j sin
cos
2
2
4
4
2
3π
3π
−1/2
+ 2nπ + j sin
+ 2nπ
cos
=2
4
4
1/2
3π 2nπ
3π 2nπ
1/2
−1/2
+
+ j sin
+
cos
= 2
→ z
8
2
8
2
3π
3π
+ nπ + j sin
+ nπ
, n = 0, 1.
= 2−1/4 cos
8
8
5
Hence the two roots are
3π
3π
+ j sin
,
2−1/4 cos
8
8
2−1/4
cos
11π
8
+ j sin
11π
8
.
The second argument lies outside the required range so must be modified by adding or subtracting integral
multiples of 2π . In this case it is necessary to subtract 2π making the second solution
2−1/4
5π
5π
+ j sin −
.
cos −
8
8
Note that when n = 2
3π
3π
3π
3π
z 1/2 = 2−1/4 cos
+ 2π + j sin
+ 2π
= 2−1/4 cos
+ j sin
,
8
8
8
8
the same as the first solution. In a similar way all higher values of n lead to one or other of the two stated
solutions.
N.B. The two solutions are equally spaced around the circumference of a circle of radius 2−1/4 .
3π/8 2-1/4
5π/8
Ex 6.
Evaluate (−1)1/3 .
Here with a cube root three answers are required. The point −1 lies on the negative x-axis so in an obvious
way r = 1 and the argument equals π. Hence
−1 = 1 {cos π + j sin π} = 1 {cos(π + 2nπ) + j sin(π + 2nπ)} , n = 0, ±1, ±2, ...
2nπ
π
π 2nπ
+
+ j sin
+
, n = 0, 1, 2,
(−1)1/3 = (1)1/3 cos
3
3
3
3
with other values of n leading to one of the above three answers.
Since (1)1/3 = 1 the roots can be written
√
π
1
π
3
(n = 0)
cos + j sin = + j
3
3
2
2
(n = 1)
cos π + j sin π = −1 + j0 = −1
√
π
π 1
3
5π
5π
+ j sin
= cos −
+ j sin −
= −j
(n = 2)
cos
3
3
3
3
2
2
x
2π/3
π/3
x
π/3
2π/3
+
6
1
5. Loci in the complex plane.
A locus is a set of points with a specified property – e.g. the locus of points in two-dimensions that are a
fixed distance from a given point is a circle.
Note that loci is the plural of locus.
|z| = 1
→ all points whose distance from the origin equals 1, hence the locus is a circle, centre the
origin, radius 1 (see figure 5a);
|z − 1| = 2
→ all points whose distance from the point (1, 0) is 2, hence the locus is a circle, centre
(1, 0), radius 2 (see figure 5b);
|z + j| = 1 or |z − (−j)| = 1
→ all points whose distance from the point −j is 1, therefore locus is
a circle, centre −j (i.e. at (0, −1)), radius 1 (see figure 5c).
-1
1
figure 5a
Ex 7.
(a)
then
-1
figure 5b
Find the loci in the complex plane given by
Put z = x + jy,
3
1
0
figure 5c
(a) Re(z) = 2,
z + 1
= 2.
(b) z − 1
Re z = Re (x + jy) = x = 2 .
1
0
2
z + 1 |z + 1|
implies
|z + 1| = 2 |z − 1| .
z − 1 = |z − 1| = 2
Put z = x + jy then z + 1 = x + 1 + jy and z − 1 = x − 1 + jy , and the above equation gives
(b)
Now
→
then squaring
|x + 1 + jy| = 2 |x − 1 + jy|
1/2
1/2
(x + 1)2 + y 2
= 2 (x − 1)2 + y 2
→
(x + 1)2 + y 2 = 4 (x − 1)2 + y 2
x2 + 2x + 1 + y 2 = 4(x2 − 2x + 1 + y 2 )
3x2 + 3y 2 − 10x + 3 = 0
10
x + 1 = 0.
x2 + y 2 −
3
Completing the square leads to
which is a circle, centre
2 2
5
5
x−
−
+ y2 + 1 = 0
3
3
2
2
2
5
16
4
5
2
=
x−
+y =
−1=
3
3
9
3
4
5
, 0 , radius
.
3
3
7