Professional Documents
Culture Documents
Linear Algebra
Formula
f x x 2
f x, y
f x, y x 2 y 2
f x1 , x2 , , xn
Function from
R n to R
w1 f1 x1, x2 , , xn
4
3
1
3
1 5
2 0 5 1 1 8
xn2
Ax:= b
Matrix A is an object acting on x by multiplication to
produce a new vector Ax or b.
Example
w2 f 2 x1, x2 , , xn
wm f m x1 , x2 , , xn
Function from
R 2 to R
Function from
R 3 to R
Introduction
Function from R to
R
f x , y , z x 2 y 2 z 2
Linear Transformations
Description
f x
f x , y , z
Linear Transformations
Example
Ax
3
b
4
Introduction
Introduction
Multiplication by A
A mn x = b
=>
T : n m
Matrix Transformation
Introduction
Example
a.
b.
c.
d.
1 3
3
3
2
A 3 5 , u , b 2 , c 2
Let
1
1 7
5
5
and define a transformation T:R2 ->R3 by
T(x)=Ax, so that
1 3
x1 3x2
x1
T ( x) Ax 3 5 3x1 5 x2
x2 x 7 x
2
1 7
1
9
10
Solution
a.
1 3
5
2
T(u) = Au 3 5 1
1
1 7
9
1 3 3 1 3 3 1 0 1.5
3 5 2 0 14 7 0 1 0.5
1 7 5 0 4 2 0 0
0
Hence
1 3
3
3 5 x1 2
x
2 5
1 7
1.5
x1 1.5, x2 0.5, and x
0.5
12
1 3
3
3 5 x1 2
x
1 7 2 5
1 3 3 1 3 3 1 3 3 1 3 3
3 5 2 0 14 7 0 1
2 0 1
2
1 7 5 0 4 8 0 14 7 0 0 35
The third equation 0=-35 shows that the system is
inconsistent. So c is not in the range of T.
13
Matrix Transformation
Example 2
14
Matrix Transformation
1 0 0
A 0 1 0
0 0 0
Then x -> Ax projects points in R3 onto R2.
If
Let
1 3
A
0 1
x3
1 0 0 x1 x1
0 1 0 x x
2 2
0 0 0 x3 0
2
2
15
is
1 3 2 8
0 1 2 2
16
Matrix Transformation
Linear Transformations
Shear Transformation
Theorem
If A is an mn matrix, u and v are vectors in Rn and
c is a scalar, then
a) A(u+v) = Au + Av
b) A(cu) = c(Au)
Proof
For simplicity take n=3, so A=[a1, a2, a3]
A(u v) a1
a2
17
A transformation T is linear, if
1.
a2
a2
18
Linear Transformations
Linear Transformations
u1
a3 u2 a1
u3
u1 v1
a3 u2 v2
u3 v3
2.
v1
a3 v2
v3
Property (1) says that the result T(u+v) i.e. first adding
Au Av
Similarly (b) can also be proved
19
20
Linear Transformations
Useful Facts
If T is a linear transformation
1.
2.
T(0) = 0
T(cu+dv) = cT(u) + dT(v)
21
Obviously T is a
Linear Transformation 22
0 1 x1 x2
T ( x)
1 0 x2 x1
Find the images under T of
4
2
6
u , v= , u v
1
3
4
A dilation transformation
23
24
Solution
0 1 4 1
0 1 2 3
T (u )
, T (v ) 1 0 3 2
1 0 1 4
0 1 6 4
T (u v)
1 0 4 6
T(u)+T(v).
Also, it appears that T rotates u, v and u+v
counterclockwise about the origin through 90 degrees.
A rotation transformation
25
26
Linear transformation
27
Linear Transformation
Linear transformation
29
Composition of Transformation
30
Composition of Transformation
31
32
Composition of Transformation
Composition of Transformation
Example:
33
Composition of Transformation
34
35
36
Orthogonal Projections
37
Orthogonal Projections
38
Orthogonal Projections
39
40
10
Rotations
41
42
Rotations
Rotations
43
44
11
Example
Example (Contd.)
45
Example (Contd.)
46
Example
47
48
12
Example (Contd.)
Example (Contd.)
49
Example
50
Example
51
52
13
Example (Contd.)
Example (Contd.)
53
54
The columns of
1 0
I2
are
0 1
1
0
e1 and e2
0
1
56
14
x
1
0
x 1 x1 x2 x1e1 x2 e2
x
0
2
1
Thus
5 3
A 7 8
2 0
T ( x) Ax
Proof
Write x=Inx=[e1 en ]x = x1e1++xnen , and using the Linearity
of T to compute
for all x in n
A T (e1 ) T (en )
58
60
15
the
0
sin
and
cos sin
sin
0
=>
rotates into
1
sin cos
cos
3
0
T (e1 ) 3e1 and T (e2 ) 3e2
0
3
3 0
A
0 3
61
62
Onto mapping
A mapping T:Rn -> Rm is said to be onto Rm if each b
A rotation transformation
63
64
16
One-to-one mapping
Onto Mapping
m
Equivalently, T is onto
65
66
One-to-one mapping
Theorem
Let T:Rn -> Rm be a linear transformation. Then
T
is
T(x)=0 has only
one-to-one if and only if the equation
the trivial solution.
is
1 4 8 1
A 0 2 1 3
0 0 0 5
Solution
A happens to be in echelon form, we can see at once that
A has a pivot position in each row.
3
For each b R , the equation Ax=b is consistent. In other
words, the linear transformation T maps ( its domain)
R 4 onto R 3 However, since the equation Ax=b has free
variables, each b is the image of more than one x , i.e., T
is not one-to-one.
67
68
17
Theorem
Let T:Rn -> Rm be a linear transformation and let A
be the standard matrix for T, then:
a)
b)
Proof
a. The columns of A span Rm if and only if for each b the
equation Ax=b is consistent.
69
70
3 x1 x2 ? ?
3 1
x
x
T ( x ) 5 x1 7 x2 ? ? 1 5 7 1
x2
x
x1 3 x2 ? ?
1 3 2
72
18
Alternatively
Let
b1
b b2
b3
then
3
1 b1
k1 5 k 2 7 b2
1
3 b3
3 1 b1
5 7 b
2
1 3 b3
b3
1 3
0 8 b 5b
2
3
0 8 b1 3b3
R3
must be
consistent if T
has to be onto.
R13
R3 R2
1 3 b3 R2 5 R1
5 7 b R 3R
3
1
2
3 1 b1
b3
1 3
0 8
b
5
b
2
3
0 0 b1 b2 2b3
74
T : R3 R3
defined by T ( x ) x
1 0 0 x1 x1
T ( x) Ax 0 1 0 x2 x2
0 0 1 x3 x3
(a) T mapsR 3 onto R 3 since the columns of A
span
R3
independent.
75
19