# Linear Algebra/Definition and Examples of Linear Independence/Solutions

## Solutions

This exercise is recommended for all readers.
Problem 1

Decide whether each subset of ${\displaystyle \mathbb {R} ^{3}}$ is linearly dependent or linearly independent.

1. ${\displaystyle \{{\begin{pmatrix}1\\-3\\5\end{pmatrix}},{\begin{pmatrix}2\\2\\4\end{pmatrix}},{\begin{pmatrix}4\\-4\\14\end{pmatrix}}\}}$
2. ${\displaystyle \{{\begin{pmatrix}1\\7\\7\end{pmatrix}},{\begin{pmatrix}2\\7\\7\end{pmatrix}},{\begin{pmatrix}3\\7\\7\end{pmatrix}}\}}$
3. ${\displaystyle \{{\begin{pmatrix}0\\0\\-1\end{pmatrix}},{\begin{pmatrix}1\\0\\4\end{pmatrix}}\}}$
4. ${\displaystyle \{{\begin{pmatrix}9\\9\\0\end{pmatrix}},{\begin{pmatrix}2\\0\\1\end{pmatrix}},{\begin{pmatrix}3\\5\\-4\end{pmatrix}},{\begin{pmatrix}12\\12\\-1\end{pmatrix}}\}}$

For each of these, when the subset is independent it must be proved, and when the subset is dependent an example of a dependence must be given.

1. It is dependent. Considering
${\displaystyle c_{1}{\begin{pmatrix}1\\-3\\5\end{pmatrix}}+c_{2}{\begin{pmatrix}2\\2\\4\end{pmatrix}}+c_{3}{\begin{pmatrix}4\\-4\\14\end{pmatrix}}={\begin{pmatrix}0\\0\\0\end{pmatrix}}}$
gives rise to this linear system.
${\displaystyle {\begin{array}{*{3}{rc}r}c_{1}&+&2c_{2}&+&4c_{3}&=&0\\-3c_{1}&+&2c_{2}&-&4c_{3}&=&0\\5c_{1}&+&4c_{2}&+&14c_{3}&=&0\end{array}}}$
Gauss' method
${\displaystyle \left({\begin{array}{*{3}{c}|c}1&2&4&0\\-3&2&-4&0\\5&4&14&0\end{array}}\right){\xrightarrow[{-5\rho _{1}+\rho _{3}}]{3\rho _{1}+\rho _{2}}}\;{\xrightarrow[{}]{(3/4)\rho _{2}+\rho _{3}}}\left({\begin{array}{*{3}{c}|c}1&2&4&0\\0&8&8&0\\0&0&0&0\end{array}}\right)}$
yields a free variable, so there are infinitely many solutions. For an example of a particular dependence we can set ${\displaystyle c_{3}}$ to be, say, ${\displaystyle 1}$. Then we get ${\displaystyle c_{2}=-1}$ and ${\displaystyle c_{1}=-2}$.
2. It is dependent. The linear system that arises here
${\displaystyle \left({\begin{array}{*{3}{c}|c}1&2&3&0\\7&7&7&0\\7&7&7&0\end{array}}\right)\;{\xrightarrow[{-7\rho _{1}+\rho _{3}}]{-7\rho _{1}+\rho _{2}}}\;{\xrightarrow[{}]{-\rho _{2}+\rho _{3}}}\;\left({\begin{array}{*{3}{c}|c}1&2&3&0\\0&-7&-14&0\\0&0&0&0\end{array}}\right)}$
has infinitely many solutions. We can get a particular solution by taking ${\displaystyle c_{3}}$ to be, say, ${\displaystyle 1}$, and back-substituting to get the resulting ${\displaystyle c_{2}}$ and ${\displaystyle c_{1}}$.
3. It is linearly independent. The system
${\displaystyle \left({\begin{array}{*{2}{c}|c}0&1&0\\0&0&0\\-1&4&0\end{array}}\right)\;{\xrightarrow[{}]{\rho _{1}\leftrightarrow \rho _{2}}}\;{\xrightarrow[{}]{\rho _{3}\leftrightarrow \rho _{1}}}\;\left({\begin{array}{*{2}{c}|c}-1&4&0\\0&1&0\\0&0&0\end{array}}\right)}$
has only the solution ${\displaystyle c_{1}=0}$ and ${\displaystyle c_{2}=0}$. (We could also have gotten the answer by inspection— the second vector is obviously not a multiple of the first, and vice versa.)
4. It is linearly dependent. The linear system
${\displaystyle \left({\begin{array}{*{4}{c}|c}9&2&3&12&0\\9&0&5&12&0\\0&1&-4&-1&0\end{array}}\right)}$
has more unknowns than equations, and so Gauss' method must end with at least one variable free (there can't be a contradictory equation because the system is homogeneous, and so has at least the solution of all zeroes). To exhibit a combination, we can do the reduction
${\displaystyle {\xrightarrow[{}]{-\rho _{1}+\rho _{2}}}\;{\xrightarrow[{}]{(1/2)\rho _{2}+\rho _{3}}}\;\left({\begin{array}{*{4}{c}|c}9&2&3&12&0\\0&-2&2&0&0\\0&0&-3&-1&0\end{array}}\right)}$
and take, say, ${\displaystyle c_{4}=1}$. Then we have that ${\displaystyle c_{3}=-1/3}$, ${\displaystyle c_{2}=-1/3}$, and ${\displaystyle c_{1}=-31/27}$.
This exercise is recommended for all readers.
Problem 2

Which of these subsets of ${\displaystyle {\mathcal {P}}_{3}}$ are linearly dependent and which are independent?

1. ${\displaystyle \{3-x+9x^{2},5-6x+3x^{2},1+1x-5x^{2}\}}$
2. ${\displaystyle \{-x^{2},1+4x^{2}\}}$
3. ${\displaystyle \{2+x+7x^{2},3-x+2x^{2},4-3x^{2}\}}$
4. ${\displaystyle \{8+3x+3x^{2},x+2x^{2},2+2x+2x^{2},8-2x+5x^{2}\}}$

In the cases of independence, that must be proved. Otherwise, a specific dependence must be produced. (Of course, dependences other than the ones exhibited here are possible.)

1. This set is independent. Setting up the relation ${\displaystyle c_{1}(3-x+9x^{2})+c_{2}(5-6x+3x^{2})+c_{3}(1+1x-5x^{2})=0+0x+0x^{2}}$ gives a linear system
${\displaystyle \left({\begin{array}{*{3}{c}|c}3&5&1&0\\-1&-6&1&0\\9&3&-5&0\end{array}}\right)\;{\xrightarrow[{-3\rho _{1}+\rho _{3}}]{(1/3)\rho _{1}+\rho _{2}}}\;{\xrightarrow[{}]{3\rho _{2}}}\;{\xrightarrow[{}]{-(12/13)\rho _{2}+\rho _{3}}}\;\left({\begin{array}{*{3}{c}|c}3&5&1&0\\0&-13&4&0\\0&0&-128/13&0\end{array}}\right)}$
with only one solution: ${\displaystyle c_{1}=0}$, ${\displaystyle c_{2}=0}$, and ${\displaystyle c_{3}=0}$.
2. This set is independent. We can see this by inspection, straight from the definition of linear independence. Obviously neither is a multiple of the other.
3. This set is linearly independent. The linear system reduces in this way
${\displaystyle \left({\begin{array}{*{3}{c}|c}2&3&4&0\\1&-1&0&0\\7&2&-3&0\end{array}}\right)\;{\xrightarrow[{-(7/2)\rho _{1}+\rho _{3}}]{-(1/2)\rho _{1}+\rho _{2}}}\;{\xrightarrow[{}]{-(17/5)\rho _{2}+\rho _{3}}}\;\left({\begin{array}{*{3}{c}|c}2&3&4&0\\0&-5/2&-2&0\\0&0&-51/5&0\end{array}}\right)}$
to show that there is only the solution ${\displaystyle c_{1}=0}$, ${\displaystyle c_{2}=0}$, and ${\displaystyle c_{3}=0}$.
4. This set is linearly dependent. The linear system
${\displaystyle \left({\begin{array}{*{4}{c}|c}8&0&2&8&0\\3&1&2&-2&0\\3&2&2&5&0\end{array}}\right)}$
must, after reduction, end with at least one variable free (there are more variables than equations, and there is no possibility of a contradictory equation because the system is homogeneous). We can take the free variables as parameters to describe the solution set. We can then set the parameter to a nonzero value to get a nontrivial linear relation.
This exercise is recommended for all readers.
Problem 3

Prove that each set ${\displaystyle \{f,g\}}$ is linearly independent in the vector space of all functions from ${\displaystyle \mathbb {R} ^{+}}$ to ${\displaystyle \mathbb {R} }$.

1. ${\displaystyle f(x)=x}$ and ${\displaystyle g(x)=1/x}$
2. ${\displaystyle f(x)=\cos(x)}$ and ${\displaystyle g(x)=\sin(x)}$
3. ${\displaystyle f(x)=e^{x}}$ and ${\displaystyle g(x)=\ln(x)}$

Let ${\displaystyle Z}$ be the zero function ${\displaystyle Z(x)=0}$, which is the additive identity in the vector space under discussion.

1. This set is linearly independent. Consider ${\displaystyle c_{1}\cdot f(x)+c_{2}\cdot g(x)=Z(x)}$. Plugging in ${\displaystyle x=1}$ and ${\displaystyle x=2}$ gives a linear system
${\displaystyle {\begin{array}{*{2}{rc}r}c_{1}\cdot 1&+&c_{2}\cdot 1&=&0\\c_{1}\cdot 2&+&c_{2}\cdot (1/2)&=&0\end{array}}}$
with the unique solution ${\displaystyle c_{1}=0}$, ${\displaystyle c_{2}=0}$.
2. This set is linearly independent. Consider ${\displaystyle c_{1}\cdot f(x)+c_{2}\cdot g(x)=Z(x)}$ and plug in ${\displaystyle x=0}$ and ${\displaystyle x=\pi /2}$ to get
${\displaystyle {\begin{array}{*{2}{rc}r}c_{1}\cdot 1&+&c_{2}\cdot 0&=&0\\c_{1}\cdot 0&+&c_{2}\cdot 1&=&0\end{array}}}$
which obviously gives that ${\displaystyle c_{1}=0}$, ${\displaystyle c_{2}=0}$.
3. This set is also linearly independent. Considering ${\displaystyle c_{1}\cdot f(x)+c_{2}\cdot g(x)=Z(x)}$ and plugging in ${\displaystyle x=1}$ and ${\displaystyle x=e}$
${\displaystyle {\begin{array}{*{2}{rc}r}c_{1}\cdot e&+&c_{2}\cdot 0&=&0\\c_{1}\cdot e^{e}&+&c_{2}\cdot 1&=&0\end{array}}}$
gives that ${\displaystyle c_{1}=0}$ and ${\displaystyle c_{2}=0}$.
This exercise is recommended for all readers.
Problem 4

Which of these subsets of the space of real-valued functions of one real variable is linearly dependent and which is linearly independent? (Note that we have abbreviated some constant functions; e.g., in the first item, the "${\displaystyle 2}$" stands for the constant function ${\displaystyle f(x)=2}$.)

1. ${\displaystyle \{2,4\sin ^{2}(x),\cos ^{2}(x)\}}$
2. ${\displaystyle \{1,\sin(x),\sin(2x)\}}$
3. ${\displaystyle \{x,\cos(x)\}}$
4. ${\displaystyle \{(1+x)^{2},x^{2}+2x,3\}}$
5. ${\displaystyle \{\cos(2x),\sin ^{2}(x),\cos ^{2}(x)\}}$
6. ${\displaystyle \{0,x,x^{2}\}}$

In each case, that the set is independent must be proved, and that it is dependent must be shown by exhibiting a specific dependence.

1. This set is dependent. The familiar relation ${\displaystyle \sin ^{2}(x)+\cos ^{2}(x)=1}$ shows that ${\displaystyle 2=c_{1}\cdot (4\sin ^{2}(x))+c_{2}\cdot (\cos ^{2}(x))}$ is satisfied by ${\displaystyle c_{1}=1/2}$ and ${\displaystyle c_{2}=2}$.
2. This set is independent. Consider the relationship ${\displaystyle c_{1}\cdot 1+c_{2}\cdot \sin(x)+c_{3}\cdot \sin(2x)=0}$ (that "${\displaystyle 0}$" is the zero function). Taking ${\displaystyle x=0}$, ${\displaystyle x=\pi /2}$ and ${\displaystyle x=\pi /4}$ gives this system.
${\displaystyle {\begin{array}{*{3}{rc}r}c_{1}&&&&&=&0\\c_{1}&+&c_{2}&&&=&0\\c_{1}&+&({\sqrt {2}}/2)c_{2}&+&c_{3}&=&0\end{array}}}$
whose only solution is ${\displaystyle c_{1}=0}$, ${\displaystyle c_{2}=0}$, and ${\displaystyle c_{3}=0}$.
3. By inspection, this set is independent. Any dependence ${\displaystyle \cos(x)=c\cdot x}$ is not possible since the cosine function is not a multiple of the identity function (we are applying Corollary 1.17).
4. By inspection, we spot that there is a dependence. Because ${\displaystyle (1+x)^{2}=x^{2}+2x+1}$, we get that ${\displaystyle c_{1}\cdot (1+x)^{2}+c_{2}\cdot (x^{2}+2x)=3}$ is satisfied by ${\displaystyle c_{1}=3}$ and ${\displaystyle c_{2}=-3}$.
5. This set is dependent. The easiest way to see that is to recall the trigonometric relationship ${\displaystyle \cos ^{2}(x)-\sin ^{2}(x)=\cos(2x)}$. (Remark. A person who doesn't recall this, and tries some ${\displaystyle x}$'s, simply never gets a system leading to a unique solution, and never gets to conclude that the set is independent. Of course, this person might wonder if they simply never tried the right set of ${\displaystyle x}$'s, but a few tries will lead most people to look instead for a dependence.)
6. This set is dependent, because it contains the zero object in the vector space, the zero polynomial.
Problem 5

Does the equation ${\displaystyle \sin ^{2}(x)/\cos ^{2}(x)=\tan ^{2}(x)}$ show that this set of functions ${\displaystyle \{\sin ^{2}(x),\cos ^{2}(x),\tan ^{2}(x)\}}$ is a linearly dependent subset of the set of all real-valued functions with domain the interval ${\displaystyle (-\pi /2..\pi /2)}$ of real numbers between ${\displaystyle -\pi /2}$ and ${\displaystyle \pi /2)}$?

No, that equation is not a linear relationship. In fact this set is independent, as the system arising from taking ${\displaystyle x}$ to be ${\displaystyle 0}$, ${\displaystyle \pi /6}$ and ${\displaystyle \pi /4}$ shows.

Problem 6

Why does Lemma 1.4 say "distinct"?

To emphasize that the equation ${\displaystyle 1\cdot {\vec {s}}+(-1)\cdot {\vec {s}}={\vec {0}}}$ does not make the set dependent.

This exercise is recommended for all readers.
Problem 7

Show that the nonzero rows of an echelon form matrix form a linearly independent set.

We have already showed this: the Linear Combination Lemma and its corollary state that in an echelon form matrix, no nonzero row is a linear combination of the others.

This exercise is recommended for all readers.
Problem 8
1. Show that if the set ${\displaystyle \{{\vec {u}},{\vec {v}},{\vec {w}}\}}$ is linearly independent set then so is the set ${\displaystyle \{{\vec {u}},{\vec {u}}+{\vec {v}},{\vec {u}}+{\vec {v}}+{\vec {w}}\}}$.
2. What is the relationship between the linear independence or dependence of the set ${\displaystyle \{{\vec {u}},{\vec {v}},{\vec {w}}\}}$ and the independence or dependence of ${\displaystyle \{{\vec {u}}-{\vec {v}},{\vec {v}}-{\vec {w}},{\vec {w}}-{\vec {u}}\}}$?
1. Assume that the set ${\displaystyle \{{\vec {u}},{\vec {v}},{\vec {w}}\}}$ is linearly independent, so that any relationship ${\displaystyle d_{0}{\vec {u}}+d_{1}{\vec {v}}+d_{2}{\vec {w}}={\vec {0}}}$ leads to the conclusion that ${\displaystyle d_{0}=0}$, ${\displaystyle d_{1}=0}$, and ${\displaystyle d_{2}=0}$. Consider the relationship ${\displaystyle c_{1}({\vec {u}})+c_{2}({\vec {u}}+{\vec {v}})+c_{3}({\vec {u}}+{\vec {v}}+{\vec {w}})={\vec {0}}}$. Rewrite it to get ${\displaystyle (c_{1}+c_{2}+c_{3}){\vec {u}}+(c_{2}+c_{3}){\vec {v}}+(c_{3}){\vec {w}}={\vec {0}}}$. Taking ${\displaystyle d_{0}}$ to be ${\displaystyle c_{1}+c_{2}+c_{3}}$, taking ${\displaystyle d_{1}}$ to be ${\displaystyle c_{2}+c_{3}}$, and taking ${\displaystyle d_{2}}$ to be ${\displaystyle c_{3}}$ we have this system.
${\displaystyle {\begin{array}{*{3}{rc}r}c_{1}&+&c_{2}&+&c_{3}&=&0\\&&c_{2}&+&c_{3}&=&0\\&&&&c_{3}&=&0\end{array}}}$
Conclusion: the ${\displaystyle c}$'s are all zero, and so the set is linearly independent.
2. The second set is dependent
${\displaystyle 1\cdot ({\vec {u}}-{\vec {v}})+1\cdot ({\vec {v}}-{\vec {w}})+1\cdot ({\vec {w}}-{\vec {u}})={\vec {0}}}$
whether or not the first set is independent.
Problem 9

Example 1.10 shows that the empty set is linearly independent.

1. When is a one-element set linearly independent?
2. How about a set with two elements?
1. A singleton set ${\displaystyle \{{\vec {v}}\}}$ is linearly independent if and only if ${\displaystyle {\vec {v}}\neq {\vec {0}}}$. For the "if" direction, with ${\displaystyle {\vec {v}}\neq {\vec {0}}}$, we can apply Lemma 1.4 by considering the relationship ${\displaystyle c\cdot {\vec {v}}={\vec {0}}}$ and noting that the only solution is the trivial one: ${\displaystyle c=0}$. For the "only if" direction, just recall that Example 1.11 shows that ${\displaystyle \{{\vec {0}}\}}$ is linearly dependent, and so if the set ${\displaystyle \{{\vec {v}}\}}$ is linearly independent then ${\displaystyle {\vec {v}}\neq {\vec {0}}}$. (Remark. Another answer is to say that this is the special case of Lemma 1.16 where ${\displaystyle S=\varnothing }$.)
2. A set with two elements is linearly independent if and only if neither member is a multiple of the other (note that if one is the zero vector then it is a multiple of the other, so this case is covered). This is an equivalent statement: a set is linearly dependent if and only if one element is a multiple of the other. The proof is easy. A set ${\displaystyle \{{\vec {v}}_{1},{\vec {v}}_{2}\}}$ is linearly dependent if and only if there is a relationship ${\displaystyle c_{1}{\vec {v}}_{1}+c_{2}{\vec {v}}_{2}={\vec {0}}}$ with either ${\displaystyle c_{1}\neq 0}$ or ${\displaystyle c_{2}\neq 0}$ (or both). That holds if and only if ${\displaystyle {\vec {v}}_{1}=(-c_{2}/c_{1}){\vec {v}}_{2}}$ or ${\displaystyle {\vec {v}}_{2}=(-c_{1}/c_{2}){\vec {v}}_{1}}$ (or both).
Problem 10

In any vector space ${\displaystyle V}$, the empty set is linearly independent. What about all of ${\displaystyle V}$?

This set is linearly dependent set because it contains the zero vector.

Problem 11

Show that if ${\displaystyle \{{\vec {x}},{\vec {y}},{\vec {z}}\}}$ is linearly independent then so are all of its proper subsets: ${\displaystyle \{{\vec {x}},{\vec {y}}\}}$, ${\displaystyle \{{\vec {x}},{\vec {z}}\}}$, ${\displaystyle \{{\vec {y}},{\vec {z}}\}}$, ${\displaystyle \{{\vec {x}}\}}$,${\displaystyle \{{\vec {y}}\}}$, ${\displaystyle \{{\vec {z}}\}}$, and ${\displaystyle \{\}}$. Is that "only if" also?

The "if" half is given by Lemma 1.14. The converse (the "only if" statement) does not hold. An example is to consider the vector space ${\displaystyle \mathbb {R} ^{2}}$ and these vectors.

${\displaystyle {\vec {x}}={\begin{pmatrix}1\\0\end{pmatrix}},\quad {\vec {y}}={\begin{pmatrix}0\\1\end{pmatrix}},\quad {\vec {z}}={\begin{pmatrix}1\\1\end{pmatrix}}}$
Problem 12
1. Show that this
${\displaystyle S=\{{\begin{pmatrix}1\\1\\0\end{pmatrix}},{\begin{pmatrix}-1\\2\\0\end{pmatrix}}\}}$
is a linearly independent subset of ${\displaystyle \mathbb {R} ^{3}}$.
2. Show that
${\displaystyle {\begin{pmatrix}3\\2\\0\end{pmatrix}}}$
is in the span of ${\displaystyle S}$ by finding ${\displaystyle c_{1}}$ and ${\displaystyle c_{2}}$ giving a linear relationship.
${\displaystyle c_{1}{\begin{pmatrix}1\\1\\0\end{pmatrix}}+c_{2}{\begin{pmatrix}-1\\2\\0\end{pmatrix}}={\begin{pmatrix}3\\2\\0\end{pmatrix}}}$
Show that the pair ${\displaystyle c_{1},c_{2}}$ is unique.
3. Assume that ${\displaystyle S}$ is a subset of a vector space and that ${\displaystyle {\vec {v}}}$ is in ${\displaystyle [S]}$, so that ${\displaystyle {\vec {v}}}$ is a linear combination of vectors from ${\displaystyle S}$. Prove that if ${\displaystyle S}$ is linearly independent then a linear combination of vectors from ${\displaystyle S}$ adding to ${\displaystyle {\vec {v}}}$ is unique (that is, unique up to reordering and adding or taking away terms of the form ${\displaystyle 0\cdot {\vec {s}}}$). Thus ${\displaystyle S}$ as a spanning set is minimal in this strong sense: each vector in ${\displaystyle [S]}$ is "hit" a minimum number of times— only once.
4. Prove that it can happen when ${\displaystyle S}$ is not linearly independent that distinct linear combinations sum to the same vector.
1. The linear system arising from
${\displaystyle c_{1}{\begin{pmatrix}1\\1\\0\end{pmatrix}}+c_{2}{\begin{pmatrix}-1\\2\\0\end{pmatrix}}={\begin{pmatrix}0\\0\\0\end{pmatrix}}}$
has the unique solution ${\displaystyle c_{1}=0}$ and ${\displaystyle c_{2}=0}$.
2. The linear system arising from
${\displaystyle c_{1}{\begin{pmatrix}1\\1\\0\end{pmatrix}}+c_{2}{\begin{pmatrix}-1\\2\\0\end{pmatrix}}={\begin{pmatrix}3\\2\\0\end{pmatrix}}}$
has the unique solution ${\displaystyle c_{1}=8/3}$ and ${\displaystyle c_{2}=-1/3}$.
3. Suppose that ${\displaystyle S}$ is linearly independent. Suppose that we have both ${\displaystyle {\vec {v}}=c_{1}{\vec {s}}_{1}+\dots +c_{n}{\vec {s}}_{n}}$ and ${\displaystyle {\vec {v}}=d_{1}{\vec {t}}_{1}+\dots +d_{m}{\vec {t}}_{m}}$ (where the vectors are members of ${\displaystyle S}$). Now,
${\displaystyle c_{1}{\vec {s}}_{1}+\dots +c_{n}{\vec {s}}_{n}={\vec {v}}=d_{1}{\vec {t}}_{1}+\dots +d_{m}{\vec {t}}_{m}}$
can be rewritten in this way.
${\displaystyle c_{1}{\vec {s}}_{1}+\dots +c_{n}{\vec {s}}_{n}-d_{1}{\vec {t}}_{1}-\dots -d_{m}{\vec {t}}_{m}={\vec {0}}}$
Possibly some of the ${\displaystyle {\vec {s}}\,}$'s equal some of the ${\displaystyle {\vec {t}}\,}$'s; we can combine the associated coefficients (i.e., if ${\displaystyle {\vec {s}}_{i}={\vec {t}}_{j}}$ then ${\displaystyle \cdots +c_{i}{\vec {s}}_{i}+\dots -d_{j}{\vec {t}}_{j}-\cdots }$ can be rewritten as ${\displaystyle \cdots +(c_{i}-d_{j}){\vec {s}}_{i}+\cdots }$). That equation is a linear relationship among distinct (after the combining is done) members of the set ${\displaystyle S}$. We've assumed that ${\displaystyle S}$ is linearly independent, so all of the coefficients are zero. If ${\displaystyle i}$ is such that ${\displaystyle {\vec {s}}_{i}}$ does not equal any ${\displaystyle {\vec {t}}_{j}}$ then ${\displaystyle c_{i}}$ is zero. If ${\displaystyle j}$ is such that ${\displaystyle {\vec {t}}_{j}}$ does not equal any ${\displaystyle {\vec {s}}_{i}}$ then ${\displaystyle d_{j}}$ is zero. In the final case, we have that ${\displaystyle c_{i}-d_{j}=0}$ and so ${\displaystyle c_{i}=d_{j}}$. Therefore, the original two sums are the same, except perhaps for some ${\displaystyle 0\cdot {\vec {s}}_{i}}$ or ${\displaystyle 0\cdot {\vec {t}}_{j}}$ terms that we can neglect.
4. This set is not linearly independent:
${\displaystyle S=\{{\begin{pmatrix}1\\0\end{pmatrix}},{\begin{pmatrix}2\\0\end{pmatrix}}\}\subset \mathbb {R} ^{2}}$
and these two linear combinations give the same result
${\displaystyle {\begin{pmatrix}0\\0\end{pmatrix}}=2\cdot {\begin{pmatrix}1\\0\end{pmatrix}}-1\cdot {\begin{pmatrix}2\\0\end{pmatrix}}=4\cdot {\begin{pmatrix}1\\0\end{pmatrix}}-2\cdot {\begin{pmatrix}2\\0\end{pmatrix}}}$
Thus, a linearly dependent set might have indistinct sums. In fact, this stronger statement holds: if a set is linearly dependent then it must have the property that there are two distinct linear combinations that sum to the same vector. Briefly, where ${\displaystyle c_{1}{\vec {s}}_{1}+\dots +c_{n}{\vec {s}}_{n}={\vec {0}}}$ then multiplying both sides of the relationship by two gives another relationship. If the first relationship is nontrivial then the second is also.
Problem 13

Prove that a polynomial gives rise to the zero function if and only if it is the zero polynomial. (Comment. This question is not a Linear Algebra matter, but we often use the result. A polynomial gives rise to a function in the obvious way: ${\displaystyle x\mapsto c_{n}x^{n}+\dots +c_{1}x+c_{0}}$.)

In this "if and only if" statement, the "if" half is clear— if the polynomial is the zero polynomial then the function that arises from the action of the polynomial must be the zero function ${\displaystyle x\mapsto 0}$. For "only if" we write ${\displaystyle p(x)=c_{n}x^{n}+\dots +c_{0}}$. Plugging in zero ${\displaystyle p(0)=0}$ gives that ${\displaystyle c_{0}=0}$. Taking the derivative and plugging in zero ${\displaystyle p^{\prime }(0)=0}$ gives that ${\displaystyle c_{1}=0}$. Similarly we get that each ${\displaystyle c_{i}}$ is zero, and ${\displaystyle p}$ is the zero polynomial.

Problem 14

Return to Section 1.2 and redefine point, line, plane, and other linear surfaces to avoid degenerate cases.

The work in this section suggests that an ${\displaystyle n}$-dimensional non-degenerate linear surface should be defined as the span of a linearly independent set of ${\displaystyle n}$ vectors.

Problem 15
1. Show that any set of four vectors in ${\displaystyle \mathbb {R} ^{2}}$ is linearly dependent.
2. Is this true for any set of five? Any set of three?
3. What is the most number of elements that a linearly independent subset of ${\displaystyle \mathbb {R} ^{2}}$ can have?
1. For any ${\displaystyle a_{1,1}}$, ..., ${\displaystyle a_{2,4}}$,
${\displaystyle c_{1}{\begin{pmatrix}a_{1,1}\\a_{2,1}\end{pmatrix}}+c_{2}{\begin{pmatrix}a_{1,2}\\a_{2,2}\end{pmatrix}}+c_{3}{\begin{pmatrix}a_{1,3}\\a_{2,3}\end{pmatrix}}+c_{4}{\begin{pmatrix}a_{1,4}\\a_{2,4}\end{pmatrix}}={\begin{pmatrix}0\\0\end{pmatrix}}}$
yields a linear system
${\displaystyle {\begin{array}{*{4}{rc}r}a_{1,1}c_{1}&+&a_{1,2}c_{2}&+&a_{1,3}c_{3}&+&a_{1,4}c_{4}&=&0\\a_{2,1}c_{1}&+&a_{2,2}c_{2}&+&a_{2,3}c_{3}&+&a_{2,4}c_{4}&=&0\end{array}}}$
that has infinitely many solutions (Gauss' method leaves at least two variables free). Hence there are nontrivial linear relationships among the given members of ${\displaystyle \mathbb {R} ^{2}}$.
2. Any set five vectors is a superset of a set of four vectors, and so is linearly dependent. With three vectors from ${\displaystyle \mathbb {R} ^{2}}$, the argument from the prior item still applies, with the slight change that Gauss' method now only leaves at least one variable free (but that still gives infinitely many solutions).
3. The prior item shows that no three-element subset of ${\displaystyle \mathbb {R} ^{2}}$ is independent. We know that there are two-element subsets of ${\displaystyle \mathbb {R} ^{2}}$ that are independent— one is
${\displaystyle \{{\begin{pmatrix}1\\0\end{pmatrix}},{\begin{pmatrix}0\\1\end{pmatrix}}\}}$
and so the answer is two.
This exercise is recommended for all readers.
Problem 16

Is there a set of four vectors in ${\displaystyle \mathbb {R} ^{3}}$, any three of which form a linearly independent set?

Yes; here is one.

${\displaystyle \{{\begin{pmatrix}1\\0\\0\end{pmatrix}},{\begin{pmatrix}0\\1\\0\end{pmatrix}},{\begin{pmatrix}0\\0\\1\end{pmatrix}},{\begin{pmatrix}1\\1\\1\end{pmatrix}}\}}$
Problem 17

Must every linearly dependent set have a subset that is dependent and a subset that is independent?

Yes. The two improper subsets, the entire set and the empty subset, serve as examples.

Problem 18

In ${\displaystyle \mathbb {R} ^{4}}$, what is the biggest linearly independent set you can find? The smallest? The biggest linearly dependent set? The smallest? ("Biggest" and "smallest" mean that there are no supersets or subsets with the same property.)

In ${\displaystyle \mathbb {R} ^{4}}$ the biggest linearly independent set has four vectors. There are many examples of such sets, this is one.

${\displaystyle \{{\begin{pmatrix}1\\0\\0\\0\end{pmatrix}},{\begin{pmatrix}0\\1\\0\\0\end{pmatrix}},{\begin{pmatrix}0\\0\\1\\0\end{pmatrix}},{\begin{pmatrix}0\\0\\0\\1\end{pmatrix}}\}}$

To see that no set with five or more vectors can be independent, set up

${\displaystyle c_{1}{\begin{pmatrix}a_{1,1}\\a_{2,1}\\a_{3,1}\\a_{4,1}\end{pmatrix}}+c_{2}{\begin{pmatrix}a_{1,2}\\a_{2,2}\\a_{3,2}\\a_{4,2}\end{pmatrix}}+c_{3}{\begin{pmatrix}a_{1,3}\\a_{2,3}\\a_{3,3}\\a_{4,3}\end{pmatrix}}+c_{4}{\begin{pmatrix}a_{1,4}\\a_{2,4}\\a_{3,4}\\a_{4,4}\end{pmatrix}}+c_{5}{\begin{pmatrix}a_{1,5}\\a_{2,5}\\a_{3,5}\\a_{4,5}\end{pmatrix}}={\begin{pmatrix}0\\0\\0\\0\end{pmatrix}}}$

and note that the resulting linear system

${\displaystyle {\begin{array}{*{5}{rc}r}a_{1,1}c_{1}&+&a_{1,2}c_{2}&+&a_{1,3}c_{3}&+&a_{1,4}c_{4}&+&a_{1,5}c_{5}&=&0\\a_{2,1}c_{1}&+&a_{2,2}c_{2}&+&a_{2,3}c_{3}&+&a_{2,4}c_{4}&+&a_{2,5}c_{5}&=&0\\a_{3,1}c_{1}&+&a_{3,2}c_{2}&+&a_{3,3}c_{3}&+&a_{3,4}c_{4}&+&a_{3,5}c_{5}&=&0\\a_{4,1}c_{1}&+&a_{4,2}c_{2}&+&a_{4,3}c_{3}&+&a_{4,4}c_{4}&+&a_{4,5}c_{5}&=&0\end{array}}}$

has four equations and five unknowns, so Gauss' method must end with at least one ${\displaystyle c}$ variable free, so there are infinitely many solutions, and so the above linear relationship among the four-tall vectors has more solutions than just the trivial solution.

The smallest linearly independent set is the empty set.

The biggest linearly dependent set is ${\displaystyle \mathbb {R} ^{4}}$. The smallest is ${\displaystyle \{{\vec {0}}\}}$.

This exercise is recommended for all readers.
Problem 19

Linear independence and linear dependence are properties of sets. We can thus naturally ask how those properties act with respect to the familiar elementary set relations and operations. In this body of this subsection we have covered the subset and superset relations. We can also consider the operations of intersection, complementation, and union.

1. How does linear independence relate to intersection: can an intersection of linearly independent sets be independent? Must it be?
2. How does linear independence relate to complementation?
3. Show that the union of two linearly independent sets need not be linearly independent.
4. Characterize when the union of two linearly independent sets is linearly independent, in terms of the intersection of the span of each.
1. The intersection of two linearly independent sets ${\displaystyle S\cap T}$ must be linearly independent as it is a subset of the linearly independent set ${\displaystyle S}$ (as well as the linearly independent set ${\displaystyle T}$ also, of course).
2. The complement of a linearly independent set is linearly dependent as it contains the zero vector.
3. We must produce an example. One, in ${\displaystyle \mathbb {R} ^{2}}$, is
${\displaystyle S=\{{\begin{pmatrix}1\\0\end{pmatrix}}\}\quad {\text{and}}\quad T=\{{\begin{pmatrix}2\\0\end{pmatrix}}\}}$
since the linear dependence of ${\displaystyle S_{1}\cup S_{2}}$ is easily seen.
4. The union of two linearly independent sets ${\displaystyle S\cup T}$ is linearly independent if and only if their spans have a trivial intersection ${\displaystyle [S]\cap [T]=\{{\vec {0}}\}}$. To prove that, assume that ${\displaystyle S}$ and ${\displaystyle T}$ are linearly independent subsets of some vector space. For the "only if" direction, assume that the intersection of the spans is trivial ${\displaystyle [S]\cap [T]=\{{\vec {0}}\}}$. Consider the set ${\displaystyle S\cup T}$. Any linear relationship ${\displaystyle c_{1}{\vec {s}}_{1}+\dots +c_{n}{\vec {s}}_{n}+d_{1}{\vec {t}}_{1}+\dots +d_{m}{\vec {t}}_{m}={\vec {0}}}$ gives ${\displaystyle c_{1}{\vec {s}}_{1}+\dots +c_{n}{\vec {s}}_{n}=-d_{1}{\vec {t}}_{1}-\dots -d_{m}{\vec {t}}_{m}}$. The left side of that equation sums to a vector in ${\displaystyle [S]}$, and the right side is a vector in ${\displaystyle [T]}$. Therefore, since the intersection of the spans is trivial, both sides equal the zero vector. Because ${\displaystyle S}$ is linearly independent, all of the ${\displaystyle c}$'s are zero. Because ${\displaystyle T}$ is linearly independent, all of the ${\displaystyle d}$'s are zero. Thus, the original linear relationship among members of ${\displaystyle S\cup T}$ only holds if all of the coefficients are zero. That shows that ${\displaystyle S\cup T}$ is linearly independent. For the "if" half we can make the same argument in reverse. If the union ${\displaystyle S\cup T}$ is linearly independent, that is, if the only solution to ${\displaystyle c_{1}{\vec {s}}_{1}+\cdots +c_{n}{\vec {s}}_{n}+d_{1}{\vec {t}}_{1}+\cdots +d_{m}{\vec {t}}_{m}={\vec {0}}}$ is the trivial solution ${\displaystyle c_{1}=0}$, ..., ${\displaystyle d_{m}=0}$, then any vector ${\displaystyle {\vec {v}}}$ in the intersection of the spans ${\displaystyle {\vec {v}}=c_{1}{\vec {s}}_{1}+\cdots +c_{n}{\vec {s}}_{n}=-d_{1}{\vec {t}}_{1}-\cdots =d_{m}{\vec {t}}_{m}}$ must be the zero vector because each scalar is zero.
This exercise is recommended for all readers.
Problem 20

For Theorem 1.12,

1. fill in the induction for the proof;
2. give an alternate proof that starts with the empty set and builds a sequence of linearly independent subsets of the given finite set until one appears with the same span as the given set.
1. We do induction on the number of vectors in the finite set ${\displaystyle S}$. The base case is that ${\displaystyle S}$ has no elements. In this case ${\displaystyle S}$ is linearly independent and there is nothing to check— a subset of ${\displaystyle S}$ that has the same span as ${\displaystyle S}$ is ${\displaystyle S}$ itself. For the inductive step assume that the theorem is true for all sets of size ${\displaystyle n=0}$, ${\displaystyle n=1}$, ..., ${\displaystyle n=k}$ in order to prove that it holds when ${\displaystyle S}$ has ${\displaystyle n=k+1}$ elements. If the ${\displaystyle k+1}$-element set ${\displaystyle S=\{{\vec {s}}_{0},\dots ,{\vec {s}}_{k}\}}$ is linearly independent then the theorem is trivial, so assume that it is dependent. By Corollary 1.17 there is an ${\displaystyle {\vec {s}}_{i}}$ that is a linear combination of other vectors in ${\displaystyle S}$. Define ${\displaystyle S_{1}=S-\{{\vec {s}}_{i}\}}$ and note that ${\displaystyle S_{1}}$ has the same span as ${\displaystyle S}$ by Lemma 1.1. The set ${\displaystyle S_{1}}$ has ${\displaystyle k}$ elements and so the inductive hypothesis applies to give that it has a linearly independent subset with the same span. That subset of ${\displaystyle S_{1}}$ is the desired subset of ${\displaystyle S}$.
2. Here is a sketch of the argument. The induction argument details have been left out. If the finite set ${\displaystyle S}$ is empty then there is nothing to prove. If ${\displaystyle S=\{{\vec {0}}\}}$ then the empty subset will do. Otherwise, take some nonzero vector ${\displaystyle {\vec {s}}_{1}\in S}$ and define ${\displaystyle S_{1}=\{{\vec {s}}_{1}\}}$. If ${\displaystyle [S_{1}]=[S]}$ then this proof is finished by noting that ${\displaystyle S_{1}}$ is linearly independent. If not, then there is a nonzero vector ${\displaystyle {\vec {s}}_{2}\in S-[S_{1}]}$ (if every ${\displaystyle {\vec {s}}\in S}$ is in ${\displaystyle [S_{1}]}$ then ${\displaystyle [S_{1}]=[S]}$). Define ${\displaystyle S_{2}=S_{1}\cup \{{\vec {s}}_{2}\}}$. If ${\displaystyle [S_{2}]=[S]}$ then this proof is finished by using Theorem 1.17 to show that ${\displaystyle S_{2}}$ is linearly independent. Repeat the last paragraph until a set with a big enough span appears. That must eventually happen because ${\displaystyle S}$ is finite, and ${\displaystyle [S]}$ will be reached at worst when every vector from ${\displaystyle S}$ has been used.
Problem 21

With a little calculation we can get formulas to determine whether or not a set of vectors is linearly independent.

1. Show that this subset of ${\displaystyle \mathbb {R} ^{2}}$
${\displaystyle \{{\begin{pmatrix}a\\c\end{pmatrix}},{\begin{pmatrix}b\\d\end{pmatrix}}\}}$
is linearly independent if and only if ${\displaystyle ad-bc\neq 0}$.
2. Show that this subset of ${\displaystyle \mathbb {R} ^{3}}$
${\displaystyle \{{\begin{pmatrix}a\\d\\g\end{pmatrix}},{\begin{pmatrix}b\\e\\h\end{pmatrix}},{\begin{pmatrix}c\\f\\i\end{pmatrix}}\}}$
is linearly independent iff ${\displaystyle aei+bfg+cdh-hfa-idb-gec\neq 0}$.
3. When is this subset of ${\displaystyle \mathbb {R} ^{3}}$
${\displaystyle \{{\begin{pmatrix}a\\d\\g\end{pmatrix}},{\begin{pmatrix}b\\e\\h\end{pmatrix}}\}}$
linearly independent?
4. This is an opinion question: for a set of four vectors from ${\displaystyle \mathbb {R} ^{4}}$, must there be a formula involving the sixteen entries that determines independence of the set? (You needn't produce such a formula, just decide if one exists.)
1. Assuming first that ${\displaystyle a\neq 0}$,
${\displaystyle x{\begin{pmatrix}a\\c\end{pmatrix}}+y{\begin{pmatrix}b\\d\end{pmatrix}}={\begin{pmatrix}0\\0\end{pmatrix}}}$
gives
${\displaystyle {\begin{array}{*{2}{rc}r}ax&+&by&=&0\\cx&+&dy&=&0\end{array}}\;{\xrightarrow[{}]{-(c/a)\rho _{1}+\rho _{2}}}\;{\begin{array}{*{2}{rc}r}ax&+&by&=&0\\&&(-(c/a)b+d)y&=&0\end{array}}}$
which has a solution if and only if ${\displaystyle 0\neq -(c/a)b+d=(-cb+ad)/d}$ (we've assumed in this case that ${\displaystyle a\neq 0}$, and so back substitution yields a unique solution). The ${\displaystyle a=0}$ case is also not hard— break it into the ${\displaystyle c\neq 0}$ and ${\displaystyle c=0}$ subcases and note that in these cases ${\displaystyle ad-bc=0\cdot d-bc}$. Comment. An earlier exercise showed that a two-vector set is linearly dependent if and only if either vector is a scalar multiple of the other. That can also be used to make the calculation.
2. The equation
${\displaystyle c_{1}{\begin{pmatrix}a\\d\\g\end{pmatrix}}+c_{2}{\begin{pmatrix}b\\e\\h\end{pmatrix}}+c_{3}{\begin{pmatrix}c\\f\\i\end{pmatrix}}={\begin{pmatrix}0\\0\\0\end{pmatrix}}}$
gives rise to a homogeneous linear system. We proceed by writing it in matrix form and applying Gauss' method. We first reduce the matrix to upper-triangular. Assume that ${\displaystyle a\neq 0}$.
${\displaystyle {\begin{array}{rcl}{\xrightarrow[{}]{(1/a)\rho _{1}}}\left({\begin{array}{*{3}{c}|c}1&b/a&c/a&0\\d&e&f&0\\g&h&i&0\end{array}}\right)&{\xrightarrow[{-g\rho _{1}+\rho _{3}}]{-d\rho _{1}+\rho _{2}}}&\left({\begin{array}{*{3}{c}|c}1&b/a&c/a&0\\0&(ae-bd)/a&(af-cd)/a&0\\0&(ah-bg)/a&(ai-cg)/a&0\end{array}}\right)\\&{\xrightarrow[{}]{(a/(ae-bd))\rho _{2}}}&\left({\begin{array}{*{3}{c}|c}1&b/a&c/a&0\\0&1&(af-cd)/(ae-bd)&0\\0&(ah-bg)/a&(ai-cg)/a&0\end{array}}\right)\end{array}}}$
(where we've assumed for the moment that ${\displaystyle ae-bd\neq 0}$ in order to do the row reduction step). Then, under the assumptions, we get this.
${\displaystyle {\begin{array}{rcl}&{\xrightarrow[{}]{((ah-bg)/a)\rho _{2}+\rho _{3}}}&\left({\begin{array}{*{3}{c}|c}1&{\frac {b}{a}}&{\frac {c}{a}}&0\\0&1&{\frac {af-cd}{ae-bd}}&0\\0&0&{\frac {aei+bgf+cdh-hfa-idb-gec}{ae-bd}}&0\end{array}}\right)\end{array}}}$
shows that the original system is nonsingular if and only if the ${\displaystyle 3,3}$ entry is nonzero. This fraction is defined because of the ${\displaystyle ae-bd\neq 0}$ assumption, and it will equal zero if and only if its numerator equals zero. We next worry about the assumptions. First, if ${\displaystyle a\neq 0}$ but ${\displaystyle ae-bd=0}$ then we swap
${\displaystyle {\begin{array}{rcl}\left({\begin{array}{*{3}{c}|c}1&b/a&c/a&0\\0&0&(af-cd)/a&0\\0&(ah-bg)/a&(ai-cg)/a&0\end{array}}\right)&{\xrightarrow[{}]{\rho _{2}\leftrightarrow \rho _{3}}}&\left({\begin{array}{*{3}{c}|c}1&b/a&c/a&0\\0&(ah-bg)/a&(ai-cg)/a&0\\0&0&(af-cd)/a&0\end{array}}\right)\end{array}}}$
and conclude that the system is nonsingular if and only if either ${\displaystyle ah-bg=0}$ or ${\displaystyle af-cd=0}$. That's the same as asking that their product be zero:
${\displaystyle {\begin{array}{rl}ahaf-ahcd-bgaf+bgcd&=0\\ahaf-ahcd-bgaf+aegc&=0\\a(haf-hcd-bgf+egc)&=0\end{array}}}$
(in going from the first line to the second we've applied the case assumption that ${\displaystyle ae-bd=0}$ by substituting ${\displaystyle ae}$ for ${\displaystyle bd}$). Since we are assuming that ${\displaystyle a\neq 0}$, we have that ${\displaystyle haf-hcd-bgf+egc=0}$. With ${\displaystyle ae-bd=0}$ we can rewrite this to fit the form we need: in this ${\displaystyle a\neq 0}$ and ${\displaystyle ae-bd=0}$ case, the given system is nonsingular when ${\displaystyle haf-hcd-bgf+egc-i(ae-bd)=0}$, as required. The remaining cases have the same character. Do the ${\displaystyle a=0}$ but ${\displaystyle d\neq 0}$ case and the ${\displaystyle a=0}$ and ${\displaystyle d=0}$ but ${\displaystyle g\neq 0}$ case by first swapping rows and then going on as above. The ${\displaystyle a=0}$, ${\displaystyle d=0}$, and ${\displaystyle g=0}$ case is easy— a set with a zero vector is linearly dependent, and the formula comes out to equal zero.
3. It is linearly dependent if and only if either vector is a multiple of the other. That is, it is not independent iff
${\displaystyle {\begin{pmatrix}a\\d\\g\end{pmatrix}}=r\cdot {\begin{pmatrix}b\\e\\h\end{pmatrix}}\quad {\text{or}}\quad {\begin{pmatrix}b\\e\\h\end{pmatrix}}=s\cdot {\begin{pmatrix}a\\d\\g\end{pmatrix}}}$
(or both) for some scalars ${\displaystyle r}$ and ${\displaystyle s}$. Eliminating ${\displaystyle r}$ and ${\displaystyle s}$ in order to restate this condition only in terms of the given letters ${\displaystyle a}$, ${\displaystyle b}$, ${\displaystyle d}$, ${\displaystyle e}$, ${\displaystyle g}$, ${\displaystyle h}$, we have that it is not independent— it is dependent— iff ${\displaystyle ae-bd=ah-gb=dh-ge}$.
4. Dependence or independence is a function of the indices, so there is indeed a formula (although at first glance a person might think the formula involves cases: "if the first component of the first vector is zero then ...", this guess turns out not to be correct).
This exercise is recommended for all readers.
Problem 22
1. Prove that a set of two perpendicular nonzero vectors from ${\displaystyle \mathbb {R} ^{n}}$ is linearly independent when ${\displaystyle n>1}$.
2. What if ${\displaystyle n=1}$? ${\displaystyle n=0}$?
3. Generalize to more than two vectors.

Recall that two vectors from ${\displaystyle \mathbb {R} ^{n}}$ are perpendicular if and only if their dot product is zero.

1. Assume that ${\displaystyle {\vec {v}}}$ and ${\displaystyle {\vec {w}}}$ are perpendicular nonzero vectors in ${\displaystyle \mathbb {R} ^{n}}$, with ${\displaystyle n>1}$. With the linear relationship ${\displaystyle c{\vec {v}}+d{\vec {w}}={\vec {0}}}$, apply ${\displaystyle {\vec {v}}}$ to both sides to conclude that ${\displaystyle c\cdot |{\vec {v}}|^{2}+d\cdot 0=0}$. Because ${\displaystyle {\vec {v}}\neq {\vec {0}}}$ we have that ${\displaystyle c=0}$. A similar application of ${\displaystyle {\vec {w}}}$ shows that ${\displaystyle d=0}$.
2. Two vectors in ${\displaystyle \mathbb {R} ^{1}}$ are perpendicular if and only if at least one of them is zero. We define ${\displaystyle \mathbb {R} ^{0}}$ to be a trivial space, and so both ${\displaystyle {\vec {v}}}$ and ${\displaystyle {\vec {w}}}$ are the zero vector.
3. The right generalization is to look at a set ${\displaystyle \{{\vec {v}}_{1},\dots ,{\vec {v}}_{n}\}\subseteq \mathbb {R} ^{k}}$ of vectors that are mutually orthogonal (also called pairwise perpendicular): if ${\displaystyle i\neq j}$ then ${\displaystyle {\vec {v}}_{i}}$ is perpendicular to ${\displaystyle {\vec {v}}_{j}}$. Mimicking the proof of the first item above shows that such a set of nonzero vectors is linearly independent.
Problem 23

Consider the set of functions from the open interval ${\displaystyle (-1..1)}$ to ${\displaystyle \mathbb {R} }$.

1. Show that this set is a vector space under the usual operations.
2. Recall the formula for the sum of an infinite geometric series: ${\displaystyle 1+x+x^{2}+\cdots =1/(1-x)}$ for all ${\displaystyle x\in (-1..1)}$. Why does this not express a dependence inside of the set ${\displaystyle \{g(x)=1/(1-x),f_{0}(x)=1,f_{1}(x)=x,f_{2}(x)=x^{2},\ldots \}}$ (in the vector space that we are considering)? (Hint. Review the definition of linear combination.)
3. Show that the set in the prior item is linearly independent.

This shows that some vector spaces exist with linearly independent subsets that are infinite.

1. This check is routine.
2. The summation is infinite (has infinitely many summands). The definition of linear combination involves only finite sums.
3. No nontrivial finite sum of members of ${\displaystyle \{g,f_{0},f_{1},\ldots \}}$ adds to the zero object: assume that
${\displaystyle c_{0}\cdot (1/(1-x))+c_{1}\cdot 1+\dots +c_{n}\cdot x^{n}=0}$
(any finite sum uses a highest power, here ${\displaystyle n}$). Multiply both sides by ${\displaystyle 1-x}$ to conclude that each coefficient is zero, because a polynomial describes the zero function only when it is the zero polynomial.
Problem 24

Show that, where ${\displaystyle S}$ is a subspace of ${\displaystyle V}$, if a subset ${\displaystyle T}$ of ${\displaystyle S}$ is linearly independent in ${\displaystyle S}$ then ${\displaystyle T}$ is also linearly independent in ${\displaystyle V}$. Is that "only if"?

Let ${\displaystyle T}$ be a subset of the subspace ${\displaystyle S}$ of the vector space ${\displaystyle V}$. The assertion that any linear relationship ${\displaystyle c_{1}{\vec {t}}_{1}+\dots +c_{n}{\vec {t}}_{n}={\vec {0}}}$ among members of ${\displaystyle T}$ must be the trivial relationship ${\displaystyle c_{1}=0}$, ..., ${\displaystyle c_{n}=0}$ is a statement that holds in ${\displaystyle S}$ if and only if it holds in ${\displaystyle V}$, because the subspace ${\displaystyle S}$ inherits its addition and scalar multiplication operations from ${\displaystyle V}$.