Sitonce
Country: HK
Show exams for United States Hong Kong
Sign in

Solving Systems of Equations by Substitution

Updated 7 min read
Key takeaway

To solve a system by substitution, isolate one variable in one equation, replace that variable in the other equation, solve the resulting one-variable equation, then substitute back.

More key points
  • The solution is an ordered pair that satisfies both original equations.
On this page17 sections
  1. Work a complete example
  2. Check both equations
  3. Choose a variable to isolate
  4. Possible system outcomes
  5. Substitute when neither variable is isolated
  6. Use parentheses to protect the substituted expression
  7. Interpret a contradiction or identity
  8. Translate a word problem into a system
  9. Verify the ordered pair
  10. Substitute an expression into the other equation
  11. Check for special systems
  12. Interpret the ordered pair in context
  13. Exam takeaway
  14. Why substitution works
  15. Rearrange before substituting when needed
  16. Interpret the three possible outcomes
  17. Translate a short word problem

Substitution is most convenient when one equation already has a variable isolated or can be rearranged easily. It reduces two equations to one equation with one unknown.

Work a complete example

Solve y = 2x + 1 and 3x + y = 16. Since y is already isolated, substitute 2x + 1 for y in the second equation: 3x + (2x + 1) = 16. Then 5x + 1 = 16, so x = 3. Substitute back: y = 2(3) + 1 = 7. The solution is (3, 7).

Check both equations

For (3, 7), the first equation gives 7 = 2(3) + 1, which is true. The second gives 3(3) + 7 = 16, also true. Checking both equations catches sign errors and confirms that the point lies at the intersection.

Choose a variable to isolate

If neither equation has a variable alone, solve for the variable with coefficient 1 or −1 when possible. For example, x + 2y = 10 is easy to rearrange as x = 10 − 2y. Avoid creating fractions unnecessarily if another variable is simpler to isolate.

Possible system outcomes

  • One solution: the lines intersect at one ordered pair.
  • No solution: substitution produces a false statement, such as 0 = 5; the lines are parallel.
  • Infinitely many solutions: substitution produces an identity, such as 0 = 0; the equations represent the same line.

Substitute when neither variable is isolated

If no variable has coefficient 1 or −1, solve for one variable while preserving the fraction or rearrange the equation to keep the arithmetic manageable. From 2x + y = 9, isolate y = 9 − 2x, then substitute into x + 3y = 13: x + 3(9 − 2x) = 13. Distribute to get x + 27 − 6x = 13, so −5x = −14 and x = 14/5. Substituting back gives y = 9 − 28/5 = 17/5. Fractions are valid solutions; do not round unless asked.

Use parentheses to protect the substituted expression

If an isolated variable equals a multi-term expression, replace it with parentheses. In 4x − y = 6, if y = 2x + 3, substitute as 4x − (2x + 3) = 6. Removing the parentheses too early can lose the negative sign: the correct simplification is 4x − 2x − 3 = 6. With a positive sign, parentheses may not change the signs, but keeping them makes the substitution easier to audit.

Interpret a contradiction or identity

After substitution, a false statement such as 0 = 5 means the equations cannot both be true at the same point. The corresponding lines are parallel and there is no solution. A true identity such as 0 = 0 means the equations describe the same line, so every point on that line is a solution and the system has infinitely many solutions. Do not report x = 0 merely because the variable terms canceled.

Translate a word problem into a system

Choose variables for the unknown quantities and write one equation for each independent condition. If adult tickets cost $12 and student tickets cost $8, a total of 20 tickets gives a + s = 20. A total revenue of $200 gives 12a + 8s = 200. Substitute s = 20 − a into the revenue equation to solve for a, then find s and verify both the ticket count and total. The context can rule out a negative or fractional ticket count even if the algebra is performed correctly.

Verify the ordered pair

A system's solution is an ordered pair (x, y), not a single variable value. Substitute both coordinates into both original equations. Checking only the rearranged equation may leave an algebra mistake undetected. In a word problem, also check the units and whether the answer makes sense in context. Use elimination instead when its coefficients cancel more easily, but the substitution logic remains a reliable choice when one variable is easy to isolate.

Substitute an expression into the other equation

Substitution solves a system by replacing a variable with an equal expression. If y = 2x + 1 and x + y = 10, replace y in the second equation: x + (2x + 1) = 10. Then 3x + 1 = 10, x = 3, and y = 7. The ordered pair (3, 7) must satisfy both original equations. Parentheses make it clear that the full expression is substituted.

If neither variable is isolated, solve one equation for a variable first. From 3x + y = 11, isolate y = 11 − 3x. Substitute that expression into the other equation. Choose the variable that requires fewer steps or produces simpler coefficients. Avoid dividing by a coefficient until you have checked whether keeping a fraction would make substitution easier.

Check for special systems

After substitution and simplification, a false statement such as 0 = 5 means no ordered pair satisfies both equations; the lines are parallel. A true identity such as 0 = 0 means the equations describe the same line and there are infinitely many solutions. Do not report an arbitrary point as the unique solution in either case.

A negative sign is a common source of mistakes. If y = 4 − x and the other equation is 2x − y = 1, substitute with parentheses: 2x − (4 − x) = 1. Distribute the minus sign to get 2x − 4 + x = 1, so x = 5/3 and y = 7/3. Verify both values in the original equations.

Interpret the ordered pair in context

In word problems, label variables and units before writing the system. The solution may represent price and quantity, distance and time, or two unknown counts. Check that it satisfies both conditions and is plausible; a negative count of items is not meaningful even if the algebra is correct. Answer in the form the problem requests, not only as x and y.

  • Isolate a variable if useful, then substitute the entire expression with parentheses.
  • Solve the resulting one-variable equation and back-substitute.
  • Check the ordered pair in both original equations.
  • Interpret 0 = nonzero as no solution and 0 = 0 as infinitely many.
  • Use labels and units to interpret a word-problem solution.

Exam takeaway

Isolate, substitute, solve, substitute back and check both originals. Interpret a contradiction or identity as no solution or infinitely many solutions, respectively.

Why substitution works

If two expressions both equal y, they equal each other. In the system y = 2x + 1 and 3x + y = 16, replace y in the second equation with 2x + 1: 3x + 2x + 1 = 16. Solving gives x = 3, then y = 2(3) + 1 = 7. The solution is the ordered pair (3, 7), which must satisfy both original equations.

Rearrange before substituting when needed

When neither equation isolates a variable, solve one equation for a variable first. For 2x + y = 11 and x − y = 1, the second equation gives x = y + 1. Substitute that into the first: 2(y + 1) + y = 11, so 3y = 9 and y = 3. Then x = 4. Choose the equation that produces the simplest expression and avoids unnecessary fractions.

Interpret the three possible outcomes

A system can have one solution, no solution, or infinitely many solutions. If solving produces a specific x and y, check the ordered pair in both equations. If variables cancel and leave a false statement such as 0 = 5, the lines are parallel and there is no solution. If variables cancel and leave a true statement such as 0 = 0, the equations describe the same line and there are infinitely many solutions.

Translate a short word problem

Suppose two adult tickets and one student ticket cost $31, while one adult ticket and one student ticket cost $19. Let a be the adult price and s the student price. The system is 2a + s = 31 and a + s = 19. From the second equation, s = 19 − a. Substitution gives 2a + 19 − a = 31, so a = 12 and s = 7. State each unit and verify both totals.

For a final check, substitute the ordered pair into the original equations rather than only into the rearranged version. This catches a sign error made while isolating a variable. Keep the answer as an ordered pair and label what each coordinate represents when the system came from a context.

Common questions

Does the answer to a system have to be an ordered pair?

For two variables, yes: state the x- and y-values in the correct order.

What does 0 = 5 mean after substitution?

The equations are inconsistent, so the system has no solution.

What does 0 = 0 mean after substitution?

The equations are dependent and represent the same line, so there are infinitely many solutions.

How do I know whether to use substitution or elimination?

Substitution is convenient when one equation already isolates a variable or can do so with little work. Either method should produce the same solution.