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. Solving the system means determining which tuples belong to that 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 2.1.1
(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 2.1.2
(Consistent and inconsistent systems)
A linear system is consistent if it has at least one solution.
Otherwise, it is inconsistent.
- 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 2.1.3
(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.
Row reduction will prove this classification. In a consistent system, a free variable gives infinitely many choices; a contradiction rules out every solution.
A system with one solution
Worked example 2.1.4
(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 2.1.5
(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 2.1.6
(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 2.1.7
(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
Each real value of specifies a solution; describing the entire family also requires checking that every solution has this form.
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
Definition 2.1.8
(Equivalent systems)
Two linear systems are equivalent if and only if they have exactly the same solution set.
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 2.1.9
(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 .
A tuple satisfying the old equations also satisfies every new equation, because each new equation is obtained from true old equalities by one of these arithmetic steps. Since the reverse step is an operation of the same kind, a tuple satisfying the new equations satisfies the old ones as well. Hence 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.
Three geometric possibilities for two-variable linear systems
Choose a case and compare the two lines with their common solution set.
Selected: one solution
intersection point
no solution
parallel distinct lines
infinitely many
same line
- A common point exists
- Yes
- Exactly one common point
- Yes
- The lines coincide
- No
- Solution set
- one solution
Holds: The two lines have a common solution
Two distinct intersecting lines share exactly one point. If they shared two distinct points they would be the same line.
NoticeThese are schematic drawings, not specified equations or mathematical coordinates. Each equation here describes a genuine line; degenerate equations such as 0 = 0 or 0 = 1 need a separate check.
This geometric picture is useful because it makes the three possibilities feel inevitable instead of arbitrary.
From equations to a matrix record
In an equation operation, the coefficients and constants change while the ordered list of unknowns stays fixed. A matrix records those changing numbers in fixed positions. Each equation corresponds to one matrix row; the same three equation operations then become row operations. Their purpose remains to preserve the whole solution set while making it easier to describe.
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
Quick check
(Which ordered pair solves both equations and ?)
Test the pair against both equations.
Solution · Answer
.
Quick check
(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.
Quick check
(If two systems have the same solution set, what do we call them?)
This is the course definition.
Solution · Answer
Equivalent systems.
Quick check
(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
Quick check
(Write the solution set of , , in parametric form.)
Use one free parameter.
Solution · Guided solution
Let . Then
So the solution set is
Quick check
(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.
Related notes
This note is the starting point for the matrix treatment of systems. The next useful pages are:
- Augmented matrices and row operations
- Gaussian elimination and RREF
- Homogeneous systems and null space
Further study
The explorer below carries out the translation described in the section on recording equations as a matrix. With the unknowns kept in a fixed order, each equation becomes one row of coefficients followed by its constant, so a statement about the system becomes a statement about the rows of one array.
Translate one system into a matrix
Select an equation, a row, or a column. One equation is one row; the coefficients of one unknown form one column.
| 1 | 2 | 5 |
| 3 | −1 | 4 |
Solid frame: rowDashed frame: columnRight of the bar: constants
- Equation 1
- Row 1: 1, 2 | 5
NoticeThe constants to the right of the bar belong to no unknown; the coefficient matrix is only the part to the left of the bar.
Counterexample mode
A step that keeps every old solution can still add new ones
The proof that elementary equation operations preserve the solution set has two directions, and the second one needs the source equation to survive the step. Replace both equations of , at the same time by their sum. The new system is , . Every solution of the old system satisfies it, because each new equation is a sum of true old equations. The reverse fails: the old system has the single solution , while the new one is solved by for every real , for instance by , which violates . The simultaneous replacement is not a sequence of elementary operations. After the first equation is replaced by the sum, the original first equation is no longer in the system, so the second replacement cannot be undone.