UNIHIVE

Study Hub UNIPORT MTH 210

MTH 210 · Linear Algebra

Linear independence, basis and dimension

Testing independence, what a basis is, the standard bases, dimension, and extending or cutting a set to a basis.

Our notes

2 min read

Linear 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

Watch

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.

All MTH 210 topics

Report

Sign in to report this. It is free.

Is this your work (a lecturer, author or publisher)? Ask us to take it down.