Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
172
for all u, v
173
[AR 4.1]
Lets start trying to write down the basic properties that we want
vectors to satisfy.
A vector space is a set V with two operations defined:
1. addition
2. scalar multiplication
We want these two operations to satisfy the kind of algebraic properties
that we are used to from vectors in Rn .
For example, we want our vector operations to satisfy
u+v =v+u
and
(u + v) = u + v
This leads to a list of ten properties (or axioms) that we will then take
as our definition.
174
175
(u + v) + w = u + (v + w)
(associativity)
A3
u+v =v+u
(commutativity)
v + 0 = v for all v V
For all v V , there exists a vector v
such that v + (v) = 0
M2
(v) = ()v
M3
1v = v
( + )v = v + v
(distributivity 2)
177
Remark
It follows from the axioms that for all v V :
1. 0v = 0
2. (1)v = v
Can you prove these?
We are going to list some systems that obey these rules.
We are not going to show that the axioms hold for these systems.
If, however, you would like to get a feel for how this is done, read AR4.1.
178
179
a11 a12
b
+ 11
a21 a22
b21
a
11
a21
b12
a11 + b11 a12 + b12
=
b22
a2 1 + b21 a22 + b22
a11 a12
a12
=
a21 a22
a22
Example
Let f , g F(R, R) be defined by
f : R R,
f (x) = sin x
and
g : R R,
g (x) = x 2
183
184
C2 = {(a1 , a2 ) | a1 , a2 C}
(where a1 , a2 , b1 , b2 , C)
185
Important observation
All the concepts we looked at for Rn
(such as subspaces, linear independence, spanning sets, bases)
carry over directly to general vector spaces.
Why consider general vector spaces?
186
Note
It follows that a subspace W of V must necessarily contain the zero
vector 0 V .
Example
Let V = M2,2 the vector space of real 2 2 matrices and H V be
matrices with trace equal to 0, where trace is the sum of the diagonal
entries.
In other words
a b
H=
|a+d =0
c d
Show that H is a subspace of V .
188
Another example
Let
V = P2 = {a0 + a1 x + a2 x 2 | a0 , a1 , a2 R}
and
W = {a0 + a1 x + a2 x 2 | a1 a2 > 0} V
Is W a subspace of V ?
189
More examples
1. {0} is always a subspace of V
2. V is always a subspace of V
a 0 0
3. The set of diagonal matrices {0 b 0 | a, b, c R}
0 0 c
is a subspace of M3,3
190
5. S = {2 2 matrices
with determinant equal to 0}
a b
={
| ad bc = 0} is not a subspace of M2,2
c d
191
Definition
A linear combination of vectors v1 , v2 , . . . , vk S is a sum
1 v1 + + k vk
where each i is a scalar.
Definition
The set S is linearly dependent if there are vectors v1 , . . . , vk S and
scalars 1 , . . . , k at least one of which is non-zero, such that
1 v1 + + k vk = 0
A set which is not linearly dependent is called linearly independent.
192
Definition
The span of the set S is the set of all linear combinations of vectors
from S
Span(S) = {1 v1 + + k vk | v1 , . . . , vk S and 1 , . . . , k F}
S is called a spanning set for V if Span(S) = V
This is the same as saying that S V and every vector in V can be
written as a linear combination of vectors from S.
A basis for V is a set which is both linearly independent and a spanning
set for V .
193
Example
Are the following elements of M2,2 linearly independent?
1 3
2 1
1 3
,
,
0 1
0 1
0 4
194
Another example
In P2 the element p(x) = 2 + 2x + 5x 2 is a linear combination of
p1 (x) = 1 + x + x 2 and p2 (x) = x 2 , but q(x) = 1 + 2x + 3x 2 is not.
Theorem
Let V be a vector space.
1. Every spanning set for V contains a basis for V
2. Every linearly independent set in V can be extended to a basis of V
3. Any two bases of V have the same cardinality
(i.e., same number of elements)
The basic idea behind the proof is exactly as we saw with Rn . But there
are some very interesting technical differences! These mostly concern
the possibility that a basis might have infinitely many elements.
196
Definition
The dimension of V , denoted dim(V ), is the number of elements in a
basis of V . We call V finite dimensional if it admits a finite basis, and
infinite dimensional otherwise.
Examples
1. {1, x, x 2 , . . . , x n } is a basis for Pn . So dim(Pn (R)) = n + 1
1 0
0 1
0 0
0 0
2. {
,
,
,
} is a basis for M22 ,
0 0
0 0
1 0
0 1
so dim(M22 ) = 4.
1 0
0 1
0 0
3. {
,
,
} is a basis for the vector space S of
0 1
0 0
1 0
2 2 matrices with trace equal to zero. (See Slide 188.)
This is therefore a 3 dimensional subspace of M22 .
197
198
Theorem
Suppose V has dimension n, and S is a subset of V . Let |S| denote the
number of elements in S.
1. If |S| < n, then S does not span V .
199
Examples
1. The polynomials
{2 + x + x 2 , 1 + x,
1 7x 2 , x x 2 }
2. The matrices
n 2 1
,
3 4
1 1
,
0 1
6 7 o
4 5
200
Standard Bases
It is useful to fix names for certain bases.
1 0 ... 0
0 1 ... 0
0 0 . . . 0
0 0 . . . 0
. .
, . .
.
..
.. ..
,
.. ..
..
0 0
... 0
0 ... 0
...
0
0
,
...
0
0 ... 0
0 . . . 0
..
..
.
.
0 ... 1
201
The dimension of Pn is n + 1.
202
Definition
Suppose that B = {v1 , . . . , vn } is an ordered basis for a vector space V .
For any v V we have
v = 1 v1 + + n vn
1 , . . . , n .
203
Lemma
If {v1 , . . . , vn } is a basis for a vector space V then every vector v V
can be written uniquely in the form
v = 1 v1 + . . . n vn
where 1 , . . . , n are scalars.
Proof:
204
Examples
1. In P2 with basis B = {1, x, x 2 } the polynomial
p = 2 + 7x 9x 2 has coordinates [p]B =
2. M22
1 0
0 1
0 0
0 0
with basis B = {
,
,
,
}
0 0
0 0
1 0
0 1
1 2
205
206