Visual Tools
Calculators
Tables
Mathematical Keyboard
Converters
Other Tools

How to Solve a System of Equations by Elimination

Multiply the equations by constants so that one variable has opposite coefficients, then add them: that variable cancels. Solve for the other, and substitute back.

Recognize the task

Two linear equations in standard form ax+by=cax + by = c where no variable is conveniently isolated: 2x+3y=122x + 3y = 12 and 5x−3y=95x - 3y = 9; 3x+2y=163x + 2y = 16 and 2x−5y=−22x - 5y = -2. Test: are the coefficients integers that are easy to match?
Elimination is the hand version of Gaussian elimination, covered in the linear algebra section.

Steps

StepOn 3x+2y=163x + 2y = 16 and 2x−5y=−22x - 5y = -2
1Line up the variables. Both equations in the form ax+by=cax + by = c, xx under xx, yy under yy.already aligned
2Scale so one variable has equal or opposite coefficients. Multiply each whole equation; choose the variable with the easier least common multiple.Multiplication property of equality ↗×2\times 2: 6x+4y=326x + 4y = 32; ×3\times 3: 6x−15y=−66x - 15y = -6
3Add or subtract the equations. Opposite coefficients: add. Equal coefficients: subtract. The chosen variable must disappear.subtract: 19y=38  ⇒  y=219y = 38 \;\Rightarrow\; y = 2
4Back-substitute and check in both equations. Use either original equation.3x+4=16⇒x=43x + 4 = 16 \Rightarrow x = 4; check: 8−10=−28 - 10 = -2 ✓

Worked examples

Example 1 · already opposite

just add
2x+3y=122x + 3y = 12, 5x−3y=95x - 3y = 9: add
3y3y and −3y-3y cancel
7x=21⇒x=37x = 21 \Rightarrow x = 3, y=2y = 2

Example 2 · scale both

least common multiple
3x+2y=163x + 2y = 16, 2x−5y=−22x - 5y = -2: ×2\times 2 and ×3\times 3
make the xx coefficients 66
19y=3819y = 38: (4,2)(4, 2)

Example 3 · dependent equations

infinitely many
x+2y=4x + 2y = 4, 2x+4y=82x + 4y = 8: 2⋅(first)−second=02\cdot(\text{first}) - \text{second} = 0
everything cancels: 0=00 = 0
infinitely many solutions
the second equation is the first doubled

See it happen

Adding two equations is adding two true statements: the result is still true at the crossing point of the two lines. Choosing the multipliers so one variable cancels produces a vertical or horizontal line through that same crossing, which reads off one coordinate directly.

Common mistakes

Scaling only one side

✗ 2(3x+2y)=162(3x + 2y) = 16
✓ multiply both sides: 6x+4y=326x + 4y = 32

Subtracting sign by sign

✗ (6x−15y)−(6x+4y)=−11y(6x - 15y) - (6x + 4y) = -11y
✓ −15y−4y=−19y-15y - 4y = -19y; the right sides: −6−32=−38-6 - 32 = -38

Stopping after one variable

✗ "y=2y = 2"
✓ back-substitute: the solution is (4,2)(4, 2)