Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save doitian/ae1658e05136035aeba2c079d7538d94 to your computer and use it in GitHub Desktop.

Select an option

Save doitian/ae1658e05136035aeba2c079d7538d94 to your computer and use it in GitHub Desktop.
List of Vectors vs List of Subspaces

This query asks for a comparison between a list of vectors and a list of subspaces based on the concepts established in the sources, particularly regarding properties like span, linear independence, and basis.

Both lists of vectors and lists of subspaces are fundamental building blocks used to describe and structure a vector space $V$. They share analogies rooted in set theory, especially concerning how they generate or combine to form larger structures, but they differ fundamentally in the nature of their elements.

Here is a comparison based on the source material:

1. Fundamental Nature of Elements

Feature List of Vectors ($v_1, \dots, v_m$) List of Subspaces ($V_1, \dots, V_m$)
Element Type Vectors or "points" that are elements of $V$. Subsets of $V$ that are themselves vector spaces.
Analogy Comparable to individual elements or building blocks in a set. Analogous to subsets of a set.
Representation Can be written as an ordered collection of vectors, usually without surrounding parentheses. Defined collectively, usually related by operations like addition or intersection.

2. Generating the Vector Space (Span/Sum)

The most direct comparison involves how each list generates or determines the smallest containing structure:

Concept List of Vectors ($v_1, \dots, v_m$) List of Subspaces ($V_1, \dots, V_m$)
Generated Structure Span ( $\text{span}(v_1, \dots, v_m)$ ). Sum ($V_1 + \cdots + V_m$).
Definition of Generation A linear combination of the vectors: $a_1v_1 + \cdots + a_m v_m$, where $a_k \in \mathbf{F}$. The set of all possible sums of elements, one from each subspace: ${v_1 + \cdots + v_m \mid v_k \in V_k}$.
Key Property The span is the smallest subspace of $V$ containing all the vectors in the list. The sum is the smallest subspace of $V$ containing all the subspaces in the list.
Set Analogy The span operation is analogous to creating a set closure. The sum of subspaces is analogous to the union of subsets in set theory.

3. Independence and Uniqueness (Linear Independence/Direct Sum)

These properties define when a list is efficient or non-redundant in spanning the resulting structure:

Concept List of Vectors ($v_1, \dots, v_m$) List of Subspaces ($V_1, \dots, V_m$)
Independence Linearly Independent. Direct Sum ($V_1 \oplus \cdots \oplus V_m$).
Condition for Independence The only way to form the zero vector ($a_1v_1 + \cdots + a_m v_m = 0$) is if all scalars are zero ($a_1 = \cdots = a_m = 0$). Each vector in the sum $V_1 + \cdots + V_m$ can be written in only one way as a sum $v_1 + \cdots + v_m$, where $v_k \in V_k$.
Alternative Characterization Every vector in the span has only one representation as a linear combination of the vectors. For two subspaces ($V_1, V_2$), the sum is direct if and only if $V_1 \cap V_2 = {0}$.
Set Analogy Linear independence is necessary for a basis. A direct sum is analogous to a disjoint union of sets. Notably, no two subspaces can be disjoint because both must contain the zero vector.
Dimension Connection If $v_1, \dots, v_m$ are linearly independent, then $m \leq \text{dim} V$. The sum is a direct sum if and only if the dimension of the sum equals the sum of the dimensions ($\text{dim}(V_1 + \cdots + V_m) = \text{dim} V_1 + \cdots + \text{dim} V_m$).

4. Basis: The Efficient Spanning Set

A "basis" combines the concepts of generation and independence, and here the correspondence is extremely tight:

Concept List of Vectors ($v_1, \dots, v_m$) List of Subspaces ($V_1, \dots, V_m$)
Combined Property Basis ($\text{span}(v_1, \dots, v_m) = V$ AND linearly independent). Direct Sum Decomposition ($V = V_1 \oplus \cdots \oplus V_m$).
Dimension If $v_1, \dots, v_n$ is a basis of $V$, then $n = \text{dim} V$. If $V = V_1 \oplus \cdots \oplus V_m$, then $m$ is not necessarily fixed, but $\sum_{k=1}^m \text{dim} V_k = \text{dim} V$. For instance, a basis of $V$ can be used to construct a direct sum of one-dimensional subspaces whose total number equals $\text{dim} V$.

The dimension formula for subspaces encapsulates this analogy:

$$\text{dim}(V_1 + V_2) = \text{dim} V_1 + \text{dim} V_2 - \text{dim}(V_1 \cap V_2) \quad$$

This formula is analogous to the counting principle for the union of two finite sets $S_1, S_2$:

$$\#(S_1 \cup S_2) = \#S_1 + \#S_2 - \#(S_1 \cap S_2) \quad$$

This highlights that the number of elements ($\#$) for sets corresponds to the dimension ($\text{dim}$) for vector spaces.


Analogy Summary:

Comparing the role of vectors to the role of subspaces is like comparing individual atoms to complex molecules. A single vector ($v$) can be linearly independent, forming a one-dimensional subspace ( $\text{span} (v)$ ). A collection of vectors forms a linearly independent set if no vector is redundant. Similarly, a collection of subspaces forms a direct sum if the subspaces are non-redundant in their generation of the total space, meaning they only overlap at the zero vector (in the case of two subspaces).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment