Vector Spaces/Linearly Independent Sets and Bases

Lesson 4.31,050 words

Linearly Independent Sets and Bases

A basis is a spanning set with no redundancy: linearly independent and still large enough to reach every vector. The spanning-set theorem shows any spanning set can be trimmed to a basis by discarding dependent vectors, and the pivot columns of a matrix give a basis for its column space.

╌╌╌╌

A spanning set describes a subspace but may carry redundant vectors. A linearly independent set carries no redundancy but may fail to reach every vector. A basis is both at once: independent and spanning. It is the most efficient description of a subspace, and every vector in the space is a unique combination of it. The definitions of independence and spanning transfer from to any vector space without change.1

Linear independence in a vector space

The small cases match : a single vector is independent iff ; a pair is dependent iff one vector is a multiple of the other; and any set containing the zero vector is dependent. The general test is a chain condition.

When the vectors are not columns of numbers, the dependence equation usually cannot be turned into a matrix equation , so the definition and the dependence-and-predecessors theorem are the working tools.

Bases

Taking recovers the notion of a basis for the whole space. The two most common bases are the standard ones:

  • The standard basis for is , the columns of the identity matrix. Any invertible matrix's columns also form a basis for , since they are independent and span by the Invertible Matrix Theorem.
  • The standard basis for is . It spans by definition, and it is independent because a polynomial of degree at most with more than roots must be the zero polynomial, forcing every coefficient to zero.
The standard basis of : three mutually independent axis vectors, each a unit step along one coordinate direction.
The standard basis of drawn as functions: the constant , the line , and the parabola . They are independent because a nonzero polynomial of degree at most has at most two roots.

The spanning-set theorem

A basis can be built from any spanning set by throwing away vectors that contribute nothing new. Discarding a vector that is a linear combination of the others leaves the span unchanged.

Part (a) is the trimming step; part (b) is its repeated application. As long as the spanning set is dependent, some vector depends on the others and can be deleted without shrinking the span. The process stops precisely when the set becomes independent, which is a basis.

A three-vector spanning set of a plane with ; the redundant is discarded, and the independent pair remains a basis for the same plane.

Bases for the null space and column space

The two subspaces of a matrix each come with a standard basis-finding procedure.

Null space. The spanning set produced by solving — one vector per free variable — is automatically linearly independent, as shown when the null space was described explicitly. So that spanning set is already a basis for .

Column space. The pivot columns of form a basis for . Each nonpivot column is a linear combination of pivot columns to its left, so the spanning-set theorem discards it; the pivot columns that remain are independent.

The proof uses that row reduction preserves the linear dependence relations among columns: and have the same solutions when is row equivalent to . So a dependence among the columns of is a dependence among the columns of in the same positions, and conversely.

Algorithm:ColumnBasis(A)\textsc{ColumnBasis}(A) — a basis for ColA\operatorname{Col} A
  1. 1
    row-reduce AA to an echelon form BB
  2. 2
    identify the pivot positions of BB
  3. 3
    for each pivot column index jj do
  4. 4
    select column aja_j of the original matrix AA
  5. 5
    return the selected columns of AA

For example, if the pivots of an echelon form of sit in columns , then columns of are a basis for , no matter how different the echelon form looks.

An echelon form marks pivots in columns 1, 2, 4; the basis for is columns 1, 2, 4 of the original , not of the echelon form.

Two views of a basis

A basis is optimal from opposite directions.

  • A spanning set as small as possible. When the spanning-set theorem trims a set down, deletion must stop once the set is independent. Removing one more vector loses the span, because that vector was not a combination of the rest.
  • An independent set as large as possible. If is a basis for and any vector from is added, the enlarged set is dependent: is already a combination of , giving a nontrivial dependence relation.

These two views bracket the size of every basis: an independent set can be grown to a basis and a spanning set shrunk to one, and both processes terminate at the same count. That common count is the dimension of the space, and the unique coefficients a basis assigns to each vector are its coordinates.

Footnotes

  1. Lay, Linear Algebra and Its Applications, §4.3 — Linearly Independent Sets; Bases: Theorem 4 (dependence via predecessors), the basis definition, Theorem 5 (spanning-set theorem), and Theorem 6 (pivot columns as a basis for ).

╌╌ END ╌╌