Linear algebra does not only study individual vectors. It often studies whole collections of vectors or matrices at once: all solutions of a system, all linear combinations of a list, all matrices satisfying an equation, or all vectors killed by a matrix.
Set language is the grammar that lets us say these things precisely. Without it, phrases such as "the same solution set", "belongs to the null space", and "these vectors span the same subspace" stay too vague to support proofs.
Why sets enter linear algebra
When you row-reduce a system, you are not trying to preserve the visible list of equations. You are trying to preserve the collection of solutions. Two systems may look different and still have exactly the same solutions.
Likewise, when you replace a spanning list by a shorter one, you are not trying to preserve the list. You are trying to preserve the set of vectors that can be built from the list.
Definition
Membership
If an object x is an element of a set , we write
If x is not an element of , we write
The symbol should be read as "belongs to". It is not the same as subset language. A vector may belong to a set; a smaller collection may be a subset of a larger collection.
Ambient spaces
Before writing a set in linear algebra, identify the kind of object being collected.
- is the set of real column vectors with
nentries. - is the set of real matrices.
- is the set of real polynomials of degree at most
n.
This ambient space matters. The expression
is incomplete unless we know the size and type of x. A careful version is
The part before the colon tells us where the objects live. The part after the colon gives the condition used to select them.
Solution sets
Let be an matrix and let .
Definition
Solution set of a linear system
The solution set of is
So a statement such as has exact meaning:
This notation also handles the three familiar possibilities.
- If the system has a unique solution , then .
- If the system is inconsistent, then .
- If the system has infinitely many solutions, then
S(A,b)is often written parametrically.
Worked example
Reading a parameterized solution set
Suppose the solutions of a system are described by
As a set, this is
The fixed vector is one particular solution. The two direction vectors record the freedoms that can be added without leaving the solution set.
Null space and span as sets
Two set constructions recur throughout the course.
Definition
Null space
For an matrix ,
This is the solution set of the homogeneous system .
Definition
Span
For vectors in the same vector space,
The span is a set, not the list itself. Reordering the vectors does not change the span, and adding a vector that was already a linear combination of the old ones does not change the span.
A subset proof with stacked matrices
Assignment problems often ask you to prove a set inclusion directly from the definitions rather than by quoting a larger theorem. The following pattern is a good model.
Theorem
A stacked null space is contained in a combined null space
Let and be matrices, and let
For any real numbers ,
Proof
Proof from the definitions
Set equality means two directions
Definition
Set equality
Two sets and are equal if every element of each set belongs to the other:
In proofs, this usually becomes a two-inclusion routine:
- prove that every element of belongs to ;
- prove that every element of belongs to .
The first direction alone proves only , not equality.
Intersections of solution sets with the same coefficient matrix
Set language also clarifies a useful fact about systems with the same coefficient matrix. If two solution sets for and have even one common vector, then the two right-hand sides must actually be the same.
Theorem
For the same A, two nonempty-overlapping solution sets are equal
Let be an matrix, and let . If
then
Proof
Why one common solution forces equality
The contrapositive reading is often just as important: for a fixed matrix , two consistent systems and either have disjoint solution sets or exactly the same solution set. They cannot share one solution but disagree elsewhere.
A core span argument
The following argument appears repeatedly in linear algebra, often hidden inside larger computations.
Theorem
Adding a redundant vector does not change the span
Suppose v is a linear combination of . Then
Proof
Proof by set equality
This proof is not about a particular numerical example. It explains why removing redundant vectors from a spanning list is legitimate.
Worked example: proving two spans are equal
Let
Since
the theorem gives
The vector v may still be useful computationally, but it does not enlarge the
set of vectors that can be produced.
Common mistakes
Common mistake
Confusing a vector with a set containing that vector
The vector and the singleton set are different objects. If a system has a unique solution, the solution is , but the solution set is .
Common mistake
Forgetting the ambient space
The condition does not by itself say whether x is a vector in , a
matrix variable, or some other object. Write the ambient set when the context is
not already fixed.
Common mistake
Proving only one inclusion
To prove , showing that every element of belongs to is not enough. You must also show that every element of belongs to .
Common mistake
Forgetting that a common solution fixes the right-hand side
If the same matrix is used in both systems, a vector satisfying and forces . The conclusion is not merely that the two systems are similar; their equations have the same right-hand side.
Quick checks
Quick check
If , what does that say about the system ?
Translate the empty set into solution language.
Solution
Answer
Quick check
Suppose . Does adding w to the list change the span?
Use the redundant-vector theorem.
Solution
Answer
Quick check
Suppose contains a vector . What must be true about b and c?
Use the definition of membership in a solution set.
Solution
Answer
Exercises
Quick check
Let and . Prove that .
Use both inclusions, even if one direction feels obvious.
Solution
Guided solution
Read this first
This note extends 1.1 Equations and solution sets and prepares the set-equality arguments used in 6.3 Linear combinations and span.