QED
Linear Algebra · step 5 of 13

Basis & dimension

A basis is a linearly independent spanning set, and every basis of a given space has the same number of elements — that number is the dimension. The practical consequence is a shortcut worth remembering: in an n-dimensional space, any n independent vectors automatically span, and any n spanning vectors are automatically independent.

Unlimited questions · marked criterion by criterion · no card needed

Method: how to approach it

The order below is what examiners expect to see, and each step carries its own marks.

  1. Row reduce to find a basisFor a span, the pivot columns of the original matrix form a basis of the column space; the non-zero rows of the reduced form give a basis of the row space.
  2. Count the dimension as the number of pivotsThat is the rank, and it is the dimension of both the row and the column space.
  3. Extend an independent set to a basisAdjoin standard basis vectors and row reduce; keep the ones that add a new pivot.
  4. Use the shortcutWith the dimension known, checking either independence or spanning suffices — you never need both.

Worked example

Find a basis and the dimension of the subspace of ℝ³ spanned by (1,1,0), (0,1,1) and (1,2,1).

  1. Note (1,1,0) + (0,1,1) = (1,2,1), so the third vector is dependent.
  2. The first two are not multiples of each other, so they are independent.
  3. Hence they span the same subspace as all three.
  4. Two independent vectors spanning the subspace form a basis.

Answer. Basis {(1,1,0), (0,1,1)}, so the subspace has dimension 2 — a plane through the origin in ℝ³.

Where marks get dropped

These are the specific errors that cost credit on basis & dimension questions — QED's rubric penalises each of them separately.

Practise this until it is automatic

Unlimited fresh questions

QED generates new basis & dimension problems on demand at warm-up, exam and challenge level, so you can drill this one skill until it stops costing you marks.

Marked like an examiner

Every answer is scored against a point-by-point rubric with partial credit, so you see exactly which step of the method broke down — not just a tick or a cross.

Answer in real notation

A one-tap symbol palette, a visual equation editor and a truth-table builder — or photograph your handwritten working and QED converts it to LaTeX.

Saved to your library

Every question you generate is kept and re-takeable as a timed exam, and your Linear Algebra mastery is tracked so you know when this is exam-ready.

Basis & dimension — frequently asked questions

Is a basis unique?

No — every space of dimension ≥ 1 has infinitely many bases. What is unique is the number of elements, which is the content of the dimension theorem.

What is the dimension of the zero subspace?

0, with the empty set as its basis. This is consistent with the rank–nullity theorem.

How do I find a basis for a solution space?

Row reduce, parametrise by the free variables, and the coefficient vectors of the parameters form a basis. The number of free variables is the dimension.

The rest of Linear Algebra

Matrices, systems, determinants, eigenvalues. Each subtopic below has its own method, worked example and mark-losing traps.

Ready to make basis & dimension exam-proof?

Generate your first questions free — no card, no setup, no personal data stored. Practise until the method is second nature.

Start practising free →