Linear Equation Solver
Solve linear equations of the form ax + b = c, or more complex equations with variables on both sides (ax + b = cx + d). Full step-by-step working shown — collecting terms, isolating x, and checking the answer.
Solving: 3x + 5 = 14
Solution
x = 3
How it works
Write the equation
We need to solve for x in the equation 3x +5 = 14.
Subtract 5 from both sides
Subtract 5 from both sides to isolate the x term.
Result:3x = 9Divide both sides by 3
Divide both sides by 3 to find x.
Result:x = 3Check
Substitute x = 3 back: 3 × 3 +5 = 14 ✓
The formula
Example substitution
Subtract 5 from both sides: 3x = 9. Divide by 3: x = 3.
Worked examples
Solve 3x + 5 = 14
- 1Subtract 5: 3x = 9
- 2Divide by 3: x = 3
- 3Check: 3(3) + 5 = 14 ✓
Solve 2x − 7 = 11
- 1Add 7: 2x = 18
- 2Divide by 2: x = 9
Solve 4x + 3 = 2x + 11
- 1Collect x terms: 2x + 3 = 11
- 2Subtract 3: 2x = 8
- 3Divide by 2: x = 4
Frequently asked questions
How do you solve a linear equation?+
Collect all x terms on one side, collect constants on the other, then divide to find x.
How do you solve 3x + 5 = 20?+
Subtract 5: 3x = 15. Divide by 3: x = 5.
How do you solve equations with x on both sides?+
Subtract the smaller x term from both sides first. E.g., 5x + 3 = 2x + 12 → 3x = 9 → x = 3.
How do you check a linear equation answer?+
Substitute your value of x back into the original equation. Both sides should be equal.