From a Reduced System to a Family of Solutions
A system can have more than one solution when its equations do not determine every variable uniquely. Row reduction makes that freedom visible: a variable in a column without a pivot can be chosen freely, while the variables in pivot columns are determined by the equations. The goal is to describe all the solutions at once, rather than list a few individual solutions.
Consider a system \(\mathbf{A}\mathbf{x}=\mathbf{b}\) with real entries, where \(\mathbf{x}=(x_1,\dots,x_n)^{\top}\) is a column vector. The system is consistent if at least one vector \(\mathbf{x}\) satisfies it. Its augmented matrix is \([\mathbf{A}\mid\mathbf{b}]\). Row operations on this matrix produce an equivalent system: they change the equations’ appearance without changing which \(\mathbf{x}\) satisfy them.
When a free variable is assigned a value, the pivot variables are found by solving the reduced equations, starting with the last pivot equation and working upward. In a consistent system, every choice of the free variables produces a solution. Conversely, every solution must use some values for those free variables, and the pivot equations then determine its pivot-variable values. The examples will show both the calculation and the check in the original equations.
One Free Variable and Two Free Variables
Worked Example: Two Free Variables
Write all solutions of the following system in parametric form, then check the family in the original equations.
Place the coefficients and right-hand sides in an augmented matrix. Subtract twice row 1 from row 2:
The only pivot is in the \(x_1\) column, so \(x_2\) and \(x_3\) are free. Set \(x_2=s\) and \(x_3=t\), where \(s,t\in\mathbb{R}\). The remaining equation gives \(x_1+2s-t=3\), hence \(x_1=3-2s+t\). Thus all solutions are
Check in the original equations: Substituting into the left side of the first equation gives \((3-2s+t)+2s-t=3\). Substituting into the second gives \(2(3-2s+t)+4s-2t=6-4s+2t+4s-2t=6\). Both equations hold for every real \(s,t\), as required.
The parameters are not extra unknowns that need to be solved for. They record the choices available for free variables. Here choosing \(s=0,t=0\) gives one solution, \((3,0,0)^{\top}\), but the full family also includes every solution obtained from other parameter values.
Worked Example: A Free Variable in a Four-Variable System
Find all solutions of
Start with the augmented matrix. Apply \(R_2\to R_2-2R_1\) and \(R_3\to R_3-R_1\):
Next apply \(R_3\to R_3-R_2\) to obtain a zero row, then \(R_1\to R_1-R_2\):
The pivot variables are \(x_1,x_2\); the free variables are \(x_3,x_4\). Set \(x_3=s\) and \(x_4=t\). The reduced equations give \(x_1-s-2t=1\) and \(x_2+2s+3t=1\), so \(x_1=1+s+2t\) and \(x_2=1-2s-3t\). The full family is
Check in all three original equations: For the first left side, substitution gives \((1+s+2t)+(1-2s-3t)+s+t=2\). For the second, it gives \(2(1+s+2t)+3(1-2s-3t)+4s+5t=2+2s+4t+3-6s-9t+4s+5t=5\). For the third, it gives \((1+s+2t)+2(1-2s-3t)+3s+4t=1+s+2t+2-4s-6t+3s+4t=3\). Thus every member of the displayed family satisfies the original system.
Free Variables Need Not Be at the End
Choose parameters according to the columns without pivots, not according to a rule that the last variables must be free. The pivot columns can have gaps. The following reduction has pivots in columns 1 and 3, leaving \(x_2\) free.
Worked Example: A Free Variable Between Pivot Variables
Find all solutions and check them for the system
Swap the rows so the second equation is first. Then subtract twice the new row 1 from row 2, multiply row 2 by \(-\tfrac12\), and subtract row 2 from row 1:
Column 2 has no pivot, so set \(x_2=s\). The reduced equations give \(x_1+2s=1\) and \(x_3=4\). Therefore
Check: In the first original equation, \(2(1-2s)+4s=2-4s+4s=2\). In the second, \((1-2s)+2s+4=5\). Each parameter value gives a solution.
Why the Parametric Procedure Gives All Solutions
Proof. Each row operation preserves the set of solutions: swapping two equations changes only their order; multiplying an equation by a nonzero scalar gives an equivalent equation; and adding a multiple of one equation to another can be undone by subtracting that same multiple. Therefore the original and reduced systems have the same solutions. In the reduced system, once values are assigned to the free variables, the pivot equations determine the pivot variables by solving from the last pivot row upward. This proves that each parameter choice produces a solution of the reduced system and hence of the original system. Conversely, take any solution of the original system. It also solves the reduced system, since the row operations preserve solutions. Its free-variable entries are some real parameter values; the pivot equations then force its pivot-variable entries to be exactly those produced by the stated procedure. So the procedure includes every solution and introduces none that fail the system. \(\square\)
This result explains why a check in the original equations is valuable. It confirms that the expressions satisfy the system as originally given, rather than only appearing to satisfy an equation copied incorrectly into the reduced matrix. In the examples, each original equation was checked, not merely the final reduced equations.
Common Pitfalls
Changing a sign when solving for a pivot variable. In the first worked example, the reduced equation is \(x_1+2x_2-x_3=3\). With \(x_2=s\) and \(x_3=t\), it gives \(x_1=3-2s+t\). A tempting but incorrect expression is \(x_1=3-2s-t\). Substitution of that incorrect expression into the original first equation gives \((3-2s-t)+2s-t=3-2t\), which is not always \(3\). The correction is to add \(t\) when isolating \(x_1\): \(x_1=3-2s+t\), and then the left side is \((3-2s+t)+2s-t=3\).
Giving parameters only one value does not describe all solutions. Setting every free variable to zero can produce a valid particular solution, but it does not describe the whole family when free variables are present. For example, in the first worked example, \((3,0,0)^{\top}\) is only the choice \(s=t=0\); the parametric form includes solutions for all \(s,t\in\mathbb{R}\).
Check each equation independently. A substitution should show the left side of every original equation reducing to its stated right side. In particular, distribute coefficients across every term in a variable expression before combining constants and parameter terms. This makes sign and arithmetic errors easier to catch.
Check Your Understanding
For each system, identify the free variables, write all solutions in parametric form, and check the family in the original equations.
- Find all solutions of \(x_1-x_2=4,\;2x_1-2x_2=8\). How many independent parameters are needed?
- For \(x_1+x_2+x_3=1,\;x_1-x_2+x_3=3\), choose a parameter for each free variable and solve for the pivot variables.
- In the system \(x_1+2x_2=5,\;x_2+x_3=1\), which variable is free? Write the solution family and verify both equations.
- Explain why assigning values to free variables cannot omit a solution of the original system.
- A proposed family is \(x_1=2-s,\;x_2=s\) for the equation \(x_1+x_2=2\). Check it by substitution and state whether it works for every real \(s\).