Two equations in three unknowns, such as and , can never pin down a single point. The triples , and all satisfy them, and so do infinitely many others. Listing a few solutions is not the same as knowing all of them. This lesson shows how the pivots of an echelon form decide whether a system has any solution, which unknowns can be chosen freely, and how to write every solution in one formula. Throughout, a tuple such as stands for a column vector.
Key terms
Pivot
Definition Let be a matrix and let be a row echelon form of , that is, a matrix in row echelon form that is row equivalent to . The leading entries of the nonzero rows of are pivots, and their locations are pivot positions. Every echelon form of has its pivots in the same positions, so the pivot positions belong to itself. A pivot column of is a column that contains a pivot position. For a system with augmented matrix , the unknowns whose columns are pivot columns of are the pivot variables, also called basic variables.
In plain words A pivot is the first nonzero entry of a row once the staircase is built. Each pivot column marks an unknown that one of the equations can be solved for.
Example The system , has the augmented matrix
which is already in row echelon form. Its pivots are the leading entries in columns 1 and 2. The pivot columns are the and columns, so and are pivot variables, and the column contains no pivot.
Free variable
Definition In a consistent linear system, a free variable is an unknown whose column in the coefficient matrix is not a pivot column. Each choice of real values for the free variables determines exactly one value for each pivot variable, found by back-substitution, and every solution arises from exactly one such choice. A consistent system with unknowns and pivots in its coefficient matrix therefore has free variables. It has exactly one solution when and infinitely many when .
In plain words A free variable is a setting you may choose at will. It does not drop out of the problem, because it is still an entry of every solution, and the pivot variables are calculated from the values you choose.
Example In the system , the unknown is free. Choosing forces and , and choosing forces and . Once is fixed, the pivot variables are determined and cannot be chosen separately.
Reduced row echelon form
Definition A matrix is in reduced row echelon form (RREF) if it is in row echelon form and, in addition,
- every pivot equals , and
- each pivot is the only nonzero entry in its column.
Every matrix is row equivalent to exactly one matrix in reduced row echelon form, so any two sequences of row operations that reach RREF end at the same matrix. Ordinary row echelon forms lack this uniqueness. Scaling a pivot row by a number other than and gives another one, so a nonzero matrix has infinitely many of them.
In plain words Scale each pivot to , then clear the entries above it as well as below it. In a consistent system each nonzero equation then contains exactly one pivot variable, and every other unknown in it is free.
Example Start from the echelon matrix
The scaling and then the replacement give
The pivot columns now match the columns of , while the third column now holds the entries and . A column without a pivot does not have to be zero in RREF. The result is the augmented matrix of the system , .
Inconsistent row
Definition An inconsistent row of an augmented matrix is a row of the form
which stands for the equation . A linear system is inconsistent exactly when an echelon form of its augmented matrix has an inconsistent row, that is, when the last column of the augmented matrix is a pivot column. A row that is zero everywhere, constant included, stands for and imposes no condition.
In plain words Before looking for free variables, scan the echelon form for a row that says zero equals a nonzero number. One such row means there is no solution at all. A row that says zero equals zero is harmless and can be set aside.
Example For the system , , the step gives
and the second row says , so the system is inconsistent. With in place of the same step produces a zero row, which says . That system is consistent, and its one remaining equation leaves free. The coefficient matrix is the same in both cases, so here the right-hand side, not the coefficients, decides consistency.
Parametric solution
Definition A parametric solution of a consistent system describes its entire solution set in terms of parameters, one for each free variable. Set each free variable equal to its own parameter, which may be any real number, and solve the reduced equations for the pivot variables. The result can be written in vector form
with real parameters , where is the number of free variables and are fixed vectors. Every choice of the parameters gives a solution, and the description is complete because every solution has some value of each free variable, after which the equations force the pivot variables.
In plain words With at least one free variable, one formula with adjustable numbers replaces an endless list of solutions. Every setting of those numbers gives a solution, and every solution comes from some setting.
Example The reduced system , has pivot columns 1 and 3, so and are free. Set and . Then and , so
Substituting back gives and for all real and . Once and are chosen, the pivot variables cannot be chosen too. With , for example, the equations force and .
Particular and homogeneous solutions
Definition A particular solution of is any one fixed solution . The system with the same coefficient matrix is the associated homogeneous system, and its solutions are the homogeneous solutions. If is a particular solution of a consistent system , then the solution set of that system is exactly
Both inclusions follow from linearity. If , then , and if , then . In a parametric solution , the vector is a particular solution and the sums run through all homogeneous solutions.
In plain words A homogeneous solution is a change of input that the matrix does not notice. Start at any one solution and add every such change, and you reach every solution. An inconsistent system has no particular solution to start from.
Example For , every solution is . Here is a particular solution, and
so every multiple of is a homogeneous solution. There are no others, because and force . Changing the right-hand side to changes only the particular solution, and the solutions become . The homogeneous solutions always include , while the solution set of with never does.
Check yourself
- Each augmented matrix below is in row echelon form, for a system in the unknowns . Decide whether the system is consistent, and if it is, name the free variables.
Show the answer
System (a) is consistent. Its pivots are in columns 1 and 3, so is the only free variable. The second row gives , and then .
System (b) is inconsistent, because its second row says .
System (c) is consistent, because its zero row only says . The only pivot is in column 1, so and are both free, and . Systems (b) and (c) differ only in the last entry of the second row, and that entry alone decides consistency.
- Reduce the augmented matrix below to RREF and write every solution in parametric vector form. Check your answer in the original equations.
Show the answer
Apply , then ,
The pivot columns are 1 and 3, so and are free. Set and . Then and , and
In the original equations the first left side becomes , which equals , and the second becomes , which equals , for all real and .
- Two students solve , . One writes the solutions as , and the other writes them as . Which student is right?
Show the answer
Both are right. The vector is a solution, since and , so it can serve as the particular solution. The vector is times , so its multiples are the same homogeneous solutions. The two formulas describe the same line, and the point with parameter in the second formula is the point with in the first. A particular solution is any one solution, not a special one.