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 ✓ |
What is a linear equation?
A linear equation is an algebraic equation where the variable has exponent 1. The standard form is ax + b = 0. When graphed, it produces a straight line – hence the name "linear."
How do you solve a linear equation?
Isolate the variable by performing the same operations on both sides. First move constants to one side, then divide by the coefficient. The goal is to get x alone on one side.
What if a = 0 in ax + b = 0?
If a = 0 and b ≠ 0, there is no solution (e.g., 0x + 5 = 0 is impossible). If a = 0 and b = 0, every number is a solution (0x + 0 = 0 is always true).
Can linear equations have fractions as solutions?
Yes, solutions can be any real number: integers, fractions, decimals, or irrational numbers. For example, 3x = 1 gives x = 1/3, and √2x = 2 gives x = √2.
How is this different from quadratic equations?
Linear equations have x to the first power and always have one solution. Quadratic equations have x² and can have 0, 1, or 2 solutions. Linear graphs are lines; quadratic graphs are parabolas.
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