Vector Spaces PDF
Vector Spaces PDF
Vector spaces
Lecture notes for MA1111
P. Karageorgis
1 / 22
Linear combinations
4 / 22
Linear independence: Example
Since the third column does not contain a pivot, we conclude that the
given vectors are not linearly independent.
On the other hand, the 1st, 2nd and 4th columns contain pivots, so
the vectors v1 , v2 , v4 are linearly independent. As for v3 , this can be
expressed as a linear combination of the other three vectors.
5 / 22
Span and complete sets
6 / 22
Bases of Rm
9 / 22
Finding bases for the column/null space
This determines the vectors x which lie in the null space of R. They
can all be expressed in terms of the free variables by writing
2x3 − 3x4 2 −3
4x3 − x4 4 −1
x= = x3 + x4 = x3 v + x4 w
1 0
x3
x4 0 1
13 / 22
Vector spaces
1 The zero vector space {0} consisting of the zero vector alone.
2 The vector space Rm consisting of all vectors in Rm .
3 The space Mmn of all m × n matrices.
4 The space of all (continuous) functions.
5 The space of all polynomials.
6 The space Pn of all polynomials of degree at most n.
.......................................................................
The set of all matrices is not a vector space.
The set of polynomials of degree n is not a vector space.
Concepts such as linear combination, span and subspace are defined
in terms of vector addition and scalar multiplication, so one may
naturally extend these concepts to any vector space.
15 / 22
Vector space concepts
P
Linear combination: v = xi vi for some scalars xi .
Span: The set of all linear combinations of some vectors.
Complete set for V : A set of vectors whose span is equal to V .
Subspace: A nonempty subset which is closed under addition and
scalar multiplication. For instance, the span is always a subspace.
P
Linearly independent: xi vi = 0 implies that xi = 0 for all i.
Basis of V : A set of linearly independent vectors that span V .
Basis of a subspace W : Linearly independent vectors that span W .
Dimension of a subspace: The number of vectors in a basis.
..................................................................
The zero element 0 could stand for a vector, a matrix or a polynomial.
In these cases, we require that all entries/coefficients are zero.
16 / 22
Example: Linear combinations in P2
f1 = x2 − 1, f2 = x − 1, f3 = x.
f = c 1 f1 + c 2 f2 + c 3 f3 .
2x2 + 4x − 5 = c1 x2 − c1 + c2 x − c2 + c3 x.
c1 = 2, c2 + c3 = 4, −c1 − c2 = −5.
f1 = x2 − x, f2 = x2 − 1, f3 = x + 1.
c 1 x2 − c 1 x + c 2 x2 − c 2 + c 3 x + c 3 = 0
c1 + c2 = 0, c3 − c1 = 0, c3 − c2 = 0.
This gives a system that can be easily solved. The last two equations
give c1 = c3 = c2 , so the first equation reduces to 2c1 = 0. Thus, the
three coefficients are all zero and f1 , f2 , f3 are linearly independent.
18 / 22
Example: Basis for a subspace in P2
Let U be the subset of P2 which consists of all polynomials f (x) such
that f (1) = 0. To find the elements of this subset, we note that
b(x − x2 ) + c(1 − x2 ) = 0
v = x1 v1 + x2 v2 + . . . + xn vn