Linear equation calculator guide
A one-variable linear equation has the variable only to the first power. For ax + b = c, subtracting b from both sides gives ax = c - b, and dividing by nonzero a isolates x.
The zero-coefficient case must be classified rather than rejected automatically. If a is zero and b equals c, the equation is an identity true for every real x. If b and c differ, it is inconsistent and has no solution.
How to solve a one-variable linear equation
- Enter a: Provide the finite coefficient multiplying x.
- Enter b and c: Enter the left constant and right-side value.
- Solve: Select Solve for x to classify the equation and show the isolation steps.
- Interpret the classification: A zero a can produce all real numbers or no solution instead of a single numeric x.
Formula and variables
Subtract b from both sides, then divide both sides by a. Equal operations on both sides preserve the equation.
x = (c - b) / a, for a != 0- a — Variable coefficient
- Multiplier of x; a nonzero value produces one solution.
- b — Left constant
- Constant added to ax.
- c — Right side
- Value that the left expression equals.
- x — Unknown
- The value or values that make the equation true.
Solve 2x + 5 = 15
Find the value of x that makes the equation true.
- a
- 2
- b
- 5
- c
- 15
- 2x = 15 - 5
- 2x = 10
- x = 10 / 2
Result: x = 5.
Substituting 5 gives 2(5) + 5 = 15, which verifies the solution.
Understanding your results
Unique solution
When a is nonzero, exactly one real x satisfies the equation.
Identity or inconsistency
When a is zero, compare b and c. Equal constants make the statement always true; unequal constants make it always false.
Assumptions
- The equation has already been reduced to ax + b = c.
- All three coefficients are finite real numbers.
- The variable is interpreted over the real numbers.
Limitations
- The interface does not parse typed expressions with parentheses or variables on both sides.
- It does not solve inequalities, quadratic equations, or systems.
- Floating-point display can round repeating decimals.
- Units must be carried separately when the coefficients represent measured quantities.
Common mistakes
- Moving b across the equals sign without changing its sign.
- Dividing by a before handling the case a = 0.
- Calling every zero-coefficient equation no solution.
- Rounding the solution before checking it.
- Entering an equation that has not been simplified into the displayed form.
Practical use cases
Algebra checking
Verify the isolation steps and classification of a linear equation.
Constant-rate formulas
Recover an unknown input when a relationship has a fixed coefficient and offset.
Planning and decision guide
Simplify first
Combine like terms and move variable terms to one side before translating the equation into a, b, and c. Preserve exact fractions as long as possible in hand work.
Frequently asked questions
What happens when a is zero?
The equation becomes b = c. It has all real solutions if the constants match and no solution if they do not.
Why subtract b first?
Subtracting b from both sides removes the constant next to the variable while preserving equality.
Can the solution be a fraction or decimal?
Yes. Any finite real value can be the unique solution.
How do I verify the answer?
Substitute the calculated x into ax + b and confirm that it equals c.
Does this solve equations with x on both sides?
Simplify those equations first by collecting x terms on one side and constants on the other, then enter the equivalent coefficients.
Sources and review
- Linear Equations in One Variable — OpenStax College Algebra 2e. Accessed 2026-08-29.
- Chapter 2 Key Concepts — OpenStax College Algebra 2e. Accessed 2026-08-29.
Reviewed 2026-08-29.