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 .
Test yourself
Let , , . Are they linearly independent? What is the dimension of their span? Find numbers , not all zero, with .
Show the worked answer
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.
Needs first
- Matrices as TransformationsA matrix is a rule that moves every vector in a straight-line-preserving way; its columns say where the basis vectors land.Core · Linear Algebra
- Sets, Functions and NotationSets, the symbols for combining them, and functions as rules sending each element of one set to exactly one element of another.Bridge · Proof & Discrete Maths
Leads to
- Eigenvalues and EigenvectorsThe directions a matrix only stretches and never turns, and the factor by which it stretches each one.Undergraduate I · Linear Algebra
- Orthogonality and ProjectionsPerpendicular vectors, and how to split any vector into a part inside a subspace and a part at right angles to it.Undergraduate I · Linear Algebra
- Tensor ProductsA way of combining two vector spaces into one whose dimension is the product of theirs: the space of a joint system.Undergraduate II · Linear Algebra
On the way to
Recommended
- MIT 18.06SC Linear AlgebraGilbert Strang, MIT OpenCourseWare · CourseGilbert Strang's famous linear algebra lectures with recitation videos, problem sets and solutions, from elimination to eigenvalues and the SVD.
- Linear Algebra Done RightSheldon Axler · BookThe standard proof-based second course in linear algebra, built on linear maps rather than determinants; the 4th edition is free to read, also in Chinese.
- Mathematics for Machine LearningDeisenroth, Faisal and Ong (Cambridge University Press) · BookA free book that gathers exactly the linear algebra, vector calculus, probability and optimisation machine learning uses, then applies them to regression, PCA and classification.
- 宋浩老师官方宋浩(山东财经大学) · Videos · 中文Full university courses in calculus, linear algebra and probability by a Shandong University of Finance and Economics lecturer, clear and good-humoured; a new calculus series came out in October 2026.