Lesson 1.6 · Systems of Linear Equations
Linear independence
In the last lesson, the homogeneous equation had either only the trivial solution or infinitely many. Read in terms of the columns of , that dichotomy answers a question about redundancy: does every vector in a set contribute a genuinely new direction, or can one of them be built from the others? That question is linear independence, one of the central ideas of the whole course.
Definition
Definition
Linear independence
A set of vectors in is linearly independent if the vector equation
has only the trivial solution . The set is linearly dependent if there are weights , not all zero, with . Such an equation is called a linear dependence relation.
Because the vector equation above is the matrix equation with , everything you know about homogeneous systems applies at once.
Independence and pivots
The columns of a matrix are linearly independent if and only if has only the trivial solution, which happens if and only if has a pivot position in every column (no free variables).
Compare this with the spanning theorem from two lessons ago: spanning needs a pivot in every row, independence needs a pivot in every column.
Worked example: Testing a set and finding a relation
Determine whether , , are independent. If not, find a dependence relation.
Row reduce . and give rows and ; then zeros out row 3. Scaling row 2 by and clearing above it gives the RREF
Column 3 has no pivot, so is free and the set is dependent. From the RREF, and . Taking gives , :
Check the first entries: . Each vector can be solved for in terms of the others; for instance .
Small sets and special cases
Several cases can be decided without row reduction.
- One vector. is independent if and only if , since with forces .
- Two vectors. is dependent if and only if one is a scalar multiple of the other. Geometrically, the two vectors are dependent exactly when they lie on a common line through the origin.
- A set containing is always dependent: is a nontrivial relation.
- Too many vectors. If is greater than , any set of vectors in is dependent. The matrix is , so it has at most pivots and at least one column without a pivot.
Characterization of dependent sets
An indexed set of two or more vectors is linearly dependent if and only if at least one of the vectors is a linear combination of the others.
Why? If with some , divide by and solve for . Conversely, if , then moving to the other side gives a relation whose coefficient on is .
In terms of span: a set is dependent exactly when some vector lies in the span of the others, so removing it does not shrink the span. Independent vectors are the ones with no dead weight.
Common mistake
"Dependent" means some vector is a combination of the others, not every vector. In the first two are multiples of each other, so the set is dependent, yet is not a combination of and . Also, checking that no two vectors are multiples of each other proves independence only for sets of two vectors. Three vectors can be pairwise non-parallel and still dependent, as in the example above.
Worked example: A parameter that forces dependence
For which is linearly dependent?
Row reduce the matrix with these columns. and give
Column 3 has a pivot unless . So the set is dependent exactly when , and then the third vector equals .
Tip
For vectors in (a square matrix), independence and spanning happen together: a pivot in every column of an matrix is the same as a pivot in every row. You will see this again as part of the invertible matrix theorem.
Practice
Is the set linearly independent?
Which set is guaranteed to be linearly dependent without any computation?
How many pivot columns does the matrix with columns , , have? (Then decide whether the columns are independent.)
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
For the vectors in the previous problem, find and so that . Give .
Enter a point like (2, -3)
Which set is linearly independent?
For what value of are the vectors , , linearly dependent?
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Find a value of for which is linearly dependent. (There are two; give either.)
Enter a number. Fractions like 3/4 and sqrt(2) are OK.