Lecture 7 Linear Vector-Space
Lecture 7 Linear Vector-Space
The idea of vectors dates back to the early 1800’s, but the
generality of the concept waited until Peano’s work in 1888. It
took many years to understand the importance and extent of
the ideas involved.
The underlying idea can be used to describe the forces and
accelerations in Newtonian mechanics and the potential
functions of electromagnetism and the states of systems in
quantum mechanics and the least-square fitting of
experimental data and much more.
Vector Spaces
In the study of vector analysis triple of numbers (a1, a2, a3) has been
used to represents a point in space
(a1, a2, a3, a4) = four dimensional Space
(a1, a2, a3, a4, a5) = Five dimensional Space
n
1 Vectors in R
An ordered n-tuple :
a sequence of n real numbers ( x1, x2, , xn )
n
R -space :
the set of all ordered n-tuples
4.3
u u1 , u2 , , un , v v1 , v2 , , vn (two vectors in Rn)
Equality:
u v if and only if u1 v1 , u2 v2 , , un vn
4.4
Theorem 1: Properties of vector addition and scalar multiplication
4.5
Vector Spaces
General Linear Vector Spaces
General Linear Vector Spaces
General Linear Vector Spaces
Notes:
A vector u (u1 , u2 ,, un ) in R n can be viewed as:
4.10
Vector addition Scalar multiplication
u v (u1 , u2 , , un ) (v1 , v2 , , vn ) cu c(u1 , u2 ,, un )
(u1 v1 , u2 v2 , , un vn ) (cu1 , cu 2 , , cu n )
Addition:
(1) u+v is in V
(2) u+v=v+u
(3) u+(v+w)=(u+v)+w
(4) V has a zero vector 0 such that for every u in V, u+0=u
(5) For every u in V, there is a vector in V denoted by –u
such that u+(–u)=0
4.12
Scalar multiplication:
(6) cu is in V
(7) c(u v ) cu cv
(8) (c d )u cu du
(9) c(du) (cd )u
(10) 1(u) u
※ Any set V that satisfies these ten properties (or axioms) is called a vector
space, and the objects in the set are called vectors
※ Thus, we can conclude that Rn is of course a vector space
4.13
Four examples of vector spaces are introduced as follows. (It is
straightforward to show that these vector spaces satisfy the above ten axioms)
n
(1) n-tuple space: R
(u1 , u2 ,un ) (v1 , v2 , v2 ) (u1 v1 , u2 v2 ,un vn ) (standard vector addition)
k (u1 , u2 ,un ) (ku1 , ku2 , kun ) (standard scalar multiplication for vectors)
4.17
Notes: To show that a set is not a vector space, you need
only find one axiom that is not satisfied
Ex 1: The set of all integers is not a vector space
Pf: 1V , and 12 is a real-number scalar
( 12 )(1) 12 V (it is not closed under scalar multiplication)
scalar noninteger
integer
Sol:
1 0 0 0
A W , B W
0 0 0 1
1 0
A B W (W is not closed under vector addition)
0 1
W2 is not a subspace of M 22
4.19
(3) the standard basis matrix space:
4.20
3.4 Spanning Sets and Linear Independence
Linear combination:
A vector v in a vector space V is called a linear combination of
the vectors u1 , u2 ,L , uk in V if v can be written in the form
Sol: b 3c 1
a b c 2
Thus v u1 2u2 u3
4a 2b 2c 2
a 1, b 2, c 1
4 - 21
Ex: (Finding a linear combination)
v1 (1,2,3) v 2 (0,1,2) v 3 ( 1,0,1)
Prove w (1,1,1) is a linear combination of v1 , v 2 , v 3
Sol: w c1 v1 c2 v 2 c3 v 3
1,1,1 c1 1, 2, 3 c2 0,1, 2 c3 1,0,1
(c1 c3 , 2c1 c2 , 3c1 2c2 c3 )
c1 -c3 1
2c1 c2 1
3c1 2c2 c3 1
4 - 22
1 0 1 1 1 0 1 1
2 1 0 1 Gauss Jordan
0 1 2 1
3 2 1 1 0 0 0 0
c1 1 t , c2 1 2t , c3 t
4 - 23
Basis
A basis of V is a linearly independent set of vectors
in V which spans V.
Example: Fn the standard basis
4.24
AGC
DSP Linear Transformations
A transformation from a vector space X to a vector
space Y with the same scalar field denoted by
L: X Y
is linear when
L(ax) aL( x)
L( x1 x2 ) x1 x2
Where
x, x1 , x2 X
We can think of the transformation as an operator
25
AGC
DSP Linear Transformations …
Example: Mapping a vector space from R n to
R m
can be expressed as a mxn matrix.
Thus the transformation
L( x1 , x2 .x3 ) ( x1 2 x2 ,3x2 4 x3 )
can be written as
x1
y1 1 2 0
y 0 3 4 x2
2
x3
26
AGC
DSP Linear Transformations
Example: Let x x1 x2 x3 ... xm
T
Then
v1 v0 v2
28
AGC
DSP A Problem …
Let us agree that “nearest to” in the figure is taken in
the Euclidean distance sense.
The projection v orthogonal to the set V gives the
0
desired solution.
w0 x v0
This vector is clearly orthogonal to the set V (More
on this later)
29
AGC
DSP Orthogonality Principle
Let {p1 p 2 p 3 ... p m } be a set of
independent vectors in a vector space S.
We wish to express any vector x in S as
x x1p1 x2p 2 x3p 3 ... xm p m
If x is in the span of the independent vectors then
the representation will be exact.
If on the other hand it is not then there will be an
error
30
AGC
DSP Orthogonality Principle
Thus for p x, p1 x, p 2 ... x, p m T
χ x1 x2 ... x m
T
p1 , p1 p1 , p 2 .. p1 , p m
p ,p p2 ,p2 .. p2 ,pm
R 2 1
.. .. .. ..
p ,p
m 1 pm ,p2 .. pm ,pm
Hence p Rχ or χ R 1p
31
AGC
DSP Orthogonalisation
A signal may be projected into any linear space.
The computation of its coefficients in the various
vectors of the selected space is easier when the
vectors in the space are orthogonal in that they are
then non-interacting, ie the evaluation of one such
coefficient will not influence the others
The error norm is easier to compute
Thus it makes sense to use an orthogonal set of
vectors in the space into which we are to project a
signal
32