Systems of linear equations

A system of equations is a pair of equations with two unknowns. The solution is the values of x and y that make both equations true at the same time, and on a graph it is the point where the two lines cross.

Chalcack concept card · Reviewed by the Chalcack team ·

The point (3, 1) where the two lines cross is the solution of the system.

Formulas

  • {ax+by=cdx+ey=f\begin{cases} ax+by=c \\ dx+ey=f \end{cases} The solution is the pair x,yx, y that makes both equations true
  • Elimination: add or subtract the two equations to get rid of one unknown
  • Substitution: rewrite one equation as y=⋯y=\cdots and plug it into the other

When to use it

Use it when there are two unknown numbers and you are given two conditions (equations) that both have to be true.

Worked example

Solve 2x+y=72x+y=7 and x−y=2x-y=2. Step 1: add the equations so y cancels, giving 3x=93x=9, so x=3x=3. Step 2: put x=3x=3 into x−y=2x-y=2 to get 3−y=23-y=2, so y=1y=1. Step 3: check that 2×3+1=72\times3+1=7 also works, so the solution is x=3, y=1x=3,\ y=1.

Common mistake

A common mistake is giving values that fit only one equation, so plug your x and y back into both original equations. When you subtract one equation from another, change the sign of every term.

Related concepts

All 181 math concepts