Vector Spaces
Vector Spaces
P. Sam Johnson
February 5, 2018
In the above courses, you may have applied the language of linear algebra
to vectors in Rn . Some of the key words of this language are linear
combination, linear transformation, kernel, image, subspace, span, linear
independence, basis, dimension, and coordinates.
Note that all these concepts can be defined in terms of sums and scalar
multiples of vectors in a general setting.
a field of “scalars”,
a set of “vectors”,
and two operations (addition and scalar multiplication) with certain
special properties.
The set {0, 1}, the set Q of rational numbers, the set R of real numbers
and the set C of complex numbers are fields.
Notation
We shall use the word “scalar” to represent any element from a field F .
Definition 4.
A subfield S of the field F is itself a field under the operations of addition
and multiplication defined for F .
We give below the definition of a vector space over a general field. The
main reason for this is that vector spaces over finite fields are of great
interest in Computer Science, Coding Theory, Combinatorics, Design of
Experiments and Abstract Algebra; vector spaces over the field of rational
numbers are useful in Number Theory and Design of Experiments and
vector spaces over the field of complex numbers are needed for the study
of eigenvalues. Thus vector spaces over fields other than R are useful in
many contexts.
Notation
∗
picture taken from Google website
Example 7.
Let F be any field and let V be the set of all n-tuples
x = (α1 , α2 , . . . , αn )
Example 8.
Let F be any field and let V be the set of all sequences
x = (α1 , α2 , . . .)
Example 9.
Let F be any field and let m and n be the integers. The set F m×n of all
m × n matrices is a vector space over F with respect to componentwise
addition and scalar multiplication.
The zero vector is the zero matrix, whose entries are all zero.
We shall see that this space is almost the same as F mn . The “mn”
components are arranged in a rectangle instead of a column.
Notation :
If it is desirable to specify the field we shall mention the vector space with
the field (for instance, refer Example 14).
Example 10.
Let F be any field and let S be any nonemtpy set. The set V of all
functions from the set S into F is a vector space over F with respect to
pointwise addition and scalar multiplication defined by
It is denoted by F S .
Example 12.
Let X be a non-empty set. Let V = F (X , R) = {f : X → R} be the set of
real-valued functions on the set X . Then V is a vector space over R (by
Example (10).
Let F0 (X , R) denote the set of functions from X to R such that the set
{x ∈ X : f (x) 6= 0} is finite (this set may depend on f ). Thus,
f ∈ F0 (X , R) if and only if f (x) = 0 except for finitely many x ∈ X .
Clearly, F0 (X , R) is a subset of F (X , R).
P. Sam Johnson (NIT Karnataka) Vector Spaces February 5, 2018 17 / 77
Examples of Vector Spaces
Example 13.
Let F be any field and let V be the set of all functions f from F into F
which have a rule of the form
f (x) = c0 + c1 x + · · · + cn x n
The following example illustrates that the same set of vectors may be
part of number of distinct vector spaces.
Example 14.
The field C of complex numbers may be regarded as a vector space over
the field R of real numbers. The vector space Cn over R is quite different
from the space Cn (over C) and the space Rn (over R).
Exercises 15.
(a) Let V denote the set of all polynomials exactly of degree n. Is it a
vector space under the usual addition and scalar multiplication of
polynomials ?
(b) Let V be the set of all solutions of a system of m homogeneous linear
equations in n variables with real coefficients. Is V a vector space over
R under obvious operations ?
P. Sam Johnson (NIT Karnataka) Vector Spaces February 5, 2018 19 / 77
Examples of Vector Spaces
Example 16.
Let Ω be a fixed non-empty set and let V be the set of all subsets of Ω,
usually known as the power set of Ω.
Vectors are the elements of V , i.e., subsets of Ω.
We define the sum of two vectors A and B to be their symmetric difference
A∆B = (A − B) ∪ (B − A).
Here we consider the field consists only the scalars 0 and 1. Now we define
the scalar multiple αA to be A if α = 1 and ∅ (the emtpy set, or, the null
set) if α = 0.
The power set of Ω forms a vector space over F = {0, 1} with the addition
and scalar multiplication defined above.
(α, β) + (α1 , β1 ) = (α + α1 , β + β1 )
c(α, β) = (cα, cβ).
x ⊕y = x −y
α.x = −αx.
The operations on the right are the usual ones. Which of the axioms
for a vector space are satisfied by (Rn , ⊕, .)?
(b) Let V be the set of pairs (α, β) of real numbers and let F be the field
of real numbers. Define
(α, β) + (α1 , β1 ) = (α + α1 , 0)
c(α, β) = (cα, 0).
f (−t) = f (t).
(−1)x = −x.
Exercise 26.
0 1 2 2 3
Let A = . Show that A = is a linear combination
2 3 6 11
of A and I2 (the identity matrix of order 2).
The vectors are determined by their length and direction. The directed line
segment PQ is the “arrow” from P to Q. Thus one must identify two
directed line segments if they have the same length and the same direction.
Let us consider the vector space R3 . The directed line segment PQ, from
the point P = (x1 , x2 , x3 ) to the point Q = (y1 , y2 , y3 ), has the same
length and direction as the directed line segment from the origin
O = (0, 0, 0) to the point (y1 − x1 , y2 − x2 , y3 − x3 ).
Furthermore, this is the only segment emanating from the origin which
has the same length and direction as PQ. Thus, if one agrees to treat only
vectors which emanate from the origin, there is exactly one vector
associated with each given length and direction.
One can probably make use of the vector space R3 by identifying a triple
(x1 , x2 , x3 ) of real numbers with the points in three dimensional Euclidean
space
One way of getting new vector spaces from a given vector space V is to
look at subsets S of V which form vector spaces by themselves. For
example, the points of R2 lying on the x-axis themselves form a vector
space and we call this a subspace of R2 .
Definition 27.
Let V be a vector space over the field F . A subspace of V is a subset W
of V which is itself a vector space over F with the operations of vector
addition and scalar multiplication on V .
Exercise 29.
Fix x0 ∈ X . Let S = {f : X → R|f (x0 ) = 0}. Then S is a vector subspace
of F (X , R).
P. Sam Johnson (NIT Karnataka) Vector Spaces February 5, 2018 39 / 77
Subspaces
Example 30.
The following subsets of R form subspaces of R over Q:
(a) Q ;
n √ √ o
(b) x + y 2 + z 3 : x, y , z ∈ Q .
Example 31.
n o
If P ⊆ S, f : f ∈ F S and f (x) = 0 for all x ∈ P is a subspace of F S .
Also the set of all continuous functions and the set of all differentiable
functions form subspaces of RR .
Notice in particular that the zero vector will belong to every subspace.
Theorem 33.
A non-empty subset W of V is a subspace of V if and only if for each pair
of vectors x, y in W and each scalar α in F the vector αx + y is again in
W. LA-1(P-1)T-1
The smallest subspace containing the first quadrant is the whole space
R2 .
Exercises 38.
1. Show that the polynomials (in one variable) of degress ≤ 2, of the
form f (x) = a + bx + cx 2 , are a subspace of F (R, R).
2. Show that the differentiable functions form a subspace of F (R, R).
This plane illustrates one of the most fundamental ideas in the theory of
linear algebra; it is a subspace of the original space R3 .
Lemma 41.
If A is an m × n matrix over F and B, C are n × p matrices over F , then
A(dB + C ) = d(BC ) + AC
Exercise 43.
What about the union of any collection of subspaces of V ?
Theorem 45.
The subspace spanned by a non-empty subset S of a vector space V is the
set of all linear combinations of vectors in S. That is,
k
nX o
Sp(S) = αi xi : xi , ∈ S, αi ∈ F , 1 ≤ i ≤ k and k is a postive integer .
i=1
Note here that k, αi , xi are all arbitrarily chose from their respective domains. LA-1(P-3)T-4
Exercise 47.
(a) Say true or false : If A ⊆ B and Sp(A) ⊇ B, then Sp(A) = Sp(B).
(b) Can it happen that Sp(S 0 ) = Sp(S), for subsets S 0 ⊆ S ⊆ V ?
Illustrate with an example or an argument.
α1 + α2 + · · · + αk
where (vi , wi ) ∈ V × W , i = 1, 2, α ∈ R, (v , w ) ∈ V × W .
We now see key examples of subspaces through matrices. They are tied
directly to a m × n matrix A, and they give information about the system
Ax = b.
Note that both requirements fail if the right-hand side is not zero!
fn (x) = x n , n = 0, 1, 2, . . . .
Note that the solution set of this DE is closed under addition and under
scalar multiplication.
Since the solution set V of the DE (1) is closed under addition and scalar
multiplication, we can say that V is a “subspace” of F (R, R).
Even there are infinitely many solutions, using the language of linear
algebra, we can conclude that the functions “sin x” and “cos x” form a
“basis” of the “solution space” V , so that the “dimension” of our DE is 2.
2
x1 + 3 x3 − x5 = 0
where v1 , v2 ∈ V , α ∈ R, v ∈ V .
(b) V := Q. On Q we have a natural addition, namely, the addition of
rationl numbers. However, if α ∈ R is irrational and r ∈ Q then
αr ∈ R but not in Q. Then V is not a vector space over R.