Introduction To Linear Algebra
Introduction To Linear Algebra
Faculty of Education
Department of Mathematics
Introduction to linear
Algebra
1
Chapter (1)
Linear Equations
… … … … …
am1x1 + am2 x2 + … + a m n x n = b m
2
m equalities. Such a list x1, …, xn of numbers is called a solution
of (1-1).
1. x1 + x2 = 1
x1 - x2 = 0 0
2. X1 – 2X2 + 3 X3 = 0
3
3. x1 - 2 x2 + 3 x3 = 1
2 x 2 + x3 = 0
Both the second and third linear systems has infinitely many
solutions.
4
4. x1 + x2 = 1
4x2 = 1
x1 + 4x2 = 1
5. x1 –x2 = 1
2x1 + 2x2 = 1
6. x1 - x2 + x3 = 1
All three linear systems given above are inconsistent. One of the
techniques for finding the solutions of a system of linear
equations is the technique of eliminations. We can illustrate this
technique on the following system.
x – y + 2z = 15
3x+y+z=4
-2x + 2y + z = -5
5
If we add (-3) times the firs equations and adding to the second;
(+2) times the first equation and then add to the third equation,
we obtain:
x- y + 2z = 15
4y – 5z = -41
5z = 25
Example:
x + 2 y – 2z +3w = 2
2 x + 4y – 3z + 4w = 5
5x + 10y – 8z + 11 w = 12
Solution:
(-2) times the first equation and adding the second, (-5) times
the first equation and add to the third equation, we obtain
6
x + 2y – 2 z + 3 w = 2
z -2w = 1
2z–4w=2
Then, (-2) times the second equation and add to the third
equation, we get:
x + 2y – 2 z + 3 w = 2
z - 2w =1
The system is consistent, and since there are more variables than
equations, the system has an infinite number of solutions.
In fact there are two free variables. Let the free there are two
free variables be assigned arbitrary value; say, y = a and w = b.
into the second equation, we obtain z= 1+ 2b. Putting y = a, z=1
+ 2 b and w = b into the first equation, we find X = 4 – 2a +b.
thus the general solution of the system is
(4 − 2a + b, a,1 + 2b, b ) : a, b R.
7
Example:
3x1 + 2x2 + x3 = 2
x1 – x2 – 2x3 = -3
Solution:
(-3) times the second equation and adding to the first equation,
(- a) times the second equation and add to the third equation, we
obtain.
x1 – x2 – 2x3 = -3
5x2 + 7x3 = 11
(a-2) x2 + (2a+ 2) x3 = 3a + 6
x1- x2- 2 x3 = -3
7 11
x2 + x3 =
5 5
8
7
− 5 (a − 2) + (a + 2) x3 = − 5 (a − 2) + 3a + 6
11
7
− (a − 2) + (2a) + 2 = 0
5
and
11
− (a − 2) + 3a + 6 0
5
9
Exercises
(i) 2X + y – 2z = 10,
3X + 2y + 2X = 1,
5X+ 4y + 3z = 4.
(ii) 2X – 3y + 6z +2 v – 5 w = 3,
Y – 4z + v = 1,
v - 3w = 2.
(iii) X + 2y – 3z = 1,
3X – y + 2 z= 7,
5 X+3y – 4z =2
X + 2y – 3 z =a
2X + 6y – 11z = b,
X – 2y + 7z =c.
10
3- Determine the value of a so that the following system has:
(i) No solution,
X + y – z = 1,
2X + 3y + az = 3,
X +ay + 3z =2
3X - 7y - 2z + 4w = 0,
4X – 3y- 5z + 2w=0
(ii) X + 2y – 3z = 0,
2X +5y + 2 z = 0,
2X +5y +2z = 0,
3X – y – 4z = 0
2X +5 y + 2z = 0,
11
X +4y + 7z = 0,
X +3y + 3z = 0
12
(1-2) Matrices and system of linear equations:
a m1 X1 + a m2 X2 + … + amn X2 = bm
13
Row equivalence and elementary row operations:
Definition:
Definition:
(i) The zero rows, if any, are below all non- zero rows, and.
(ii) The first non- zero entry in any row is to right to the first
non-zero entry of the pervious row
14
Definition:
(i) A matrix us row echelon from with 1 as. The first non- zero
entry in each non- zero and.
(ii) The first non zero entry in each row is the only non- zero
entry of its column.
2 3 7
1 2 1 2 0
0 , , 1 ,
3 0 0
0
0 0 0
− 1 0 0 1 2 3 4
0 1 0 , 0 2 5 6
0 0 5 0 0 0 1
2 3 1 −1 0
0 0 0 2 1
0 0 0 4 0
0 0 0 0 1
are in row echelon from, but non except the second matrix is in
reduce row echelon form
15
2 −3 7 5
1 −1 1 −1
A=
1 1 −8 5
4 −3 0 5
To echelon form
Solution:
R1 R2 and R2 → −2 R1 + R2 , R3 → − R1+ R , R4 → −4 R1 + R4 ,
3
then we obtain
1 −1 1 − 1
−3 5
R1 R2 2 7
R → −2 R + R
A ⎯⎯ ⎯ ⎯ ⎯→
1 1 −8 1 ⎯⎯
2 ⎯ ⎯1⎯⎯
2→
R3 → − R1 + R3
4 −3 0 5 R4 → −4 R1 + R4
1 − 1 1 − 1 1 − 1 1 − 1 1 − 1 1 − 1
0 − 1 5 7 0 − 1 5 7
R3 → 2 R2 + R3 R4 → − R3 + R4 0 − 1 5 7
⎯⎯
0 2 − 9 2 ⎯⎯ ⎯ ⎯ ⎯ ⎯→ 0 0 1 16 ⎯ ⎯ ⎯ ⎯⎯→0 0 1 16
R4 → R2 + R4
0 1 − 4 9 0 0 1 16 0 0 0 0
Example:
X1 + X2 + 2X3 = 6
3X1 + 4X2 – X3 = 5
16
5 X1 + 6X2 + 3X3 = 17
Solution:
1 1 2 6 1 1 2 6
R → −3 R + R
3 4 − 1 5 ⎯⎯ 2 ⎯⎯⎯1 ⎯ 0 1 − 7 − 13 R3 → − R2 + R3
⎯→
2 ⎯⎯ ⎯ ⎯ ⎯ ⎯→
5 6 3 17 R3 → −5 R1 + R2 0 1 7 − 13
1 1 2 6
0 1 − 7 − 13
0 0 0 0
Hence we get the following new system which is equivalent to
the original system:
X1 + X2 + 3X3 = 6
X2 – 7X3 = -13
(19 − 9t ,−13 + 7t , t ) :t R
17
Example:
X1 – X2 + X3 –X4 = 1
Solution:
1 −1 1 − 1
−3 5 R → −2 R + R
R1 R2 2 7
A ⎯⎯ ⎯ ⎯ ⎯→
1 ⎯⎯ ⎯ ⎯ ⎯ ⎯
2 1 ⎯ 2→
1 1 −8
R → − R + R3
4 −3 0 5 R3 → −41R + R
4 1 4
1 − 1 1 − 1 1 − 1 1 − 1
0 − 1 5 7 R →2R + R 0 − 1 5 7
3 → R4 → − R3 + R4
0 2 − 9 2 ⎯⎯ 3 ⎯ ⎯2⎯ ⎯
0 0 1 16 ⎯⎯ ⎯ ⎯ ⎯ ⎯→
R4 → R2 + R4
0 1 − 4 9 0 0 1 16
1 − 1 1 − 1
0 − 1 5 7
0 0 1 16
0 0 0 0
18
Example:
X1 + +X2 +2X3 = 6
3X1 + 4X2 – X3 = 5
Solution:
1 1 2 6 1 1 2 6
R2 → −3R1 + R2
−1 5
3 4
⎯⎯ ⎯⎯⎯⎯ ⎯→ 0 1 − 7 − 13
5 6 3 17 R3 → −5 R1 + R2 0 1 7 − 13
1 1 2 6
0 1 −7 − 13
⎯⎯ ⎯ ⎯ ⎯ ⎯⎯→
R3 → − R2 + R3 0 1 −7 − 13
0 0 0 0
X1 + X2 + 2X3 = 6
19
X2 – 7X3 = -13
Example:
X1- X2 + X3 – X4 = 1
Solution:
2 −3 7 5 7
1 −1 1 − 1 1
to the echelon form
1 1 −8 1 0
4 −3 0 5 0
1 −1 1 − 1 1
0 −1 5 7 5
0 0 1 16 9
0 0 0 0 8
20
X1 – X2 +X3- X4 = 1
- X3 + 16X4 = 9
0=8
21
Exercises
1- Reduce the following matrices into (i) row. (i) row echelon
from and (ii) reduce row echelon
form
2 3 4 5 0 0 0
(i ) 1 0 − 1 0 (ii) 0 1 2
3 1 0 0 0 0 1
22
4-Solve each of the following linear system, if consistent:
2X1 +2X3+3X4 =3
4 −1 −1 0 0 1
− 1 4 −1 −1 0 2
− 1 −1 4 −1 − 1 3
0 −1 −1 4 − 1 4
0 −1 −1 4 5
0
23
(1-3) Elementary and Invertible matrices:
Example:
1 0
Let I =
0 1
0 1 0
=
E12 E 2(1)=
1 0
0 1
1
E (2) =
1 0
E1+ 2( 2) =
0 0 1
1 0
E 2 + (1) = ≠ 0
1
24
Example:
2 3 1
Let A = be 2× 3 matrix
4 1 2
Interchange row (1) and row (2) of A (R1 R2) gives the
4 1 2
matrix B =
2 3 1
1 0
Interchange row (1) and row (2) of I = gives the matrix
0 1
0 1 0 1 2 3 1 4 1 2
EA = , them we get EA = 4 1 2 = 2 3 1 = B
1 0 1 0
Example:
1 2 − 1 4
Let A = 2 1 3 0
1 3 3 − 1
1 2 − 1 4
B = 0 − 3 5 − 8
0 1 4 − 5
25
Note that: EA =B.
Example:
1 2 3 − 1
Let A = 3 5 8 − 2 find a matrix (P) such that the product
1 1 2 0
Solution:
1 2 3 − 1 1 2 3 − 1 1 2 3 − 1
3 5 8 − 2 R −3R R −
3 2
R
⎯⎯2 ⎯⎯1 → 0 − 1 − 1 1 ⎯⎯ ⎯ ⎯→0 − 1 − 1 1
1 1 2 0 R3 R1 0 − 1 − 1 1 0 0 0 0
, which is in row echelon from so (P) is the product of
elementary matrices corresponding to these elementary
operations, i.e P = E3+(-1)2 • E3+(-1)1• E2+(-3)1 thus
1 0 0 1 0 0 1 0 0
P = 0 1 0 0 1 0 − 3 1 0 to verify, we compute PA.
0 − 1 1 − 1 0 1 0 0 1
26
Remark:
The matrix (p) can be obtain from the identity matrix (I) by
performing successively the operations R2 – 3R1, R3 –R1 and
R3 –R2 in this order, as shown below:
1 0 0 1 0 0 1 0 0 1 0 0
0 1 0 ⎯⎯2⎯ ⎯
R − 3 R R −
1 →− 3 1 0 ⎯⎯3⎯⎯R R −
1 →− 3 1 0 ⎯⎯3⎯ ⎯ R2 → − 3 1 0
⎯
0 0 1 0 0 1 − 1 0 1 2 − 1 1
1 0 0
so P = − 3 1 0
2 − 1 0
Theorem:
Theorem:
27
Procedure for computing the Inverse:
Example:
1 3
Let A =
2 − 4
Now
1
1 3 1 0 R2 + (−2) R1 1 3 1 0 − R2 1 3 1 0
⎯⎯ ⎯ ⎯ ⎯ ⎯ → ⎯⎯ 10
⎯ ⎯→ 1 1
− − − −
2 4 0 1 0 10 2 1
0 1
5 10
2 3
R1 + (−3) R1 1 0 5 10
⎯⎯ ⎯⎯⎯ ⎯→
1 1
0 1 −
5 10
Thus
2 3
10
A −1 = 5
1 1
−
5 10
Example:
3 − 1 4
Let A = 0 2 1
1 − 1 − 2
28
By performing the elementary row operations on
3 − 1 4 1 0 0 2 3
, we get −1 = 5 10
0 2 1 0 1 0 A 1 1
1 − 1 − 2 0 0 1 −
5 10
Example:
3 − 1 4
Let A = 0 1 1 by performing the elementary row
1 − 1 − 2
1 1 1
3 − 1 4 1 0 0 6 3 2
1 1
−1
operations on 0 2 1 0 1 0 , we get A = −
5
1 − 1 − 2 0 0 1 8 9 6
1 −
1
−
1
9 9 3
Example:
29
Exercises
A
1 1 1 1
2 3 1 2
(i) (ii) 1 1 2 6
1 − 1 3 2 A= 3 4 − 1 5
− 1 1 1 2
(iii) 1 3 − 1 1
A = 2 5 1 5
1 1 1 3
1 1 2 1
3 − 2 1 2 −1
1 2
(a) 1 − 1 2 (b)
− 1 2 1 − 2
1 0 − 2
1 −1 1 − 1
30
1 2 3 1
0 2 5 2
(c)
2 1 − 3 0
− 1 0 5 1
31
(1-4) Vectors in R
(c, d) (a + c, b +d)
ka, kb
س ku
U +س
(a, b)
u u (a, b)
32
(ii) Scalar multiplication: if (a, b) is the endpoint of the vector
U, then (ma, kb) will be the endpoint of the vector ku, as above.
Vectors in Rn:
Example:
1
Consider the following vectors (0.1), (1.-3), (1,2, 3 ), (-5, , )
5
The first two vectors are in R2 and the last two vectors are in R3
Equal vectors:
33
Example:
Then
X–y=4
X+y=2
Z – 1 =3
34
Example:
iii) U + (- U) = o iv) U + V = V +U
35
Dot product:
Example:
Let U = (1, -2, 3, -4), V = (6, 7, 1, -2) and w = (5, -4, 5, 7) then
U.V = 1.6 + (-2). 7 + 3.1 + (-4)(-2) = 6-14 + 3 + 8 = 3
36
Norm and Distance in Rn:
Example:
d (U ,V ) = (1 − 3) 2 + (−2 + 1) 2 + (4 + 5) 2 + (1 + 0) 2 = 95
V = 32 + 12 + (−5) 2 + 0 2 = 35
P = a2 + b2
plan R2, then and d ( P, q) = (a − c) 2 + (b − d ) 2
p = ( a, p )
b−d (a − c) 2 + (b − d ) 2
( a, b)
a2 + b2
b
a−c
a 37
A similar result hold for vectors on the line R and in the space
R3.
Remark:
same direction of U.
inequality, we can define the angle between any two non- zero
U .V
vectors U, V Rn by cos =
U •V
38
Exercises
4. Let e1= (1, 0, 0), e2 = (0, 1, 0), e3= (0, 0, 1) show that for any
vector U= (a, b, c) in R3"
(i) U = (1, 7), V = (6, -5) (ii) U = (3, -5, 4), V = (6, 2, -1).
39
Chapter (2)
Vector spaces
Definition:
Such as:
(i) ( + ) u = u + u,
(ii) (u + v) = u + v,
40
(iv) 1.u = u
Example (1):
(x1 , y1) + (x2 , y2) = (x1 + x 2., y1 + y2) , (x1 , y1) = ( x1, y1)
(x1, y1), (x2, y2) R2, R. then R2 is vector space over R.
Example (2):
Example (3):
Let F be any field and let m and n be positive integers. Let F m×n
be the set of all m×n matrices over the field F. Then Fm×n is a
vector space over F with respect to the operations of matrix
addition and scalar multiplication observe that F1×n = Fn
41
Example (4):
Let F be a field and let x be any non-empty set. Let V be the set
of all functions from X to F, i.e V = f : f: X → F the sum of
two vectors f, g v is the vector f +g, i.e a function from X to
F, defined by (f + g) (a) = f(a) + g(a), a x.
Example (5):
Let F be a field and let v be the set of all elements of the form
f(x) = a0 + a1x + …..+ anxn, where a1, ….., an F, and x is
indeterminate. This type of an element is called a polynomial in
x over F. let f(x) = a0 + a1x + …..+anxn, g (x) = b0 + b1x + ….+
bmxm be two vectors of v, where m n. the addition of f(x) and
g (x) is defined by:
42
f (x) = ( a0) + ( a1)x + …. + (an)xn one can easily show that
v is a vector space over F.
Example (6):
Remark:
(i) 0 = 0, F
(ii) ou = o , u V
43
(2.2) Subspaces:
Definition:
Theorem:
W is a subspace of V iff
Examples:
2. In R2, the set (x, 0): x R is a subspace but the set (x, 1):
x R is not a subspace.
44
4. Let V be the vector space of all n × m matrices then the set of
those matrices A = (aij) for which aij = aij, called symmetric
matrices, is a subspace of V.
Remark:
Example:
Definition:
Let V be a vector space over a field F, and let v1, v2, ….., vnV.
Any expression of the form.
45
n
1v1+ 2v2 + …..+ nvn = i vi where 1, 2, …., n F, is
i =1
called a linear combination of the vectors v1, v2, ….., vn
Example:
Example:
Definition:
46
shall say simply W the subspace spanned by the vectors v 1, …..,
vn.
Definition:
If S1, S2, ….., Sk are subsets of a vector space v, the set of all
sums, S1 + S2 + … + Sk, of vectors si in Si is called the sum of the
subsets S1, ….., Sk and is denoted by S1 + S2 + …..+ Sk.
Theorem:
Example:
Thus
47
w = (1, 22, 2, 31 + 42, 3): 1, 2, 3 F .
or
Example:
Let R be the field of real numbers, we can prove that the vectors
u = (1, 2, 3), v = (0, 1, 2), w = (0, 0, 1) generate the vector space
R3. If (x1, x2, x3) R3 and 1, 2, 3 R such that (x1, x2, x3) =
1u + 2u + 3w = (1, 22+ 2, 31+22 +3)
1 = x1 , 2 = x2 – 2x1, 3 = x3 -2x2 + x1
Hence
Therefore
R3 = L (u, v, w).
48
Example:
Example:
x y
W1 = : x, y , z
z o
x o
W2 = : x, y
o y
x o
Also: V = w1 + w2, and w1 w2 = : x R .
o o
Definition:
49
Example:
1 2 7
Let A = 2 5 2 be a matrix over R Find the subspace
− 1 3 3
Solution:
1, 2 ,3 R
Thus:
W = v = (x1, x2, x3, x4): x1= 1 +22- 3, x2 = 21 +5d2 + 3d3, x3
= 71+ 2 2 +23+ 1, 2,3 R
Thus
(1, -1, 2) w if
1 = 1 + 21 +-3
50
By using Gaussian elimination method one can solve this
system and hence we conclude that (1, -1, 2) w
51
Exercises
1- Let V be the set of all real sequences, i.e V- (x1, x2, …..): x1,
x2, …… R. Define: (x1, x2, …...), (y1, y2, …...) V,
R (x1, x2, …..) + (y1, y2, …...) = (x1 + y1, x2 + y2 ,……) and
(x1, x2, …..) = (x1, x2, …..) show that V is a vector space
over R.
52
6- Show that the set of all solutions of a given linear
homogeneous equations, e.g. 3x – y + z = 0, x, y, z R, is a
vector space over R.
(ii) (a, b) + (c, d) = (a, b), k (a, b) = (ka, kb), (a, b) , (c, d)
V, k R.
53
(ii) W = A V : A2 = A
(iii) W = A V : A = 0
3 1
(iv) v = the set of all 2 × 2 – matrices over R as a
− 1 1
1 1 0 0
linear combination of the matrices A = , B =
1 0 1 1
0 2
C =
0 − 1
13- Show that the vectors u = (1, 2, 3), v = (0, 1, 2), w = (0, 0, 1)
generate R3
54
1 1 3 1
14- Let A = 2 1 5 4 be a matrix over R.
1 2 4 − 1
(i) Find two vectors other than the rows of A in the space
spanned by the rows.
U = a0 + a2 x 2 + a3x3 : a0 , a2 , a3 R
Show that:
(ii) V = U + W.
55
(2-3) Basis and Dimension:
Definition:
Example:
In the vector space R3. The vectors: v1 = (1, -2, 5), v2 = (0, 4, -3)
and v3 = (2, -8, 13) are linearly dependent since
-2v1 + v2 + v3 = 0
Example:
56
(0, 0, 0) = (6a, 2a,+ 5b, 3a- 3b + 7c, 4a + b-2c)
6a =0
2a + 5b =0
3a – 3b + 7c =0
4a + 6 – 2c =0
Hence, we obtain a = b= c = 0
Example:
1 2 3 − 1 1 − 5
v1 = , v = , v =
2 2 2 3 − 4 0 are linearly department,
3 1
since, let 1, 2,3 R , such that 1v1+ 2v2 + 3v3 = 0 then
1 2 1 3 2 −2 3 − 53 0 0
+ + = we obtain:
3
1 1 2 2 2 2 − 4 3 0 0 0
1 + 31 + 3 =0
21 - 2 - 53 =0
57
1+ 22 =0
1 3 1 1 3 1 1 3 1
2 − 1 − 5 0 − 7 − 7 0 − 7 − 7
→ →
3 2 − 4 0 − 7 − 7 0 0 0
1 2 0 0 − 1 − 1 0 0 0
This implies that the vectors v1, v2, v3 are linearly department.
Remark:
58
Theorem:
Example:
Solution:
Definition:
1- B is linearly independent.
59
Example:
Example:
Example:
Example:
60
Solution:
Theorem:
Theorem:
Definition:
Example:
61
3- The vector space of all real polynomials of degree n has
dimension n + 1.
Theorem:
Theorem:
Proof:
62
Theorem:
Example:
Sol:
1 2 0 1 2 0 1 2 0
4 1 −1
1 2 0 − 7 2 R − R
3 →0
− 4 R1 + R2 ⎯⎯2 ⎯ ⎯⎯
− 1 − 3 1 ⎯⎯ ⎯ ⎯⎯→ 0 − 1 1 0 −7 2
R1 + R3 −3R1 + R4
− 1 − 5 0 − 5 − 5 0 −5 −5
1 2 0 1 2 0 1 0 0
1 −1 0 1 −1 0 1 0
7 R2 + R3 0 R3 − 1 R3 R3 + R2
⎯⎯ ⎯ ⎯ ⎯→ 0 0 − 5 ⎯⎯ ⎯ ⎯5⎯⎯→ 0 0 1 ⎯⎯ ⎯⎯→ 0 0 1
5 R2 + R4 10 R3 + R4 − 2 R2 + R1
0 0 − 10 0 0 0 0 0 0
63
Thus 1 = 2 =3 = 0 and hence S is linearly independent set
and form a basis of W.
Example:
Let v1 = (3, -2, 2, -1), v2 = (2, -6, ), v3 = (4, 8, -4, -3), v4 = (1, 10,
-6, -2), v5 = (1, -1, 8, 5), v6 = (6, -2, 4, 8).
Let S = L (v1, v2, v3, v4) and T = L (v4, v5, v6) be subspaces
of R4. Find bases of S, T and S + T.
Solution:
3 2 4 1 1 0 0 − 1
− 2 − 6 8 10 0 1 0 0
→
2 4 − 4 − 6 0 0 1 1
− 1 0 − 3 − 2 0 0 0 0
This implies that the vectors are linearly dependent and one of
the vectors v1, v3 or v4 can be expressed as a linear combination
of the others. So we now omit one of them and check for linear
independence of the removing vectors. say v1, v2, v3. Hence, we
prove that v1, v2 and v3 are linearly independent.
64
To find a basis of T we need to find a maximal subset of linearly
independent vectors of the set v4, v5, v6.
1 1 6 1 0 0
10 − 1 − 2 0 1 0
→
− 6 8 4 0 0 1
− 2 5 8 0 0 0
0 − 1 0 − 66 4
3 2 4 1 1 6 1 0 7
− 2 − 6 8 10 − 1 − 2 0 1
7
0 0 0 53 5
→
2 4 −4 −6 8 4 0 0 1 1 0 23 6
7
−1 0 − 3 − 2 5 8 0 0 0 0 1 20
7
Thus v1, ….., v6 are L.D and so we drop v6 and then drop v4.
Hence v1, v2, v3, v5 is linearly independent and so a basis for S
+T.
65
Exercises
0 1
5. For the matrix A = 1 1 find the dimension of:
2 3
66
(ii) The subspaces of R3 spanned by the columns of A.
V = (a, b, c, d): b- 2c + d = 0
W = ( a, b, c, d): a = d, b= 2c
67
Chapter (3)
Linear transformation
Definition:
Example:
Example:
Example:
68
Example:
Example:
Remark:
Example:
69
Theorem:
Let V be finite dimensional vector space over the field F, and let
v1, ……, vn be a basis for V. let W be a vector space over the
same field F, and let W1, ….., Wn be any vectors in W. Then
there exists a unique linear transformation T: V → W such that
T(vi) = wi, i = 1, ….., n.
Example:
a = 1 + 22
b= 32
Then 2 = 13 and 1 = a - 2 3 b
Now
And
70
T (a, b) = (a - 2 3 b) T (1, 0) + 13 b T (2, 3)
= (a - 2 3 b) (1, 1, 0) 13 b (-1, 1, 1)
= (a –b, a- 13 b, 13 b).
Example:
Find (2, 3, 4)
Solution:
Since (1, 0, 0), (1, 1, 1), (1, 0, 1) are linearly independent and so
basis for R3. Since (2, 3, 4) = -2 (1, 0, 0) + 3 (1, 1, 1) + (1, 0, 1)
then T (2, 3, 4) = -2 (1, 1, 1) + 3 (0, 1, 1) + (0, 0, 0) = (-2, 1, 1).
Remark:
71
Definition:
Theorem:
Example:
Solution:
Let (x1, x2) ker T T (x1, x2) = (0, 0, 0). Thus (x1, x1 +
x2, x1 + x2) = (0, 0, 0) hence x1 = x2 = 0, and therefore ker T =
0 nullity (T) = 0. Since dim R2 = nullity () T rank (T). 2 = 0
+ rank (T). then rank (T) = 0
Example:
72
T (x1, x2, x3, x4) = (x1 - x2 + x3 + 2x4, -x1 +4x2 – x3 +x4). Find a
basis and the dimension of ImT and Ker T.
Solution:
1 − 1 1 − 1 1 − 1
Now − 1 4 → 0 3 → 0 1 thus rank (T) = 2 and (1, -
2 1 0 3 0 0
3 x2 + 3 x4 = 0
73
Put (ii) x3 = 1, x2 = 0, then x4 = -1, x1= 1
Remark:
Example:
Solution:
Let U = (a1, b1, c1, d1) and v = (a2, b2, c2, d2) be in R4 and R,
then u + v = (a1 + a2, b1+ b2, c1+c2, d1+d2)
= (a1 + b1, 2a1 –c1, c1-d1, d1) + (a2+ b2, 2a2 – c2, c2-d2, d2).
= T (u ) + t (v).
74
Then
1 1 0 0 1 1 0 0 1 1 0 0
2 0 − 1 0 0 − 2 − 1 0 0 1 1 0
→ → 2
0 0 1 − 1 0 0 1 − 1 0 0 1 − 1
0 0 0 1 0 0 0 1 0 0 0 1
Then rank T = 4, and we take (1, 2, 0, 0), (1, 0, 0, 0), (0, -1, 1,
0), (0, 0, -1, 1) is a basis of ImT.
4 = 4 + nullity (T)
Example:
75
Solution:
= (x + y- z, 1x +y – t, 0).
1 2 0 1 2 0 1 2 0
1 1 0 0 − 1 0 0 − −1 0
→ →
− 1 0 0 0 2 0 0 0 0
1 −1 0 0 − 3 0 0 0 0
76
Im(T) = L (1, 2, 0), (0, -1, 0)
77
Exercises
0, 0, 1 = 2
78
(c) T: R3 → R2 defined by T (x, y, z) = (x + y, y, z)
79
(3.2) Matrix representation of a linear operators
Definition:
Definition:
80
a11 a21 ..... an1
a a22 ..... an 2
T 2 = 12
..... ..... ..... .....
a1n a2n ..... ann
Example:
3 − 2
Therefore: T f =
1 2
Example:
81
D (x3) = 3x2 = 0.1 + 0.x + 3.x2 + 0.x3
0 1 0 0
0 0 2 0
DB =
0 0 0 3
0 0 0 0
Definition:
Remark:
82
T if this subspace is different from the zero subspace , i.e when
(T =I) is not one – one.
Theorem:
Example:
Example:
Definition:
83
The matrix (A- I) is called the characteristic matrix of A. Its
determinant A- I , which is a polynomial in , is called the
characteristic polynomial of A. The equation A- I = 0, is
called a characteristic equation of A. Therefore F is a
characteristic value of A iff is a root of the characteristic
equation of A.
Example:
1 − 3 3
A = 3 − 5 3
6 − 6 4
1− 3 3
A − I = 3 −5− 3 = 3 − 12 − 16
6 −6 4−
Definition:
84
Example:
Solution:
2 1 0
A = T e = 0 1 − 1
0 2 4
2− 1 0
A − I = 0 1− − 1 = −( − 2) 2 ( − 3)
0 2 4−
0 1 0 x 0
0 − 1 − 1 y = 0
0 2 2 z 0
85
Thus, y -0 , y + z =0, and the solution of this system is V = (a, 0,
0), a R. The characteristic space associated with =2 is of the
form V2 = (a, 0, 0): a Rand (21, 0, 0) is a basis of V2, i.e
V2 = L (1, 0, 0)
(ii) If = 3, we have:
− 1 1 0 x 0
0 − 2 − 1 y = 0
0 2 1 z 0
Thus –x +y = 0, 2y +z =0.
86
Exercises
2 1 0 1 3 6
1 2 0 2 − 1
a) b) 0 3 1 c)
− 1 4
0 0 1 0 0 7
1 − 3 3 − 3 1 − 1
− 7 5 − 1
d) 0 − 1 2 e)
0 − 3 4 − 6 6 − 2
3 − 1 1 − 1
2. Let A = and = 2 − 1 . Find all characteristic values
1
B
1
and the corresponding characteristic vectors of A and B
viewed as matrices over (i) R, (ii)
87
Properties of characteristic values:
1 0 ..... 0
0 ..... 0
−
P AP =
1 2
..... ..... ..... .....
0 0 ..... n
88
Example:
1 − 2 0
A = 1 − 1 2
0 1 1
Solution:
2
The eigen values of A are 1, 1 and -1 and V = 0 is an eigen
− 1
2 0 0
P = 0 1 0 whose columns are that vectors chosen above. It
− 1 0 1
1 − 1 0
can be verified that P −1 AP = 0 − 1 2 which is in the desired
0 0 1
from.
Remark:
89
Exercises
2 3 1
1. If A = 0 a 0 and the sum of the eigen values is 3. Find
0 0 1
5 0 0
2. Let A = 6 a 0 find a and b if the trace of A is 5 and the
7 8 6
1 − 3 3 4 0 1
2 2 3
a) 0 − 1 2 b)
0 − 3 4 − 1 0 2
0 1 00
0 0 1 0
4. Reduce the matrix to a triangular matrix
0 0 0 1
− 1 4 − 6 4
90