Learn Before
Example

Solving {2x+y=7,;x−2y=6}\{2x + y = 7,; x - 2y = 6\} by Substitution

Solve the system {2x+y=7x−2y=6\left\{\begin{array}{l} 2x + y = 7 x - 2y = 6 \end{array}\right. using the substitution method.

Step 1 — Solve one equation for one variable. The first equation is the easiest to solve for yy because its coefficient is 11. Subtract 2x2x from both sides:

y=7−2xy = 7 - 2x

Step 2 — Substitute into the other equation. Replace yy in the second equation with 7−2x7 - 2x:

x−2(7−2x)=6x - 2(7 - 2x) = 6

Step 3 — Solve the resulting one-variable equation. Distribute −2-2 across the parentheses and combine like terms:

x−14+4x=6x - 14 + 4x = 6

5x−14=65x - 14 = 6

Add 1414 to both sides: 5x=205x = 20. Divide both sides by 55: x=4x = 4.

Step 4 — Find the other variable. Substitute x=4x = 4 into the first original equation:

2(4)+y=72(4) + y = 7

8+y=78 + y = 7

y=−1y = -1

Step 5 — Write the solution as an ordered pair: (4,−1)(4, -1).

Step 6 — Check in both original equations:

  • First equation: 2(4)+(−1)=8−1=72(4) + (-1) = 8 - 1 = 7. Since 7=77 = 7 is true ✓
  • Second equation: 4−2(−1)=4+2=64 - 2(-1) = 4 + 2 = 6. Since 6=66 = 6 is true ✓

Both equations are satisfied, confirming that (4,−1)(4, -1) is the solution of the system. This is the same answer obtained by graphing the same system, demonstrating that the substitution method yields the exact solution through purely algebraic steps.

Copyright Rice University, OpenStax, Elementary Algebra 2e (July 2025 release, CC BY 4.0). Access for free at https://openstax.org/books/elementary-algebra-2e/pages/1-introduction | Source | License

0

1

Updated 2026-04-21

Contributors are:

Who are from:

Tags

OpenStax

Elementary Algebra @ OpenStax

Ch.5 Systems of Linear Equations - Elementary Algebra @ OpenStax

Algebra

Math

Prealgebra

Related
Learn After
Learn After
Related