Math Bytes · Linear algebra · Episode 2 · Vectors and spaces
Linear independence
Vectors are linearly independent when none of them is a linear combination of the others, so each one adds a new direction to the span. In a flat plane at most two vectors can be independent, and two vectors are dependent exactly when one is a multiple of the other.
Does a new arrow take you anywhere new?
Last lesson, v = (1, 1) and w = (1, −1) spanned the whole plane: every point is some av + bw. Now add a third vector, (5, 1).
It takes you nowhere new. We already know
3v + 2w = (3, 3) + (2, −2) = (5, 1)
so (5, 1) is already in the span of v and w. Anything you could reach using (5, 1) you could already reach with v and w alone. The third vector is redundant, and the set v, w, (5, 1) is linearly dependent.
Linearly independent vs dependent
- Linearly independent: none of the vectors is a linear combination of the others. Every vector adds a direction the others can't make, so removing any one of them makes the span smaller.
- Linearly dependent: at least one vector is a combination of the others, so it can be dropped without changing the span.
v = (1, 1) and w = (1, −1) on their own are independent: neither is a multiple of the other, and each adds a new direction.
At most two in a flat plane
Two independent vectors in the plane already span the whole plane. So any third vector, wherever it points, is a combination of those two, and it repeats something. That means in a flat plane (two dimensions), at most two vectors can be independent. In general, in n dimensions at most n vectors can be independent.
The quick test for two vectors
Two vectors are dependent exactly when one is a multiple of the other.
Worked example: (1, 3) and (2, 6).
- Compare the first coordinates:
2 = 2 × 1, so the factor would be2. - Check the second coordinates with the same factor:
2 × 3 = 6✓. - So
(2, 6) = 2(1, 3): the vectors are dependent. They lie on one line through the origin, and their span is just that line, not the whole plane.
If the same factor does not work for both coordinates, neither vector is a multiple of the other and the two are independent.
Try it yourself
- Are
(3, −1)and(−6, 2)independent or dependent? - Is
(4, 0)a linear combination ofv = (1, 1)andw = (1, −1)? If so, which one?
(Answers: 1. Dependent: (−6, 2) = −2(3, −1), since −2 × 3 = −6 and −2 × (−1) = 2. 2. Yes: 2v + 2w = (2, 2) + (2, −2) = (4, 0), so adding (4, 0) to v and w would make the set dependent.)
Good to know
- The definition used here, "none of them is a combination of the others", matches the textbook definition for sets of two or more vectors. Textbooks often state it another way: the only way to make
av + bw + … = 0is with every coefficient equal to zero. - Two vectors are dependent exactly when one is a scalar multiple of the other. That includes the case where one of them is the zero vector, since
0 = 0 × v. - "Takes you somewhere new" means the vector makes the span bigger (see lesson 1, linear combinations and span).
- This is lesson 2 of the Linear algebra course. Next up: a matrix moves space.
Answer to the comment question
(2, 5) and (6, k) are dependent. What's k? k = 15. Two vectors are dependent when one is a multiple of the other. The first coordinates give the factor: 6 = 3 × 2, so (6, k) must be 3(2, 5). Then k = 3 × 5 = 15, and (6, 15) = 3(2, 5).
Test your knowledge
Quick quiz: Linear independence
4 multiple-choice questions. Pick one answer for each, then check how you did.
Sources
- Margalit and Rabinoff, Interactive Linear Algebra (Georgia Tech), "2.5 Linear Independence": definition, a vector in the span of the others is redundant, two vectors are dependent exactly when they are collinear
- MIT OpenCourseWare, "18.06 Linear Algebra (Spring 2010)", Gilbert Strang: lecture 9 "Independence, Basis, and Dimension"
- Wolfram MathWorld, "Linearly Independent": definition via the zero combination (cross-check)
Video transcript
Does a new arrow take you anywhere new?
Last time, v = (1, 1) and w = (1, −1) reached the whole plane. Add a third arrow: (5, 1).
Nothing new. (5, 1) is already 3v + 2w, so that third arrow is redundant.
Arrows are linearly independent when none of them is a combination of the others. Each one adds a new direction.
In a flat plane, at most two arrows can be independent. A third always repeats something.
For two arrows the test is easy: they're dependent when one is a multiple of the other. (2, 6) is 2 times (1, 3), so they only reach a line.
Your turn. (2, 5) and (6, k) are dependent. What's k? Comment your answer below!
That's your byte.