Topic 1B. Complex Numbers - Matrices
Topic 1B. Complex Numbers - Matrices
Topic 1B. Complex Numbers - Matrices
MATHEMATICS
Applications and Interpretation HL
Lecture Notes
Christos Nikolaidis
TOPIC 1
NUMBER AND ALGEBRA
International Baccalaureate
1B. Complex numbers - Matrices
COMPLEX NUMBERS
MATRICES
January 2022
TOPIC 1: NUMBER AND ALGEBRA Christos Nikolaidis
1 4 , 9 , 5
i2 = -1
instead of 4 we write 2i
instead of 9 we write 3i
instead of 5 we write 5i
x 2 4x 13 0
4 Δ 4 6i
x= = = 2 3i
2 2
These “new” numbers are known as complex numbers.
-b i Δ
x=
2a
3
TOPIC 1: NUMBER AND ALGEBRA Christos Nikolaidis
THE DEFINITION
THE CONJUGATE z
EXAMPLE 1
4
TOPIC 1: NUMBER AND ALGEBRA Christos Nikolaidis
Notice
z x+yi
z x-yi
-z -x-yi
-z -x+yi
3 2 4 2 25 5
Finally, observe that |3|=3 and |-3|=3. That is, the modulus
generalizes the notion of the absolute value for real numbers.
EQUALITY: z1 = z2
Two complex numbers are equal if they have equal real parts and
equal imaginary parts: Let z1=x1+y1i and z2=x2+y2i
x 1 x 2
z1 = z2
y1 y 2
EXAMPLE 2
3 a a 3
z1 = z2
4 3b 2 b 2
5
TOPIC 1: NUMBER AND ALGEBRA Christos Nikolaidis
ADDITION-SUBTRACTION-MULTIPLICATION-DIVISION
The four operations for complex numbers follow the usual laws of
algebra. We only have in mind that i2=-1.
EXAMPLE 3
Consider the two complex numbers z=7+4i and w=2+3i
Thus
7 4i
= 2-i
2 3i
(Confirm the result by multiplying (2+3i)(2-i); you must find 7+4i)
NOTICE
|z|2 = z. z
|z|2 = x2+y2
z z = (x+yi)(x-yi) = x2-y2i2 = x2+y2
6
TOPIC 1: NUMBER AND ALGEBRA Christos Nikolaidis
EXAMPLE 4
(3+4i)(3-4i) = 9+16 = 25
(1+i)(1-i) = 1+1 = 2
(2-i)(2+i) = 4+1 =5
The result is always a real number (the square of the modulus).
EXAMPLE 5
Let us estimate the powers of i:
EXAMPLE 6
Calculate
(2 i) 3
(a) z = (2+i)3 (b) w=
1i
Solution
(a) z = (2+i)2(2+i) = (4+4i+i2)(2+i)
= (3+4i)(2+i)
= 6+3i+8i+4i2
= 2+11i
7
TOPIC 1: NUMBER AND ALGEBRA Christos Nikolaidis
EXAMPLE 7
Find z if
z(1-i) = 2+11i
Solution
x-xi+yi-yi2 = 2+11i
(x+y)+(y-x)i = 2+11i
x y 2
y x 11
The solution of the system is x =-9/2 and y =13/2
9 13
Hence, z = + i
2 2
2 11i
z(1-i) = 2+11i z =
1i
= …
9 13
= + i [look at Exercise 6(b)]
2 2
8
TOPIC 1: NUMBER AND ALGEBRA Christos Nikolaidis
y z = x+yi
O x
EXAMPLE 1
4 3+4i
0+4i
3
2
1
-5 O 1 2 3
3+0i
-2
-5-2i
Notice
*
We may also think of z as a vector from the origin to the point (x,y). Compare
x
with vectors in paragraph 3.10
y
9
TOPIC 1: NUMBER AND ALGEBRA Christos Nikolaidis
NOTICE
We already know that the sets
N = natural numbers
Z = integers
Q = rational numbers
R = real numbers
can be represented on the real axis. We extend this representation
here to the complex plane (considering an imaginary y-axis).
It also holds
N Z Q R C
EXAMPLE 2
It is interesting to see the representations of z, z ,-z,- z . For
example,
z=3+4i z =3-4i z=-3+4i - z =-3-4i
- z =-3+4i z=3+4i
-z=-3-4i z =3-4i
10
TOPIC 1: NUMBER AND ALGEBRA Christos Nikolaidis
y z = x+yi
r
θ
O x
Notice:
x y y
cosθ = , sinθ = , tanθ = (*)
r r x
REMARK
11
TOPIC 1: NUMBER AND ALGEBRA Christos Nikolaidis
The form
z = r (cosθ+isinθ)
r = |z| = x 2 y2
y
tanθ = , having in mind the quadrant of x+yi
x
EXAMPLE 3
Solution
For z =1+ 3 i :
r = 1 3 =2,
3 π
tanθ = = 3 , [1st quadrant] θ=
1 3
π π
Therefore, z = 2(cos +isin ) [or 2 (cos 60 +isin 60 )]
3 3
For w =3+4i :
r = 32 4 2 = 5 ,
4
tanθ = , [1st quadrant] θ = 0.927 (by GDC)
3
Therefore, w = 5 [cos(0.927)+isin(0.927)]
12
TOPIC 1: NUMBER AND ALGEBRA Christos Nikolaidis
EXAMPLE 4
Solution
For example,
π π 1 3
the Cartesian form of z = 2(cos +isin ) is 2( +i ) = 1+ 3 i
3 3 2 2
13
TOPIC 1: NUMBER AND ALGEBRA Christos Nikolaidis
We define†
eiθ=cosθ+isinθ
π
π π i
For example, z =2(cos +isin ) = 2 e 3 .
3 3
EXAMPLE 5
Write down all the possible forms of z1=1+i , z2 =3+4i, z3 =3+4i
π π π π
1+i 2(cos +isin ) 2 cis 2e
i
4
4 4 4
† This is not accidental! It can be shown that eiθ follows all known exponential properties
14
TOPIC 1: NUMBER AND ALGEBRA Christos Nikolaidis
NOTICE
Any complex number with modulus 1 has polar form
z = cisθ = cosθ+isinθ
(Indeed, |z|= cos 2 θ sin 2 θ =1)
... ...
For imaginary numbers of the form ai : (on the imaginary axis)
the argument is either π/2 or -π/2.
π π
i cis eiπ/2 -i cis - e-iπ/2
2 2
π π
2i 2cis 2eiπ/2 -2i 2cis - 2e-iπ/2
2 2
π π
3i 3cis 3eiπ/2 -3i 3cis - 3e-iπ/2
2 2
... ...
Hence z = r [cos(-θ)+isin(-θ)]
15
TOPIC 1: NUMBER AND ALGEBRA Christos Nikolaidis
z1 z2 = r1r2 cis(θ1+θ2)
z1 r
= 1 cis(θ1-θ2)
z2 r2
For z = r cisθ
zn = rn cis(nθ) [De Moivre law]
NOTICE:
The modulus of z1z2 is r1r2: |z1z2| = |z1||z2|
z1 r z1 z1
The modulus of is 1 : =
z2 r2 z2 z2
The modulus of zn is rn: |zn| = |z|n
Also
The argument of z1z2 is θ1+θ2: arg(z1z2)=arg(z1)+arg(z2)
z1 z1
The argument of is θ1-θ2: arg( )=arg(z1)-arg(z2)
z2 z2
The argument of zn is nθ: arg(zn)=narg(z)
In other words,
the modulus |z| preserves the operations
the argument arg(z) behaves like log(z)
16
TOPIC 1: NUMBER AND ALGEBRA Christos Nikolaidis
EXAMPLE 1
π π 1 3
Let z =2cis and w =cis (In fact, z = 3 +i and w = + i)
6 3 2 2
Then
π π 3π π
zw =2.1 cis( + ) =2cis( ) = 2cis( )
6 3 6 2
π π
=2[cos( )+isin( )]=2(0+i) = 2i
2 2
z 2 π π π
= cis( - ) = 2cis(- )
w 1 6 3 6
π π 3 1
= 2[cos(- )+isin(- )] =2( - i)= 3 -i
6 6 2 2
π π
z2 =22 cis(2 ) = 4cis
6 3
π π 1 3
= 4(cos +isin ) =4( + i)=2+2 3 i
3 3 2 2
π π
z3=23 cis(3 ) = 8cis =8i
6 2
π
z6=26 cis(6 ) = 64cisπ =-64
6
π
w6=16 cis(6 ) = cis2π = cis0 = 1
3
z 6 26 π π
3
= 3 cis(6 -3 ) =64(cis0)= 64
w 1 6 3
60π
z60 = 260cis =260 cis10π =260 cis0 =260
6
17
TOPIC 1: NUMBER AND ALGEBRA Christos Nikolaidis
EXAMPLE 2
Solution
It is more convenient to use the polar form of 1+i:
r = 1+1 2
π
tanθ = 1 θ =
4
Thus
π
1+i= 2 cis
4
Then
10π 5π
(1+i)10=( 2 )10 cis =25 cis
4 2
5π π
But =2π+ , thus
2 2
π
(1+i)10 = 25 cis =32i
2
EXAMPLE 3
Let z = cisθ = cosθ+isinθ.
z2 = cis2θ = cos2θ+isin2θ
z2 =(cosθ+isinθ)2
=cos2θ+2cosθ(isinθ)+(isinθ)2
=(cos2θ-sin2θ) +i(2sinθcosθ)
cos2θ = cos2θ-sin2θ
sin2θ = 2sinθcosθ
18
TOPIC 1: NUMBER AND ALGEBRA Christos Nikolaidis
19
TOPIC 1: NUMBER AND ALGEBRA Christos Nikolaidis
(rotation by angle φ)
20
TOPIC 1: NUMBER AND ALGEBRA Christos Nikolaidis
In this section we use the polar form (in fact the Euler form) in
order to express
π
i
= eix(4+3 e 4 )
= eix(6.48e0.334i) [by GDC]
= 6.48ei(x+0.334)
Therefore,
f(x)+g(x) = 6.48cos(x+0.334)
Remark
Use your GDC to check that the graphs of the functions
π
y = 4cosx + 3cos(x+ )
4
y = 6.48cos(x+0.334)
coincide.
21
TOPIC 1: NUMBER AND ALGEBRA Christos Nikolaidis
EXAMPLE 1
Consider the waves of angular frequency 4
V1(t)=7sin(4t-1) and V2(t)=2sin(4t+3)
Express V1(t)+V2(t) in the form V(t)=Asin(4t+φ)
Solution
V1(t) is the imaginary part of z1=7ei(4t-1)
V2(t) is the imaginary part of z2=2ei(4t+3)
Then
z1+z2=7e4ite-i +2e4ite3i
= e4it (7e-i +2e3i)
= e4it(5.89e-1.26i) [by GDC]
= 5.89ei(4t-1.26)
V(t) = 5.89sin(4t-1.26)
22
TOPIC 1: NUMBER AND ALGEBRA Christos Nikolaidis
23
TOPIC 1: NUMBER AND ALGEBRA Christos Nikolaidis
24
TOPIC 1: NUMBER AND ALGEBRA Christos Nikolaidis
(notice that a23 for example is the element in row 2 and column 3)
SQUARE MATRICES
No of rows = No of columns
The order of a square matrix is nxn, eg. 2×2, 3×3, 4×4 etc.
(in this case we may also say: “a square matrix of order n”.
For example,
25
TOPIC 1: NUMBER AND ALGEBRA Christos Nikolaidis
a 11 a 12 a 13
4 6
a 21 a 22 a 23
5 2 a a 32 a 33
31
We also say that the elements a11, a22, a33 … (indicated above)
form the main diagonal of the square matrix.
ROW MATRICES
For example
For example,
1
- 1
A= 4 is a 3×1 vector B= is a 2×1 vector
2 3
Notice: Matrices of order 1×1 are also defined, for example C=(5).
0 0 0
The 2×3 zero matrix is 0 =
0 0 0
0 0
The 2×2 zero matrix is O = and so on!
0 0
26
TOPIC 1: NUMBER AND ALGEBRA Christos Nikolaidis
EXAMPLE 1
2 x 1 2 3 y 7 s t u
A= B= C= D=
a 3 2 3 0 0 3 v w 7
Let A and B have the same order. We define some new matrices:
27
TOPIC 1: NUMBER AND ALGEBRA Christos Nikolaidis
EXAMPLE 2
1 2 3 3 5 0
A= B=
4 1 5 2 3 7
Then
4 7 3 - 2 - 3 3 2 3 -3
A+B= A-B= B-A=
6 4 12 2 - 2 - 2 - 2 2 2
3 6 9 -3 -6 -9 -1 -2 -3
3A= -3A= -A=-1A=
12 3 15 -12 -3 -15 -4 -1 -5
Finally,
1 2 3 3 5 0
2A+3B = 2 +3
4 1 5 2 3 7
2 4 6 9 15 0
= +
8 2 10 6 9 21
11 19 6
=
14 11 31
EXAMPLE 3
1 2 2 0
Let A= and B= . Find the matrix X if
3 4 5 - 1
2A+X=3B
Method 1:
a b
X must be of order 2×2. Suppose that X=
c d
Then
1 2 a b 2 0
2A+X=3B 2 + =3
3 4 c d 5 - 1
28
TOPIC 1: NUMBER AND ALGEBRA Christos Nikolaidis
2 4 a b 6 0
+ =
6 8 c d 15 - 3
2 a 4 b 6 0
=
6 c 8 d 15 - 3
Hence,
Therefore,
4 - 4
X=
9 - 11
Method 2:
2A+X=3B X=3B-2A
2 0 1 2
X=3 -2
5 - 1 3 4
6 0 2 4
X= -
15 - 3 6 8
4 - 4
X=
9 - 11
1 2 2 3
= ?
3 4 5 1
2 6
It is NOT as someone would expect!! Here, we do not
15 4
multiply the corresponding elements.
29
TOPIC 1: NUMBER AND ALGEBRA Christos Nikolaidis
x
a b c y = (ax+by+cz)
z
3
2 3 5 4 = (2.3+3.4+5.1)=(23)
1
3× 5 5×8 3×8
3× 2 2×1 3×1
2× 2 2×2 2×2
30
TOPIC 1: NUMBER AND ALGEBRA Christos Nikolaidis
Let
a x
1 2 3
A= B= b y
4 5 6 c z
Notice that the order of AB is expected to be 2×2
a x
1 2 3 1a 2b 3c 1x 2y 3z
AB = b y =
4 5 6 c z
a x
1 2 3 1a 2b3c 1x 2y3z
AB = b y =
4 5 6 c z 4a 5b5c 4x 5y6z
EXAMPLE 4
2 5
1 2 3
A= B= 3 3
4 5 6 1 2
Then
2 5
1 2 3 = 11 1 2 3 17
3 3 =
1
2
2 5
=
3 =
3 29
4 5 6 1 4 5 6 2
47
2 5
1 2 3 11 17
AB= 3 3 =
4 5 6 1 2 29 47
31
TOPIC 1: NUMBER AND ALGEBRA Christos Nikolaidis
EXAMPLE 5
Consider again the matrices A and B above. Let us find the product
BA. Notice that the order is expected to be 3x3.
We obtain
2 5 2 20 4 25 6 30
1 2 3
BA= 3 3 = 3 12 6 15 9 18
1 2 4 5 6 1 8 2 10 3 12
22 29 36
= 15 21 27
9 12 15
NOTICE: In general
AB BA
Even if both matrices A and B are square matrices, say 2x2, the
resulting 2x2 matrices AB and BA are not equal in general.
EXAMPLE 6
1 2 1 1
Let A= and B= . Then
3 4 0 2
1 2 1 1 1 5 1 1 1 2 4 6
AB= = while BA= =
3 4 0 2 3 11 0 2 3 4 6 8
32
TOPIC 1: NUMBER AND ALGEBRA Christos Nikolaidis
EXAMPLE 7
1 2 5 4
Let A= and B= . Then
3 4 6 11
1 2 5 4 17 26 5 4 1 2 17 26
AB= = and BA= =
3 4 6 11 39 56 6 11 3 4 39 56
Namely,
1 0 0 0
1 0 0
1 0 0 1 0 0
I= or I= 0 1 0 or I= etc
0 1 0 0 1 0 0 1 0
0 0 0 1
EXAMPLE 8
a b 1 0
Let A= and I= .
c d 0 1
Then
a b 1 0 a b 1 0 a b a b
AI= = =A and IA= = =A
c d 0 1 c d 0 1 c d c d
33
TOPIC 1: NUMBER AND ALGEBRA Christos Nikolaidis
(A+B)C = AC+BC
Distributive laws
C(A+B) = CA + CB
m(A+B) = mA+mB
Distributive laws
(m+n)A = mA+nA
m(nA) = (mn)A
34
TOPIC 1: NUMBER AND ALGEBRA Christos Nikolaidis
2x2 DETERMINANT
a b
Let A= . The determinant of A is the number
c d
detA= ad-bc
It is also denoted by
a b a b
det =ad-bc or =ad-bc
c d c d
EXAMPLE 1
5 2 5 2
Let A= . Then detA= = 5 4 2 3 =14
3 4 3 4
2 - 4 2 -4
Let B= . Then detB= = 12 12 =0
3 - 6 3 -6
EXAMPLE 2
3x3 DETERMINANT
Let
a1 a2 a3
A= b1 b2 b3 .
c c2 c3
1
35
TOPIC 1: NUMBER AND ALGEBRA Christos Nikolaidis
b2 b3 b b3 b b2
a1 - a2 1 + a3 1
c2 c3 c1 c3 c1 c2
We multiply the elements of the first row, a1, a2, a3, by three
smaller determinants respectively.
a1 a2 a3
b1 b2 b3
c c2 c3
1
EXAMPLE 3
2 3 4
Let A= 5 6 7 . Then
1 2 8
6 7 5 7 5 6
detA = 2 -3 +4 = 2.34-3.33+4.4 = -15
2 8 1 8 1 2
36
TOPIC 1: NUMBER AND ALGEBRA Christos Nikolaidis
a x y a 0 0 a 0 0
A= 0 b z B= x b 0 C= 0 b 0
0 0 c y z c 0 0 c
Matrices like C are called diagonal. [0’s below & above main diagonal]
For example,
2 0 0 2 2 5
0 3 0 2 3 4 24 0 3 - 8 2 3 4 24
0 0 4 0 0 4
a b
Let A= . Given that detA 0 (and only then),
c d
1 d - b
A-1 =
detA - c a
EXAMPLE 5
2 6
Let A= . Then detA=2 and the inverse matrix is
1 4
1 4 - 6 2 - 3
A-1 = =
2 - 1 2 - 1/2 1
2 8
Let B= . Then detB=0 and hence, B-1 is not defined.
1 4
37
TOPIC 1: NUMBER AND ALGEBRA Christos Nikolaidis
To justify the term “inverse”, let’s multiply the matrices A and A-1
of the example above.
2 6 2 - 3 1 0
AA-1= = = I
1 4 - 1/2 1 0 1
2 - 3 2 6 1 0
A-1A= = = I
- 1/2 1 1 4 0 1
NUMBERS MATRICES
(if a=0, a-1 is not defined) (if detA=0, A-1 is not defined)
NOTICE
38
TOPIC 1: NUMBER AND ALGEBRA Christos Nikolaidis
EXAMPLE 6
2 5 1 0 3 - 2
Let A= 3 2 0 , B= 0 - 4 3
4 3 0 1 14 - 11
a) Find AB and BA
Solution
39
TOPIC 1: NUMBER AND ALGEBRA Christos Nikolaidis
EXAMPLE 6
2 6 20 28
Let A= and C= . Find B given that AB=C
1 4 13 18
Solution
Method 1: (analytical)
a b 2 6 a b 2a 6c 2b 6d
Let B= . Then AB= =
c d 1 4 c d a 4c b 4d
2a 6c 2b 6d 20 28
=
a 4c b 4d 13 18
That is,
2a+6c=20 2b+6d=28
a+4c=13 b+4d=18
2 - 3
The matrix A is invertible with A-1 = .
- 1/2 1
40
TOPIC 1: NUMBER AND ALGEBRA Christos Nikolaidis
MATRIX EQUATIONS
A+X=B X=B-A
2A+X=3B X=3B-2A
1
-3A+2X=5B 2X=3A+5B X= (3A+5B)
2
AXB=C X=A-1CB-1
EXAMPLE 7
2 5 3 4
Let A= and B= .
1 3 1 2
41
TOPIC 1: NUMBER AND ALGEBRA Christos Nikolaidis
Solution
21 35 21/2 35/2
X = 1/2 =
8 19 4 19/2
(b) AX =B X = A-1B
3 - 5 3 4
X =
- 1 2 1 2
4 2
X =
- 1 0
(c) XA =B X = BA-1
3 4 3 - 5
X =
1 2 - 1 2
5 -7
X =
1 - 1
1 0 4 2
X = -
0 1 - 1 0
- 3 - 2
X =
1 1
42
TOPIC 1: NUMBER AND ALGEBRA Christos Nikolaidis
2x+3y=9
4x+7y=19
Let
2 3
A= the matrix of coefficients
4 7
x
X= the vector of unknowns
y
9
B= the vector of constants
19
2 3 x 9 2x 3y 9
= , that is =
4 7 y 19 4x 7y 19
5x+11y-21z = -22
x +2y -4z = -4
3x -2y +3z = 11
Again, if
5 11 - 21 x - 22
A= 1 2 4 X= y B= - 4
3 2 3 z 11
43
TOPIC 1: NUMBER AND ALGEBRA Christos Nikolaidis
AX=B
X=A-1B
EXAMPLE 1
2x+3y=9
4x+7y=19
2 3
Since detA= =2 0,
4 7
1 7 - 3 7/2 - 3/2
A-1= =
2 - 4 2 - 2 1
7/2 - 3/2 9 3
X = A-1B = =
-2 1 19 1
EXAMPLE 2
5x+11y-21z = -22
x +2y -4z = -4
3x -2y +3z = 11
44
TOPIC 1: NUMBER AND ALGEBRA Christos Nikolaidis
EXAMPLE 3
0 3 - 2 2 5 1 1 1 1
Let A= 0 - 4 3 , A΄= 3 2 0 , B= 1 , C= 1 1
1 14 - 11 4 3 0 1 1 1
Solution
a) We easily obtain AA΄=I. So A and A΄ are inverse to each other.
A΄= A-1
b) 3y -2z = 1
-4y +3z = 1
x+14y-11z = 1
2 5 1 1 8
c) AX=B X=A-1B X= 3 2 0 1 X= 5
4 3 0 1 7
That is x=8, y=5, z=7
2 5 1 1 1 8 8
d) AX=C X=A-1C X= 3 2 0 1 1 X= 5 5
4 3 0 1 1 7 7
45
TOPIC 1: NUMBER AND ALGEBRA Christos Nikolaidis
Notice though that if A is not invertible (A-1 does not exist) the
system AX=B cannot be solved in this way. In general,
detA 0
UNIQUE SOLUTION X=A-1B
(A-1 exists)
detA=0 NO SOLUTION, or
(A-1 doesn’t exist)
INFINITELY MANY () SOLUTIONS
a 0
b
1 Unique solution x= .
(a-1= exists) a
a
No solution
a=0 (e.g. 0x=5 has no solution)
(a-1 doesn’t exist) Infinitely many solutions
(e.g. 0x=0, true for any xєR)
EXAMPLE 4
Consider the systems
(a) x+2y=1 (b) x+2y=1
2x+4y=5 2x+4y=2
1 2
For both detA= =0,
2 4
so the systems have either no solution or an number of solutions.
46
TOPIC 1: NUMBER AND ALGEBRA Christos Nikolaidis
There are infinitely many solutions (all points of the line x+2y=1)
x
In fact, for each value of y we obtain a different solution :
y
1 -1 -3
for y=0: , for y=1: , for y=2: etc
0 1 2
For 3x3 systems with detA=0, the GDC gives the answer.
EXAMPLE 5
Consider the systems
(a) 2x +3y +3z = 3 (b) 2x +3y +3z = 3
x + y -2z = 4 x + y -2z = 4
5x +7y +4z = 5 5x +7y +4z = 10
2 3 3
For both systems detA 1 2 - 2 =0
5 7 4
The GDC gives
(a) the system has no solution.
(b) the system has infinitely many solutions
x = 14 + 16z
y = -5 + 7z
z R (free variable)
47
TOPIC 1: NUMBER AND ALGEBRA Christos Nikolaidis
x
For our purpose we express the point (x,y) as a vector .
y
a b
Let M= . Then
c d
a b x ax + by
=
c d y cx + dy
We call
x = ax + by
y = cx + dy
x x
In this way, M maps to
y y
1 2 1
For example, if M= , for the vector , we obtain
3 4 1
1 2 1 3
=
3 4 1 7
Thus, the matrix M maps the point A(1,1) to the point A΄(3,7).
In general,
1 2 x x + 2y x x + 2y
= i.e. =
3 4 y 3x + 4y y 3x + 4y
O(0,0) to O΄(0,0),
A(1,1) to A΄(3,7),
48
TOPIC 1: NUMBER AND ALGEBRA Christos Nikolaidis
It also maps
49
TOPIC 1: NUMBER AND ALGEBRA Christos Nikolaidis
k 0 horizontal stretch
0 1 with a scale factor of k
1 0 vertical stretch
0 k with a scale factor of k
k 0 enlargement,
0 k with a scale factor of k, centre (0,0)
EXAMPLE 1
3 0 x 3x
The matrix A= maps y to y . Indeed,
0 1
3 0 x 3x
=
0 1 y y
50
TOPIC 1: NUMBER AND ALGEBRA Christos Nikolaidis
EXAMPLE 2
Consider again the triangle OAB with O(0,0), A(2,0), B(1,1).
1 0 vertical stretch
0 2 with a scale factor of 2
enlargement,
2 0
with a scale factor of 2,
0 2
centre (0,0)
clockwise rotation
0 1
of angle θ=9Ο°
-1 0
about the origin
reflection
0 1
in the line y = x
1 0
(m=tan45°=1)
51
TOPIC 1: NUMBER AND ALGEBRA Christos Nikolaidis
COMPOSITION OF TRANSFORMATIONS
x
If vector is transformed
y
by matrix A,
then by matrix B,
then by matrix C,
we obtain
x x x x
֏ A ֏ BA ֏ CBA
y y y y
EXAMPLE 3
x
Let be transformed by
y
3 0
a horizontal stretch with a scale factor of 3: A=
0 1
0 1
and a clockwise rotation of angle θ=9Ο°: B=
-1 0
x 3 0 x 3x
Then ֏ =
y 0 1 y y
3x 0 1 3x y
and then ֏ =
y -1 0 y -3x
0 1 3 0 0 1
BA= =
-1 0 0 1 -3 0
Indeed,
0 1 x y
= .
-3 0 y -3x
52
TOPIC 1: NUMBER AND ALGEBRA Christos Nikolaidis
EXAMPLE 4
In Example 2, the original triangle OAB has area 1.
vertical stretch
detM=2
1 0
M=
0 2 Area of image = 2
enlargement
detM=4
2 0
M=
0 2 Area of image = 4
detM=1
0 1
M=
-1 0 Area of image = 1
Reflection in y = x
detM=-1
0 1
M=
1 0 Area of image = 1
53
TOPIC 1: NUMBER AND ALGEBRA Christos Nikolaidis
AFFINE TRANSFORMATIONS
We can extend the linear transformations described in this
e
paragraph by also adding a translation vector :
f
a b x e ax + by e ax + by + e
+ = + =
c d y f cx + dy f cx + dy + f
a b
If is the identity matrix, we simply have a translation
c d
x e x + e
+ =
y f y+f
These transformations are known as affine transformations.
EXAMPLE 5
The transformation
1 0 x 3 x 3 x +3
+ = + =
0 1 y 5 y 5 y+5
translates each point (x,y)
horizontally by 3 units to the right
vertically by 5 units up
For example, the image of the point (1,2) is the point (4,7).
EXAMPLE 6
The transformation
1 2 x 5 x + 2y + 5
+ =
3 4 y 6 3x + 4y +6
maps
0 5 1 6 1 8
֏ , ֏ , ֏ , etc.
0 6 0 9 1 13
54
TOPIC 1: NUMBER AND ALGEBRA Christos Nikolaidis
Consider
1 3
A
4 2
3
Observe what happens when we multiply Α by vector u .
4
1 3 3 15 3
Au 5 5u
4 2 4 20 4
Au λu
Notice that
a b
For a 22 matrix A , the expression det(A λI) is
c d
aλ b
= (a-λ)(d-λ)-bc=0 = λ2-(a+d)λ+ ad-bc
c dλ
55
TOPIC 1: NUMBER AND ALGEBRA Christos Nikolaidis
In practice:
We find the eigenvalues by solving det(A λI) 0
For each eigenvalue λ, we solve the corresponding system
(A λI)X =0
to find the eigenvectors.
EXAMPLE 1
1 3
Consider again A
4 2
1λ 3
det(A λI) = = λ 2 3λ 10
4 2λ
-4 3
For λ 5 , the determinant becomes . Solve the system
4 -3
- 4x 3y 0
4x 3y 0
In fact, it is enough to use the 1st equation to find the ratio x/y:
x 3
- 4x 3y 0 4x 3y
y 4
The corresponding eigenvectors are
x 3 3
t [i.e. as well as all its multiples)]
y 4 4
3 3
For λ 2 , the determinant becomes . Solve the system
4 4
3x 3y 0
4x 4y 0
56
TOPIC 1: NUMBER AND ALGEBRA Christos Nikolaidis
NOTICE
3 1
The matrix A has only one eigenvalue, λ 4 (check!)
1 5
So there is only one eigenvector (together with all its multiples).
x - 1
t
y 1
- 1 1
The matrix A has no real eigenvalues (check!).
2 1
So there are no eigenvectors with real coefficients.
These two cases are out of the scope of this course. We only
consider matrices with two distinct eigenvalues.
DIAGONALISATION
For two matrices A and B we say that B is similar to A if
B P 1 AP
NOTICE
A ∼ B: any matrix is similar to itself, since A I 1 AI
57
TOPIC 1: NUMBER AND ALGEBRA Christos Nikolaidis
The matrix
1 3
A
4 2
3 - 1
t and t
4 1
Let
5 0 3 1
D and P
0 2 4 1
Then
P 1 AP = D
1 1 1 3 3 1 5 0
P 1 AP 7 7
4 3 4 2 4 1 0 2
7 7
NOTICE.
We could also consider the eigenvalues in the opposite order.
Then
- 2 0 - 1 3
D and P
0 5 1 4
and finally
- 2 0
P 1 AP
0 5
58
TOPIC 1: NUMBER AND ALGEBRA Christos Nikolaidis
λ n 0
Dn 1
0 λ 2
n
EXAMPLE 2
1 3
For A , find an expression of A n in terms of n.
4 2
Diagonalization gave us
A PDP 1
where
5 0 3 1 1 1 1
D , P , P 1
0 2 4 1 7 4 3
Then
A n PD n P 1
3 1 5 n 0 1 1 1
4 1 0 ( 2) n 7 4 3
1 35 n ( 2) n 1 1
7 4 5 n ( 2) n 4 3
1 3 5 n 4 (2) n 3 5 n 3 ( 2) n
7 4 5 n 4 ( 2) n 4 5 n 3 ( 2) n
For example
59
TOPIC 1: NUMBER AND ALGEBRA Christos Nikolaidis
is
1λ 3
det(A λI) = = λ 2 3λ 10
4 2λ
A well-known result (known as Cayley-Hamilton theorem) says
that the matrix A satisfies the characteristic equation
A 2 3A 10 I O .
(where I is the identity matrix).
Indeed,
2
1 3 1 3 1 0
A 2 3A 10 I 3 10
4 2 4 2 0 1
13 9 3 9 10 0 0 0
=
12 16 12 6 0 10 0 0
1
A 1 (A 3I)
10
A 2 3A 10 I O A 2 3A 10I
etc.
60