Solve the system
Choose elimination and pick the variable to remove. Neither equation has a coefficient of , so substitution would introduce fractions. Elimination is cleaner. The coefficients are and , with least common multiple — and they already carry opposite signs, so scaling alone will make them cancel on addition.
Scale each equation. Multiply the first by and the second by :
Every term must be multiplied, right-hand sides included — the and the are where this step usually goes wrong.
Add the equations to eliminate . The and cancel:
Back-substitute to find . Using the original first equation:
Substituting into the original equation rather than a scaled one means an error in step 2 cannot propagate silently into .
Check in both original equations. First: ✓. Second: ✓. Geometrically the two lines have slopes and , which are negative reciprocals, so they meet perpendicularly at the single point — a unique solution, as the nonzero determinant guarantees.
Need to solve a different problem like this? Open the solver →