Linear Equation Calculator
A linear (first-degree) equation has x to the first power and one solution. Enter the coefficients of ax + b = cx + d and the calculator isolates x and shows each step.
Your numbers
Result
| Step | Detail |
|---|---|
| Equation | 2x + 3 = 0x + 7 |
| Move x terms together | (2 - 0)x = 7 - 3 |
| x = (d - b) / (a - c) | x = 2 |
How to solve for x
Gather the x terms on one side and the numbers on the other: from ax + b = cx + d, subtract to get (a - c)x = d - b, then divide: x = (d - b) / (a - c). For 2x + 3 = 7 (a=2, b=3, c=0, d=7): x = (7 - 3) / 2 = 2.
No solution or every solution
If the x coefficients are equal (a = c), there is no x left to solve. If the constants also match, every value of x works (an identity); if they differ, no value works. The calculator flags both cases.
Frequently asked questions
Sources
- Algebra — solving linear equations
Related calculators
Quadratic Equation
Solve quadratic equations ax² + bx + c = 0 with the quadratic formula. Enter the coefficients to see the discriminant and the roots.
CalculateMathProportion
Solve a proportion a/b = c/d for any missing term by cross multiplication. Enter the three known values and choose which one to solve for.
CalculateMathRule of Three
Solve the rule of three: enter three known values and find the fourth. Supports direct and inverse proportion with the step-by-step work.
Calculate