v1,...,vn∈Rmare Linearly Dependent (LD) if there are numbers c1,...,cn such that not all ci=0 and c1v1+...+cnvn=0
This relates to the idea of homogenous system of linear equations.
{0} is Linearly Dependent because 1∗0=0In R2: {(23),(10),(01)}1∗(23)+2∗(10)−3∗(01)=0This set is therefore linearly dependent.
Linear Indepdence
v1,...,vn∈Rmare Linearly Independent (LI) if c1v1+...+cnvn=0⟹c1=c2=...=cn=0
Examples
Example 1Is {⎝⎛100⎠⎞,⎝⎛110⎠⎞,⎝⎛111⎠⎞} LI?a∗⎝⎛100⎠⎞+b∗⎝⎛110⎠⎞+c∗⎝⎛111⎠⎞=0⎩⎨⎧a+b+c=0b+c=0c=0⟹⎩⎨⎧a=0b=0c=0
Example 2{⎝⎛1201⎠⎞,⎝⎛−1012⎠⎞,⎝⎛−1437⎠⎞}⎝⎛1201−1012−14370000⎠⎞⎝⎛1000−1100−13100000⎠⎞⟹⎩⎨⎧a=0b=0c=0
In Example 2, we know that there can ONLY be a trivial solution because there is a pivot in every column, meaning that there are no free variables. Thus, the set of vectors are linearly independent.
Linear independence/dependence can help determine the size of a set.
Column Theorem
v1,...,vn∈RmA=(v1...vn)
The following statements are equivalent (all of them are true or none of them are true):
{v1,...,vn} is Linearly IndependentAx=0⟹x=0A has a pivot in every column
Examples
Example 1Is {⎝⎛10−1⎠⎞,⎝⎛123⎠⎞,⎝⎛111⎠⎞} LI?⎝⎛10−1123111⎠⎞→⎝⎛100124112⎠⎞→⎝⎛100120110⎠⎞Because there are only pivots in two of the columns, the set of vectors cannot be linearly independent.
Example 2
For which h∈R is {⎝⎛11h⎠⎞,⎝⎛1h1⎠⎞,⎝⎛h11⎠⎞} LI?⎝⎛11h1h1h11⎠⎞→⎝⎛1001h−11−hh1−h1−h2⎠⎞→⎝⎛1001h−10h1−h2−h−h2⎠⎞2−h−h2=(1−h)(2+h)=0 (To see what values make the vectors linearly independent)h=1,−2
The tricky part is to realize that you have to subtract h * Row 1 from Row 3
Linear (In)dependence and Spans
A set of vectors {v1,...,vn} is LD if and only if one of the vectors is in the span of the others.Therefore, {v1,...,vn} is LI if and only if for all 2≤k≤n, vk∈/Span{v1,...,vk−1}
This means that a set of vectors is linearly independent if and only if adding vectors to the span keeps increasing the dimension of the span.
Theorem: Suppose we have v1,...,vn∈Rm, and write the matrix A=(v1...vn)We can therefore delete any vectors from the lest that correspond to non-pivot columns of the REF of A.This is because any non-pivot columns correspond to a vector already in the spans of the other vectors.
Examples
1Q: If we add the vector ⎝⎛10−1⎠⎞ to Span{⎝⎛100⎠⎞,⎝⎛110⎠⎞}, is the resulting set LI?A: Yes, as the new set of vectors has a pivot in every column.⎝⎛10011011−1⎠⎞
2
$$
\text{Given the set of vectors } {\begin{pmatrix}1\1\1\end{pmatrix}, \begin{pmatrix}1\2\3\end{pmatrix}, \begin{pmatrix}-1\1\3\end{pmatrix}, \begin{pmatrix}0\1\1\end{pmatrix}, \begin{pmatrix}1\0\3\end{pmatrix}} \text{ which can we remove to find a LI subset with the same span?} \
\text{Through row reduction:}
\begin{pmatrix}
1 & 1 & -1 & 0 & 1
1 & 2 & 1 & 1 & 0
1 & 3 & 3 & 1 & 3
\end{pmatrix} \rightarrow
\begin{pmatrix}
1 & 1 & -1 & 0 & 1
0 & 1 & 2 & 1 & -1
0 & 2 & 4 & 1 & 2
\end{pmatrix} \rightarrow
\begin{pmatrix}
1 & 1 & -1 & 0 & 1
0 & 1 & 2 & 1 & -1
0 & 0 & 0 & -1 & 4
\end{pmatrix}
\text{Columns 3 and 5 don’t have pivots, so } \begin{pmatrix}-1\1\3\end{pmatrix} \text{ and } \begin{pmatrix}1\0\3\end{pmatrix} \text{ can be removed to find a LI set with the same span.}
$$