Algebra

Linear Equation Solver

A linear equation in one variable has the form mx + b = c. The solver isolates x by subtracting b from both sides and dividing by m, showing each operation. It also handles the special cases where m = 0, which give either no solution or infinitely many.

Linear Equation Solver

Solve mx + b = c for x with each algebra step shown.

Try:

Frequently asked questions

What form of equation does this accept?

It solves mx + b = c. Rearrange other linear equations into this shape, collecting the variable on the left.

What happens when m is 0?

The variable disappears: the equation has infinitely many solutions when b = c, and no solution otherwise.

Can the answer be a fraction?

Yes. The result is shown as an exact decimal, rounded only to remove floating-point noise.