Linear Equation Calculator
This Linear Equation Calculator finds the value of the variable in an equation that takes several moves to unpick, and shows the working behind each one. Both sides are expanded and simplified first, then the variable terms are collected on one side and the constants on the other, with the same operation done to both sides so the equation stays balanced. The coefficient left in front of the variable is undone last, and the answer is checked in the original equation. That pattern works on every linear equation.
Step-by-step method
- Set up the problem.
- Expand and simplify. Remove the brackets and combine the like terms on each side, covered in the Simplifying Algebraic Expressions Calculator.
- Collect the variable terms. Move every term that holds the variable onto one side by adding or subtracting that term on both sides, so the equation stays balanced.
- Collect the constant terms. Move every constant onto the other side by adding or subtracting that constant on both sides, so the equation stays balanced.
- Isolate the variable. Undo the coefficient that is still attached to the variable, covered in the Solving One-Step Equations Calculator.
- Verify the solution. Put the answer back into the original equation and check that both sides come out equal.
Depending on the equation, some of these steps are not needed, so they are skipped.
Required knowledge
- How to simplify an expression, covered in the Simplifying Algebraic Expressions Calculator.
- How to solve a one-step equation, covered in the Solving One-Step Equations Calculator.
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
Approach
Step-by-step method
- Set up the problem.
- Expand and simplify. Remove the brackets and combine the like terms on each side, covered in the Simplifying Algebraic Expressions Calculator.
- Collect the variable terms. Move every term that holds the variable onto one side by adding or subtracting that term on both sides, so the equation stays balanced.
- Collect the constant terms. Move every constant onto the other side by adding or subtracting that constant on both sides, so the equation stays balanced.
- Isolate the variable. Undo the coefficient that is still attached to the variable, covered in the Solving One-Step Equations Calculator.
- Verify the solution. Put the answer back into the original equation and check that both sides come out equal.
Depending on the equation, some of these steps are not needed, so they are skipped.
Step 1
Step 1 - Set up the problem.
In this problem: The equation is \(2x + 3 = 11\), with \(2x + 3\) on the left of the equals sign and \(11\) on the right.
Step 2
Step 2 - Collect the constant terms. Move every constant onto the other side by adding or subtracting that constant on both sides, so the equation stays balanced.
In this problem: The left side is \(2x + 3\), which still holds the constant \(3\).
Step 2a
Step 2a - Subtract \(3\) from both sides.
In this problem: \(3\) is subtracted from both sides to clear that constant off the left.
Step 2b
Step 2b - Work out each side.
In this problem: On the left, \(3 - 3 = 0\), so only the variable term is left there. On the right, \(11 - 3 = 8\).
Step 3
Step 3 - Isolate the variable. Undo the coefficient that is still attached to the variable, covered in the Solving One-Step Equations Calculator.
In this problem: The left side of \(2x = 8\) is \(2x\), so \(x\) still carries the coefficient \(2\). Solving this one-step equation gives \(x = 4\), worked through below.
Problem
Approach
Step-by-step method
- Set up the problem.
- Look at the side holding the variable, find the operation attached to it, and do the inverse operation to both sides so the equation stays balanced.
- Work out each side, which leaves the variable on its own.
- Check the answer by putting it back into the original equation.
Step 1
Step 1 - Set up the problem.
In this problem: The equation is \(2x = 8\), with \(2x\) on the left and \(8\) on the right.
Step 2
Step 2 - Look at the side holding the variable, find the operation attached to it, and do the inverse operation to both sides so the equation stays balanced.
In this problem: The side holding \(x\) is \(2x\), so the operation on \(x\) is multiplying by \(2\). The inverse of that is to divide by \(2\), and doing it to \(2x\) and to \(8\) keeps both sides equal.
Step 3
Step 3 - Work out each side, which leaves the variable on its own.
In this problem: On the left, \(\frac{2x}{2}\) leaves \(x\). On the right, \(\frac{8}{2} = 4\). Putting the two together gives \(x = 4\).
Step 4
Step 4 - Check the answer by putting it back into the original equation.
In this problem: The answer \(x = 4\) is checked in three parts: write the original equation, put \(4\) in place of \(x\), then work out both sides.
Step 4a
Step 4a - Write the original equation.
In this problem: The original equation is \(2x = 8\).
Step 4b
Step 4b - Put the answer in place of the variable.
In this problem: Putting \(4\) in place of \(x\) in \(2x = 8\) gives \(2 \cdot 4 = 8\).
Step 4c
Step 4c - Work out both sides.
In this problem: \(2 \cdot 4 = 8\), which matches the other side, \(8\). Both sides are equal, so \(x = 4\) is correct.
Final Answer
Step 4
Step 4 - Verify the solution. Put the answer back into the original equation and check that both sides come out equal.
In this problem: The answer \(x = 4\) is checked in three parts: write the original equation, put \(4\) in place of \(x\), then work out both sides.
Step 4a
Step 4a - Write the original equation.
In this problem: The original equation is \(2x + 3 = 11\).
Step 4b
Step 4b - Put the answer in place of the variable.
In this problem: Putting \(4\) in place of every \(x\) in \(2x + 3 = 11\) gives \(2\left(4\right) + 3 = 11\).
Step 4c
Step 4c - Work out both sides.
In this problem: On the left, \(2\left(4\right) + 3 = 11\). On the right, \(11\). Both sides are equal, so \(x = 4\) is correct.
Final Answer
See Example 2 Hide Example 2
Problem
Approach
Step-by-step method
- Set up the problem.
- Expand and simplify. Remove the brackets and combine the like terms on each side, covered in the Simplifying Algebraic Expressions Calculator.
- Collect the variable terms. Move every term that holds the variable onto one side by adding or subtracting that term on both sides, so the equation stays balanced.
- Collect the constant terms. Move every constant onto the other side by adding or subtracting that constant on both sides, so the equation stays balanced.
- Isolate the variable. Undo the coefficient that is still attached to the variable, covered in the Solving One-Step Equations Calculator.
- Verify the solution. Put the answer back into the original equation and check that both sides come out equal.
Depending on the equation, some of these steps are not needed, so they are skipped.
Step 1
Step 1 - Set up the problem.
In this problem: The equation is \(3x - 5 = x + 7\), with \(3x - 5\) on the left of the equals sign and \(x + 7\) on the right.
Step 2
Step 2 - Collect the variable terms. Move every term that holds the variable onto one side by adding or subtracting that term on both sides, so the equation stays balanced.
In this problem: The left side holds \(3x\) and the right side holds \(x\), so a variable term is still sitting on the right.
Step 2a
Step 2a - Subtract \(x\) from both sides.
In this problem: To gather both variable terms on the left, \(x\) is subtracted from both sides.
Step 2b
Step 2b - Work out each side.
In this problem: On the left, \(3x - x = 2x\). On the right, \(x - x = 0\), so the right side no longer holds \(x\).
Step 3
Step 3 - Collect the constant terms. Move every constant onto the other side by adding or subtracting that constant on both sides, so the equation stays balanced.
In this problem: The left side is \(2x - 5\), which still holds the constant \(-5\).
Step 3a
Step 3a - Add \(5\) to both sides.
In this problem: \(5\) is added to both sides to clear that constant off the left.
Step 3b
Step 3b - Work out each side.
In this problem: On the left, \(-5 + 5 = 0\), so only the variable term is left there. On the right, \(7 + 5 = 12\).
Step 4
Step 4 - Isolate the variable. Undo the coefficient that is still attached to the variable, covered in the Solving One-Step Equations Calculator.
In this problem: The left side of \(2x = 12\) is \(2x\), so \(x\) still carries the coefficient \(2\). Solving this one-step equation gives \(x = 6\), worked through below.
Problem
Approach
Step-by-step method
- Set up the problem.
- Look at the side holding the variable, find the operation attached to it, and do the inverse operation to both sides so the equation stays balanced.
- Work out each side, which leaves the variable on its own.
- Check the answer by putting it back into the original equation.
Step 1
Step 1 - Set up the problem.
In this problem: The equation is \(2x = 12\), with \(2x\) on the left and \(12\) on the right.
Step 2
Step 2 - Look at the side holding the variable, find the operation attached to it, and do the inverse operation to both sides so the equation stays balanced.
In this problem: The side holding \(x\) is \(2x\), so the operation on \(x\) is multiplying by \(2\). The inverse of that is to divide by \(2\), and doing it to \(2x\) and to \(12\) keeps both sides equal.
Step 3
Step 3 - Work out each side, which leaves the variable on its own.
In this problem: On the left, \(\frac{2x}{2}\) leaves \(x\). On the right, \(\frac{12}{2} = 6\). Putting the two together gives \(x = 6\).
Step 4
Step 4 - Check the answer by putting it back into the original equation.
In this problem: The answer \(x = 6\) is checked in three parts: write the original equation, put \(6\) in place of \(x\), then work out both sides.
Step 4a
Step 4a - Write the original equation.
In this problem: The original equation is \(2x = 12\).
Step 4b
Step 4b - Put the answer in place of the variable.
In this problem: Putting \(6\) in place of \(x\) in \(2x = 12\) gives \(2 \cdot 6 = 12\).
Step 4c
Step 4c - Work out both sides.
In this problem: \(2 \cdot 6 = 12\), which matches the other side, \(12\). Both sides are equal, so \(x = 6\) is correct.
Final Answer
Step 5
Step 5 - Verify the solution. Put the answer back into the original equation and check that both sides come out equal.
In this problem: The answer \(x = 6\) is checked in three parts: write the original equation, put \(6\) in place of \(x\), then work out both sides.
Step 5a
Step 5a - Write the original equation.
In this problem: The original equation is \(3x - 5 = x + 7\).
Step 5b
Step 5b - Put the answer in place of the variable.
In this problem: Putting \(6\) in place of every \(x\) in \(3x - 5 = x + 7\) gives \(3\left(6\right) - 5 = 6 + 7\).
Step 5c
Step 5c - Work out both sides.
In this problem: On the left, \(3\left(6\right) - 5 = 13\). On the right, \(6 + 7 = 13\). Both sides are equal, so \(x = 6\) is correct.
Final Answer
Login and upgrade to Plus to unlock the full step solution.
Example Problems
Click one to load it into the box and solve it.