iTutorzz

Free algebra tool

Systems of Equations Solver

Solve a system of linear equations with two or three unknowns and see every step. Pick elimination, substitution or matrix row reduction; answers stay exact fractions and are checked in the original equations. With two unknowns the equations are graphed as lines, so you can see where they cross, or why parallel lines give no solution. Free, no signup.

Type equations like 3x - 2y = 4, y = 2x + 1 or x/2 + 0.5y = 3. Use any letters for the unknowns.

Try an example:
Method
-5-555
  • 2x + 3y = 7
  • x - y = 1

Each equation is a line. The solution is where the lines cross; parallel lines never meet (no solution), and the same line twice meets everywhere.

x =

2

y =

1

Step by step

  1. 1
    Multiply equation (2) by 2 so the x terms have the same size.
    \begin{aligned} 2x + 3y = 7 \\ 2x - 2y = 2 \end{aligned}
  2. 2
    Subtract the equations: the x terms cancel.
    5y = 5
  3. 3
    Solve for y.
    y = \frac{5}{5} = 1
  4. 4
    Substitute y = 1 into equation (1) and solve for x.
    \begin{aligned} 2x + 3 \cdot 1 &= 7 \\ 2x &= 4 \\ x &= 2 \end{aligned}
  5. 5
    Check: put the answer back into each original equation.
    \begin{aligned} 2 \cdot 2 + 3 \cdot 1 &= 7 \;\checkmark \\ 2 - 1 &= 1 \;\checkmark \end{aligned}

Three possible outcomes

  • One solution: the lines cross at exactly one point. This is the usual case.
  • No solution: the lines are parallel, with the same slope and different intercepts, so they never meet.
  • Infinitely many solutions: both equations describe the same line, so every point on it works.

Word problems become systems

Many word problems hide a system. "Tickets cost $5 for children and $8 for adults; 40 tickets brought in $260" gives c + a = 40 and 5c + 8a = 260. Name the unknowns, write one equation for each fact, then solve: here 20 children and 20 adults.

Frequently asked questions

How do you solve a system of equations by elimination?+

Multiply one or both equations so one unknown has the same size of coefficient in both, then add or subtract the equations so that unknown cancels. Solve the one-unknown equation that is left, and substitute the value back into either original equation to find the other unknown.

How do you solve a system by substitution?+

Solve one equation for one unknown, ideally one with a coefficient of 1, like y = 19 - 7x. Put that expression into the other equation in place of y, solve for x, then use x to find y.

How do I know if a system has no solution or infinitely many?+

If the unknowns all cancel and you are left with something false, like 0 = 4, there is no solution: the lines are parallel. If you are left with something always true, like 0 = 0, the equations describe the same line and there are infinitely many solutions.

Which method should I use?+

Substitution is quickest when an unknown already has a coefficient of 1 or is already isolated, as in y = 2x + 1. Elimination is usually easier otherwise. Row reduction on a matrix is the same idea as elimination written compactly, and it scales to three or more unknowns.

Can it solve three equations with three unknowns?+

Yes. Choose 3 equations and it row-reduces the augmented matrix step by step, showing each row operation, then checks the answer in all three equations. Answers stay exact, so fractions are never rounded.

Working on linear equations?

Find the equation of a line next, or get an algebra tutor to make systems click, one-on-one. Your first trial lesson is free.

Make algebra make sense

A 1-on-1 algebra tutor explains elimination, substitution and word problems until they click. Your first trial lesson is free.