From a Target to Its Coefficients
When a target vector is in the span of given vectors, it can be expressed as a linear combination of them. The practical question is often more specific: what coefficients produce that target? There may be one coefficient vector, or there may be many. A reduced augmented system answers both questions, provided we keep track of which variables are coefficients and express every free variable in the answer.
Let \(\mathbf{v}_1,\dots,\mathbf{v}_n\) be columns in \(\mathbb{R}^m\), and let \(\mathbf{b}\in\mathbb{R}^m\) be a target. Put the given vectors into the columns of \(\mathbf{A}\), and collect their coefficients in the column vector \(\mathbf{c}\). By matrix multiplication, \(\mathbf{A}\mathbf{c}\) is exactly the linear combination of the columns with those coefficients. Thus recovering coefficients means solving \(\mathbf{A}\mathbf{c}=\mathbf{b}\).
To solve for the coefficients, row-reduce the augmented matrix \(\begin{bmatrix}\mathbf{A}&\mathbf{b}\end{bmatrix}\). The last column must stay attached throughout the reduction: it records the right-hand side of the same system. If the reduced system is consistent, its pivot equations express the pivot variables in terms of the free variables. Giving each free variable a parameter then describes all coefficient vectors, not just one.
Why Row Reduction Keeps the Coefficients
Row operations change the appearance of a system, but they do not change which coefficient vectors solve it. This is the reason a reduced augmented matrix can be used to recover coefficients for the original vectors.
Proof. A row swap exchanges two equations, so a coefficient vector satisfies the system before the swap exactly when it satisfies the system after the swap. Multiplying a row by a nonzero scalar \(k\) replaces an equation by \(k\) times that equation. Since \(k\ne0\), the new equation holds exactly when the original equation holds. Finally, adding \(k\) times one row to another replaces one equation by its sum with a multiple of another equation. Any solution of the original equations satisfies this new equation. Conversely, subtracting \(k\) times the unchanged row recovers the original equation, so any solution after the operation satisfies the original equations as well. Each elementary row operation therefore preserves the solution set; applying this fact one operation at a time proves the statement for a sequence of operations. \(\square\)
In a consistent reduced row echelon form (RREF), the coefficient columns have some pivot positions and may have nonpivot positions. A variable corresponding to a nonpivot coefficient column is free: it may be assigned any real value, and the pivot equations determine the pivot variables. The augmented column is not a coefficient variable. If it contains a pivot, the system is inconsistent, so there is no coefficient vector representing the target.
Proof. By the row-operation theorem, the RREF system has exactly the coefficient solutions of the original system. In each pivot row \(i\), the pivot entry in column \(p_i\) is \(1\), and entries in every other pivot column are \(0\). Its equation is therefore \(c_{p_i}+\sum_{j\in F}q_{ij}c_j=d_i\). Assigning \(c_j=t_j\) to each free variable and rearranging this equation gives \(c_{p_i}=d_i-\sum_{j\in F}q_{ij}t_j\). Every row below the pivot rows has zero entries in the coefficient columns. Consistency means its augmented entry is also zero, so these rows impose no further condition. Hence every choice of the free parameters gives a solution. Conversely, any solution must satisfy each pivot-row equation, so its pivot variables have exactly the displayed values for its chosen free variables. This gives all solutions, including the case \(F\) is empty, when the solution is unique. \(\square\)
Recovering a Unique Coefficient Vector
Worked Example: A Unique Representation
Express \(\mathbf{b}=(5,5)^{\top}\) as a linear combination of \(\mathbf{v}_1=(1,2)^{\top}\) and \(\mathbf{v}_2=(3,1)^{\top}\), if possible.
The coefficient equation is \(c_1\mathbf{v}_1+c_2\mathbf{v}_2=\mathbf{b}\). Put the vectors in the columns and row-reduce the augmented matrix:
The reduced equations are \(c_1=2\) and \(c_2=1\). Both coefficient columns have pivots, so there are no free variables and this is the only coefficient vector. The target is \(\mathbf{b}=2\mathbf{v}_1+\mathbf{v}_2\).
Check: \(2(1,2)^{\top}+(3,1)^{\top}=(2+3,4+1)^{\top}=(5,5)^{\top}=\mathbf{b}\).
Recovering a Family of Representations
A nonpivot coefficient column does not mean that the target fails to be represented. It means that one or more coefficients can vary while the pivot equations adjust the other coefficients. To recover all representations, keep the free variables as parameters instead of selecting values for them too early.
Worked Example: One Free Coefficient
Find every representation of \(\mathbf{b}=(3,4,7)^{\top}\) using \(\mathbf{v}_1=(1,0,1)^{\top}\), \(\mathbf{v}_2=(0,1,1)^{\top}\), and \(\mathbf{v}_3=(1,1,2)^{\top}\).
Form the augmented matrix, with coefficients \(c_1,c_2,c_3\) in that order. Subtract row 1 from row 3, then subtract row 2 from the new row 3:
The coefficient pivots are in columns 1 and 2, while \(c_3\) is free. Set \(c_3=t\), where \(t\in\mathbb{R}\). The first two rows give \(c_1+c_3=3\) and \(c_2+c_3=4\), so \(c_1=3-t\) and \(c_2=4-t\). Thus all coefficient vectors are \((3-t,4-t,t)^{\top}\), and all representations are \(\mathbf{b}=(3-t)\mathbf{v}_1+(4-t)\mathbf{v}_2+t\mathbf{v}_3\).
Check: For every real \(t\), the three coordinates of this combination are \((3-t)+t=3\), \((4-t)+t=4\), and \((3-t)+(4-t)+2t=7\). The combination therefore equals \((3,4,7)^{\top}\) for every \(t\).
The check also illustrates why a free variable must remain visible in the final answer. Setting \(t=0\) gives a valid representation, but it does not describe the other coefficient choices that produce the same target.
Worked Example: Two Free Coefficients
Find all coefficients expressing \(\mathbf{b}=(5,1,2)^{\top}\) using the columns \(\mathbf{v}_1=(1,0,0)^{\top}\), \(\mathbf{v}_2=(0,1,0)^{\top}\), \(\mathbf{v}_3=(1,1,0)^{\top}\), and \(\mathbf{v}_4=(2,-1,1)^{\top}\).
The augmented matrix is already close to reduced form. Use the pivot in column 4 to clear the entries above it:
Columns 1, 2, and 4 are pivot columns; \(c_3\) is free. The equations are \(c_1+c_3=1\), \(c_2+c_3=3\), and \(c_4=2\). Setting \(c_3=s\), with \(s\in\mathbb{R}\), gives \((c_1,c_2,c_3,c_4)=(1-s,3-s,s,2)\).
Check: The first coordinate of the combination is \((1-s)+s+2(2)=5\). The second is \((3-s)+s-2=1\), and the third is \(2\). Thus \((1-s)\mathbf{v}_1+(3-s)\mathbf{v}_2+s\mathbf{v}_3+2\mathbf{v}_4=(5,1,2)^{\top}\) for every real \(s\).
Common Pitfall: Treating One Choice as the Whole Answer
In the one-free-coefficient example, choosing \(c_3=0\) gives the correct coefficient vector \((3,4,0)^{\top}\). It would be wrong, however, to conclude that this is the only representation: the reduced equations do not require \(c_3=0\). For instance, choosing \(c_3=1\) gives \((2,3,1)^{\top}\), and \(2\mathbf{v}_1+3\mathbf{v}_2+\mathbf{v}_3=(3,4,7)^{\top}\) as well. The correction is to assign a parameter to each free variable and retain it in the pivot-variable equations.
There is a separate issue when the reduced augmented matrix is inconsistent. A row of the form \(\begin{bmatrix}0&\cdots&0&|&k\end{bmatrix}\), with \(k\ne0\), asserts \(0=k\), so no coefficient vector can represent the target. Do not read a parameterized answer from such a matrix: first check that no such row occurs. When the matrix is consistent, the pivot equations and free-variable parameters give every representation, and substitution into the original columns provides a direct check.
Check Your Understanding
For each system, distinguish between a particular coefficient choice and the full set of coefficient solutions.
- Reduce \(\begin{bmatrix}1&2&4\\0&1&3\end{bmatrix}\), treating the first two columns as coefficients and the last as the target. Find the coefficient vector.
- If a consistent RREF has coefficient pivots in columns 1 and 3, which coefficient variables are free when there are four coefficient columns?
- For the reduced equations \(c_1+2c_3=5\) and \(c_2-c_3=1\), write all coefficient vectors using a parameter.
- Explain why row operations on the augmented matrix preserve the coefficient solutions, but row-reducing only the coefficient matrix does not by itself record the target equations.
- What does a reduced row \(\begin{bmatrix}0&0&0&|&-2\end{bmatrix}\) imply about representations of the target?