Unit 1: Linear Systems and Matrix Algebra

Concept 1.2: Solving via Substitution & Recognizing Algebraic Limitations

Learning Objective: Solve two-variable systems algebraically and explain why direct substitution fails to scale efficiently to larger systems (\(3 \times 3\) or higher).

đź“„ Download Printable Written Notes (PDF)

đź“„ Download Printable Reading Guide (PDF)

▶️ Concept Audio: Solving the System

📝 Read Transcript

"Last time, we turned real situations into systems of equations and wrote them in standard form. Today we solve them. For two variables, substitution is the quick path when a coefficient is already 1 or negative 1. When it is not, elimination lets us scale the equations and cancel a variable without dragging fractions through the work.

"We will also try that same substitution on a 3 by 3 system, so you can feel where the bookkeeping starts to pile up. In Concept 1.3, we will connect the numbers we find here to how lines behave in the plane."

Key Definitions

▶️ Audio: Unpacking the Definitions

📝 Read Transcript

"A solution of a linear system is an ordered list of numbers—an ordered pair when there are two variables, an ordered triple when there are three—that makes every equation true at the same time. The solution set is the collection of all such solutions, not just the first one you happen to find.

"Substitution and elimination are the two reduction tools here. Substitution solves one equation for one variable and replaces that variable in the remaining equations, so the problem shrinks by one unknown. Elimination multiplies equations by nonzero constants and adds them so a chosen variable cancels. If you can see a coefficient of 1 or negative 1, substitution stays tidy. When no coefficient is 1 or negative 1, elimination is usually the cleaner way to avoid fractions."

  • Solution of a linear system: An ordered list of numbers—such as an ordered pair \((x, y)\) for two variables or an ordered triple \((x, y, z)\) for three variables—that makes every equation in the system a true statement simultaneously when substituted for the variables.
  • Solution set: The collection of all possible solutions to a given system of equations.
  • Substitution method: An algebraic procedure in which one equation is solved for one variable in terms of the others, and that expression is substituted into the remaining equations to reduce the number of unknowns by one.
  • Elimination method: An algebraic procedure in which equations are multiplied by nonzero constants and added together so that a target variable with opposite coefficients cancels out.

1.2.1 Example: Two-Variable Substitution

A campus print shop tracks paper stock across two print runs. The first run uses 1 roll of matte paper and 3 rolls of glossy paper for a total weight of 14 kilograms. The second run uses 2 rolls of matte paper and 5 rolls of glossy paper for a total weight of 25 kilograms. Let \(x\) represent the weight of one roll of matte paper (in kilograms) and let \(y\) represent the weight of one roll of glossy paper (in kilograms). Find the weight of each roll by solving the system:
\[ \begin{aligned} x + 3y &= 14 &&\leftarrow \small\textit{first print run weight, in kilograms} \\ 2x + 5y &= 25 &&\leftarrow \small\textit{second print run weight, in kilograms} \end{aligned} \]
Isolate and substitute to find the first unknown:

Because \(x\) has a coefficient of \(1\) in the first equation, substitution avoids fractions. Subtracting \(3y\) from both sides of the first equation isolates \(x\) in terms of \(y\), giving \(x = 14 - 3y\). Next, replace \(x\) in the second equation with the expression \((14 - 3y)\) to produce a single equation involving only \(y\):

\[ \begin{aligned} 2(14 - 3y) + 5y &= 25 &&\leftarrow \small\textit{substitute } 14 - 3y \small\textit{ for } x \small\textit{ in equation 2} \\ 28 - 6y + 5y &= 25 &&\leftarrow \small\textit{distribute } 2 \small\textit{ across the parentheses} \\ 28 - y &= 25 &&\leftarrow \small\textit{combine like } y \small\textit{ terms} \\ y &= 3 &&\leftarrow \small\textit{solve for } y \end{aligned} \]
Back-substitute and verify the solution:

To find \(x\), substitute \(y = 3\) back into the isolated relationship \(x = 14 - 3y\), which gives \(x = 14 - 3 \cdot 3 = 14 - 9 = 5\). Checking \((x, y) = (5, 3)\) in both original equations confirms \(5 + 3 \cdot 3 = 14\) and \(2 \cdot 5 + 5 \cdot 3 = 25\).

\[ \begin{aligned} x &= 5 &&\leftarrow \small\textit{weight of one matte roll, in kilograms} \\ y &= 3 &&\leftarrow \small\textit{weight of one glossy roll, in kilograms} \end{aligned} \]

1.2.2 Example: Two-Variable Elimination

▶️ Audio: Back at Euclid Square

📝 Read Dialogue Transcript

Rowan: "Hey Quinn. I still don't know what The Scalar charged me. Four spark plugs and two quarts of oil, and the receipt only says 34 dollars."

Quinn: "Same on my van. Six spark plugs and five quarts, 73 dollars. If we solve for one of those prices directly, neither coefficient is 1, so we are going to be carrying fractions the whole way."

Rowan: "Then let's not isolate yet. We can scale the two equations so the spark-plug terms cancel, and read the oil price from what is left."

In Concept 1.1, Rowan purchased 4 spark plugs and 2 quarts of synthetic oil for $34, while Quinn purchased 6 spark plugs and 5 quarts of the same synthetic oil for $73. Let \(p\) equal the price of one spark plug (in dollars) and let \(q\) equal the price of one quart of synthetic oil (in dollars). Determine the unit prices by solving the system:
\[ \begin{aligned} 4p + 2q &= 34 &&\leftarrow \small\textit{Rowan's purchase total, in dollars} \\ 6p + 5q &= 73 &&\leftarrow \small\textit{Quinn's purchase total, in dollars} \end{aligned} \]
Align coefficients and eliminate a variable:

Neither equation has a coefficient of \(1\), so isolating \(p\) directly would introduce fractions such as \(\frac{17 - q}{2}\) or \(\frac{73 - 5q}{6}\). Instead, we use elimination to cancel \(p\). The least common multiple of the coefficients \(4\) and \(6\) is \(12\). Multiply every term in the first equation by \(-3\) to get \(-12p - 6q = -102\), and multiply every term in the second equation by \(2\) to get \(12p + 10q = 146\). Adding these two scaled equations eliminates \(p\):

\[ \begin{aligned} -12p - 6q &= -102 &&\leftarrow \small -3\textit{ times equation 1} \\ 12p + 10q &= 146 &&\leftarrow \small 2\textit{ times equation 2} \\ 4q &= 44 &&\leftarrow \small\textit{sum of the scaled equations} \\ q &= 11 &&\leftarrow \small\textit{divide by } 4 \small\textit{ to solve for } q \end{aligned} \]
Back-substitute and verify the solution:

Substitute \(q = 11\) into the first original equation to obtain \(4p + 2 \cdot 11 = 34\), which simplifies to \(4p + 22 = 34\), or \(4p = 12\), giving \(p = 3\). Verifying \((p, q) = (3, 11)\) in the second equation confirms \(6 \cdot 3 + 5 \cdot 11 = 18 + 55 = 73\).

\[ \begin{aligned} p &= 3 &&\leftarrow \small\textit{price of one spark plug, in dollars} \\ q &= 11 &&\leftarrow \small\textit{price of one quart of oil, in dollars} \end{aligned} \]

1.2.3 Example: Scaling Breakdown in Three Variables

Consider a \(3 \times 3\) linear system in variables \(x\), \(y\), and \(z\) where no variable has a coefficient of \(1\) or \(-1\):
\[ \begin{aligned} 2x + 3y - 2z &= 14 &&\leftarrow \small\textit{first linear constraint} \\ 3x - 2y + 4z &= 9 &&\leftarrow \small\textit{second linear constraint} \\ 4x + 5y + 3z &= 38 &&\leftarrow \small\textit{third linear constraint} \end{aligned} \]
Attempt direct substitution to reduce the system:

To eliminate \(x\) via substitution, solve the first equation for \(x\) by subtracting \(3y - 2z\) and dividing every term by \(2\), yielding \(x = 7 - \frac{3}{2}y + z\). Because the system has three equations, this three-term fractional expression must be substituted into both the second and third equations:

\[ \begin{aligned} 3\left(7 - \frac{3}{2}y + z\right) - 2y + 4z &= 9 &&\leftarrow \small\textit{substitute for } x \small\textit{ in equation 2} \\ 4\left(7 - \frac{3}{2}y + z\right) + 5y + 3z &= 38 &&\leftarrow \small\textit{substitute for } x \small\textit{ in equation 3} \end{aligned} \]

Expanding the first substituted equation gives \(21 - \frac{9}{2}y + 3z - 2y + 4z = 9\), which combines to \(-\frac{13}{2}y + 7z = -12\), or \(13y - 14z = 24\) after clearing fractions. Expanding the second substituted equation gives \(28 - 6y + 4z + 5y + 3z = 38\), which simplifies to \(-y + 7z = 10\). Completing the solution from this reduced \(2 \times 2\) system yields \(y = 7z - 10\), then \(13(7z - 10) - 14z = 24\), or \(77z = 154\), giving \(z = 2\), \(y = 4\), and \(x = 3\).

\[ \begin{aligned} 13y - 14z &= 24 &&\leftarrow \small\textit{reduced equation from substituting into equation 2} \\ -y + 7z &= 10 &&\leftarrow \small\textit{reduced equation from substituting into equation 3} \\ (x, y, z) &= (3, 4, 2) &&\leftarrow \small\textit{verified ordered triple solution} \end{aligned} \]
Analyze why direct substitution fails to scale:

While direct substitution eventually produces \((x, y, z) = (3, 4, 2)\), tracking why the algebra grew cumbersome reveals three structural limitations for \(3 \times 3\) and larger \(n \times n\) systems:

  1. Cascading multi-term substitutions. In an \(n \times n\) system, isolating the first variable creates an expression with up to \(n\) terms that must be substituted into \(n - 1\) remaining equations, requiring \(n - 1\) separate distributions just to drop from \(n\) variables to \(n - 1\).
  2. Compounding fractional arithmetic. Dividing by leading coefficients introduces fractions at the first stage that must be distributed, given common denominators, and re-divided at every subsequent substitution stage.
  3. No standardized bookkeeping structure. Because substituted expressions change shape at every step, there is no fixed grid of coefficients to track, making human arithmetic errors likely and making direct substitution impractical compared to the systematic matrix row-reduction algorithms introduced in Topic 2.

The Algebraic Reduction Habit

  1. Isolate or align a single target variable. Inspect the coefficients first: if an equation has a coefficient of \(1\) or \(-1\), solve for that variable to prepare for substitution; otherwise, multiply one or both equations by constants to create opposite coefficients on a shared variable for elimination.
  2. Collapse the system into a smaller problem. Substitute the isolated expression into the remaining equation, or add the aligned equations together, so that one variable vanishes and leaves a single equation in one unknown.
  3. Back-substitute and verify the ordered solution. Solve the single-variable equation, substitute that value back into an original equation to find the remaining unknown, and check the pair in every original equation.
  4. Audit the algebraic cost as dimension grows. Notice how each substitution step distributes across every remaining equation and variable, causing fractional coefficients and nested algebra to compound rapidly in systems of size \(3 \times 3\) and larger.

⚠️ Algebraic Solution Pitfalls

▶️ Audio: Where the Reduction Goes Wrong

📝 Read Transcript

"Most algebra errors in this concept are bookkeeping errors, and they hide inside steps that look routine. Substituting an expression back into the equation it came from produces 0 equals 0 and finds nothing. Forgetting to distribute across every term, or scaling the left side of an equation and leaving the right side alone, changes the system you meant to solve.

"The list below is the four slips that show up most often on two-variable problems. Each one names the check that would have caught it, using the print-shop substitution and the spark-plug elimination as the reference points."

  • Substitute an isolated expression into a different equation. Plugging an isolated expression back into the very same equation it came from cancels every variable and yields the tautology \(0 = 0\) without finding any unknown. In Example 1.2.1, \(x = 14 - 3y\) comes from the first equation and must be substituted into the second equation \(2x + 5y = 25\).
  • Distribute coefficients across every term inside parentheses. When substituting a multi-term expression or scaling an equation for elimination, multiply every term on both sides. In Example 1.2.1, writing \(2(14 - 3y)\) as \(28 - 3y\) instead of \(28 - 6y\) corrupts the coefficient of \(y\).
  • Scale both sides of an equation during elimination. A frequent error is multiplying the left-hand side coefficients while leaving the right-hand side constant unchanged. In Example 1.2.2, multiplying \(4p + 2q = 34\) by \(-3\) must scale \(34\) to \(-102\) as well.
  • Check the candidate solution in every original equation. Verifying a solution pair in only one equation catches back-substitution slips but misses errors made during the reduction step. Always test \((p, q) = (3, 11)\) in both \(4p + 2q = 34\) and \(6p + 5q = 73\) as shown in Example 1.2.2.

✨ Alkimi Sandbox: Verify Your Solution

A campus snack bar sells muffins and bottled juices. One order of 2 muffins and 3 juices costs $13. Another order of 4 muffins and 1 juice costs $11. Let \(m\) be the price of one muffin (in dollars) and let \(j\) be the price of one juice (in dollars). The scenario gives the system \(2m + 3j = 13\) and \(4m + j = 11\).

Your Task:

Open the Alkimi chat below. Solve the system by substitution or elimination, state the ordered pair \((m, j)\), and show the check in both original equations. Alkimi will verify your algebra step-by-step.

🔄 Alkimi Sandbox: Generate Practice Problems

Need more practice? Use this Alkimi agent to generate new two-variable systems. You can ask for a system suited to substitution, a system suited to elimination, or a prompt that asks you to explain why direct substitution becomes cumbersome in a \(3 \times 3\) system. Once it gives you a problem, reply with your algebra for feedback.

© 2026 Clear Concept Commons · CC BY-NC-SA 4.0

Embed in LMS / Canvas

Choose what students see inside the frame. The snippet uses this lesson's address.

Navigation mode