Professional Documents
Culture Documents
Chapter V Vector Spaces
Chapter V Vector Spaces
Sub Chapter
– General Vector Space
– Sub Space
– Basis and Dimention
– Sub Space Basis
24/04/2018 20.13 1
Definition
If u and v are any two vectors in n-space (Rn),
k and l: scalar, with u u1, u2 ,..., un , v (v1, v2 ,...,
, vn ) then:
• Addition
u v u1 v1, u2 v2 ,..., un vn
• Scalar Multiplication with k
ku ku1 , ku2 ,..., kun
• Euclidean inner product
u v u1v1 u 2 v 2 ... u n v n
• Norm
u u u 2 u12 u22 ... un 2
1
24/04/2018 20.13 2
Definition
If u and v are any two vectors in n-space (Rn),
k and l: scalar, then:
a. u+v = v+u
b. (u+v)+w = u+(v+w)
c. u+0 = 0+u
d. u+(-u) = 0, that is u-u = 0
e. k(lu) = (kl)u
f. k(u+v) = ku+kv
g. (k+l) u = ku +lu
h. 1u = u
24/04/2018 20.13 3
Definition
If u, v, w are any vectors in n-space (Rn), k scalar, then:
a. u.v = v.u
b. (u+v).w = u.w + v.w
c. (ku).v = k(u.v)
d. v.v ≥ 0
v.v = 0 if only if v = 0
24/04/2018 20.13 4
Definition
If u, v are any vectors in n-space (Rn), k scalar, then:
a. ║u║ ≥ 0
b. ║u║= 0 if only if u = 0
c. ║ku║ = |k|║u║
d. u.v ≤ ║u║ ║v║ (Cauchy-Schwarz Inequality)
e. ║u+v║ ≤ ║u║ + ║v║ (Triangle Inequality)
24/04/2018 20.13 5
Example :
Let u 1, 1, 2, 3 dan v 2, 2, 1, 1
Find norm and distance of vectors as follow
Answer:
Norm of vector :
u u u
1
2
12 12 22 32 15
v 22 22 12 12 10
Distance of two vectors
d u , v u v 1 22 1 22 2 12 3 12
12 12 12 22
7
24/04/2018 20.13 6
REAL VECTOR SPACE
Definition
Let V be an arbitrary nonempty set of objects on which two
operations are defined, addition and multiplication by scalar. If
the following axioms are satisfied by all objects u, v, w in V and
all scalars k and l, then we call V a vector space and we call the
objects in V vectors
1. u+v in V
2. u+v = v+u
3. u+(v+w) = (u+v)+w
4. There is 0 in V such that 0+u = u+0 = u
5. There is -u in V such that -u+u = u+(-u) = 0
6. ku in V
7. k(u+v) = ku + kv
8. (k+l)u = ku + lu
9. k(lu) = (kl)u
10. 1u = u
24/04/2018 20.13 7
REAL VECTOR SPACE
Examples of Vector Space
1. Mmn (set of all mxn matrices with real entries) is a vector
space
V = Mmn with standard operations of addition and scalar
multiplication matrices
Definition
A subset W of a vector space V is called subspace of V if W is
itself a vector space under the addition and scalar multiplication
defined on V
24/04/2018 20.13 9
SUB SPACE
Example 1
Show that W : Lines through origin in plane is subspace R2
Solution
W = {(x,y) | ax + by = 0, a,b R}
W is not empty, W is set of
Line x+y=0 and x-y=0 W
one or more vectors
Let Line1: a1x+b1y=0 and Line2 :a2x+b2y=0 are any lines in W
24/04/2018 20.13
April 24, 2018 10
SUB SPACE
Example 2
Is W subspace of R3 if W is defined as { (a,b,c) where a.b.c = 0}
Solution
W = {(a,b,c) where a.b.c = 0, a,b,c R}
W is not empty, W is set of
Vector (1,2,0) W
one or more vectors
Let a = (0,1,2), b = (2,1,0) are vectors in W
W is not
c = a + b = (2,2,2) c is not vector in subspace
W because R3
2.2.2=8≠0
* If c in W, we can 'not make conclusion that W is subspace R3
24/04/2018 20.13 11
Example 3 :
Show that W of matrices 2x2 where diagonal
elements are zero is a subspace of matrix 2x2
Solution :
0 0
1. O W then W
0 0
2. It is clear that W M2x2
3. Given A, B W
Let
0 a1 0 b1
A
and B
a2 0 b2 0
24/04/2018 20.13 12
We have :
0 a1 0 b1
A B
a2 0 b2 0
0 a1 b1
a2 b2 0
It showed that A B W
4. Given A W and k Riil
0 k a1
kA W
k a2 0
It showed that kA W
Answer :
Given A, B W
We chose a ≠ b :
24/04/2018 20.13 14
We have :
a b
A B =
b a
Because a ≠ b
Then det (A + B ) = a2 – b2 ≠ 0
24/04/2018 20.13 15
A vector u
is called linear combination of the vectors
v1, v2 , … , vn
If it can be expressed in the form :
24/04/2018 20.13 16
Example
Let u = (2, 4, 0), and v = (1, –1, 3)
are vectors in R3.
Is a linear combination of the vectors (above)
a. a = (4, 2, 6)
b. b = (1, 5, 6)
c. c = (0, 0, 0)
24/04/2018 20.13 17
Answer :
a. k1u k 2 v a
2 1 4
k1 4 k 2 - 1 2
0 3 6
2 1 k1 4
4 -1 2
0 3 k 6
2
24/04/2018 20.13 18
Using ERO, we obtain:
1 12 2 1 0 1
1 -3 -6 ~ 0 1 2
0 3
6 0 0 0
So,
a is a linear combination of u and v
or
a u 2v
24/04/2018 20.13 19
b. :
k1u k 2 v b
2 1 1
k1 4 k 2
- 1 5
0 3 6
2 1 1
k1
4 - 1 5
0 3 k2 6
24/04/2018 20.13 20
dengan OBE dapat kita peroleh :
2 1 1 1 12 0 1 1 1
2 2
4 -1 5 ~ 0 -3 3 ~ 0 1 2
0 3 0 3 0 3
6 6 0
24/04/2018 20.13 21
c. We can chose k1 = 0 dan k2 = 0,
such
k1u k2v 0, for every u and v
It is mean that Null vector nol is a linear
combination for every vectors
24/04/2018 20.13 22
Exercise
Let u = (1, 2, -1), and v = (6, 4, 2)
are vectors in R3.
a. a = (9, 2, 7)
b. b = (4, -1, 8)
c. c = (2, 6, 10)
24/04/2018 20.13 23
Span and Linearly Independent
A set
S v1 , v 2 , ... , v n
Is called span a vector space V
IF every vector in V is expresible as linear
combination of vectors in S.
Example:
Determine whether
v1 = (1, 1, 2),
v2 = (1, 0, 1),
span V ???
v3 = (2, 1, 3)
24/04/2018 20.13 24
Jawab :
Given an arbitrary vector space V in R3
u1
u u2
u
. 3
Expressing :
u k1v1 k 2 v2 k 3 v3
.
or :
1 1 2 k1 u1
1 0 1 k u
2 2
2 1 3 k3 u
3
24/04/2018 20.13 25
Using ERO, we obtain :
24/04/2018 20.13 26
Let S u1 , u 2 ,..., u n
be vector set in the vector space V
S is said linearly independent
24/04/2018 20.13 27
Example :
Is u 1, 3, 2 and v 1, 1, 1
linearly independent R3
Answer :
k1u k2v 0
or
-1 1 0
k1
3 1 0
2 1 k2 0
24/04/2018 20.13 28
using ERO, we obtain :
-1 1 0 1 1 0 1 0 0
3 1 0 ~ 0 4 0 ~ 0 1 0
2 1 0 0 0 0 0
1 0
k1 = 0, dan k2 = 0.
u and v is linearly independent
24/04/2018 20.13 29
Exercise :
Are
b. x 8, 1,3 , y (4,0,1)
linearly independent R3 ?
24/04/2018 20.13 30
Basis and Dimention
Let V be vector space
and S = { ū1, ū2, … , ūn } is a finite set in V,
S is called a basis for V IF the following
conditions hold :
1. S spans V
2. S linearly independent
24/04/2018 20.13 31
Example :
Show that matrix berikut :
3 6 0 1 0 8 1 0
M 3 6, 1 0 , 12 4, 1 2
24/04/2018 20.13 32
We obtain an SPL :
3 0 0 1 k1 a
6 1 8 0 k b
2
3 1 12 1 k3 c
6 0 4 2 k 4 d
Dimension of M2 x 2 is 4.
24/04/2018 20.13 34
Exercise :
24/04/2018 20.13 35
Given a matrix :
1 2 1 1
Row Vector
A 1 2 3 1
1
2 2 1
Column Vector
24/04/2018 20.13 36
matrix A has basis of Column space :
1 1
1 , 3
1 2
Basis of Row Space is obtained by ERO
on At, such we have :
24/04/2018 20.13 37
matrix A has Basis of Row Space :
1 1
2 2
,
1 3
1 1
24/04/2018 20.13 38
Example :
Given homogeneous SLE :
2p + q – 2r – 2s = 0
p – q + 2r – s =0
–p + 2q – 4r + s = 0
3p – 3s =0
Find basis of null space of SLE
Answer :
SLE can be written in the form :
2 1 2 2 0
1 1 2 1 0
1 2 4 1 0
3 0 0 3 0
24/04/2018 20.13 39
Using ERO, we obtained :
1 0 0 1 0
0 1 2 0 0
0 0 0 0 0
0 0
0 0 0
p 1 0
q 0 2
r 0 a 1 b
s 1 0
where a, b is a parameter.
24/04/2018 20.13 40
So, basis of null space of SLE :
1 0
0 2
, 1
0
1 0
Dimension of basis of nullspace is called nullity.
So, nullity of SLE is 2.
24/04/2018 20.13 41
Exercise
1.Write 6 3
0 8
as linear combination of matrices :
1 2 0 1 4 2
1 3 , , and
2 4 0 2
2. Verify the following set as linear independent set !
a.{6 – x2 , 6 + x + 4x2 }
b.{1 + 3x + 3x2, x + 4x2, 5 + 6x + 3x2, 7 + 2x – x2}
3. Is A = {6 – x2 , 6 + x + 4x2 }
span of 2nd order polynom !
24/04/2018 20.13 42
4. Determine whether the set below is a basis of
2nd order of polynom
a.{4 + 6x + x2, – 1 + 4x + 2x2, 5 + 2x – x2}
b.{– 4 + x + 3x2, 6 + 5x + 2x2, 8 + 4x + x2}
5. Let
J
a bx cx
2
a 2 b2 c2
be subset of vector space of 2nd order polynom.
24/04/2018 20.13 43
6. Diberikan SPL homogen :
p + 2q + 3 r = 0
p + 2q – 3 r = 0
p + 2q + 3 r = 0,
Find basis of Solution Space of Homogeneuos SLE
and dimension.
24/04/2018 20.13 44