Advanced Mathematics

Vector Spaces, Basis and Dimension

Any collection you can add and scale like arrows, measured by its dimension: how many independent directions it holds.

Needs a step first: 5

A vector space is anything closed under adding and scaling: arrows, lists of numbers, polynomials, even functions. Vectors are linearly independent when none is a combination of the others, and a basis is an independent set that spans the whole space; every basis has the same size, the dimension. For a matrix, the dimensions of the column space (what it can reach) and the null space (what it sends to zero) add up to the number of columns. Eigenvectors, projections, Hilbert spaces and tensor products are all said in this language.

Where it shows up: A quantum state is a vector in a complex vector space, and a word embedding is a point in a space of a few hundred dimensions.

How to hold it: In your head

Recognise a vector space in arrows, lists, polynomials and functions alike, and see dimension as the number of independent directions, with rank plus nullity equal to the number of columns.

What knowing it looks like

  • Decide whether a set of vectors is linearly independent, and find a basis of their span.
  • Find the rank and a basis of the null space of a matrix, and check that rank plus nullity equals the number of columns.
  • Give examples of vector spaces that are not lists of numbers, such as polynomials of degree at most 22.

Test yourself

Let u=(1,2,3)u=(1,2,3), v=(2,1,0)v=(2,1,0), w=(4,5,6)w=(4,5,6). Are they linearly independent? What is the dimension of their span? Find numbers a,b,ca,b,c, not all zero, with au+bv+cw=0au+bv+cw=0.
Show the worked answer
Try w=au+bvw=au+bv. The third coordinates give 3a=63a=6, so a=2a=2; then a+2b=4a+2b=4 gives b=1b=1, and 2a+b=52a+b=5 checks. So w=2u+vw=2u+v: the vectors are dependent, and (a,b,c)=(2,1,−1)(a,b,c)=(2,1,-1), or any nonzero multiple, works. uu and vv are not parallel, so the span is a plane, of dimension 22. As the columns of a matrix: rank 22, null space of dimension 11, and 2+1=32+1=3 columns.

Needs a step first: 5

Learn it with an AI

Copy this prompt into any AI assistant. It will take you through step by step at your level and finish with the test above.

Be my maths tutor. I'm learning "Vector Spaces, Basis and Dimension" (Undergraduate I tier): Any collection you can add and scale like arrows, measured by its dimension: how many independent directions it holds.
I already know: Matrices as Transformations, Sets, Functions and Notation.
Teach it Socratically: first ask what I already know; then explain the core idea with one concrete example and why it's true; then give me three problems, one at a time, easy to hard. Wait for my answer, check every step, and point out mistakes without giving the answer away.
Finish by testing me with this: Let $u=(1,2,3)$, $v=(2,1,0)$, $w=(4,5,6)$. Are they linearly independent? What is the dimension of their span? Find numbers $a,b,c$, not all zero, with $au+bv+cw=0$.
Use LaTeX for formulas. When you say where it's used later (machine learning, quantum mechanics), be specific.

On the way to

Recommended