Vector space, basis, linear dependence and independence
Vector spaces and subspaces, span, linear dependence and independence with the determinant and rank tests, basis and dimension of common spaces, the null and column spaces, and the rank-nullity theorem.
A vector space over the reals is a set with addition and scalar multiplication that obey the usual rules (closure, associativity, commutativity, a zero vector, negatives, distributive laws, ). Examples: , all matrices, polynomials of degree at most , continuous functions on an interval.
A subset of is a subspace if it is itself a vector space. The quick subspace test:
contains the zero vector.
.
for every scalar .
(2 and 3 together: .)
Set in
Subspace?
Reason
Yes
plane through the origin
Yes
line through the origin
No
no zero vector
No
leaves the set
No
fails for
Rule of thumb: sets defined by homogeneous linear equations are subspaces. Anything with a constant term, a product, a square, an inequality or an absolute value usually is not.
The subspaces of are exactly: , lines through the origin, planes through the origin, and . The solution set of is a subspace only when .
2. Span, linear dependence and independence
A linear combination of is . The set of all of them is the span, always a subspace.
The vectors are linearly independent if
Otherwise they are dependent: at least one is a combination of the others.
Tests. Put the vectors as columns (or rows) of a matrix .
Rank test: independent (number of vectors). The rank is also the dimension of the span.
Determinant test (only for vectors in ): independent .
Equivalently, has only .
Quick facts.
Any set containing the zero vector is dependent.
Two vectors are dependent iff one is a scalar multiple of the other.
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.
Functions: if the Wronskian is nonzero at some point, the functions are independent.
In R3, v1 and v2 span a plane; v3 = v1 + v2 lies in it (dependent set), while w leaves the plane, so {v1, v2, w} is a basis.
3. Basis and dimension
A basis of is a set of vectors that is (1) linearly independent and (2) spans . Every vector of is then a combination of the basis vectors in exactly one way; the weights are its coordinates in that basis.
All bases of have the same number of vectors, the dimension . In an -dimensional space:
any independent vectors form a basis, and any vectors that span form a basis;
fewer than vectors cannot span; more than must be dependent.
Space
Dimension
A basis
Polynomials of degree
matrices
matrices with a single 1
symmetric
skew-symmetric
upper triangular
diagonal
with trace
Dimension of a solution set. A subspace of given by independent homogeneous equations has dimension .
Sum and intersection of subspaces , :
4. Null space, column space and rank-nullity
For an matrix of rank :
Subspace
Lives in
Dimension
Column space (span of columns)
Row space
Null space
Left null space
Rank-nullity theorem:
Reading it.
Row-reduce ; the pivot columns of the original form a basis of . The nonzero rows of the echelon form are a basis of the row space.
The number of free variables equals the nullity; each free variable gives one basis vector of .
is solvable iff . If solvable and the nullity is positive, there are infinitely many solutions.
The columns of are independent iff iff .
For a square : independent columns invertible is not an eigenvalue.
GATE often gives with all rows multiples of one row (rank ), so the nullity is at once.
Formulas to remember
Linear independence
Rank test
Determinant test
Rank-nullity = number of columns of
Sum of subspaces
Symmetric and skew-symmetric matrices
Common mistakes
Using the determinant test when the number of vectors differs from the dimension; use the rank instead.
Calling a plane or line that does not pass through the origin a subspace; it has no zero vector.
Applying rank-nullity with the number of rows; nullity is the number of columns minus the rank.
Taking the pivot columns of the echelon form as a basis of the column space; the basis is the matching columns of the original matrix.
Assuming pairwise non-parallel vectors are independent; three vectors in a plane are dependent even if no two are parallel.
Worked examples
Try each step yourself, then reveal the working.
Example 1: Testing three vectors in R3
numerical
Are , , linearly independent? If not, find a relation.
Step 1: Compute the determinant of the matrix with these rows.
Try it on paper first.
Example 2: Value of k for dependence
numerical
For what are , and linearly dependent?
Step 1: Form the determinant.
Try it on paper first.
Example 3: Basis of a solution space
numerical
Find the dimension and a basis of .
Step 1: Count independent equations.
Try it on paper first.
Example 4: Rank-nullity and dimensions of matrix spaces
conceptual
(a) A matrix has rank . Find the dimension of its null space and of its column space. (b) Find the dimension of the space of real symmetric matrices.
Step 1: Apply rank-nullity for (a).
Try it on paper first.
Previous year questions
1 official GATE EC question on this topic, newest first.
9 questions: up to 1 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 EC syllabus; being checked by a reviewer. Updated 2026-11-28. Spotted a mistake? Use Report an issue on any question, or contact us.