Linear Algebra/Definition and Examples of Vector Spaces

From Wikibooks, the open-content textbooks collection

Jump to: navigation, search
Definition 1.1

A vector space (over  \mathbb{R} ) consists of a set V along with two operations "+" and " \cdot " subject to these conditions.

  1. For any  \vec{v},\vec{w}\in V , their vector sum  \vec{v}+\vec{w} is an element of V.
  2. If \vec{v},\vec{w}\in V , then  \vec{v}+\vec{w}=\vec{w}+\vec{v} .
  3. For any \vec{u},\vec{v},\vec{w}\in V  (\vec{v}+\vec{w})+\vec{u}=\vec{v}+(\vec{w}+\vec{u}) .
  4. There is a zero vector  \vec{0}\in V such that  \vec{v}+\vec{0}=\vec{v}\, for all  \vec{v}\in V.
  5. Each  \vec{v}\in V has an additive inverse  \vec{w}\in V such that  \vec{w}+\vec{v}=\vec{0} .
  6. If r is a scalars, that is, a members of  \mathbb{R} and  \vec{v}\in V then the scalar multiple  r\cdot\vec{v} is in V.
  7. If  r,s\in\mathbb{R} and  \vec{v},\vec{w}\in V then  (r+s)\cdot\vec{v}=r\cdot\vec{v}+s\cdot\vec{v} .
  8. If  r,s\in\mathbb{R} and  \vec{v},\vec{w}\in V , then  r\cdot(\vec{v}+\vec{w})=r\cdot\vec{v}+r\cdot\vec{w} , and
  9. If  r,s\in\mathbb{R} and  \vec{v}\in V, then  (rs)\cdot\vec{v} =r\cdot(s\cdot\vec{v})
  10. For any  \vec{v}\in V ,  1\cdot\vec{v}=\vec{v} .
Remark 1.2

Because it involves two kinds of addition and two kinds of multiplication, that definition may seem confused. For instance, in condition 7 " (r+s)\cdot\vec{v}=r\cdot\vec{v}+s\cdot\vec{v}\, ", the first "+" is the real number addition operator while the "+" to the right of the equals sign represents vector addition in the structure V. These expressions aren't ambiguous because, e.g., r and s are real numbers so "r + s" can only mean real number addition.

The best way to go through the examples below is to check all ten conditions in the definition. That check is written out at length in the first example. Use it as a model for the others. Especially important are the first condition " \vec{v}+\vec{w} is in V" and the sixth condition " r\cdot\vec{v} is in V". These are the closure conditions. They specify that the addition and scalar multiplication operations are always sensible— they are defined for every pair of vectors, and every scalar and vector, and the result of the operation is a member of the set (see Example 1.4).

Example 1.3

The set  \mathbb{R}^2 is a vector space if the operations " + " and " \cdot " have their usual meaning.


\begin{pmatrix} x_1 \\ x_2 \end{pmatrix}
+
\begin{pmatrix} y_1 \\ y_2 \end{pmatrix}
=
\begin{pmatrix} x_1+y_1 \\ x_2+y_2 \end{pmatrix}
\qquad
r\cdot
\begin{pmatrix} x_1 \\ x_2 \end{pmatrix}
=
\begin{pmatrix} rx_1 \\ rx_2 \end{pmatrix}

We shall check all of the conditions.

There are five conditions in item 1. For 1, closure of addition, note that for any  v_1,v_2,w_1,w_2\in\mathbb{R} the result of the sum



\begin{pmatrix} v_1 \\ v_2 \end{pmatrix}
+\begin{pmatrix} w_1 \\ w_2 \end{pmatrix}
=\begin{pmatrix} v_1+w_1 \\ v_2+w_2 \end{pmatrix}


is a column array with two real entries, and so is in  \mathbb{R}^2 . For 2, that addition of vectors commutes, take all entries to be real numbers and compute


\begin{pmatrix} v_1 \\ v_2 \end{pmatrix}
+\begin{pmatrix} w_1 \\ w_2 \end{pmatrix}
=\begin{pmatrix} v_1+w_1 \\ v_2+w_2 \end{pmatrix}
=\begin{pmatrix} w_1+v_1 \\ w_2+v_2 \end{pmatrix}
=\begin{pmatrix} w_1 \\ w_2 \end{pmatrix}
+\begin{pmatrix} v_1 \\ v_2 \end{pmatrix}

(the second equality follows from the fact that the components of the vectors are real numbers, and the addition of real numbers is commutative). Condition 3, associativity of vector addition, is similar.

\begin{array}{rl}
(\begin{pmatrix} v_1 \\ v_2 \end{pmatrix}
+\begin{pmatrix} w_1 \\ w_2 \end{pmatrix})
+\begin{pmatrix} u_1 \\ u_2 \end{pmatrix}
&=\begin{pmatrix} (v_1+w_1)+u_1 \\ (v_2+w_2)+u_2 \end{pmatrix} \\
&=\begin{pmatrix} v_1+(w_1+u_1) \\ v_2+(w_2+u_2) \end{pmatrix} \\
&=\begin{pmatrix} v_1 \\ v_2 \end{pmatrix}
+(\begin{pmatrix} w_1 \\ w_2 \end{pmatrix}
+\begin{pmatrix} u_1 \\ u_2 \end{pmatrix})
\end{array}

For the fourth condition we must produce a zero element— the vector of zeroes is it.


\begin{pmatrix} v_1 \\ v_2 \end{pmatrix}
+\begin{pmatrix} 0 \\ 0 \end{pmatrix}
=\begin{pmatrix} v_1 \\ v_2 \end{pmatrix}

For 5, to produce an additive inverse, note that for any v_1,v_2\in\mathbb{R} we have


\begin{pmatrix} -v_1 \\ -v_2 \end{pmatrix}
+\begin{pmatrix} v_1 \\ v_2 \end{pmatrix}
=\begin{pmatrix} 0 \\ 0 \end{pmatrix}

so the first vector is the desired additive inverse of the second.

The checks for the five conditions having to do with scalar multiplication are just as routine. For 6, closure under scalar multiplication, where r, v_1, v_2 \in \mathbb{R},



r\cdot\begin{pmatrix} v_1 \\ v_2 \end{pmatrix}
=\begin{pmatrix} rv_1 \\ rv_2 \end{pmatrix}

is a column array with two real entries, and so is in  \mathbb{R}^2 . Next, this checks 7.


(r+s)\cdot\begin{pmatrix} v_1 \\ v_2 \end{pmatrix}
=\begin{pmatrix} (r+s)v_1 \\ (r+s)v_2 \end{pmatrix}
=\begin{pmatrix} rv_1+sv_1 \\ rv_2+sv_2 \end{pmatrix}
=r\cdot\begin{pmatrix} v_1 \\ v_2 \end{pmatrix}+s\cdot\begin{pmatrix} v_1 \\ v_2 \end{pmatrix}

For 8, that scalar multiplication distributes from the left over vector addition, we have this.


r\cdot(\begin{pmatrix} v_1 \\ v_2 \end{pmatrix}+\begin{pmatrix} w_1 \\ w_2 \end{pmatrix})
=\begin{pmatrix} r(v_1+w_1) \\ r(v_2+w_2) \end{pmatrix}
=\begin{pmatrix} rv_1+rw_1 \\ rv_2+rw_2 \end{pmatrix}
=r\cdot\begin{pmatrix} v_1 \\ v_2 \end{pmatrix}+r\cdot\begin{pmatrix} w_1 \\ w_2 \end{pmatrix}

The ninth


(rs)\cdot\begin{pmatrix} v_1 \\ v_2 \end{pmatrix}
=\begin{pmatrix} (rs)v_1 \\ (rs)v_2 \end{pmatrix}
=\begin{pmatrix} r(sv_1) \\ r(sv_2) \end{pmatrix}
=r\cdot(s\cdot\begin{pmatrix} v_1 \\ v_2 \end{pmatrix})

and tenth conditions are also straightforward.


1\cdot\begin{pmatrix} v_1 \\ v_2 \end{pmatrix}
=\begin{pmatrix} 1v_1 \\ 1v_2 \end{pmatrix}
=\begin{pmatrix} v_1 \\ v_2 \end{pmatrix}

In a similar way, each  \mathbb{R}^n is a vector space with the usual operations of vector addition and scalar multiplication. (In  \mathbb{R}^1 , we usually do not write the members as column vectors, i.e., we usually do not write "(π)". Instead we just write "π".)

Example 1.4
This subset of  \mathbb{R}^3 that is a plane through the origin

P=\{ \begin{pmatrix} x \\ y \\ z \end{pmatrix} \,\big|\, x+y+z=0\}

is a vector space if "+" and "\cdot" are interpreted in this way.


\begin{pmatrix} x_1 \\ y_1 \\ z_1 \end{pmatrix}
+
\begin{pmatrix} x_2 \\ y_2 \\ z_2 \end{pmatrix}
=
\begin{pmatrix} x_1+x_2 \\ y_1+y_2 \\ z_1+z_2 \end{pmatrix}
\qquad
r\cdot
\begin{pmatrix} x \\ y \\ z \end{pmatrix}
=
\begin{pmatrix} rx \\ ry \\ rz \end{pmatrix}

The addition and scalar multiplication operations here are just the ones of  \mathbb{R}^3 , reused on its subset P. We say that P inherits these operations from  \mathbb{R}^3 . This example of an addition in P


\begin{pmatrix} 1 \\ 1 \\ -2 \end{pmatrix}+\begin{pmatrix} -1 \\ 0 \\ 1 \end{pmatrix}=\begin{pmatrix} 0 \\ 1 \\ -1 \end{pmatrix}

illustrates that P is closed under addition. We've added two vectors from P— that is, with the property that the sum of their three entries is zero— and the result is a vector also in P. Of course, this example of closure is not a proof of closure. To prove that P is closed under addition, take two elements of P


\begin{pmatrix} x_1 \\ y_1 \\ z_1 \end{pmatrix} \quad \begin{pmatrix} x_2 \\ y_2 \\ z_2 \end{pmatrix}

(membership in P means that x1 + y1 + z1 = 0 and x2 + y2 + z2 = 0), and observe that their sum


\begin{pmatrix} x_1+x_2 \\ y_1+y_2 \\ z_1+z_2 \end{pmatrix}

is also in P since its entries add (x1 + x2) + (y1 + y2) + (z1 + z2) = (x1 + y1 + z1) + (x2 + y2 + z2) to 0. To show that P is closed under scalar multiplication, start with a vector from P


\begin{pmatrix} x \\ y \\ z \end{pmatrix}

(so that x + y + z = 0) and then for  r\in\mathbb{R} observe that the scalar multiple


r\cdot\begin{pmatrix} x \\ y \\ z \end{pmatrix}
=
\begin{pmatrix} rx \\ ry \\ rz \end{pmatrix}

satisfies that rx + ry + rz = r(x + y + z) = 0. Thus the two closure conditions are satisfied. Verification of the other conditions in the definition of a vector space are just as straightforward.

Example 1.5

Example 1.3 shows that the set of all two-tall vectors with real entries is a vector space. Example 1.4 gives a subset of an \mathbb{R}^n that is also a vector space. In contrast with those two, consider the set of two-tall columns with entries that are integers (under the obvious operations). This is a subset of a vector space, but it is not itself a vector space. The reason is that this set is not closed under scalar multiplication, that is, it does not satisfy condition 6. Here is a column with integer entries, and a scalar, such that the outcome of the operation


0.5
\cdot
\begin{pmatrix} 4 \\ 3 \end{pmatrix}
=
\begin{pmatrix} 2 \\ 1.5 \end{pmatrix}

is not a member of the set, since its entries are not all integers.

Example 1.6

The singleton set


\{ \begin{pmatrix} 0 \\ 0 \\ 0 \\ 0 \end{pmatrix} \}

is a vector space under the operations


\begin{pmatrix} 0 \\ 0 \\ 0 \\ 0 \end{pmatrix}
+
\begin{pmatrix} 0 \\ 0 \\ 0 \\ 0 \end{pmatrix}
=
\begin{pmatrix} 0 \\ 0 \\ 0 \\ 0 \end{pmatrix}
\qquad
r\cdot
\begin{pmatrix} 0 \\ 0 \\ 0 \\ 0 \end{pmatrix}
=
\begin{pmatrix} 0 \\ 0 \\ 0 \\ 0 \end{pmatrix}

that it inherits from  \mathbb{R}^4 .

A vector space must have at least one element, its zero vector. Thus a one-element vector space is the smallest one possible.

Definition 1.7

A one-element vector space is a trivial space.

Warning!

The examples so far involve sets of column vectors with the usual operations. But vector spaces need not be collections of column vectors, or even of row vectors. Below are some other types of vector spaces. The term "vector space" does not mean "collection of columns of reals". It means something more like "collection in which any linear combination is sensible".

[edit] Examples

Example 1.8

Consider  \mathcal{P}_3=\{a_0+a_1x+a_2x^2+a_3x^3\,\big|\, a_0,\ldots,a_3\in\mathbb{R}\} , the set of polynomials of degree three or less (in this book, we'll take constant polynomials, including the zero polynomial, to be of degree zero). It is a vector space under the operations

(a0 + a1x + a2x2 + a3x3) + (b0 + b1x + b2x2 + b3x3)
= (a0 + b0) + (a1 + b1)x + (a2 + b2)x2 + (a3 + b3)x3

and


r\cdot(a_0+a_1x+a_2x^2+a_3x^3)=(ra_0)+(ra_1)x+(ra_2)x^2+(ra_3)x^3

(the verification is easy). This vector space is worthy of attention because these are the polynomial operations familiar from high school algebra. For instance, 3\cdot(1-2x+3x^2-4x^3)-2\cdot(2-3x+x^2-(1/2)x^3)=-1+7x^2-11x^3.

Although this space is not a subset of any  \mathbb{R}^n , there is a sense in which we can think of \mathcal{P}_3 as "the same" as  \mathbb{R}^4 . If we identify these two spaces's elements in this way



a_0+a_1x+a_2x^2+a_3x^3
\quad\text{corresponds to}\quad
\begin{pmatrix} a_0 \\ a_1 \\ a_2 \\ a_3 \end{pmatrix}

then the operations also correspond. Here is an example of corresponding additions.


\begin{array}{lr}
&1-2x+0x^2+1x^3 \\
+ &2+3x+7x^2-4x^3 \\ \hline
&3+1x+7x^2-3x^3
\end{array}
\quad\text{corresponds to}\quad
\begin{pmatrix} 1 \\ -2 \\ 0 \\ 1 \end{pmatrix}
+
\begin{pmatrix} 2 \\ 3 \\ 7 \\ -4 \end{pmatrix}
=
\begin{pmatrix} 3 \\ 1 \\ 7 \\ -3 \end{pmatrix}

Things we are thinking of as "the same" add to "the same" sum. Chapter Three makes precise this idea of vector space correspondence. For now we shall just leave it as an intuition.

Example 1.9

The set  \mathcal{M}_{2 \! \times \! 2} of  2 \! \times \! 2 matrices with real number entries is a vector space under the natural entry-by-entry operations.



\begin{pmatrix}
a  &b \\
c  &d
\end{pmatrix}
+
\begin{pmatrix}
w  &x \\
y  &z
\end{pmatrix}
=
\begin{pmatrix}
a+w  &b+x \\
c+y  &d+z
\end{pmatrix}
\qquad
r\cdot
\begin{pmatrix}
a  &b \\
c  &d
\end{pmatrix}
=
\begin{pmatrix}
ra  &rb \\
rc  &rd
\end{pmatrix}


As in the prior example, we can think of this space as "the same" as  \mathbb{R}^4 .

Example 1.10

The set  \{f\,\big|\, f:\mathbb{N}\to\mathbb{R}\} of all real-valued functions of one natural number variable is a vector space under the operations


(f_1+f_2)\,(n)=f_1(n)+f_2(n)
\qquad
(r\cdot f)\,(n)=r\,f(n)

so that if, for example, f1(n) = n2 + 2sin(n) and f2(n) = − sin(n) + 0.5 then  (f_1+2f_2)\,(n)=n^2+1 .

We can view this space as a generalization of Example 1.3— instead of 2-tall vectors, these functions are like infinitely-tall vectors.


\begin{array}{c|c}
   n   & f(n)=n^2+1 \\ \hline
   0   &  1     \\
   1   &  2     \\
   2   &  5     \\
   3   &  10    \\
\vdots & \vdots \\
\end{array} 
\quad\text{corresponds to}\quad
\begin{pmatrix}
1           \\
2           \\
5           \\
10          \\
\vdots       \end{pmatrix}

Addition and scalar multiplication are component-wise, as in Example 1.3. (We can formalize "infinitely-tall" by saying that it means an infinite sequence, or that it means a function from \mathbb{N} to \mathbb{R}.)

Example 1.11

The set of polynomials with real coefficients


\{ a_0+a_1x+\cdots+a_nx^n\,\big|\, n\in\mathbb{N} \text{ and } a_0,\ldots,a_n\in\mathbb{R}\}

makes a vector space when given the natural " + "


(a_0+a_1x+\cdots+a_nx^n)+(b_0+b_1x+\cdots+b_nx^n)

=(a_0+b_0)+(a_1+b_1)x+\cdots +(a_n+b_n)x^n

and "\cdot".


r\cdot (a_0+a_1x+\ldots a_nx^n)=(ra_0)+(ra_1)x+\ldots (ra_n)x^n

This space differs from the space \mathcal{P}_3 of Example 1.8. This space contains not just degree three polynomials, but degree thirty polynomials and degree three hundred polynomials, too. Each individual polynomial of course is of a finite degree, but the set has no single bound on the degree of all of its members.

This example, like the prior one, can be thought of in terms of infinite-tuples. For instance, we can think of 1 + 3x + 5x2 as corresponding to  (1,3,5,0,0,\ldots) . However, don't confuse this space with the one from Example 1.10. Each member of this set has a bounded degree, so under our correspondence there are no elements from this space matching  (1,2,5,10,\,\ldots\,) . The vectors in this space correspond to infinite-tuples that end in zeroes.

Example 1.12

The set  \{f\,\big|\, f:\mathbb{R}\to\mathbb{R}\} of all real-valued functions of one real variable is a vector space under these.


(f_1+f_2)\,(x)=f_1(x)+f_2(x)
\qquad
(r\cdot f)\,(x)=r\,f(x)

The difference between this and Example 1.10 is the domain of the functions.

Example 1.13

The set  F=\{ a\cos\theta+b\sin\theta \,\big|\, a,b\in\mathbb{R}\} of real-valued functions of the real variable θ is a vector space under the operations

(a1cosθ + b1sinθ) + (a2cosθ + b2sinθ) = (a1 + a2)cosθ + (b1 + b2)sinθ

and


r\cdot (a\cos\theta+b\sin\theta)=(ra)\cos\theta+(rb)\sin\theta

inherited from the space in the prior example. (We can think of F as "the same" as  \mathbb{R}^2 in that acosθ + bsinθ corresponds to the vector with components a and b.)

Example 1.14

The set


\{f:\mathbb{R}\to\mathbb{R} \,\big|\, \dfrac{d^2f}{dx^2}+f=0\}

is a vector space under the, by now natural, interpretation.


(f+g)\,(x)=f(x)+g(x)
\qquad
(r\cdot f)\,(x)=r\,f(x)

In particular, notice that closure is a consequence:


\frac{d^2(f+g)}{dx^2}+(f+g)
=(\frac{d^2f}{dx^2}+f)+(\frac{d^2g}{dx^2}+g)

and


\frac{d^2(rf)}{dx^2}+(rf)
=r(\frac{d^2 f}{dx^2}+f)


of basic Calculus. This turns out to equal the space from the prior example— functions satisfying this differential equation have the form acosθ + bsinθ— but this description suggests an extension to solutions sets of other differential equations.

Example 1.15

The set of solutions of a homogeneous linear system in n variables is a vector space under the operations inherited from  \mathbb{R}^n . For closure under addition, if


\vec{v}=\begin{pmatrix} v_1 \\ \vdots \\ v_n \end{pmatrix}
\qquad
\vec{w}=\begin{pmatrix} w_1 \\ \vdots \\ w_n \end{pmatrix}

both satisfy the condition that their entries add to 0 then  \vec{v}+\vec{w} also satisfies that condition:  c_1(v_1+w_1)+\cdots+c_n(v_n+w_n) =(c_1v_1+\cdots+c_nv_n)+(c_1w_1+\cdots+c_nw_n) =0 . The checks of the other conditions are just as routine.

As we've done in those equations, we often omit the multiplication symbol " \cdot ". We can distinguish the multiplication in "c1v1" from that in " r\vec{v}\, " since if both multiplicands are real numbers then real-real multiplication must be meant, while if one is a vector then scalar-vector multiplication must be meant.

The prior example has brought us full circle since it is one of our motivating examples.

Remark 1.16

Now, with some feel for the kinds of structures that satisfy the definition of a vector space, we can reflect on that definition. For example, why specify in the definition the condition that  1\cdot\vec{v}=\vec{v} but not a condition that  0\cdot\vec{v}=\vec{0} ?

One answer is that this is just a definition— it gives the rules of the game from here on, and if you don't like it, put the book down and walk away.

Another answer is perhaps more satisfying. People in this area have worked hard to develop the right balance of power and generality. This definition has been shaped so that it contains the conditions needed to prove all of the interesting and important properties of spaces of linear combinations. As we proceed, we shall derive all of the properties natural to collections of linear combinations from the conditions given in the definition.

The next result is an example. We do not need to include these properties in the definition of vector space because they follow from the properties already listed there.

Lemma 1.17

In any vector space V, for any  \vec{v}\in V and  r\in\mathbb{R} , we have

  1.  0\cdot\vec{v}=\vec{0} , and
  2.  (-1\cdot\vec{v})+\vec{v}=\vec{0} , and
  3.  r\cdot\vec{0}=\vec{0} .
Proof

For 1, note that  \vec{v}=(1+0)\cdot\vec{v}=\vec{v}+(0\cdot\vec{v}) . Add to both sides the additive inverse of  \vec{v} , the vector  \vec{w} such that  \vec{w}+\vec{v}=\vec{0} .

\begin{array}{rl}
\vec{w}+\vec{v}
&=\vec{w}+\vec{v}+0\cdot\vec{v} \\
\vec{0}
&=\vec{0}+0\cdot\vec{v} \\
\vec{0}
&=0\cdot\vec{v}
\end{array}


The second item is easy:  (-1\cdot\vec{v})+\vec{v}=(-1+1)\cdot\vec{v}=0\cdot\vec{v}=\vec{0} shows that we can write " -\vec{v}\, " for the additive inverse of  \vec{v} without worrying about possible confusion with  (-1)\cdot\vec{v} .

For 3, this  r\cdot\vec{0}=r\cdot(0\cdot\vec{0})=(r\cdot 0)\cdot\vec{0}=\vec{0} will do.

[edit] Summary

We finish with a recap.

Our study in Chapter One of Gaussian reduction led us to consider collections of linear combinations. So in this chapter we have defined a vector space to be a structure in which we can form such combinations, expressions of the form  c_1\cdot\vec{v}_1+\dots+c_n\cdot\vec{v}_n (subject to simple conditions on the addition and scalar multiplication operations). In a phrase: vector spaces are the right context in which to study linearity.

Finally, a comment. From the fact that it forms a whole chapter, and especially because that chapter is the first one, a reader could come to think that the study of linear systems is our purpose. The truth is, we will not so much use vector spaces in the study of linear systems as we will instead have linear systems start us on the study of vector spaces. The wide variety of examples from this subsection shows that the study of vector spaces is interesting and important in its own right, aside from how it helps us understand linear systems. Linear systems won't go away. But from now on our primary objects of study will be vector spaces.

[edit] Exercises

Problem 1

Name the zero vector for each of these vector spaces.

  1. The space of degree three polynomials under the natural operations
  2. The space of  2 \! \times \! 4 matrices
  3. The space  \{f:[0,1]\to\mathbb{R}\,\big|\, f\text{ is continuous}\}
  4. The space of real-valued functions of one natural number variable
Answer
  1. 0 + 0x + 0x2 + 0x3
  2.  \begin{pmatrix}
0  &0  &0  &0  \\
0  &0  &0  &0
\end{pmatrix}
  3. The constant function f(x) = 0
  4. The constant function f(n) = 0
This exercise is recommended for all readers.
Problem 2

Find the additive inverse, in the vector space, of the vector.

  1. In  \mathcal{P}_3 , the vector − 3 − 2x + x2.
  2. In the space  2 \! \times \! 2 ,
    
\begin{pmatrix}
1  &-1  \\
0  &3
\end{pmatrix}.
  3. In  \{ae^x+be^{-x}\,\big|\, a,b\in\mathbb{R}\} , the space of functions of the real variable x under the natural operations, the vector 3ex − 2e x.
Answer
  1. 3 + 2xx2
  2.  \begin{pmatrix}
-1  &+1  \\
0  &-3
\end{pmatrix}
  3. − 3ex + 2e x
This exercise is recommended for all readers.
Problem 3

Show that each of these is a vector space.

  1. The set of linear polynomials  \mathcal{P}_1=\{a_0+a_1x\,\big|\, a_0,a_1\in\mathbb{R}\} under the usual polynomial addition and scalar multiplication operations.
  2. The set of  2 \! \times \! 2 matrices with real entries under the usual matrix operations.
  3. The set of three-component row vectors with their usual operations.
  4. The set
    
L=\{\begin{pmatrix} x \\ y \\ z \\ w \end{pmatrix}\in\mathbb{R}^4\,\big|\, x+y-z+w=0\}
    under the operations inherited from \mathbb{R}^4.
Answer

Most of the conditions are easy to check; use Example 1.3 as a guide. Here are some comments.

  1. This is just like Example 1.3; the zero element is 0 + 0x.
  2. The zero element of this space is the 2 \! \times \! 2 matrix of zeroes.
  3. The zero element is the vector of zeroes.
  4. Closure of addition involves noting that the sum
    
\begin{pmatrix} x_1 \\ y_1 \\ z_1 \\ w_1 \end{pmatrix}
+\begin{pmatrix} x_2 \\ y_2 \\ z_2 \\ w_2 \end{pmatrix}
=
\begin{pmatrix} x_1+x_2 \\ y_1+y_2 \\ z_1+z_2 \\ w_1+w_2 \end{pmatrix}
    is in L because (x1 + x2) + (y1 + y2) − (z1 + z2) + (w1 + w2) = (x1 + y1z1 + w1) + (x2 + y2z2 + w2) = 0 + 0. Closure of scalar multiplication is similar. Note that the zero element, the vector of zeroes, is in L.
This exercise is recommended for all readers.
Problem 4

Show that each of these is not a vector space. (Hint. Start by listing two members of each set.)

  1. Under the operations inherited from  \mathbb{R}^3 , this set
    
\{\begin{pmatrix} x \\ y \\ z \end{pmatrix}\in\mathbb{R}^3\,\big|\, x+y+z=1\}
  2. Under the operations inherited from  \mathbb{R}^3 , this set
    
\{\begin{pmatrix} x \\ y \\ z \end{pmatrix}\in\mathbb{R}^3\,\big|\, x^2+y^2+z^2=1\}
  3. Under the usual matrix operations,
    
\{\begin{pmatrix}
a  &1  \\
b  &c
\end{pmatrix} \,\big|\, a,b,c\in\mathbb{R}\}
  4. Under the usual polynomial operations,
    
\{a_0+a_1x+a_2x^2\,\big|\, a_0,a_1,a_2\in\mathbb{R}^+\}
    where \mathbb{R}^+ is the set of reals greater than zero
  5. Under the inherited operations,
    
\{\begin{pmatrix} x \\ y \end{pmatrix}\in\mathbb{R}^2\,\big|\,
x+3y=4 \text{ and } 2x-y=3 \text{ and } 6x+4y=10\}
Answer

In each item the set is called Q. For some items, there are other correct ways to show that Q is not a vector space.

  1. It is not closed under addition; it fails to meet condition 1.
    
\begin{pmatrix} 1 \\ 0 \\ 0 \end{pmatrix},
\begin{pmatrix} 0 \\ 1 \\ 0 \end{pmatrix}\in Q
\qquad
\begin{pmatrix} 1 \\ 1 \\ 0 \end{pmatrix}\not\in Q
  2. It is not closed under addition.
    
\begin{pmatrix} 1 \\ 0 \\ 0 \end{pmatrix},
\begin{pmatrix} 0 \\ 1 \\ 0 \end{pmatrix}\in Q
\qquad
\begin{pmatrix} 1 \\ 1 \\ 0 \end{pmatrix}\not\in Q
  3. It is not closed under addition.
    
\begin{pmatrix}
0  &1  \\
0  &0
\end{pmatrix},
\,
\begin{pmatrix}
1  &1  \\
0  &0
\end{pmatrix}\in Q
\qquad
\begin{pmatrix}
1  &2  \\
0  &0
\end{pmatrix}\not\in Q
  4. It is not closed under scalar multiplication.
    
1+1x+1x^2\in Q
\qquad
-1\cdot(1+1x+1x^2)\not\in Q
Problem 5
It is empty, violating condition 4.
Problem 6

Define addition and scalar multiplication operations to make the complex numbers a vector space over  \mathbb{R} .

Answer

The usual operations (v0 + v1i) + (w0 + w1i) = (v0 + w0) + (v1 + w1)i and r(v0 + v1i) = (rv0) + (rv1)i suffice. The check is easy.

This exercise is recommended for all readers.
Problem 7

Is the set of rational numbers a vector space over  \mathbb{R} under the usual addition and scalar multiplication operations?

Answer

No, it is not closed under scalar multiplication since, e.g.,  \pi\cdot 1 is not a rational number.

Problem 8

Show that the set of linear combinations of the variables x,y,z is a vector space under the natural addition and scalar multiplication operations.

Answer

The natural operations are (v1x + v2y + v3z) + (w1x + w2y + w3z) = (v1 + w1)x + (v2 + w2)y + (v3 + w3)z and  r\cdot(v_1x+v_2y+v_3z)=(rv_1)x+(rv_2)y+(rv_3)z . The check that this is a vector space is easy; use Example 1.3 as a guide.

Problem 9

Prove that this is not a vector space: the set of two-tall column vectors with real entries subject to these operations.


\begin{pmatrix} x_1 \\ y_1 \end{pmatrix}
+\begin{pmatrix} x_2 \\ y_2 \end{pmatrix}
=\begin{pmatrix} x_1-x_2 \\ y_1-y_2 \end{pmatrix}
\qquad
r\cdot\begin{pmatrix} x \\ y \end{pmatrix}
=\begin{pmatrix} rx \\ ry \end{pmatrix}
Answer

The " + " operation is not commutative (that is, condition 2 is not met); producing two members of the set witnessing this assertion is easy.

Problem 10

Prove or disprove that  \mathbb{R}^3 is a vector space under these operations.

  1. 
\begin{pmatrix} x_1 \\ y_1 \\ z_1 \end{pmatrix}
+\begin{pmatrix} x_2 \\ y_2 \\ z_2 \end{pmatrix}
=\begin{pmatrix} 0 \\ 0 \\ 0 \end{pmatrix}
\quad\text{and}\quad
r\begin{pmatrix} x \\ y \\ z \end{pmatrix}
=\begin{pmatrix} rx \\ ry \\ rz \end{pmatrix}
  2. 
\begin{pmatrix} x_1 \\ y_1 \\ z_1 \end{pmatrix}
+\begin{pmatrix} x_2 \\ y_2 \\ z_2 \end{pmatrix}
=\begin{pmatrix} 0 \\ 0 \\ 0 \end{pmatrix}
\quad\text{and}\quad
r\begin{pmatrix} x \\ y \\ z \end{pmatrix}
=\begin{pmatrix} 0 \\ 0 \\ 0 \end{pmatrix}
Answer
  1. It is not a vector space.
    
(1+1)\cdot\begin{pmatrix} 1 \\ 0 \\ 0 \end{pmatrix}\neq
\begin{pmatrix} 1 \\ 0 \\ 0 \end{pmatrix}
+\begin{pmatrix} 1 \\ 0 \\ 0 \end{pmatrix}
  2. It is not a vector space.
    
1\cdot\begin{pmatrix} 1 \\ 0 \\ 0 \end{pmatrix}\neq\begin{pmatrix} 1 \\ 0 \\ 0 \end{pmatrix}
This exercise is recommended for all readers.
Problem 11

For each, decide if it is a vector space; the intended operations are the natural ones.

  1. The diagonal  2 \! \times \! 2 matrices
    
\{\begin{pmatrix}
a  &0  \\
0  &b
\end{pmatrix}\,\big|\, a,b\in\mathbb{R}\}
  2. This set of  2 \! \times \! 2 matrices
    
\{\begin{pmatrix}
x    &x+y  \\
x+y  &y
\end{pmatrix}\,\big|\, x,y\in\mathbb{R}\}
  3. This set
    
\{\begin{pmatrix} x \\ y \\ z \\ w \end{pmatrix}\in\mathbb{R}^4
\,\big|\, x+y+w=1\}
  4. The set of functions  \{f:\mathbb{R}\to\mathbb{R}\,\big|\, df/dx+2f=0\}
  5. The set of functions  \{f:\mathbb{R}\to\mathbb{R}\,\big|\, df/dx+2f=1\}
Answer

For each "yes" answer, you must give a check of all the conditions given in the definition of a vector space. For each "no" answer, give a specific example of the failure of one of the conditions.

  1. Yes.
  2. Yes.
  3. No, it is not closed under addition. The vector of all 1 / 4's, when added to itself, makes a nonmember.
  4. Yes.
  5. No, f(x) = e − 2x + (1 / 2) is in the set but  2\cdot f is not (that is, condition 6 fails).
This exercise is recommended for all readers.
Problem 12

Prove or disprove that this is a vector space: the real-valued functions f of one real variable such that f(7) = 0.

Answer

It is a vector space. Most conditions of the definition of vector space are routine; we here check only closure. For addition,  (f_1+f_2)\,(7)=f_1(7)+f_2(7)=0+0=0 . For scalar multiplication,  (r\cdot f)\,(7)=rf(7)=r0=0 .

This exercise is recommended for all readers.
Problem 13

Show that the set  \mathbb{R}^+ of positive reals is a vector space when "x + y" is interpreted to mean the product of x and y (so that 2 + 3 is 6), and " r\cdot x " is interpreted as the r-th power of x.

Answer

We check Definition 1.1.

First, closure under " + " holds because the product of two positive reals is a positive real. The second condition is satisfied because real multiplication commutes. Similarly, as real multiplication associates, the third checks. For the fourth condition, observe that multiplying a number by  1\in\mathbb{R}^+ won't change the number. Fifth, any positive real has a reciprocal that is a positive real.

The sixth, closure under " \cdot ", holds because any power of a positive real is a positive real. The seventh condition is just the rule that vr + s equals the product of vr and vs. The eight condition says that (vw)r = vrwr. The ninth condition asserts that (vr)s = vrs. The final condition says that v1 = v.

Problem 14

Is  \{(x,y)\,\big|\, x,y\in\mathbb{R}\} a vector space under these operations?

  1. (x1,y1) + (x2,y2) = (x1 + x2,y1 + y2) and  r\cdot (x,y)=(rx,y)
  2. (x1,y1) + (x2,y2) = (x1 + x2,y1 + y2) and  r\cdot (x,y)=(rx,0)
Answer
  1. No:  1\cdot(0,1)+1\cdot(0,1)\neq (1+1)\cdot(0,1) .
  2. No; the same calculation as the prior answer shows a contition in the definition of a vector space that is violated. Another example of a violation of the conditions for a vector space is that  1\cdot (0,1)\neq (0,1) .
Problem 15

Prove or disprove that this is a vector space: the set of polynomials of degree greater than or equal to two, along with the zero polynomial.

Answer

It is not a vector space since it is not closed under addition, as (x2) + (1 + xx2) is not in the set.

Problem 16

At this point "the same" is only an intuition, but nonetheless for each vector space identify the k for which the space is "the same" as  \mathbb{R}^k .

  1. The  2 \! \times \! 3 matrices under the usual operations
  2. The  n \! \times \! m matrices (under their usual operations)
  3. This set of  2 \! \times \! 2 matrices
    
\{\begin{pmatrix}
a &0 \\
b &c
\end{pmatrix} \,\big|\, a,b,c\in\mathbb{R}\}
  4. This set of  2 \! \times \! 2 matrices
    
\{\begin{pmatrix}
a  &0  \\
b  &c
\end{pmatrix} \,\big|\, a+b+c=0\}
Answer
  1. 6
  2. nm
  3. 3
  4. To see that the answer is 2, rewrite it as
    
\{\begin{pmatrix}
a  &0  \\
b  &-a-b
\end{pmatrix} \,\big|\, a,b\in\mathbb{R}\}
    so that there are two parameters.
This exercise is recommended for all readers.
Problem 17

Using  \vec{+} to represent vector addition and  \,\vec{\cdot}\, for scalar multiplication, restate the definition of vector space.

Answer

A vector space (over  \mathbb{R} ) consists of a set V along with two operations " \mathbin{\vec{+}} " and " \mathbin{\vec{\cdot}} " subject to these conditions. Where  \vec{v},\vec{w}\in V ,

  1. their vector sum  \vec{v}\mathbin{\vec{+}}\vec{w} is an element of V. If  \vec{u},\vec{v},\vec{w}\in V then
  2.  \vec{v}\mathbin{\vec{+}}\vec{w}=\vec{w}\mathbin{\vec{+}}\vec{v} and
  3.  (\vec{v}\mathbin{\vec{+}}\vec{w})\mathbin{\vec{+}}\vec{u}=\vec{v}\mathbin{\vec{+}}(\vec{w}\mathbin{\vec{+}}\vec{u}) .
  4. There is a zero vector  \vec{0}\in V such that  \vec{v}\mathbin{\vec{+}}\vec{0}=\vec{v}\, for all  \vec{v}\in V.
  5. Each  \vec{v}\in V has an additive inverse  \vec{w}\in V such that  \vec{w}\mathbin{\vec{+}}\vec{v}=\vec{0} . If r,s are scalars, that is, members of  \mathbb{R} ), and  \vec{v},\vec{w}\in V then
  6. each scalar multiple  r\cdot\vec{v} is in V. If  r,s\in\mathbb{R} and  \vec{v},\vec{w}\in V then
  7.  (r+ s)\cdot\vec{v}=r\cdot\vec{v}\mathbin{\vec{+}} s\cdot\vec{v} , and
  8.  r\mathbin{\vec{\cdot}} (\vec{v}+\vec{w})=r\mathbin{\vec{\cdot}}\vec{v}+r\mathbin{\vec{\cdot}}\vec{w} , and
  9.  (rs)\mathbin{\vec{\cdot}} \vec{v} =r\mathbin{\vec{\cdot}} (s\mathbin{\vec{\cdot}}\vec{v}) , and
  10.  1\mathbin{\vec{\cdot}} \vec{v}=\vec{v} .
This exercise is recommended for all readers.
Problem 18

Prove these.

  1. Any vector is the additive inverse of the additive inverse of itself.
  2. Vector addition left-cancels: if  \vec{v},\vec{s},\vec{t}\in V then  \vec{v}+\vec{s}=\vec{v}+\vec{t}\, implies that  \vec{s}=\vec{t} .
Answer
  1. Let V be a vector space, assume that  \vec{v}\in V , and assume that  \vec{w}\in V is the additive inverse of \vec{v} so that  \vec{w}+\vec{v}=\vec{0} . Because addition is commutative,  \vec{0}=\vec{w}+\vec{v}=\vec{v}+\vec{w} , so therefore  \vec{v} is also the additive inverse of  \vec{w} .
  2. Let V be a vector space and suppose  \vec{v},\vec{s},\vec{t}\in V . The additive inverse of  \vec{v} is  -\vec{v} so  \vec{v}+\vec{s}=\vec{v}+\vec{t} gives that  -\vec{v}+\vec{v}+\vec{s}=-\vec{v}+\vec{v}+\vec{t} , which says that  \vec{0}+\vec{s}=\vec{0}+\vec{t} and so  \vec{s}=\vec{t} .
Problem 19

The definition of vector spaces does not explicitly say that  \vec{0}+\vec{v}=\vec{v} (it instead says that  \vec{v}+\vec{0}=\vec{v} ). Show that it must nonetheless hold in any vector space.

Answer

Addition is commutative, so in any vector space, for any vector  \vec{v} we have that  \vec{v}=\vec{v}+\vec{0}=\vec{0}+\vec{v} .

This exercise is recommended for all readers.
Problem 20

Prove or disprove that this is a vector space: the set of all matrices, under the usual operations.

Answer

It is not a vector space since addition of two matrices of unequal sizes is not defined, and thus the set fails to satisfy the closure condition.

Problem 21

In a vector space every element has an additive inverse. Can some elements have two or more?

Answer

Each element of a vector space has one and only one additive inverse.

For, let V be a vector space and suppose that  \vec{v}\in V . If  \vec{w}_1,\vec{w}_2\in V are both additive inverses of  \vec{v} then consider  \vec{w}_1+\vec{v}+\vec{w}_2 . On the one hand, we have that it equals \vec{w}_1+(\vec{v}+\vec{w}_2)= \vec{w}_1+\vec{0}=\vec{w}_1. On the other hand we have that it equals (\vec{w}_1+\vec{v})+\vec{w}_2= \vec{0}+\vec{w}_2=\vec{w}_2. Therefore, \vec{w}_1=\vec{w}_2.

Problem 22
  1. Prove that every point, line, or plane thru the origin in  \mathbb{R}^3 is a vector space under the inherited operations.
  2. What if it doesn't contain the origin?
Answer
  1. Every such set has the form  \{r\cdot\vec{v}+s\cdot\vec{w}\,\big|\, r,s\in\mathbb{R}\} where either or both of  \vec{v},\vec{w} may be  \vec{0} . With the inherited operations, closure of addition  (r_1\vec{v}+s_1\vec{w})+(r_2\vec{v}+s_2\vec{w})=(r_1+r_2)\vec{v}+(s_1+s_2)\vec{w} and scalar multiplication  c(r\vec{v}+s\vec{w})=(cr)\vec{v}+(cs)\vec{w} are easy. The other conditions are also routine.
  2. No such set can be a vector space under the inherited operations because it does not have a zero element.
This exercise is recommended for all readers.
Problem 23

Using the idea of a vector space we can easily reprove that the solution set of a homogeneous linear system has either one element or infinitely many elements. Assume that  \vec{v}\in V is not  \vec{0} .

  1. Prove that  r\cdot\vec{v}=\vec{0} if and only if r = 0.
  2. Prove that  r_1\cdot\vec{v}=r_2\cdot\vec{v} if and only if r1 = r2.
  3. Prove that any nontrivial vector space is infinite.
  4. Use the fact that a nonempty solution set of a homogeneous linear system is a vector space to draw the conclusion.
Answer

Assume that  \vec{v}\in V is not  \vec{0} .

  1. One direction of the if and only if is clear: if r = 0 then r\cdot\vec{v}=\vec{0}. For the other way, let r be a nonzero scalar. If  r\vec{v}=\vec{0} then  (1/r)\cdot r\vec{v}=(1/r)\cdot \vec{0} shows that \vec{v}=\vec{0}, contrary to the assumption.
  2. Where r1,r2 are scalars,  r_1\vec{v}=r_2\vec{v}\, holds if and only if  (r_1-r_2)\vec{v}=\vec{0} . By the prior item, then r1r2 = 0.
  3. A nontrivial space has a vector  \vec{v}\neq\vec{0} . Consider the set  \{k\cdot\vec{v}\,\big|\, k\in\mathbb{R}\} . By the prior item this set is infinite.
  4. The solution set is either trivial, or nontrivial. In the second case, it is infinite.
Problem 24

Is this a vector space under the natural operations: the real-valued functions of one real variable that are differentiable?

Answer

Yes. A theorem of first semester calculus says that a sum of differentiable functions is differentiable and that  (f+g)^\prime=f^\prime+g^\prime , and that a multiple of a differentiable function is differentiable and that  (r\cdot f)^\prime=r\,f^\prime .

Problem 25

A vector space over the complex numbers \mathbb{C} has the same definition as a vector space over the reals except that scalars are drawn from  \mathbb{C} instead of from  \mathbb{R} . Show that each of these is a vector space over the complex numbers. (Recall how complex numbers add and multiply: (a0 + a1i) + (b0 + b1i) = (a0 + b0) + (a1 + b1)i and (a0 + a1i)(b0 + b1i) = (a0b0a1b1) + (a0b1 + a1b0)i.)

  1. The set of degree two polynomials with complex coefficients
  2. This set
    
\{\begin{pmatrix}
0  &a  \\
b  &0
\end{pmatrix}\,\big|\, a,b\in\mathbb{C}\text{ and }
a+b=0+0i \}
Answer

The check is routine. Note that "1" is 1 + 0i and the zero elements are these.

  1. (0 + 0i) + (0 + 0i)x + (0 + 0i)x2
  2.  \begin{pmatrix}
0+0i  &0+0i  \\
0+0i  &0+0i
\end{pmatrix}
Problem 26

Name a property shared by all of the  \mathbb{R}^n 's but not listed as a requirement for a vector space.

Answer

Notably absent from the definition of a vector space is a distance measure.

This exercise is recommended for all readers.
Problem 27
    • Prove that a sum of four vectors  \vec{v}_1,\ldots,\vec{v}_4\in V can be associated in any way without changing the result.
      \begin{array}{rl}
((\vec{v}_1+\vec{v}_2)+\vec{v}_3)+\vec{v}_4
&=(\vec{v}_1+(\vec{v}_2+\vec{v}_3))+\vec{v}_4 \\
&=(\vec{v}_1+\vec{v}_2)+(\vec{v}_3+\vec{v}_4) \\
&=\vec{v}_1+((\vec{v}_2+\vec{v}_3)+\vec{v}_4) \\
&=\vec{v}_1+(\vec{v}_2+(\vec{v}_3+\vec{v}_4))
\end{array}
      This allows us to simply write " \vec{v}_1+\vec{v}_2+\vec{v}_3+\vec{v}_4 " without ambiguity.
    • Prove that any two ways of associating a sum of any number of vectors give the same sum. (Hint. Use induction on the number of vectors.)
      Answer
      1. A small rearrangement does the trick.
        \begin{array}{rl}
(\vec{v}_1+(\vec{v}_2+\vec{v}_3))+\vec{v}_4
&=((\vec{v}_1+\vec{v}_2)+\vec{v}_3)+\vec{v}_4 \\
&=(\vec{v}_1+\vec{v}_2)+(\vec{v}_3+\vec{v}_4) \\
&=\vec{v}_1+(\vec{v}_2+(\vec{v}_3+\vec{v}_4)) \\
&=\vec{v}_1+((\vec{v}_2+\vec{v}_3)+\vec{v}_4)
\end{array}
        Each equality above follows from the associativity of three vectors that is given as a condition in the definition of a vector space. For instance, the second " = " applies the rule (\vec{w}_1+\vec{w}_2)+\vec{w}_3=\vec{w}_1+(\vec{w}_2+\vec{w}_3) by taking \vec{w}_1 to be \vec{v}_1+\vec{v}_2, taking \vec{w}_2 to be \vec{v}_3, and taking \vec{w}_3 to be \vec{v}_4.
      2. The base case for induction is the three vector case. This case  \vec{v}_1+(\vec{v}_2+\vec{v}_3)=(\vec{v}_1+\vec{v}_2)+\vec{v}_3 is required of any triple of vectors by the definition of a vector space. For the inductive step, assume that any two sums of three vectors, any two sums of four vectors, ..., any two sums of k vectors are equal no matter how the sums are parenthesized. We will show that any sum of k + 1 vectors equals this one  ((\cdots((\vec{v}_1+\vec{v}_2)+\vec{v}_3)+\cdots)+\vec{v}_k)+\vec{v}_{k+1} . Any parenthesized sum has an outermost " + ". Assume that it lies between  \vec{v}_m and  \vec{v}_{m+1} so the sum looks like this.
        
(\cdots\,(\vec{v}_1+(\cdots+\vec{v}_m))\,\cdots)+(\cdots\,(\vec{v}_{m+1}+(\cdots+\vec{v}_{k+1}))\,\cdots)
        The second half involves fewer than k + 1 additions, so by the inductive hypothesis we can re-parenthesize it so that it reads left to right from the inside out, and in particular, so that its outermost " + " occurs right before \vec{v}_{k+1}.
        
=(\cdots\,(\vec{v}_1+(\,\cdots\,+\vec{v}_m))\,\cdots)+(\cdots(\vec{v}_{m+1}+(\cdots+\vec{v}_{k})\cdots)+\vec{v}_{k+1})
        Apply the associativity of the sum of three things
        
=((\,\cdots\,(\vec{v}_1+(\cdots+\vec{v}_m)\,\cdots\,)
+(\,\cdots\,(\vec{v}_{m+1}+(\cdots\,\vec{v}_k))\cdots)
+\vec{v}_{k+1}
        and finish by applying the inductive hypothesis inside these outermost parenthesis.
    Problem 28

    For any vector space, a subset that is itself a vector space under the inherited operations (e.g., a plane through the origin inside of  \mathbb{R}^3 ) is a subspace.

    1. Show that  \{a_0+a_1x+a_2x^2\,\big|\, a_0+a_1+a_2=0\} is a subspace of the vector space of degree two polynomials.
    2. Show that this is a subspace of the  2 \! \times \! 2 matrices.
      
\{\begin{pmatrix}
a  &b  \\
c  &0
\end{pmatrix} \,\big|\, a+b=0\}
    3. Show that a nonempty subset S of a real vector space is a subspace if and only if it is closed under linear combinations of pairs of vectors: whenever  c_1,c_2\in\mathbb{R} and  \vec{s}_1,\vec{s}_2\in S then the combination  c_1\vec{v}_1+c_2\vec{v}_2 is in S.
    Answer
    1. We outline the check of the conditions from Definition 1.1. Additive closure holds because if a0 + a1 + a2 = 0 and b0 + b1 + b2 = 0 then
      (a0 + a1x + a2x2) + (b0 + b1x + b2x2) = (a0 + b0) + (a1 + b1)x + (a2 + b2)x2
      is in the set since (a0 + b0) + (a1 + b1) + (a2 + b2) = (a0 + a1 + a2) + (b0 + b1 + b2) is zero. The second through fifth conditions are easy. Closure under scalar multiplication holds because if a0 + a1 + a2 = 0 then
      
r\cdot(a_0+a_1x+a_2x^2)=
(ra_0)+(ra_1)x+(ra_2)x^2
      is in the set as ra0 + ra1 + ra2 = r(a0 + a1 + a2) is zero. The remaining conditions here are also easy.
    2. This is similar to the prior answer.
    3. Call the vector space V. We have two implications: left to right, if S is a subspace then it is closed under linear combinations of pairs of vectors and, right to left, if a nonempty subset is closed under linear combinations of pairs of vectors then it is a subspace. The left to right implication is easy; we here sketch the other one by assuming S is nonempty and closed, and checking the conditions of Definition 1.1. First, to show closure under addition, if  \vec{s}_1,\vec{s}_2\in S then  \vec{s}_1+\vec{s}_2\in S as  \vec{s}_1+\vec{s}_2=1\cdot\vec{s}_1+1\cdot\vec{s}_2 . Second, for any  \vec{s}_1,\vec{s}_2\in S , because addition is inherited from V, the sum  \vec{s}_1+\vec{s}_2 in S equals the sum  \vec{s}_1+\vec{s}_2 in V and that equals the sum  \vec{s}_2+\vec{s}_1 in V and that in turn equals the sum  \vec{s}_2+\vec{s}_1 in S. The argument for the third condition is similar to that for the second. For the fourth, suppose that  \vec{s} is in the nonempty set S and note that  0\cdot\vec{s}=\vec{0}\in S ; showing that the  \vec{0} of V acts under the inherited operations as the additive identity of S is easy. The fifth condition is satisfied because for any  \vec{s}\in S closure under linear combinations shows that the vector  0\cdot\vec{0}+(-1)\cdot\vec{s} is in S; showing that it is the additive inverse of  \vec{s} under the inherited operations is routine. The proofs for the remaining conditions are similar.