When a system of linear equations is written down, the real object of interest is not the list of equations itself. It is the set of all tuples of numbers that make every equation true at the same time.
That solution set can be a single point, no point at all, or an infinite family of points. We begin by describing those three possibilities. Substitution, elimination, matrices, and null spaces will then provide increasingly useful ways to determine the whole set.
Which equations are linear?
Fix an ordered list of unknowns , all taking real values. A linear equation in those unknowns has the form
where the coefficients and right-hand side are fixed real numbers. A linear system is a finite collection of such equations using the same list of unknowns. An unknown may have coefficient zero in some equations; its position in the list is still retained. The coefficient belongs to the problem data, whereas the unknown is what we are allowed to choose.
For example, is linear in , but and are not: the first contains a product of unknowns and the second contains a square of an unknown. An equation such as is linear in when is a fixed parameter. If were itself included among the unknowns, the product would violate this definition. Thus “linear” is always read relative to the specified unknowns, not merely by looking for a familiar symbol.
Allowing zero coefficients is essential for elimination. The equation is satisfied by every pair in , while is satisfied by none. Neither is an instruction to divide by zero. Each remains a condition to be interpreted, and together they explain why a row of zeros and a contradiction row have completely different meanings.
What a solution set records
Definition
Solution set
A solution set is the collection of every number or vector that satisfies the whole system.
If the system has unknowns , then a solution is an ordered -tuple such that every equation becomes a true statement after we substitute for each .
That order matters. The tuple is not the same solution as . Likewise, a tuple is not a set. We do not write when the intended solution is the ordered pair .
The system itself can be read as an intersection of conditions:
- the first equation cuts out the tuples that satisfy it;
- the second equation cuts out the tuples that satisfy it;
- the solution set is the intersection of all those individual solution sets.
This is why even one failed equation disqualifies a tuple.
Concept lensStructural
Equations describe a set of admissible tuples
Keep the ambient space fixed. An equation selects some of its tuples, and a system keeps only tuples selected by every equation. This changes what it means to check an answer: finding one acceptable tuple establishes existence, while solving the system requires a description of the entire set.
Adding an equation intersects the old solution set with one more condition. It can leave that set unchanged or make it smaller; it cannot introduce a new solution. For instance, adding to leaves the set unchanged, whereas adding keeps only . Adding removes every tuple. These are three different effects of adding one equation, so counting equations alone cannot determine the outcome.
Conversely, deleting an equation can enlarge the solution set. To justify a deletion without changing the answer, show that the remaining equations already force the deleted one. The word “redundant” expresses precisely this logical relationship. It is stronger than noticing that two equations look similar.
Consistent or inconsistent
Definition
Consistent and inconsistent systems
A linear system is consistent if it has at least one solution.
Otherwise, it is inconsistent.
This is a very small definition, but it carries a lot of meaning.
- A consistent system may have exactly one solution.
- A consistent system may have infinitely many solutions.
- An inconsistent system has no solutions, so its solution set is empty.
Later row-reduction arguments prove that these are the only possibilities.
Theorem
A linear system has only three possible kinds of solution set
For a linear system, the solution set is either:
- a singleton, so the system has a unique solution;
- the empty set, so the system is inconsistent;
- an infinite set, so the system has infinitely many solutions.
The theorem is not a guess. Later sections justify it by elimination and row-reduction, but the point is already visible here: once a free variable appears, there are infinitely many choices; once a contradiction appears, there are none.
A system with one solution
Worked example
A tiny system with one solution
Solve
The second equation says . Substitute that into the first equation:
So , hence , and therefore .
The solution set is
This is the simplest possible example of a consistent system: there is exactly one ordered pair that works.
A system with no solution
Worked example
A contradiction gives an empty solution set
Consider
If a pair satisfied both equations, then the same left-hand side would have to equal two different numbers. Subtracting the first equation from the second gives
which is impossible.
So the system is inconsistent, and its solution set is empty:
The important subtlety is that an inconsistent system is not a system with "many" solutions. It has none.
Common mistake
Inconsistent does not mean more than one solution
Students sometimes read "inconsistent" as "too complicated" or "overdetermined." That is not the definition. Inconsistent means that there is no tuple of values that satisfies all equations simultaneously.
A system with infinitely many solutions
Worked example
The same line can be written in more than one way
Consider
The second equation is just times the first, so it adds no new condition. Every pair on the line satisfies both equations.
If we let , then , where . So the solution set is
There are infinitely many solutions because every real value of gives a different ordered pair.
The same phenomenon appears in larger systems. The notation gets longer, but the logic is the same: each free variable introduces one independent choice.
Worked example
A four-variable system written as a full solution set
Solve
Start from the last equation:
Substitute this into the second equation:
so
Now substitute both expressions into the first equation:
Simplifying gives
Let . Then every solution has the form
so the solution set is
This is the kind of answer the course wants: a complete description of all solutions, not just one sample solution.
Verify a parameterization in both directions
The four-variable calculation has shown that any solution must have the stated form. This is the exhaustiveness direction: start with an arbitrary solution, call its fourth coordinate , and use the equations to recover the other three coordinates. No solution can lie outside the displayed family.
There is a second obligation. For every real , the proposed tuple must actually satisfy the original equations. Substitution gives, in their original order,
These identities hold for every real parameter, so every member of the family is a solution. Finally, different values of give different fourth coordinates. Thus the family contains infinitely many distinct tuples, not merely infinitely many names for one tuple.
This two-direction check is useful whenever algebra produces a proposed answer set. Substitution establishes that there are no extraneous answers; exhaustiveness establishes that no answers were lost. Checking only a few sample values proves neither the universal substitution claim nor completeness. A parameter can also be renamed without changing the set: for , the families and agree because setting converts one to the other, and the substitution is reversible. Equality of solution sets does not require identical parameter letters or identical-looking formulas.
Why equivalent systems matter
Two systems are equivalent if they have the same solution set.
Definition
Equivalent systems
Two linear systems are equivalent if and only if they have exactly the same solution set.
This definition is stronger than "they look similar" and stronger than "they have the same number of equations." Equivalence is about solutions only.
Common mistake
Same number of equations does not mean equivalent
Two systems can have the same number of equations but different solution sets. They can also have different numbers of equations and still be equivalent.
There are three elementary equation operations:
- swap two equations;
- multiply one equation by a nonzero scalar;
- add a multiple of one equation to another equation.
These are the equation-level version of the row operations used later on augmented matrices.
Theorem
Elementary equation operations preserve the solution set
If one system is obtained from another by a finite sequence of the three elementary equation operations, then the two systems are equivalent.
Proof
Why the three elementary equation operations are safe
Each operation is reversible. In row replacement, the source and target equations are distinct, so the source equation remains available to undo the operation.
- Swapping two equations only changes the order in which the conditions are listed.
- Multiplying an equation by a nonzero scalar produces an equivalent equation, because we can reverse the move by multiplying by its reciprocal.
- Replacing equation by equation plus equation is reversible by subtracting equation from the new equation .
Since each step is reversible, no step changes the solution set.
This is the formal reason elimination is allowed. We are not changing the problem; we are rewriting it in a more readable form.
Two variables: geometry gives a quick picture
When there are two unknowns, an equation describes a line provided and are not both zero. For two such equations, the solution set is the intersection of their lines.
- If the lines meet at one point, the system has a unique solution.
- If the lines are parallel and distinct, the system is inconsistent.
- If the lines coincide, the system has infinitely many solutions.
The zero-coefficient cases must be interpreted separately: selects the whole plane and with nonzero selects the empty set. Neither selects a line. With three or more equations, having pairwise intersections also does not guarantee a common solution. The lines , , and meet pairwise, but no point belongs to all three. The definition of a solution requires simultaneous satisfaction of every equation.
one solution
intersection point
no solution
parallel distinct lines
infinitely many
same line
This geometric picture is useful because it makes the three possibilities feel inevitable instead of arbitrary.
Use line-intersection examples to see solution sets as intersections, then connect reversible equation rewrites to the augmented-matrix explorer.
Conditions intersect
A system is a stack of simultaneous conditions. A tuple belongs to the solution set only if it passes every equation.
One point
For x+y=5 and 2x-3y=-5, the two lines meet at (2,3), so the solution set is the singleton {(2,3)}.
No point
Parallel distinct lines give an empty intersection. In the two-variable picture, that is an inconsistent system.
Whole line
Coincident lines produce infinitely many solutions. A parameter records the whole family rather than one sample point.
Equivalent rewrites
The three elementary equation operations are safe because each has an inverse operation. They rewrite the system while preserving the solution set.
Matrix bridge
The augmented matrix is only a compact way to package the same conditions: each row is still one equation.
The visible equations may be rewritten, but the object we protect is the full solution set: all ordered tuples that satisfy every equation at the same time.
Why the course starts with solution sets
The later matrix language does not replace this section. It formalizes it.
Once we introduce coefficient matrices and augmented matrices, the same system can be encoded more compactly. Once we introduce row operations, we can transform one equation system into an equivalent one. Once we reach row-echelon or reduced row-echelon form, the solution set becomes easier to read.
So if the solution set is the object, then every later technique is just a different lens.
Try the interactive preview below once you are comfortable reading a small system as a list of conditions.
Read and try
Translate one system into a matrix
The live explorer highlights how each equation becomes one matrix row plus one constant entry.
System
- x + 2y = 5
- 3x - y = 4
Result
| 1 | 2 | 5 |
| 3 | -1 | 4 |
Common mistakes and subtle points
Common mistake
A solution is an ordered tuple, not a bag of numbers
solves a system in two variables, but does not mean the same thing. Order matters because the first number belongs to and the second belongs to .
Common mistake
A contradiction row means no solution
If elimination produces a row like , the system is inconsistent. Do not continue trying to solve it as if it were a valid equation.
Common mistake
A free variable is part of the answer
When a solution set is written with parameters, the parameter is not a missing answer. It is the correct way to describe the whole family of solutions.
Quick checks
Checkpoint
Which ordered pair solves both equations and ?
Test the pair against both equations.
Solution · Answer
.
Checkpoint
Is the system , consistent?
Use the definition of consistency, not the number of equations.
Solution · Answer
No. It is inconsistent because the two equations contradict each other.
Checkpoint
If two systems have the same solution set, what do we call them?
This is the course definition.
Solution · Answer
Equivalent systems.
Checkpoint
Why does swapping two equations not change the solution set?
Think about what the word "solution" means.
Solution · Guided solution
A solution must satisfy every equation in the system. The order of the equations does not matter, so swapping them does not change which tuples satisfy all of them.
Exercises
Checkpoint
Write the solution set of , , in parametric form.
Use one free parameter.
Solution · Guided solution
Let . Then
So the solution set is
Checkpoint
Find so that the system , , has no solution.
You may eliminate first.
Solution · Guided solution
Eliminate from the second equation by subtracting times the first:
Eliminate from the third equation by subtracting the first:
For inconsistency, the two resulting equations in and must become parallel but different. That happens when their coefficient rows are multiples. So solve
which gives
With , the two equations are parallel but not the same, so the system has no solution.
Check the exceptional value and all other values
The coefficient comparison above finds a candidate exceptional value; a complete argument should also verify that it is the only one. From we obtain . Substituting this in the remaining equation gives
At this reads , so inconsistency is explicit. For every other value of , the coefficient is nonzero, and the last equation determines exactly one . It then determines , and the first original equation determines . Each substitution was reversible, so this triple solves the original system. This checks both the exceptional case and the claim that no further values were missed.
The same example distinguishes a parameter from a free variable. Here is part of the given system: changing it changes the problem. Once is fixed away from the exceptional value, none of is free. In the earlier four-variable example, by contrast, varies within the solutions of one fixed system. Always identify whether a letter indexes different problems or different solutions to the same problem before introducing cases.
Read this first
This note is the starting point for the matrix treatment of systems. The next useful pages are: