System of Equations Calculator

Published on: December 1, 2024
Final Answer: Free | Full Steps: Plus

This System of Equations Calculator finds the one pair of values that satisfies two linear equations at once, and shows the working line by line. Both equations are put in standard form so their coefficients line up, and one variable is then scaled until it matches in both. Adding or subtracting the equations then removes that variable, which leaves a single equation in one unknown, and its value is put back in to find the other. Following the same pattern every time keeps the elimination easy to follow.

Step-by-step method

  1. Set up the problem and label the equations (1) and (2).
  2. Rewrite both equations in standard form, \(ax + by = c\).
  3. Make the coefficients of one variable the same size by multiplying the equations, using the Least Common Multiple Calculator.
  4. Add or subtract the equations to eliminate that variable. Subtract when its terms have the same sign, add when they have opposite signs.
  5. Solve for the variable that is left, covered in the Solving One-Step Equations Calculator.
  6. Substitute that value back into one of the equations to find the other variable, covered in the Linear Equation Calculator.

Depending on the equations, some of these steps are not needed, so they are skipped.

Required knowledge

The worked examples below go through the same pattern from start to finish, so you can compare every step with your own working. For more practice, the notes page goes further with extra worked examples and fuller explanations of the ideas behind each step. Use them together to check your answers and to understand why each step works.

See Example 1 Hide Example 1

Problem

\(3x + 2y = 16,\;\; 5x - 2y = 8\)

Approach

Step-by-step method

  1. Set up the problem and label the equations (1) and (2).
  2. Rewrite both equations in standard form, \(ax + by = c\).
  3. Make the coefficients of one variable the same size by multiplying the equations, using the Least Common Multiple Calculator.
  4. Add or subtract the equations to eliminate that variable. Subtract when its terms have the same sign, add when they have opposite signs.
  5. Solve for the variable that is left, covered in the Solving One-Step Equations Calculator.
  6. Substitute that value back into one of the equations to find the other variable, covered in the Linear Equation Calculator.

Depending on the equations, some of these steps are not needed, so they are skipped.

Step 1

Step 1 - Set up the problem and label the equations (1) and (2).

In this problem: The two equations are \(3x + 2y = 16\), labelled (1), and \(5x - 2y = 8\), labelled (2). Both \(x\) and \(y\) are unknown.

\(\begin{aligned}3x + 2y &= 16\quad (1) \\ 5x - 2y &= 8\quad (2)\end{aligned}\,\)

Step 2

Step 2 - Add or subtract the equations to eliminate that variable. Subtract when its terms have the same sign, add when they have opposite signs.

In this problem: The \(y\) terms have opposite signs, so adding the two equations cancels \(y\). The equations are lined up and each column is added: \(3x + 5x = 8x\), \(2y + (-2y) = 0\) and \(16 + 8 = 24\).

\(3x\)\(+ 2y\)\(=\)\(16\)
\(+\)\(5x\)\(- 2y\)\(=\)\(8\)
\(8x\)\(=\)\(24\)

Step 3

Step 3 - Solve for the variable that is left, covered in the Solving One-Step Equations Calculator.

In this problem: Only \(x\) is left in \(8x = 24\), and solving it gives \(x = 3\), worked through below.

\(x = 3\)

Step 4

Step 4 - Substitute that value back into one of the equations to find the other variable, covered in the Linear Equation Calculator.

In this problem: The value \(x = 3\) is put into equation (1), \(3x + 2y = 16\), to find \(y\).

\(3x + 2y = 16\)

Step 4a

Step 4a - Put \(x = 3\) into equation (1).

In this problem: Replacing \(x\) with \(3\) in \(3x + 2y = 16\) gives \(3(3) + 2y = 16\).

\(3(3) + 2y = 16\)

Step 4b

Step 4b - Work out \(3(3)\).

In this problem: \(3(3) = 9\), so \(3(3) + 2y = 16\) becomes \(9 + 2y = 16\).

\(9 + 2y = 16\)

Step 4c

Step 4c - Solve for \(y\).

In this problem: Solving \(9 + 2y = 16\) gives \(y = \frac{7}{2}\), worked through below.

\(y = \frac{7}{2}\)

Final Answer

\(x = 3,\; y = \frac{7}{2}\)
See Example 2 Hide Example 2

Problem

\(2x = 8,\;\; x + y = 10\)

Approach

Step-by-step method

  1. Set up the problem and label the equations (1) and (2).
  2. Rewrite both equations in standard form, \(ax + by = c\).
  3. Make the coefficients of one variable the same size by multiplying the equations, using the Least Common Multiple Calculator.
  4. Add or subtract the equations to eliminate that variable. Subtract when its terms have the same sign, add when they have opposite signs.
  5. Solve for the variable that is left, covered in the Solving One-Step Equations Calculator.
  6. Substitute that value back into one of the equations to find the other variable, covered in the Linear Equation Calculator.

Depending on the equations, some of these steps are not needed, so they are skipped.

Step 1

Step 1 - Set up the problem and label the equations (1) and (2).

In this problem: The two equations are \(2x = 8\), labelled (1), and \(x + y = 10\), labelled (2). Both \(x\) and \(y\) are unknown.

\(\begin{aligned}2x &= 8\quad (1) \\ x + y &= 10\quad (2)\end{aligned}\,\)

Step 2

Step 2 - Solve for the variable that is left, covered in the Solving One-Step Equations Calculator.

In this problem: Equation (1), \(2x = 8\), only holds \(x\), so there is nothing to eliminate. Solving it gives \(x = 4\), worked through below.

\(x = 4\)

Step 3

Step 3 - Substitute that value back into one of the equations to find the other variable, covered in the Linear Equation Calculator.

In this problem: The value \(x = 4\) is put into equation (2), \(x + y = 10\), to find \(y\).

\(x + y = 10\)

Step 3a

Step 3a - Put \(x = 4\) into equation (2).

In this problem: Replacing \(x\) with \(4\) in \(x + y = 10\) gives \(4 + y = 10\).

\(4 + y = 10\)

Step 3b

Step 3b - Solve for \(y\).

In this problem: Solving \(4 + y = 10\) gives \(y = 6\), worked through below.

\(y = 6\)

Final Answer

\(x = 4,\; y = 6\)

Example Problems

Click one to load it into the box and solve it.