




Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!





A vector space over a field F (for the moment we consider only the field of real numbers, R) is a set of vectors V with two operations:
vector addition: V × V → V denoted v + w for v and w ∈ V
and
scalar multiplication: F × V → V denoted cv for c ∈ F and v ∈ V
such that:
(a) It is commutative. That is, v, w ∈ V ⇒ v + w = w + v (b) It is associative. That is, v, w, x ∈ V ⇒ (v + w) + x = v + (w + x) (c) It has an identity. That is, ∃ e ∈ V such that, ∀ v ∈ V, v + e = v. e is often denoted 0 , the zero vector. (d) It has an inverse. That is, ∀ v ∈ V, ∃ (−v) ∈ V such that v + (−v) = e.
(a) It has an identity that is also the identity of F , denoted 1. That is, ∃ 1 ∈ F such that, ∀ v ∈ V, 1 v = v, and, ∀ c ∈ F, 1 c = c. (b) It is consistent with field multiplication. That is, v ∈ V, c, d, ∈ F ⇒ (cd)v = c(dv) (c) It is distributive over vector addition. That is, c ∈ F, v, w ∈ V ⇒ c(v + w) = cv + cw. (d) It is distributive over field addition. That is, v ∈ V, c, d, ∈ F ⇒ (c + d)v = cv + dv
2 Examples of Vector Spaces
3 Examples of the Applications of Ideas from Vector Spaces
Now consider a two-dimensional grey scale image of size m × n, with each pixel taking on values from 0 to 255 , inclusive. For example, consider the following image of size 3 × 4 :
Figure 1: A grey-scale image
It can also be represented as an array of its pixel values:
100 200 225 235 125 225 250 155 150 250 225 125
The grey-scale values are often piled into a single column, row by row. That is, the image is often represented as a single column of size mn, with the first n values being the first row, in order, the next n values the second row, in order, and so on. In our example, the image would be represented
4 Example of a Set that is not a Vector Space
Example 1: The first quadrant in two-dimensional euclidean space over the field of real numbers, R. A = {b = (x, y)|x, y ∈ R, x ≥ 0 , y ≥ 0 }
(The symbol “|” stands for “such that”).
Figure 2: The first quadrant is not a vector space
Is A closed wrt vector addition?
Take any two vectors from A, (x 1 , y 1 ) and (x 2 , y 2 ). Their sum is (x 1 + x 2 , y 1 + y 2 ). This is in A if and only if x 1 + x 2 , y 1 + y 2 ∈ R, and x 1 + x 2 ≥ 0 , y 1 + y 2 ≥ 0
Hence A is closed wrt vector addition.
Is A closed wrt scalar multiplication?
Take any vector (x, y) from A, and any scalar c from R. Then c(x, y) = (cx, cy). This is in A if and only if cx, cy ∈ R, and cx ≥ 0 , cy ≥ 0.
Hence A is not closed wrt scalar multiplication.
Hence A is not a vector space.
5 Subspaces
Definition A subset A of vector space V is a subspace of V if it is closed wrt vector addition and scalar multiplication.
Examples: The x and y axes are subspaces of R^2 as is any straight line passing through the origin.
Example 2: Consider a straight line:
A = {b = (x, y)|y = mx + c}
where m and c are real constants.
Figure 3: A straight line is a subspace of R^2 if and only if it passes through the origin
Solutions
A = {b = (x, y)|x, y ∈ R, x ≥ 0 , y ≥ 0 } ∪ {b = (x, y)|x, y ∈ R, x ≤ 0 , y ≤ 0 }
Is A closed wrt vector addition? Is it closed under scalar multiplication? Is it a vector space?
Answer: Is A closed wrt vector addition?
Take any two vectors from A, (x 1 , y 1 ) and (x 2 , y 2 ). Their sum is (x 1 + x 2 , y 1 + y 2 ). This is in A if and only if
(a) x 1 + x 2 , y 1 + y 2 ∈ R, and
(b) x 1 + x 2 ≥ 0 , y 1 + y 2 ≥ 0 OR x 1 + x 2 ≤ 0 , y 1 + y 2 ≤ 0
By the definition of A, x 1 , y 1 , x 2 , y 2 ∈ R. This implies that x 1 + x 2 , y 1 + y 2 ∈ R.
Also by the definition of A,
either x 1 ≥ 0 , y 1 ≥ 0 OR x 1 ≤ 0 , y 1 ≤ 0 ,
and
either x 2 ≥ 0 , y 2 ≥ 0 OR x 2 ≤ 0 , y 2 ≤ 0.
We cannot say that x 1 + x 2 ≥ 0 , y 1 + y 2 ≥ 0. For example, if (x 1 , y 1 ) = (2, 3) and (x 2 , y 2 ) = (− 3 , −2), their sum is (− 1 , 1) is not in A.
Hence A is not closed wrt vector addition.
Is A closed wrt scalar multiplication?
Take any vector (x, y) from A, and any scalar c from R. Then c(x, y) = (cx, cy). This is in A if and only if cx, cy ∈ R, and either cx ≥ 0 , cy ≥ 0 OR cx ≤ 0 , cy ≤ 0.
By the definition of A, x, y ∈ R. This implies that cx, cy ∈ R (product of two real numbers is real).
Also by the definition of A, either
(a) x ≥ 0 , y ≥ 0 OR
(b) x ≤ 0 , y ≤ 0.
For (a), if c ≥ 0 , then cx ≥ 0 , cy ≥ 0 , and c(x, y) ∈ A. If c ≤ 0 , then cx ≤ 0 , cy ≤ 0 , and c(x, y) ∈ A.
For (b), if c ≥ 0 , then cx ≤ 0 , cy ≤ 0 , and c(x, y) ∈ A. If c ≤ 0 , then cx ≥ 0 , cy ≥ 0 , and c(x, y) ∈ A.
Hence A is closed wrt scalar multiplication.
Hence A is not a vector space.
Recall the example of section 3 that was not a vector space: the set consisting of only the first quadrant. It was not closed under scalar multiplication, though it was closed wrt vector addition. By adding the third quadrant, we were able to construct a set closed under scalar multiplication, but now the set is not closed under vector addition.
Answer: Consider any two elements of Z. Their sum is also an integer, hence the sum of two vectors is also in the set, hence it is closed wrt vector addition.
Consider a scalar c. Multiplying it with any member of the set does not necessarily give an integer because c may not be an integer (for example, c = 12 ). Hence the set is not closed wrt scalar multiplication.
Hence Z is not a vector space over R.