Tutorials › Linear Algebra › Finding Conditions on a Parameterized Right-Hand Side

Span and the Column Space View · Tutorial 153 of 1000

Finding Conditions on a Parameterized Right-Hand Side

Reduce an augmented system with symbolic right-hand-side entries to find exactly when the target lies in the column space.

Beginner 9 min read

What You'll Learn

  • Relate column-space membership to solvability of a matrix equation.
  • Carry symbolic right-hand-side entries through row operations.
  • Read consistency conditions from rows with zero coefficient entries.
  • Find multiple independent conditions on a target vector.
  • Test a parameterized target and verify the compatible solution.

From a Target Vector to Conditions

When the target vector is given by numbers, row reduction decides whether it is a linear combination of the columns of a matrix. A symbolic target asks a slightly different question: for which values of its entries is it such a combination? The answer comes from reducing the augmented matrix while carrying the symbolic entries through every row operation. Any resulting row with zero coefficients places a condition on the target.

Let \(\mathbf{A}\in\mathbb{R}^{m\times n}\), with columns \(\mathbf{a}_1,\dots,\mathbf{a}_n\). Its column space is the set \(\operatorname{Col}\mathbf{A}=\{\mathbf{A}\mathbf{x}:\mathbf{x}\in\mathbb{R}^n\}\), or, equivalently, the set of all linear combinations of its columns. Thus a target \(\mathbf{b}\in\mathbb{R}^m\) belongs to \(\operatorname{Col}\mathbf{A}\) exactly when the equation \(\mathbf{A}\mathbf{x}=\mathbf{b}\) has a solution. In this tutorial, write \(\mathbf{b}=(b_1,\dots,b_m)^{\top}\), allowing its entries to be symbols.

Definition: A consistency condition on a symbolic right-hand side is an equation involving its entries that must hold for \(\mathbf{A}\mathbf{x}=\mathbf{b}\) to have a solution. When the coefficient entries of a row are all zero, that row requires its right-hand entry to be zero; this is where a consistency condition appears.

To find the conditions, form the augmented matrix \([\mathbf{A}\mid\mathbf{b}]\) and apply row operations to the entire matrix, not just to its coefficient block. Use the coefficients of \(\mathbf{A}\) to choose pivots, and carry the right-hand entries along. A row that becomes \([0\ \cdots\ 0\mid L]\) represents the equation \(0=L\). It is consistent precisely when \(L=0\).

Why Augmented Row Reduction Preserves the Question

The row operations used in elimination do not change whether a system has a solution. The reason is that each operation replaces the system by an equivalent one. This fact justifies applying row reduction to a symbolic augmented matrix.

Proposition: Swapping two equations, multiplying an equation by a nonzero real number, or adding a multiple of one equation to another preserves the solution set of a linear system, including when its right-hand entries are symbolic.

Proof. Swapping two equations changes their order but not the set of equations that must hold. Multiplying an equation by a nonzero number \(c\) preserves its solutions because \(u=v\) is equivalent to \(cu=cv\), and division by \(c\) recovers the original equation. Finally, replacing an equation \(E_i\) by \(E_i+cE_j\) preserves solutions: any solution of the original equations satisfies the replacement, and from the replacement and the unchanged equation \(E_j\), subtracting \(cE_j\) recovers \(E_i\). Each operation therefore works in both directions, so a finite sequence of them preserves the solution set. The reasoning does not depend on whether a right-hand entry is numerical or symbolic. \(\square\)

During reduction, each right-hand entry remains a linear combination of the original entries \(b_1,\dots,b_m\): initially each entry is one of the \(b_i\), and each row operation forms a constant multiple or sum of such expressions. Consequently, every zero-coefficient row gives a linear equation in the entries of \(\mathbf{b}\).

Theorem (Consistency conditions from row reduction): Let \(\mathbf{A}\in\mathbb{R}^{m\times n}\) be fixed, and let \(\mathbf{b}=(b_1,\dots,b_m)^{\top}\). Apply row operations to \([\mathbf{A}\mid\mathbf{b}]\), choosing operations to reduce the coefficient block. The system \(\mathbf{A}\mathbf{x}=\mathbf{b}\) is solvable if and only if every resulting row whose coefficient entries are all zero also has right-hand entry zero. The resulting equations on \(b_1,\dots,b_m\) give necessary and sufficient conditions for \(\mathbf{b}\in\operatorname{Col}\mathbf{A}\).

Proof. By the proposition, the original system and the reduced augmented system have the same solutions. If a row of the reduced system has zero coefficients and a nonzero right-hand entry, its equation is \(0=c\) with \(c\ne0\), which no choice of \(\mathbf{x}\) can satisfy. Thus any solution requires every such right-hand entry to be zero. Conversely, suppose all those entries are zero. The remaining nonzero coefficient rows are in echelon form, so their pivot variables can be solved from bottom to top after assigning any free variables, for example assigning each free variable the value zero. The zero rows then state only \(0=0\), so the resulting values satisfy every row. The reduced system, and hence the original one, is solvable. By the definition of column space, solvability is equivalent to \(\mathbf{b}\in\operatorname{Col}\mathbf{A}\). \(\square\)

A Single Condition on the Target

Worked Example: A Three-Entry Target

Find the condition on \(\mathbf{b}=(b_1,b_2,b_3)^{\top}\) for it to belong to the column space of \(\mathbf{A}=\begin{bmatrix}1&2\\2&4\\1&1\end{bmatrix}\). Then test \(\mathbf{b}=(2,4,3)^{\top}\).

Reduce the augmented matrix, carrying out each operation on the right-hand entries as well. First apply \(R_2\to R_2-2R_1\) and \(R_3\to R_3-R_1\):

$$ \begin{bmatrix} 1&2&\mid&b_1\\ 2&4&\mid&b_2\\ 1&1&\mid&b_3 \end{bmatrix} \sim \begin{bmatrix} 1&2&\mid&b_1\\ 0&0&\mid&b_2-2b_1\\ 0&-1&\mid&b_3-b_1 \end{bmatrix}. $$

Swap \(R_2\) and \(R_3\), multiply the new \(R_2\) by \(-1\), and then apply \(R_1\to R_1-2R_2\):

$$ \begin{bmatrix} 1&2&\mid&b_1\\ 0&-1&\mid&b_3-b_1\\ 0&0&\mid&b_2-2b_1 \end{bmatrix} \sim \begin{bmatrix} 1&0&\mid&2b_3-b_1\\ 0&1&\mid&b_1-b_3\\ 0&0&\mid&b_2-2b_1 \end{bmatrix}. $$

The last row is consistent exactly when \(b_2-2b_1=0\). Therefore \(\mathbf{b}\in\operatorname{Col}\mathbf{A}\) if and only if \(b_2=2b_1\). When this condition holds, the first two rows give \(x_1=2b_3-b_1\) and \(x_2=b_1-b_3\).

For \(\mathbf{b}=(2,4,3)^{\top}\), the condition holds because \(4=2\cdot2\). The solution from the reduced system is \(\mathbf{x}=(2\cdot3-2,\;2-3)^{\top}=(4,-1)^{\top}\).

Check: Multiplying back gives

$$ \mathbf{A}\mathbf{x} = \begin{bmatrix}1&2\\2&4\\1&1\end{bmatrix} \begin{bmatrix}4\\-1\end{bmatrix} = \begin{bmatrix}4-2\\8-4\\4-1\end{bmatrix} = \begin{bmatrix}2\\4\\3\end{bmatrix} =\mathbf{b}. $$

Several Conditions Can Be Required

A matrix can produce more than one zero-coefficient row. Each such row contributes a condition, and all of them must hold. Checking only one condition is not enough when other zero rows remain.

Worked Example: Two Conditions on Four Entries

For \(\mathbf{A}=\begin{bmatrix}1&0&1\\0&1&1\\1&1&2\\2&-1&1\end{bmatrix}\), find all conditions on \(\mathbf{b}=(b_1,b_2,b_3,b_4)^{\top}\) for column-space membership.

Start with the augmented matrix. Apply \(R_3\to R_3-R_1-R_2\) and \(R_4\to R_4-2R_1+R_2\):

$$ \begin{bmatrix} 1&0&1&\mid&b_1\\ 0&1&1&\mid&b_2\\ 1&1&2&\mid&b_3\\ 2&-1&1&\mid&b_4 \end{bmatrix} \sim \begin{bmatrix} 1&0&1&\mid&b_1\\ 0&1&1&\mid&b_2\\ 0&0&0&\mid&b_3-b_1-b_2\\ 0&0&0&\mid&b_4-2b_1+b_2 \end{bmatrix}. $$

The two zero-coefficient rows require \(b_3-b_1-b_2=0\) and \(b_4-2b_1+b_2=0\). Thus the exact conditions are \(b_3=b_1+b_2\) and \(b_4=2b_1-b_2\). If both hold, the first two equations are \(x_1+x_3=b_1\) and \(x_2+x_3=b_2\). Setting the free variable \(x_3=t\) gives \(\mathbf{x}=(b_1-t,\;b_2-t,\;t)^{\top}\).

For a concrete check, take \(\mathbf{b}=(1,3,4,-1)^{\top}\). Its entries satisfy \(4=1+3\) and \(-1=2(1)-3\). Choosing \(t=0\) gives \(\mathbf{x}=(1,3,0)^{\top}\), and

$$ \mathbf{A}\mathbf{x} = \begin{bmatrix} 1&0&1\\ 0&1&1\\ 1&1&2\\ 2&-1&1 \end{bmatrix} \begin{bmatrix}1\\3\\0\end{bmatrix} = \begin{bmatrix}1\\3\\4\\-1\end{bmatrix} =\mathbf{b}. $$

Using the Conditions to Solve for a Parameter

Worked Example: Which Parameter Values Are Consistent?

Determine the values of \(t\in\mathbb{R}\) for which \(\mathbf{b}=(t,4,1)^{\top}\) belongs to the column space of \(\mathbf{A}=\begin{bmatrix}1&1\\2&2\\1&-1\end{bmatrix}\).

Reduce the augmented matrix. Apply \(R_2\to R_2-2R_1\) and \(R_3\to R_3-R_1\), then swap \(R_2,R_3\), multiply \(R_2\) by \(-\tfrac12\), and apply \(R_1\to R_1-R_2\):

$$ \begin{bmatrix} 1&1&\mid&t\\ 2&2&\mid&4\\ 1&-1&\mid&1 \end{bmatrix} \sim \begin{bmatrix} 1&1&\mid&t\\ 0&0&\mid&4-2t\\ 0&-2&\mid&1-t \end{bmatrix} \sim \begin{bmatrix} 1&0&\mid&\frac{t+1}{2}\\ 0&1&\mid&\frac{t-1}{2}\\ 0&0&\mid&4-2t \end{bmatrix}. $$

The last row requires \(4-2t=0\), so the system is consistent exactly when \(t=2\). For this value, the first two rows give \(x_1=\tfrac32\) and \(x_2=\tfrac12\). Direct multiplication verifies the answer:

$$ \begin{bmatrix}1&1\\2&2\\1&-1\end{bmatrix} \begin{bmatrix}\frac32\\\frac12\end{bmatrix} = \begin{bmatrix}2\\4\\1\end{bmatrix} = \begin{bmatrix}t\\4\\1\end{bmatrix} \quad\text{when }t=2. $$

For any \(t\ne2\), the final row says \(0=4-2t\) with a nonzero right-hand side, so no solution exists. This checks both the compatible and incompatible cases.

Common Pitfall: Leaving the Right Side Unchanged

A common error is to row-reduce the coefficient matrix but leave the symbolic right-hand entries as they were. For the first example, the operation \(R_2\to R_2-2R_1\) makes the second coefficient row zero, but it also changes the augmented entry from \(b_2\) to \(b_2-2b_1\). Keeping \(b_2\) unchanged would falsely give the condition \(b_2=0\). For \(\mathbf{b}=(2,4,3)^{\top}\), this incorrect condition fails, even though the verified solution \((4,-1)^{\top}\) shows that the target is in the column space. The correction is to apply every row operation to the entire augmented matrix.

Also distinguish a condition on the target from a value of the solution vector. For instance, \(b_2=2b_1\) restricts which targets are allowed; it does not prescribe \(x_1\) or \(x_2\). Once the target satisfies the condition, the pivot equations determine the solution variables, possibly with free variables if the coefficient matrix has non-pivot columns.

Why These Conditions Are Useful

Symbolic consistency conditions describe an entire column space without testing its vectors one at a time. If the entries of a target depend on parameters, substitute those expressions into the conditions and solve for the parameter values. If the target entries are unrestricted symbols, the conditions tell exactly which combinations of entries are permitted. The method is especially informative when several zero rows appear: each one records a distinct equation that every target in the column space must satisfy.

The conclusion always comes from the augmented system. Row operations change the displayed rows, so the resulting coefficient columns should not be mistaken for the original columns of \(\mathbf{A}\). The goal here is not to read a new column space from the reduced coefficient block; it is to decide whether the original equation \(\mathbf{A}\mathbf{x}=\mathbf{b}\) can be solved, while preserving its solutions through equivalent row operations.

Check Your Understanding

For each problem, state the consistency condition or conditions and verify the conclusion by using the reduced equations.

  1. For \(\mathbf{A}=\begin{bmatrix}1&0\\0&1\\1&1\end{bmatrix}\), find the condition on \((b_1,b_2,b_3)^{\top}\) for column-space membership.
  2. For \(\mathbf{A}=\begin{bmatrix}1&2\\2&4\\1&1\end{bmatrix}\), determine whether \((3,6,2)^{\top}\) belongs to the column space, and find a solution if it does.
  3. For the same matrix, find all \(t\) such that \((t,5,1)^{\top}\) belongs to its column space.
  4. Explain why a row \( [0\ \cdots\ 0\mid c]\) with \(c\ne0\) rules out every solution.
  5. Give a concrete example of the error caused by applying row operations to the coefficient block but not to the augmented entries.

Test yourself: Linear Algebra final exam practice

Ready to check what you know? Work a full-length practice final, then open the complete worked solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers the full Calculus AB & BC curriculum (the core of Calculus I and II): full review, every practice question, and step-by-step solutions to each one.

QR code to download the Calc Pass app

Get the Calc Pass App

Scan to download and practice on the go, with instant scoring.

Calc Pass Volume 1: 1,114 Practice Questions book cover

Vol. 1: 1,114 Questions

The complete practice question bank, organized by AB & BC topic.

View on Amazon
Calc Pass Volume 2: Solutions Manual book cover

Vol. 2: Solutions Manual

Fully worked solutions to every question in Volume 1.

View on Amazon