Euler Hall — free maths guides

Solve a 2-by-2 linear system by elimination

Add or subtract two equations so one variable disappears. The idea in plain words, a worked example, and a check with the answers shown — part of the free Algebra I guides.

Add the equations and one variable disappears

Elimination removes a variable by adding the two equations after arranging for one variable's terms to be opposites.

Given

2x+3y=12,4x−3y=6,2x + 3y = 12, \qquad 4x - 3y = 6,

the yy-terms are 1 and −3y-3y. Adding gives 3, so x=3x = 3. Substituting back gives 5, and the solution is (3,2)(3, 2)`.

The reason the trick works is that adding the two equations is adding equal quantities to both sides of one of them — an operation that keeps a true equation true.

Why adding keeps the solution

Suppose (x,y)(x, y)` makes both equations true. Then the left side of the first equals its right side, and the same for the second. Adding two pairs of equal numbers gives two equal numbers, so the sum of the left sides equals the sum of the right sides.

That is exactly the new equation, so the same (x,y)(x, y)` satisfies it. Elimination never introduces a new solution; it only rewrites the information in a form that is easier to read.

Worked example

Solve 3x+2y=163x + 2y = 16 and 1.

Step 1. Look for opposites. The yy-coefficients are 1 and −2-2`, already opposite.

Step 2. Add. Left sides: 3x+5x=8x3x + 5x = 8x. Right sides: 1. So 8x=248x = 24 and 3.

Step 3. Back-substitute. Put x=3x = 3 into the first equation: 1, so 2y=72y = 7 and 3.

Step 4. Check both. First: 3(3)+2(72)=9+7=163(3) + 2\left(\frac{7}{2}\right) = 9 + 7 = 16. Second: 5(3)−2(72)=15−7=85(3) - 2\left(\frac{7}{2}\right) = 15 - 7 = 8. Both hold.

By the end you can
  • Add or subtract two equations so one variable disappears
  • Choose the variable that is easier to remove
  • Solve the resulting one-variable equation and back-substitute
  • Check the pair in both original equations
Check yourself

(a) Solve 2x+y=112x + y = 11 and 1.

(b) Why is the pair, not one number, the answer?

Answers

(a) Adding gives 5x=155x = 15, so 1. Then 6+y=116 + y = 11, so 3. The solution is (3,5)(3, 5)`.

(b) Because a solution has to satisfy two equations in two variables, so it takes two values to name a point.

Work out where to start — free, no accountAnswer six real questions — free, no account