Solve 2×2 systems of linear equations using the algebraic substitution method. Features isolated variable detection, full step-by-step substitution, classification, and 2D intersection plotting.
Examine both equations and isolate the variable with a coefficient of \(1\) or \(-1\) to prevent dealing with fractions.
Substitute that isolated expression into the other equation, simplifying it to a single linear equation in one unknown.
Plug the found numerical value into the isolated formula to solve for the second variable, then verify in both original equations.
Our algorithm automatically evaluates all 4 coefficient candidates \((a_1, b_1, a_2, b_2)\) to pick the path with the least fractional friction.
Identifies whether parallel lines have no solution (\(0 = k\)) or represent the identical coincident line (\(0 = 0\)) with infinite solutions.
Connects algebraic coordinate outputs \((x, y)\) directly to their geometric reality as line intersection points on the Cartesian plane.
Provides every intermediate distribution and combination step, making it easy to spot exact arithmetic slips in manual calculations.
Evaluates which variable is cleanest to isolate and outlines why that specific choice minimizes fractional calculations.
Renders dynamic vector SVG lines with auto-scaled coordinate axes and coordinates plotted on the intersection.
Maintains fraction accuracy without premature decimal rounding, ensuring exact integer or fractional solution pairs.
The substitution method is one of the most fundamental techniques in algebra. Its core philosophy is simple yet profound: reduce a multi-variable puzzle into a single-variable equation you already know how to solve.
Imagine you have two statements: "1 dollar = 4 quarters" and "You have 3 dollars and 2 dimes totaling $3.20". If someone asks how many coins you have, you immediately replace every "dollar" with "4 quarters". In algebra, substitution works identically. If equation 1 tells you \(y = 2x - 1\), you now hold an exact translation for \(y\). You walk over to equation 2, erase the letter \(y\), and drop in \((2x - 1)\) inside protective parentheses. The variable \(y\) disappears, leaving only \(x\).
1. Isolate: Find the term with coefficient \(+1\) or \(-1\). 2. Substitute: Wrap the expression in parentheses and insert it into the other equation. 3. Solve: Solve for that first variable. 4. Back-Substitute: Plug your number back into your isolated equation to get the second variable.
Algebraically, \(a_1 x + b_1 y = c_1\) and \(a_2 x + b_2 y = c_2\) represent two lines on the 2D plane. The determinant \(D = a_1 b_2 - a_2 b_1\) governs the geometry: if \(D \ne 0\), the lines have different slopes and cross at one coordinate \((x, y)\). If \(D = 0\), they are parallel (no solution) or identical (infinite solutions).
While elimination only works well for linear systems, substitution scales seamlessly to non-linear systems: intersecting a line with a parabola (\(y = x^2\)), a circle (\(x^2 + y^2 = r^2\)), or an ellipse in orbital mechanics and robotics forward kinematics.
If you isolate \(x\) in Equation 1 and accidentally plug it back into Equation 1, all terms cancel out into \(0 = 0\)! You must ALWAYS substitute the expression into the other equation.
If \(y = 3x - 4\) and you substitute into \(2x - 3y = 5\), write \(2x - 3(3x - 4) = 5\). Forgetting parentheses turns \(-3(-4)\) into \(-12\) instead of \(+12\), ruining the answer.
Finding \(x = 3\) is only half the battle. A system of two variables requires an ordered pair \((x, y)\). Always back-substitute to find \(y\), and write the final solution as coordinates.
| Method | Ideal Scenario | Strengths | Limitations |
|---|---|---|---|
| Substitution | When at least one variable has a coefficient of \(1\) or \(-1\) | Direct, intuitive, works on non-linear systems too | Tedious fractions if all coefficients are large integers |
| Elimination | Standard form \(Ax + By = C\) with matching/opposite coefficients | Cleans up integer systems without creating messy fractions | Harder to generalize to non-linear equations |
| Graphing | Visualizing solutions, estimating coordinates, inequality regions | Provides instant geometric intuition of parallel vs intersecting lines | Imprecise for fractional or decimal intersection points |
Step 1: Isolate \(x\) in Eq 1: \(x = 8 - 2y\).
Step 2: Substitute into Eq 2: \(3(8 - 2y) - y = 3\).
Step 3: Expand: \(24 - 6y - y = 3 \implies 24 - 7y = 3 \implies -7y = -21 \implies y = 3\).
Step 4: Back-substitute into \(x = 8 - 2(3) = 8 - 6 = 2\).
Solution: \((x, y) = (2, 3)\).
Step 1: Isolate \(x\) in Eq 1: \(x = 5 - y\).
Step 2: Substitute into Eq 2: \((5 - y) + y = 9\).
Step 3: Simplify: \(5 = 9\). The variables cancel out completely, yielding a false statement (\(5 \ne 9\)).
Conclusion: The system is inconsistent. The lines are parallel with slope \(m = -1\) and have no solution.