Definitions, animated
The chapter's definitions and key theorems. Animations are paced for following step by step; use the speed buttons under a video to change the pace. Jump to a card here.Definition and examples
What makes a set a vector spaceA vector space is a set V with an addition and a scalar multiplication that never leave V (closure) and obey eight familiar rules: commutativity and associativity of addition, a zero vector, negatives, and the distributive and associative laws for scalars. Arrows in ℝ2, column vectors in ℝn, m × n matrices, polynomials Pn and continuous functions C[a, b] all qualify.
Once a set is known to be a vector space, every theorem of this chapter applies to it, whatever its elements look like.
Subspaces
Closed under addition and scalar multiplication; spans and spanning setsA nonempty subset S of a vector space is a subspace if αx ∈ S whenever x ∈ S, and x + y ∈ S whenever x, y ∈ S. Every subspace contains 0. Two important examples: the null space N(A) = {x : Ax = 0}, and the span of a set of vectors, all their linear combinations.
Subspace tester
Exercise 3.2.1 and moreDrag u and v. The page draws u + v and αu and checks whether they stay in the green set.
- For a line through the origin, try hard to break closure. You can't.
- For x₁x₂ = 0 (the two axes), put u on one axis and v on the other.
- Every subspace must contain 0. Which sets fail that test immediately?
Span explorer
Spanning sets of ℝ² · Exercises 3.2.11, 3.2.13Drag the vectors and the target b (ring).
Linear independence
Deciding dependence by row reductionVectors v1, …, vn are linearly independent if c1v1 + ⋯ + cnvn = 0 forces every ci = 0, and linearly dependent if some nontrivial combination gives 0. Dependent means at least one vector is a combination of the others, so it adds nothing to the span.
Linear dependence decider
Theorem 3.3.1 · Exercises 3.3.1, 3.3.2, 3.6.2- Load Exercise 3.3.2(c). Step through the reduction and watch for a column without a pivot.
- Change one entry of a dependent set so it becomes independent. How small a change is enough?
- Polynomials are vectors too: 2, x², x, 2x + 3 in P₃ become columns of coefficients.
Basis and dimension
Minimal spanning sets, maximal independent setsA basis of V is a linearly independent spanning set. Every vector then has exactly one expression as a combination of the basis vectors (Theorem 3.3.2). All bases of V have the same number of vectors, the dimension of V. In an n-dimensional space, any n independent vectors span, and any n spanning vectors are independent (Theorem 3.4.3).
Change of basis
Coordinates and transition matricesIf E = [v1, …, vn] is an ordered basis and x = c1v1 + ⋯ + cnvn, then [x]E = (c1, …, cn)T is the coordinate vector of x with respect to E. With U = (u1 … un), standard coordinates are x = U[x]U, so [x]U = U−1x; the transition matrix from basis U to basis V is V−1U.
Coordinates in any basis
Example 3.5.1 · Exercises 3.5.1–3.5.4Drag the basis vectors and the point x. The slanted grid is the coordinate grid of the basis.
- Count grid steps along u₁ and then u₂ to reach x: that is [x]U.
- Make u₁ and u₂ parallel. The grid collapses and coordinates no longer exist: not a basis.
Row space and column space
Rank, nullity, and when Ax = b is solvableThe row space of an m × n matrix A is spanned by its rows, the column space by its columns. The rank is the dimension of the row space, which equals the dimension of the column space (Theorem 3.6.6); the nullity is dim N(A).