Linear Equation Solver – Solve ax + b = 0
Solve equations in the form: ax + b = 0
Isolate the Variable Term
Start with ax + b = 0. Subtract b from both sides to get ax = -b. This moves the constant to the right side, leaving the variable term alone on the left.
Divide by the Coefficient
Divide both sides by a to isolate x: x = -b/a. This gives the solution directly. The coefficient a must not be zero for a unique solution.
Verify the Solution
Substitute x back into the original equation. If a(-b/a) + b = 0 simplifies to 0 = 0, the solution is correct. This check catches calculation errors.
**Standard Form**
Linear equations have the form ax + b = 0 where a ≠ 0. The variable x has exponent 1 (not squared or higher). Graph is always a straight line with slope a.
**Unique Solution**
Every linear equation with a ≠ 0 has exactly one solution: x = -b/a. This distinguishes linear from quadratic equations which can have 0, 1, or 2 solutions.
**Special Cases**
If a = 0 and b ≠ 0, there is no solution (contradiction). If a = 0 and b = 0, every x is a solution (identity). These edge cases require special handling.
**Graphical Interpretation**
The solution x = -b/a is where the line y = ax + b crosses the x-axis (x-intercept). This is the root or zero of the linear function.
Linear Equation Examples
| Equation | a | b | Solution | Verification |
|---|---|---|---|---|
| 2x - 6 = 0 | 2 | -6 | x = 3 | 2(3)-6=0 ✓ |
| -3x + 12 = 0 | -3 | 12 | x = 4 | -3(4)+12=0 ✓ |
| 5x + 20 = 0 | 5 | 20 | x = -4 | 5(-4)+20=0 ✓ |
| 0.5x - 2 = 0 | 0.5 | -2 | x = 4 | 0.5(4)-2=0 ✓ |
| 7x + 1 = 0 | 7 | 1 | x = -1/7 | 7(-1/7)+1=0 ✓ |
Frequently Asked Questions
Other Free Tools
Quadratic Equation Solver
Quadratic Equation Solver
Determinant Calculator
Determinant Calculator
Matrix Addition Calculator
Matrix Addition Calculator
Matrix Multiplication Calculator
Matrix Multiplication Calculator
Inverse Matrix Calculator
Inverse Matrix Calculator
Expression Evaluator
Expression Evaluator