Vector spaces and subspaces; linear dependence and independence of vectors
Vector spaces, the subspace test, span, linear dependence and independence, basis and dimension; GATE asks which sets are subspaces, when vectors are independent, and dimension counts.
A vector space over is a set with addition and scalar multiplication that satisfies the usual rules (closure, associativity, a zero vector, additive inverses, distributivity). In GATE DA the spaces are almost always , matrices, polynomials or functions, so you rarely check all axioms.
A subspace of is a non-empty subset that is itself a vector space under the same operations. Use the subspace test: is a subspace if and only if
, and
and scalar imply .
Quick filters for :
Set
Subspace?
Reason
(null space)
Yes
Homogeneous linear equations
,
No
Does not contain
A line or plane through the origin
Yes
Span of its direction vectors
No
is outside
No
is outside
Rule of thumb: a set defined by linear homogeneous equations is a subspace; constants, products, squares, absolute values or inequalities usually break it. The intersection of two subspaces is a subspace; the union is a subspace only when one contains the other.
2. Span and linear combinations
A linear combination of is . The span of the set is the collection of all such combinations. The span is always a subspace, and it is the smallest subspace that contains every .
To test whether lies in the span of the columns of , ask whether has a solution. That happens exactly when .
The span of the columns of is called the column space ; the solution set of is the null space . Both are subspaces and appear again under rank and nullity.
Geometric picture in : the span of one non-zero vector is a line through the origin; of two non-parallel vectors, a plane through the origin; of three vectors not in one plane, all of . Adding a vector that already lies in the span does not enlarge it; this is exactly what dependence means.
Two vectors in the plane: independent vectors span the plane, dependent ones span only a line
3. Linear dependence and independence
Vectors are linearly independent if
Otherwise they are linearly dependent: some non-trivial combination gives , so at least one vector is a combination of the others.
How to test:
Put the vectors as columns (or rows) of a matrix . They are independent if and only if .
For vectors in the matrix is square: independent if and only if .
Two vectors are dependent if and only if one is a scalar multiple of the other.
Facts that settle many MCQs at once:
Any set containing is dependent.
More than vectors in are always dependent.
A subset of an independent set is independent; a superset of a dependent set is dependent.
Eigenvectors for distinct eigenvalues are independent.
Non-zero mutually orthogonal vectors are independent.
For functions, the same definition applies: , and are dependent because .
4. Basis and dimension
A basis of is a linearly independent set that spans . Every basis of has the same number of vectors; that number is the dimension . Every vector has a unique representation in a given basis.
In a space of dimension : any independent vectors form a basis, any spanning vectors form a basis, fewer than cannot span, and more than cannot be independent.
Space
Dimension
A basis
standard vectors
Polynomials of degree
matrices
matrices with a single 1
symmetric
entries on and above the diagonal
skew-symmetric
entries above the diagonal
upper triangular
entries on and above the diagonal
empty set
Each independent linear constraint cuts the dimension by one: the plane in has dimension , and polynomials of degree with have dimension .
For two subspaces of a finite-dimensional space:
Since , this gives the lower bound .
Formulas to remember
Subspace test
Independence
Rank test
Square test
Sum of subspaces
Symmetric and skew-symmetric matricesFor matrices
PolynomialsPolynomials of degree at most
Common mistakes
Calling a set like a subspace: a subspace must contain the zero vector, so any non-zero constant term rules it out.
Taking the union of two subspaces as a subspace; it is the intersection (or the sum ) that is always a subspace.
Counting vectors instead of rank: four vectors may span only a 2-dimensional space if some are combinations of others.
Using as an equality; it is only a lower bound, reached when is the whole space.
Forgetting that polynomials of degree at most have dimension , not , because the constant term counts.
Worked examples
Try each step yourself, then reveal the working.
Example 1: Is a plane a subspace, and what is its basis?
numerical
Let . Show that is a subspace and find a basis and its dimension.
Step 1: Check that the zero vector is in $W$.
Try it on paper first.
Example 2: Find $k$ that makes three vectors dependent
numerical
For what value of are , and linearly dependent?
Step 1: Three vectors in $\mathbb{R}^3$: which test is fastest?
Try it on paper first.
Example 3: Intersection of two planes
numerical
and are two different 2-dimensional subspaces of . Find and .
Step 1: What can $\dim(U + W)$ be?
Try it on paper first.
Example 4: Spot the subspaces
conceptual
Which of these are subspaces? (i) matrices with trace 0; (ii) invertible matrices; (iii) polynomials of degree with ; (iv) solutions of .
Step 1: Look for the zero element first.
Try it on paper first.
Previous year questions
3 official GATE DA questions on this topic, newest first.
10 questions: up to 3 official PYQs and original practice questions, with GATE marking (MCQ wrong answers lose marks). Score 60% or more to pass. A new set is drawn each time.
Mark as mastered
Loading your progress…
My revision notes
Notes written by the GATEiit team against the official GATE DA syllabus; being checked by a reviewer. Updated 2026-11-21. Spotted a mistake? Use Report an issue on any question, or contact us.