๐Ÿ”„ Algebra Solver

Substitution Method Calculator

Solve systems of linear equations using the substitution method with clear step-by-step solutions.

Equations to Solve by Substitution

Enter values to calculate instant result

โ„น๏ธ Info
โ„น๏ธ Info
๐Ÿ’ก Try:
Verified Solution

---

๐Ÿ“–

How to Use & Educational Guide

In-depth guide for Substitution Method Calculator

Educational Overview

How to Solve a System of Equations by Substitution?

The substitution method is an algebraic technique used to solve a system of equations by substitutionโ€”isolating one variable in one equation and replacing that variable with its equivalent expression inside the other equation. Doing so turns two equations with two unknowns ($x$ and $y$) into a single one-variable linear equation that you can solve directly.

Whether you need to solve simultaneous equations using substitution for algebra homework or verify a multi-step problem, this substitution method calculator isolates the variable, expands parentheses, combines like terms, and displays the ordered pair $(x, y)$ step by step.

Substitution Method Formula for Systems of Linear Equations

Consider a standard system of linear equations in two variables:

$$a_1x + b_1y = c_1$$

$$a_2x + b_2y = c_2$$

$$x = \frac{c_1 - b_1y}{a_1} \implies a_2\left(\frac{c_1 - b_1y}{a_1}\right) + b_2y = c_2$$

Once you solve the substituted equation for $y$, plug that numerical value back into $x = \frac{c_1 - b_1y}{a_1}$ to find $x$.

How to Solve Systems of Equations Using Substitution Step-by-Step

Follow these five steps whenever you solve systems of equations with substitution:

  1. Step 1 (Isolate One Variable): Pick the equation where $x$ or $y$ is easiest to isolate (ideally a variable with a coefficient of $1$ or $-1$) and rewrite it in terms of the other variable.
  2. Step 2 (Substitute Into the Other Equation): Replace that variable in the second equation with the expression from Step 1, wrapping the substituted expression in parentheses.
  3. Step 3 (Solve for the Remaining Variable): Distribute parentheses, combine like terms, and isolate the remaining variable.
  4. Step 4 (Back-Substitute to Find the First Variable): Plug the numerical answer from Step 3 back into your isolated equation from Step 1.
  5. Step 5 (Verify Both Equations): Substitute $(x, y)$ into both original equations to confirm both sides balance.

Solve System of Equations by Substitution Examples & Word Problems

Review these four worked examples covering isolating a variable, pre-isolated equations, negative sign distribution, and a real-world word problem:

Example 1 (Isolate y First): Solve $x + y = 10$ and $2x - y = 5$

โ€ข Step 1 (Isolate y): From $x + y = 10$, subtract $x$ to get $y = 10 - x$.

โ€ข Step 2 (Substitute into second equation): $2x - (10 - x) = 5$.

โ€ข Step 3 (Solve for x): $2x - 10 + x = 5 \implies 3x = 15 \implies \mathbf{x = 5}$.

โ€ข Step 4 (Find y): $y = 10 - 5 \implies \mathbf{y = 5}$.

โ€ข Step 5 (Check): $5 + 5 = 10$ and $2(5) - 5 = 5$.

๐Ÿ‘‰ Solution: $(x, y) = (5, 5)$

Example 2 (Variable Already Isolated): Solve $y = 2x - 3$ and $3x + y = 12$

โ€ข Step 1 (Identify isolated variable): The first equation already gives $y = 2x - 3$.

โ€ข Step 2 (Substitute into second equation): $3x + (2x - 3) = 12$.

โ€ข Step 3 (Solve for x): $5x - 3 = 12 \implies 5x = 15 \implies \mathbf{x = 3}$.

โ€ข Step 4 (Find y): $y = 2(3) - 3 \implies \mathbf{y = 3}$.

๐Ÿ‘‰ Solution: $(x, y) = (3, 3)$

Example 3 (Negative Sign Distribution): Solve $2x + y = 7$ and $x - y = 2$

โ€ข Step 1 (Isolate y): From $2x + y = 7$, write $y = 7 - 2x$.

โ€ข Step 2 (Substitute with parentheses): $x - (7 - 2x) = 2$.

โ€ข Step 3 (Distribute minus & solve for x): $x - 7 + 2x = 2 \implies 3x = 9 \implies \mathbf{x = 3}$.

โ€ข Step 4 (Find y): $y = 7 - 2(3) \implies \mathbf{y = 1}$.

๐Ÿ‘‰ Solution: $(x, y) = (3, 1)$

Example 4 (Substitution Method Word Problem): Two numbers have a sum of $25$, and the larger number ($y$) is $7$ more than the smaller number ($x$). Find both numbers.

โ€ข Step 1 (Write the two equations): $x + y = 25$ and $y = x + 7$.

โ€ข Step 2 (Substitute $y = x + 7$ into first equation): $x + (x + 7) = 25$.

โ€ข Step 3 (Solve for x): $2x + 7 = 25 \implies 2x = 18 \implies \mathbf{x = 9}$.

โ€ข Step 4 (Find y): $y = 9 + 7 \implies \mathbf{y = 16}$.

๐Ÿ‘‰ Solution: $(x, y) = (9, 16)$

When Should You Use the Substitution Method?

The substitution method for solving systems of equations is fastest when at least one variable is already isolated or has a coefficient of $1$ or $-1$, so isolating it avoids fractions.

โšก Pre-Isolated Variable

Whenever an equation is written in slope-intercept form like $y = 3x + 2$ or $x = 5 - y$, you can plug it directly into the second equation in one step.

๐Ÿ“ Word Problems & Relationships

Word problems that define one quantity in terms of another ("length is twice the width", $L = 2W$) naturally set up for substitution.

Substitution vs. Elimination Method

Both methods solve linear systems and produce the exact same solution. Substitution isolates one variable and plugs its expression into the other equationโ€”ideal when a variable has a coefficient of $1$. Elimination adds or subtracts scaled equations to cancel a variable directlyโ€”ideal when both equations are in standard form ($Ax + By = C$) and isolating a variable would create messy fractions.

Common Mistakes to Avoid

  • Substituting Back Into the Same Equation: If you isolate $y$ from Equation 1, you must substitute it into Equation 2. Substituting back into Equation 1 produces a trivial identity ($0 = 0$) instead of solving the system.
  • Forgetting Parentheses Around Multi-Term Expressions: Always wrap the substituted expression in parenthesesโ€”especially after a minus sign, such as $2x - (10 - x) = 2x - 10 + x$.
  • Stopping After Finding Only One Variable: A system of two equations requires values for both $x$ and $y$, written as an ordered pair $(x, y)$.
  • Skipping the Final Check: Plug your $(x, y)$ solution into both original equations to make sure both equations hold true.

Mathematical accuracy verified by AptCalc Engine

Frequently Asked Questions (FAQs)

Answers to common questions about this calculator

How do you solve a system of equations by substitution?
First isolate one variable (x or y) in one of the equations. Second, substitute that expression inside parentheses into the other equation and solve for the remaining variable. Third, plug that number back into the isolated equation to find the other variable.
What does a substitution method calculator do?
A substitution method calculator automatically isolates a variable, substitutes its expression into the second equation, simplifies the algebra, and displays the exact ordered pair (x, y) step by step.
When is the substitution method easier than elimination?
The substitution method is easiest when one variable is already isolated (such as y = 2x - 3) or has a coefficient of 1 or -1, so isolating it does not introduce fractions.
What happens if all variables cancel out during substitution?
If the remaining variables cancel out and leave a false statement (like 4 = 9), the lines are parallel and the system has no solution. If it leaves a true statement (like 5 = 5), the lines are identical and there are infinitely many solutions.
Can the substitution method solve two equations with two variables?
Yes. Substitution is one of the primary methods for solving systems of two simultaneous linear equations with two variables (x and y).
Explore More Tools

Discover Other Calculation Suites

Browse our full ecosystem of precision calculation and conversion tools