MTH 210 · Linear Algebra
Our notes
2 min readLinear independence
Vectors v₁, ..., vₖ are linearly independent if
α₁v₁ + ... + αₖvₖ = 0 only when α₁ = ... = αₖ = 0.
Otherwise they are dependent: one of them is a combination of the others.
Quick facts: any set containing 0 is dependent; two vectors are dependent if one is a multiple of the other; in ℝⁿ more than n vectors are always dependent.
Testing
Put the vectors as columns of a matrix and row reduce, or (for n vectors in ℝⁿ) use the determinant: independent if and only if det ≠ 0.
Worked example. v₁ = (1, 2, 3), v₂ = (0, 1, 4), v₃ = (5, 6, 0).
det [1 0 5; 2 1 6; 3 4 0] = 1(0 − 24) − 0 + 5(8 − 3) = −24 + 25 = 1 ≠ 0. Independent.
Worked example (dependent). (1, 2, 3), (4, 5, 6), (7, 8, 9): det = 1(45 − 48) − 2(36 − 42) + 3(32 − 35) = −3 + 12 − 9 = 0. Dependent: indeed (7, 8, 9) = 2(4, 5, 6) − (1, 2, 3).
Basis
A basis of V is a set that is (1) linearly independent and (2) spans V. Every vector then has a unique expression in the basis; the scalars are its coordinates.
Standard bases: ℝ³: e₁ = (1, 0, 0), e₂ = (0, 1, 0), e₃ = (0, 0, 1). P₂: {1, x, x²}. M₂ₓ₂: the four matrices with a single 1.
Worked example. Coordinates of (3, 1) in the basis {(1, 1), (1, −1)}: α + β = 3, α − β = 1, so α = 2, β = 1. Coordinates (2, 1).
Dimension
All bases of V have the same number of vectors: the dimension, dim V.
- In a space of dimension n: any n independent vectors form a basis; any n vectors that span form a basis; more than n vectors are dependent; fewer than n cannot span.
- A subspace W of V has dim W ≤ dim V, with equality only when W = V.
Worked example. W = {(x, y, z) : x − 2y + z = 0}. Solve x = 2y − z: (x, y, z) = y(2, 1, 0) + z(−1, 0, 1). The vectors (2, 1, 0) and (−1, 0, 1) are independent and span W, so dim W = 2 (a plane).
Building a basis
- Cut down a spanning set: row reduce; keep the vectors in the pivot columns.
- Extend an independent set: add standard basis vectors one at a time, keeping only those not already in the span.
Worked example. Extend {(1, 1, 0)} to a basis of ℝ³: add (1, 0, 0) (not a multiple), then (0, 0, 1) (not in the span of the first two, since their third entries are 0). Basis: {(1, 1, 0), (1, 0, 0), (0, 0, 1)}.
Exams usually ask: test given vectors for independence; show a set is a basis and find coordinates; find a basis and the dimension of a subspace defined by equations; extend a set to a basis.
Common mistake: calling vectors independent because no one is an obvious multiple of another. With three or more vectors, one can be a combination of two others; always do the determinant or row reduction.
Written by the UniHive team in our own words. Spotted a mistake? Tell us on WhatsApp.
Read
-
Best pick Interactive Linear Algebra, 2.5 Linear independence
(opens textbooks.math.gatech.edu in a new tab)
Margalit and Rabinoff, Interactive Linear Algebra, Interactive Linear Algebra, 2.5 Linear independence, GNU FDL · licence
-
Interactive Linear Algebra, 2.7 Basis and dimension
(opens textbooks.math.gatech.edu in a new tab)
Margalit and Rabinoff, Interactive Linear Algebra, Interactive Linear Algebra, 2.7 Basis and dimension, GNU FDL · licence
-
Basis (linear algebra)
(opens en.wikipedia.org in a new tab)
Wikipedia, Basis (linear algebra), CC BY-SA 4.0 · licence
Watch
-
Linear combinations, span, and basis vectors | Chapter 2, Essence of linear algebra
10 min · ≈ 45 MB · about ₦25
(opens youtube.com in a new tab)
-
Linear Independence
13 min · ≈ 59 MB · about ₦33
(opens youtube.com in a new tab)
-
Basis and Dimension
10 min · ≈ 45 MB · about ₦25
(opens youtube.com in a new tab)
-
Basis and Dimension | MIT 18.06SC Linear Algebra, Fall 2011
8 min · ≈ 36 MB · about ₦20
(opens youtube.com in a new tab)
-
Introduction to linear independence | Vectors and spaces | Linear Algebra | Khan Academy
16 min · ≈ 72 MB · about ₦40
(opens youtube.com in a new tab)
-
9. Independence, Basis, and Dimension
50 min · ≈ 225 MB · about ₦126
(opens youtube.com in a new tab)
We link to free material and never copy it. Every link was opened by our team before it went up; video data is a rough guide at 360p.