Tutorials › Linear Algebra › Two-Parameter Descriptions of Solution Sets

Linear Systems and Solution Sets · Tutorial 24 of 1000

Two-Parameter Descriptions of Solution Sets

Learn to write two-parameter descriptions of solution triples and justify that the formulas capture the entire solution set.

Beginner 10 min read

What You'll Learn

  • Identify two variables that can be chosen freely in a system with one effective linear condition.
  • Solve the condition for a variable whose coefficient is nonzero.
  • Write the solutions as a parametric vector expression.
  • Verify that every parameter choice gives a solution.
  • Prove that every solution arises from a parameter choice.
  • Recognize when a proposed parameterization omits solutions or includes points that do not satisfy the system.

From One Condition to Two Parameters

A triple \((x,y,z)\) has three coordinates, but a consistent system may impose only one effective linear condition on them. In that case, two coordinates can be chosen freely; the remaining coordinate is then determined by the equation. The two free choices are recorded by parameters, giving a compact description of every solution triple.

For example, in \(2x-y+3z=7\), we can choose \(y\) and \(z\) freely and solve for \(x\). Let \(y=s\) and \(z=t\), where \(s,t\in\mathbb{R}\). Then \(2x=7+s-3t\), so \(x=\tfrac72+\tfrac12s-\tfrac32t\). This suggests the description \((x,y,z)=(\tfrac72+\tfrac12s-\tfrac32t,s,t)\). A complete description must do two things: every triple it produces must satisfy the equation, and every solution of the equation must be produced by some choice of \(s\) and \(t\).

Definition: A two-parameter description of a set of solution triples expresses each triple using two freely chosen real numbers, usually denoted \(s\) and \(t\). For instance, \((x,y,z)=(a+bs+ct,s,t)\), with \(s,t\in\mathbb{R}\), describes a family of triples. To describe a solution set exactly, the formula must produce only solutions and must produce every solution.

The choice of which variables to assign to \(s\) and \(t\) is often convenient rather than unique. The essential step is to solve for one variable whose coefficient is nonzero. Once that variable is expressed in terms of the other two, both parameters may vary independently over all real numbers; no additional restriction on them is imposed by that one equation.

A General Result and Its Proof

Theorem: Let \(a,b,c,d\in\mathbb{R}\) with \(a\ne0\). The solutions in \(\mathbb{R}^3\) of \(ax+by+cz=d\) are exactly \((x,y,z)=(\tfrac da-\tfrac ba s-\tfrac ca t,s,t)\), where \(s,t\in\mathbb{R}\).

Proof. First, choose any \(s,t\in\mathbb{R}\) and set \(x=\tfrac da-\tfrac ba s-\tfrac ca t\), \(y=s\), and \(z=t\). Substitution gives \(ax+by+cz=a(\tfrac da-\tfrac ba s-\tfrac ca t)+bs+ct=d-bs-ct+bs+ct=d\). Thus every triple produced by the formula is a solution. Conversely, let \((x,y,z)\) be any solution. Set \(s=y\) and \(t=z\). Since \(ax+by+cz=d\) and \(a\ne0\), solving for \(x\) gives \(x=\tfrac da-\tfrac ba y-\tfrac ca z=\tfrac da-\tfrac ba s-\tfrac ca t\). The triple therefore has the stated form. Both inclusions hold, so the formula describes exactly the solution set. \(\square\)

This proof establishes the two directions that are needed for an exact description. Substitution proves that the formula does not produce extraneous triples; solving the equation for an arbitrary solution proves that it does not omit any. The condition \(a\ne0\) matters because dividing by \(a\) is valid only then. If instead \(b\ne0\) or \(c\ne0\), solve for \(y\) or \(z\) and choose the other two coordinates as parameters.

Result: A single linear equation \(ax+by+cz=d\) has a two-parameter solution description whenever at least one of \(a,b,c\) is nonzero. If \(a=b=c=0\), the equation has no solutions when \(d\ne0\), and every triple is a solution when \(d=0\).

Proof. If at least one coefficient is nonzero, choose a variable with a nonzero coefficient and solve for that variable. The other two coordinates can be assigned arbitrary real values, and the calculation in the theorem shows that this gives all solutions. If all three coefficients are zero, the equation becomes \(0=d\). When \(d\ne0\), this is false for every triple; when \(d=0\), it is true for every triple. \(\square\)

Worked Examples

Worked Example: Solving for the First Coordinate

Write all solutions of \(2x-y+3z=7\) using two parameters.

The coefficient of \(x\) is \(2\ne0\), so choose \(y=s\) and \(z=t\), with \(s,t\in\mathbb{R}\). Substitution into the equation gives \(2x-s+3t=7\). Therefore \(2x=7+s-3t\), and \(x=\tfrac72+\tfrac12s-\tfrac32t\). The solution triples are

$$ (x,y,z)= \left(\frac72+\frac12s-\frac32t,\ s,\ t\right), \qquad s,t\in\mathbb{R}. $$

Equivalently, the triples can be displayed as a particular triple plus two parameter directions:

$$ \begin{bmatrix}x\\y\\z\end{bmatrix} = \begin{bmatrix}\frac72\\0\\0\end{bmatrix} +s\begin{bmatrix}\frac12\\1\\0\end{bmatrix} +t\begin{bmatrix}-\frac32\\0\\1\end{bmatrix}. $$

Check. For this triple, \(2x-y+3z=2(\tfrac72+\tfrac12s-\tfrac32t)-s+3t=7+s-3t-s+3t=7\). Conversely, any solution must satisfy \(2x=7+y-3z\); taking \(s=y\) and \(t=z\) recovers exactly the displayed formula. Thus it gives all and only the solutions.

Worked Example: A System with Redundant Equations

Describe all solutions of \(2x+y-z=4\), \(6x+3y-3z=12\), and \(-4x-2y+2z=-8\).

The second left-hand side is three times the first, and its right-hand side is also three times the first: multiplying \(2x+y-z=4\) by \(3\) gives \(6x+3y-3z=12\). Multiplying the first equation by \(-2\) gives \(-4x-2y+2z=-8\), the third equation. Consequently, every solution of the first equation satisfies the other two, and every solution of the system must satisfy the first.

Choose \(y=s\) and \(z=t\). Solving the first equation gives \(2x+s-t=4\), so \(2x=4-s+t\) and \(x=2-\tfrac12s+\tfrac12t\). Hence

$$ \begin{bmatrix}x\\y\\z\end{bmatrix} = \begin{bmatrix}2\\0\\0\end{bmatrix} +s\begin{bmatrix}-\frac12\\1\\0\end{bmatrix} +t\begin{bmatrix}\frac12\\0\\1\end{bmatrix}, \qquad s,t\in\mathbb{R}. $$

Check. The first left-hand side is \(2(2-\tfrac12s+\tfrac12t)+s-t=4-s+t+s-t=4\). Multiplying this equality by \(3\) gives \(12\), as required for the second equation; multiplying it by \(-2\) gives \(-8\), as required for the third. For completeness, every solution of the system satisfies its first equation, so setting \(s=y\), \(t=z\) and solving that equation recovers the parameter formula. The description is exact.

Worked Example: Solving for the Second Coordinate

Write all solutions of \(2y-z=5\) as triples, choosing \(x\) and \(z\) as the free coordinates.

Set \(x=s\) and \(z=t\), where \(s,t\in\mathbb{R}\). The equation becomes \(2y-t=5\), so \(2y=5+t\) and \(y=\tfrac52+\tfrac12t\). Therefore

$$ (x,y,z)=\left(s,\frac52+\frac12t,t\right), \qquad s,t\in\mathbb{R}. $$

Check. Substitution gives \(2y-z=2(\tfrac52+\tfrac12t)-t=5+t-t=5\). Conversely, in any solution the first coordinate can be called \(s=x\), the third can be called \(t=z\), and the equation forces \(y=\tfrac52+\tfrac12t\). Thus the formula includes every solution and no non-solution.

What the Parameters Record

In the first example, \(s\) records the chosen second coordinate and \(t\) records the chosen third coordinate. The first coordinate is not chosen independently: its value has to balance the equation. The same interpretation applies to the second example even though three equations are written down. Because the last two equations repeat the first condition, they do not place any additional restriction on the triples.

The parameters also distinguish the triples in these descriptions. When the formula has the form \((a+bs+ct,s,t)\), the parameter values can be read directly from the second and third coordinates. More generally, when two coordinates are chosen as the parameters, those coordinates identify the parameter pair. This makes the description useful both for generating solutions and for showing how a given solution belongs to the family.

Proposition: In the description \((x,y,z)=(a+bs+ct,s,t)\), different parameter pairs produce different triples.

Proof. Suppose the parameter pairs \((s,t)\) and \((s',t')\) produce the same triple. Their second coordinates must be equal, so \(s=s'\); their third coordinates must be equal, so \(t=t'\). Therefore the parameter pairs were not different after all. \(\square\)

A parameterization is sometimes written as a single vector expression, and sometimes coordinate by coordinate. Both forms say the same thing. For example, the expression \(\mathbf{p}+s\mathbf{u}+t\mathbf{v}\) means that each coordinate of the solution triple is calculated from the corresponding coordinates of \(\mathbf{p}\), \(s\mathbf{u}\), and \(t\mathbf{v}\). Writing the coordinates explicitly can make the substitution check easier.

Common Pitfall: Reusing One Parameter

Consider the equation \(x+y+z=0\). A tempting but incorrect description is \((x,y,z)=(-t,t,t)\). Substitution gives \(-t+t+t=t\), which equals zero only when \(t=0\). Thus, except for the zero triple, the proposed formula does not even produce solutions. It also reuses a single parameter, forcing \(y=z\), although the equation does not require that condition.

To correct the description, choose two independent parameters: \(y=s\) and \(z=t\). Then \(x=-s-t\), so

$$ (x,y,z)=(-s-t,s,t),\qquad s,t\in\mathbb{R}. $$

Substitution verifies the equation: \((-s-t)+s+t=0\). The triple \((0,1,-1)\) is a solution, and it is obtained by \(s=1\), \(t=-1\). This example shows why two parameters must be allowed to vary independently: tying them together can omit valid solutions, and a separate substitution check is needed to catch formulas that do not satisfy the equation.

Check Your Understanding

For each description, check the equation by substitution and consider why every solution is included.

  1. Write all solutions of \(x+2y-z=6\) using \(y=s\) and \(z=t\).
  2. Describe all solutions of \(3x+6y-3z=9\) using two parameters, then verify the equation.
  3. For \(2x-y+4z=3\), choose \(x\) and \(z\) as parameters and solve for \(y\).
  4. Does \(x+y+z=2\) have solutions of the form \((2-s-t,s,t)\)? Verify and explain how an arbitrary solution determines \(s\) and \(t\).
  5. What are the solution sets of \(0x+0y+0z=4\) and \(0x+0y+0z=0\)?

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