Linear equation solver
Solve the equation of the form ax + b = 0 with integer or decimal coefficients. See how the root is checked and what happens when a = 0.
Calculate the result
Worked example
Problem
Solve the equation 0.5x − 1.5 = 0 and check the solution by substitution.
The equation 0.5x − 1.5 = 0 has the unique solution x = 3.
Add 1.5 to both sides
Divide by the coefficient of x
Check in the original equation
Common mistake
We divide by a only when a ≠ 0. If a = 0, the equation becomes the equality b = 0, which is either true for every x or impossible.