Enter a and b for ax + b = 0.
Linear Equation Solver
Solve a one-variable linear equation in the form ax + b = 0 and verify the solution by substitution.
Enter your values
Use the example values or replace them with your own. Required validation happens before the calculation.
Result
How to use the Linear Equation Solver
Follow these steps to get a reliable result and understand how it was produced.
The constant is isolated from the x term.
Divide by a and verify the resulting x.
Understanding the calculation
Move the constant term to the other side and divide by the non-zero coefficient of x.
x = −b/aThe result panel substitutes your numbers into this relationship and shows the important intermediate values.
Common uses
- Algebra homework
- Rate and cost equations
- Rearranging simple formulas
Accuracy tips
- If a is zero, the equation is not a one-variable linear equation with one solution.
- Negative and decimal coefficients are accepted.
- The verification residual should be zero apart from tiny rounding effects.
Linear Equation Solver FAQs
Important details about formulas, inputs, limitations, and result interpretation.
What happens if a equals zero?
The equation no longer determines a unique x in this form.
Can the answer be a decimal?
Yes. Decimal and fractional-equivalent answers are common.
How does verification work?
The calculated x is substituted back into ax+b to check that it equals zero.
Does this solve equations with x on both sides?
First rearrange the equation into ax+b=0, then enter the resulting coefficients.