Overview
A linear equation ax + b = c has one unknown to the first power. Solving it means isolating x.
Enter a, b and c to see the solution with its steps and a check.
Worked examples
| Inputs | Result |
|---|---|
| a3b7c25 | x = 6Steps: 3x = 25 − 7 = 18, so x = 18 ÷ 3Check: 3 × 6 + 7 = 25 |
Show 3 more examples
| a2b5c17 | x = 6Steps: 2x = 17 − 5 = 12, so x = 12 ÷ 2Check: 2 × 6 + 5 = 17 |
| a-4b3c-9 | x = 3Steps: -4x = -9 − 3 = -12, so x = -12 ÷ -4Check: -4 × 3 + 3 = -9 |
| a0.5b1c4 | x = 6Steps: 0.5x = 4 − 1 = 3, so x = 3 ÷ 0.5Check: 0.5 × 6 + 1 = 4 |
Linear Equation Solver (ax + b = c) by c
With the calculator's starting values, the result is 6. The table shows how it changes with the c.
| c | Linear Equation Solver (ax + b = c) |
|---|---|
| 15 | 2.66667 |
| 20 | 4.33333 |
| 25starting value | 6 |
| 30 | 7.66667 |
| 35 | 9.33333 |
Other inputs: a: 3 · b: 7. Change them in the calculator above for your own numbers.
How it works
Subtract b from both sides to get ax = c − b, then divide by a. If a is 0 there is either no solution or infinitely many.
The formula
x = (c − b) ÷ a
| a | Coefficient of x |
| b | Constant on the left |
| c | Right-hand side |
Practical tips
- Always substitute back to check.
- If a = 0 and b ≠ c, the equation can never be true.
Frequently asked questions
Solve 2x + 5 = 17.
x = 6.
What if a is negative?
The method is the same; dividing by a negative number flips the sign.