Linear algebra

Basis and Dimension

Describe a space with independent spanning vectors

Foundations7 min watch
Uploaded lesson
The idea

What you’ll explore

A basis is a linearly independent set that spans a vector space. Different bases can describe the same space, and every basis of a finite-dimensional space has the same number of vectors.

Coordinates in a basis of n vectors

v=c1b1+⋯+cnbn,dim⁡V=n\mathbf v=c_1\mathbf b_1+\cdots+c_n\mathbf b_n,\qquad \dim V=n

Step by step

  1. 01

    Check that the proposed basis vectors span the space.

  2. 02

    Check independence so that every vector has unique coefficients.

  3. 03

    Count the basis vectors to find the dimension.

A small code example

Python
from sympy import Matrix
B = Matrix([[1, 1], [0, 1]])
print(B.LUsolve(Matrix([3, 2])))
Keep exploring

Related lessons