← High school courses

High school Algebra I

Systems of Linear Equations: Substitution and Elimination

A system of linear equations is two or more equations that share the same variables. Solving it means finding the one pair of values that makes every equation true at once. Algebra I gives you two main tools for this: substitution and elimination.

What a solution means

Each linear equation is a line when you graph it. A solution to the system is a point that lies on both lines, so it is where they cross. Two lines usually cross once, which gives one solution.

Sometimes the lines are parallel and never meet, so there is no solution. Sometimes they are the same line, so there are infinitely many solutions. If your algebra ends in a false statement such as 0 = 5, there is no solution. If it ends in a true statement such as 3 = 3, there are infinitely many.

Substitution: swap in an expression

Use substitution when one equation already has a variable by itself, or can easily be rewritten that way. Replace that variable in the other equation with its expression. This leaves one equation with one variable, which you solve. Then put your answer back into the first equation to find the other variable.

The key habit is to substitute into the other equation, not the one you took the expression from. Doing that just gives you back a true but useless statement.

Elimination: add the equations to cancel a variable

Use elimination when both equations are in standard form, Ax + By = C. If one variable has opposite coefficients, such as +3y and −3y, adding the equations cancels it. If not, multiply one or both equations by numbers so that a pair of coefficients becomes opposites, then add.

Multiply every term of an equation, including the right side, or the equation is no longer balanced. After you find one variable, substitute it back into either original equation to find the other.

Worked examples

Example 1

Solve y = 2x + 1 and 3x + y = 11.

  1. Substitute 2x + 1 for y in the second equation: 3x + 2x + 1 = 11.
  2. Combine: 5x + 1 = 11, so 5x = 10 and x = 2.
  3. Find y: y = 2(2) + 1 = 5.
  4. Check in the second equation: 3(2) + 5 = 11.

Answer: (2, 5)

Example 2

Solve 2x + 3y = 9 and 4x − 3y = 9.

  1. The y terms are +3y and −3y, so add the equations: 6x = 18, and x = 3.
  2. Substitute into the first equation: 2(3) + 3y = 9, so 3y = 3 and y = 1.
  3. Check in the second equation: 4(3) − 3(1) = 9.

Answer: (3, 1)

Example 3

Solve 3x + 2y = 4 and 2x + 5y = −1.

  1. To cancel x, multiply the first equation by 2 and the second by 3: 6x + 4y = 8 and 6x + 15y = −3.
  2. Subtract the second from the first: −11y = 11, so y = −1.
  3. Substitute into the first original equation: 3x + 2(−1) = 4, so 3x = 6 and x = 2.
  4. Check in the second: 2(2) + 5(−1) = −1.

Answer: (2, −1)

Common mistakes

Check yourself

  1. Solve x + y = 7 and x − y = 1.
    Show the answerAdd the equations: 2x = 8, so x = 4. Then y = 3. The answer is (4, 3).
  2. Solve y = x − 2 and 2x + y = 10.
    Show the answer2x + x − 2 = 10, so 3x = 12 and x = 4. Then y = 2. The answer is (4, 2).
  3. Solve 5x + y = 7 and 3x − y = 9.
    Show the answerAdd: 8x = 16, so x = 2. Then y = 7 − 10 = −3. The answer is (2, −3).

Practice it

Try ten free Algebra I practice questions, each with a hint and an explanation. No account needed.

Practice Algebra I free →

Written by passvana for high school Algebra I students. passvana is independent and not affiliated with any school, district or test publisher.