Linear Equation Calculator with Steps
Linear Equation Calculator \(ax+b=0\)
Enter coefficients a and b to see how the constant is moved, the reduced fraction, and the decimal form.
The calculator above solves the linear equation ax + b = 0 and explains each step, including the special cases where a = 0.
Formulas used
ax + b = 0
x = −b / a (a ≠ 0)
- a ≠ 0: exactly one solution, x = −b/a.
- a = 0 and b = 0: every real number is a solution.
- a = 0 and b ≠ 0: no solution.
Worked example
Solve 3x − 12 = 0. Move the constant and divide by 3:
3x = 12 ⇒ x = 4
Enter the same values in the calculator above to see every step of the solution.
How to use the calculator
- Enter the coefficients a and b.
- Press the calculate button. The result appears instantly.
- Read the step-by-step solution, rendered with KaTeX, to check your own work.