Solve any system of two linear equations: a₁x + b₁y = c₁ and a₂x + b₂y = c₂ using the substitution method. Get detailed algebraic steps, exact solution, and an interactive graph of the lines.
The substitution method is one of the most fundamental algebraic techniques for solving systems of linear equations. It involves isolating one variable in one equation and substituting that expression into the other equation. This transforms a 2x2 system into a single linear equation, making it straightforward to solve. The method is particularly intuitive and mirrors logical reasoning used in real‑life problem solving.
General system:
a₁x + b₁y = c₁ … (1)
a₂x + b₂y = c₂ … (2)
Core principle: From (1), if a₁ ≠ 0, then x = (c₁ - b₁y)/a₁. Substitute into (2) → solve for y → back‑substitute to find x.
Used extensively in economics (supply‑demand equilibrium), engineering (circuit analysis), computer graphics (intersection detection), and everyday decision‑making. The algorithm directly mirrors the way humans reason: “If this equals that, then we can replace”. Its logical clarity makes it the preferred method in many educational curricula.
A startup has cost equation C = 500 + 20x and revenue R = 45x. Setting R = C gives 45x = 500 + 20x → 25x = 500 → x = 20 units. Substitution solves such linear models instantly. In this calculator, you can enter equations like y = 20x + 500 (rewritten as -20x + y = 500) and 45x - y = 0.
The substitution method has roots in ancient Babylonian mathematics (c. 1800 BCE) where linear systems appeared in practical problems. Later, the method was formalized in classical algebra textbooks. Renowned mathematician Carl Friedrich Gauss used elimination principles, but substitution remains a pillar in elementary algebra. This implementation follows standards from OpenStax Algebra and Trigonometry and the Common Core State Standards.
| Aspect | Substitution | Elimination |
|---|---|---|
| Best when | One variable coefficient is 1 or -1 | Both equations have aligned coefficients |
| Fractional risk | May produce fractions early | Fractions can be delayed |
| Conceptual clarity | Very intuitive for beginners | Requires addition principle |