Linear Independence
- Page ID
- 218308
\( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)
\( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)
\( \newcommand{\dsum}{\displaystyle\sum\limits} \)
\( \newcommand{\dint}{\displaystyle\int\limits} \)
\( \newcommand{\dlim}{\displaystyle\lim\limits} \)
\( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)
( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)
\( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)
\( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)
\( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)
\( \newcommand{\Span}{\mathrm{span}}\)
\( \newcommand{\id}{\mathrm{id}}\)
\( \newcommand{\Span}{\mathrm{span}}\)
\( \newcommand{\kernel}{\mathrm{null}\,}\)
\( \newcommand{\range}{\mathrm{range}\,}\)
\( \newcommand{\RealPart}{\mathrm{Re}}\)
\( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)
\( \newcommand{\Argument}{\mathrm{Arg}}\)
\( \newcommand{\norm}[1]{\| #1 \|}\)
\( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)
\( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)
\( \newcommand{\vectorA}[1]{\vec{#1}} % arrow\)
\( \newcommand{\vectorAt}[1]{\vec{\text{#1}}} % arrow\)
\( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)
\( \newcommand{\vectorC}[1]{\textbf{#1}} \)
\( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)
\( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)
\( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)
\( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)
\(\newcommand{\longvect}{\overrightarrow}\)
\( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)
\(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left|#1\right|}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)|
Linear Independence and Span
We have seen in the last discussion that the span of vectors v1, v2, ... , vn is the set of linear combinations c1v1 + c2v2 + ... + cnvn and that this is a vector space. We now take this idea further. If V is a vector space and S = {v1, v2, ... , vn) is a subset of V, then is Span(S) equal to V? Definition Let V be a vector space and let S = {v1, v2, ... , vn) be a subset of V. We say that S spans V if every vector v in V can be written as a linear combination of vectors in S. v = c1v1 + c2v2 + ... + cnvn Example Show that the set S = {(0,1,1), (1,0,1), (1,1,0)} spans R3 and write the vector (2,4,8) as a linear combination of vectors in S.
Solution A vector in R3 has the form v = (x, y, z) Hence we need to show that every such v can be written as (x,y,z) = c1(0, 1, 1) + c2(1, 0, 1) + c3(1, 1, 0) = (c2 + c3, c1 + c3, c1 + c2) This corresponds to the system of equations c2 + c3 = x which can be written in matrix form \( A = \begin{pmatrix} 0 & 1 & 1 \\ 1 & 0 & 1 \\ 1 & 1 & 0 \end{pmatrix} \) \( \begin{pmatrix} c_1 \\ c_2\\ c_3 \end{pmatrix} \) \( = \begin{pmatrix} x \\ y\\ z \end{pmatrix} \) We can write this as Ac = b Notice that det(A) = 2 Hence A is nonsingular and c = A-1b So that a nontrivial solution exists. To write (2,4,8) as a linear combination of vectors in S, we find that \( A^{-1} = \begin{pmatrix} -0.5 & 0.5 & 0.5 \\ 0.5 & -0.5 & 0.5 \\ 0.5 & 0.5 &- 0.5 \end{pmatrix} \) so that \( c = \begin{pmatrix} -0.5 & 0.5 & 0.5 \\ 0.5 & -0.5 & 0.5 \\ 0.5 & 0.5 & -0.5 \end{pmatrix} \) \( \begin{pmatrix} 2 \\ 4\\ 8 \end{pmatrix} \) \( = \begin{pmatrix} 5 \\ 3\\ -1 \end{pmatrix} \) We have (2,4,8) = 5(0,1,1) + 3(1,0,1) + (-1)(1,1,0) Example Show that if v1 = t + 2 and v2 = t2 + 1 and S = {v1, v2} then S does not span P2
Solution A general element of P2 is of the form v = at2 + bt + c We set v = c1v1 + c2v2 or at2 + bt + c = c1(t + 2) + c2(t2 + 1) = c2t2 + c1t + c1 + c2 Equating coefficients gives a = c2 Notice that if a = 1 b = 1 c = 1 there is no solution to this. Hence S does not span V. Example Let \( A = \begin{pmatrix} 1 & 2 & 1 & 4\\ 0 & 2 & 8 & 10 \\ 1 & 4 & 9 & 14 \\ -1 & 0 & 7 & 6\end{pmatrix} \) Find a spanning set for the null space of A.
Solution We want the set of all vectors x with Ax = 0 We find that the rref of A is \( A = \begin{pmatrix} 1 & 0 & -7 & -6\\ 0 & 1 & 4 & 5 \\ 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & 0\end{pmatrix} \) The parametric equations are x1 = 7s + 6t We can get the span in the following way. We first let s = 1 and t = 0 to get v1 = (7,-4,1,0) and let s = 0 and t = 1 to get v2 = (6,-5,0,1) If we let S = {v1,v2} then S spans the null space of A. Linear Independence We now know how to find out if a collection of vectors span a vector space. It should be clear that if S = {v1, v2, ... , vn) then Span(S) is spanned by S. The question that we next ask is are there any redundancies. That is, is there a smaller subset of S that also span Span(S). If so, then one of the vectors can be written as a linear combination of the others. vi = c1v1 + c2v2 + ... + ci -1vi -1 + ci+1vi+1 + ... + cnvn If this is the case then we call S a linearly dependent set. Otherwise, we say that S is linearly independent. There is another way of checking that a set of vectors are linearly dependent. Theorem Let S = {v1, v2, ... , vn) be a set of vectors, then S is linearly dependent if and only if 0 is a nontrivial linear combination of vectors in S. That is, there are constants c1, ..., cn with at least one of the constants nonzero with c1v1 + c2v2 + ... + cnvn = 0 Proof Suppose that S is linearly dependent, then vi = c1v1 + c2v2 + ... + ci -1vi -1 + ci+1vi+1 + ... + cnvn Subtracting vi from both sides, we get c1v1 + c2v2 + ... + ci -1vi -1 + vi + ci+1vi+1 + ... + cnvn = 0 In the above equation ci = 1 which is nonzero, so that 0 is a nontrivial linear combination of vectors in S. Now let c1v1 + c2v2 + ... + ci -1vi -1 + civi + ci+1vi+1 + ... + cnvn = 0 with ci nonzero. Divide both sides of the equation by ci and let aj = -cj / ci to get -a1v1 - a2v2 - ... - ai -1vi -1 + vi - ai+1vi+1 - ... - anvn = 0 finally move all the terms to the other right side of the equation to get vi = a1v1 + a2v2 + ... + ai -1vi -1 + ai+1vi+1 + ... + anvn Example Show that the set of vectors S = {(1, 1, 3, 4), (0, 2, 3, 1), (4, 0, 0, 2)} are linearly independent.
Solution We write c1(1, 1, 3, 4) + c2(0, 2, 3, 1) + c3(4, 0, 0, 2) = 0 We get four equations c1 + 4c3 = 0 The matrix corresponding to this homogeneous system is \( A = \begin{pmatrix} 1 & 0 & 4 \\ 1 & 2 & 0 \\ 3 & 3 & 0 \\ 4 & 1 & 2 \end{pmatrix} \) and \( A = \begin{pmatrix} 1 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 1 \\ 0 & 0 & 0 \end{pmatrix} \) Hence c1 = c2 = c3 = 0 and we can conclude that the vectors are linearly independent. Example Let S = {cos2 t, sin2 t, 4) then S is a linearly dependent set of vectors since 4 = 4cos2t + 4sin2t
|

