Skip to main content

Sigma Calculator — 527+ Free Calculator Tools

Math Equation Solver

Solve linear equations instantly — enter ax + b = c and get x with every algebraic step shown. Free and step-by-step.

Solves ax + b = c for x.

Home » Math Calculators » Math Equation Solver

Solving ax + b = c is the gateway skill of algebra: isolate x by undoing what the equation does to it. Subtract b from both sides, divide by a — two inverse operations, one answer. Our free Math Equation Solver solves any linear equation in this form and shows each step, so the method is learned, not just the answer.

The logic is balance: an equation is a scale, and whatever you do to one side you must do to the other. Subtracting b tips nothing because both pans lose b; dividing by a shrinks both pans equally. The solver’s steps are this balance principle applied twice.

Linear equations model flat-rate pricing, break-even points, unit conversions, and every “find the unknown” scenario with a constant rate. Mastering ax + b = c unlocks all of them — and the solver’s step display is the fastest way to internalize the moves.

How to Use the Math Equation Calculator

  1. Enter a, b, c for the equation ax + b = c (example: 3x + 7 = 22).
  2. Click Solve for x. The calculator subtracts b, then divides by a.
  3. Follow the two steps shown — each preserves the balance.
  4. Read x in large type, with the substitution check below.
  5. Press Reset to restore the example.

The Balance Principle

An equation asserts two expressions are equal — picture a balance scale. Solving means reshaping the equation until x stands alone, using only balance-preserving moves: add/subtract the same value from both sides, or multiply/divide both sides by the same nonzero value. The scale stays level; the form simplifies.

For ax + b = c, two moves suffice. Step 1: subtract b from both sides → ax = c − b (the constant is isolated with x’s term). Step 2: divide by a → x = (c − b)/a. Each step undoes one operation in reverse order — subtraction undoes the +b, division undoes the ×a. This “peel from the outside” strategy generalizes to all equations.

The special case a = 0 breaks the pattern: 0x + b = c is either always true (b = c, infinite solutions) or never true (b ≠ c, no solution). There is no x to isolate — the equation is about constants. The solver detects and reports both cases explicitly.

The check — substituting x back — is not optional polish; it is the proof the steps preserved balance. A correct solution always satisfies the original equation. The solver’s check line performs this proof automatically.

Solution Formula and Worked Examples

ax + b = c → x = (c − b) / a (a ≠ 0)

If a = 0: infinite solutions when b = c, no solution when b ≠ c.

Example 1 — 3x + 7 = 22

Subtract 7: 3x = 15. Divide by 3: x = 5. Check: 3(5)+7 = 22 ✓.

Example 2 — 5x − 3 = 12

Add 3: 5x = 15. Divide by 5: x = 3. Check: 5(3)−3 = 12 ✓. Subtracting a negative is adding — track the sign.

Example 3 — −2x + 4 = 10

Subtract 4: −2x = 6. Divide by −2: x = −3. Check: −2(−3)+4 = 10 ✓. Dividing by a negative flips the quotient’s sign.

Example 4 — 0x + 5 = 5

a = 0 and b = c: the equation is 5 = 5, true for every x — infinitely many solutions. The solver reports this instead of dividing by zero.

Practical Example: Linear Equations in Real Life

A phone plan costs $20 + $0.10 per minute, and the bill is $35: 0.10x + 20 = 35 → 0.10x = 15 → x = 150 minutes. The equation solver turns the bill into usage in two steps.

A baker needs 500 g flour total; the recipe uses 2x + 50 = 500 where x is per-batch flour: 2x = 450 → x = 225 g per batch. Scaling recipes is linear-equation solving.

Break-even: cost = 1000 + 5x, revenue = 12x. Set equal: 12x = 1000 + 5x → 7x = 1000 → x ≈ 142.86 units. (Rearranged to the solver’s form first.) The equation finds the exact crossover point.

Common Mistakes Solving Linear Equations

Why Balance Moves Preserve Solutions

Adding the same value to both sides preserves the solution set because equality is preserved under function application: if u = v, then u + k = v + k for any k. The new equation’s solutions include all old ones — and since subtraction by k reverses it, no new ones sneak in. The solution sets are identical.

Multiplying by a nonzero k works the same way: u = v ⟺ ku = kv (k ≠ 0), with division by k as the reverse. But k = 0 breaks the reverse — 0·u = 0·v is true for all u, v, admitting extraneous “solutions.” This is why dividing by zero (or by an expression that could be zero) is forbidden: it can manufacture false solutions.

Every equation-solving technique is a chain of such reversible steps ending at x = value. The solver’s two steps — subtract b, divide by a ≠ 0 — are each reversible, so the x it reports is the solution, guaranteed. The check is the experimental confirmation of this logical guarantee.

The equation ax + b = c is the one-dimensional linear system, and its solution x = (c−b)/a is Cramer’s rule in 1D (determinant = a). The degenerate case a = 0 is rank deficiency: the 1×1 matrix is singular, giving zero or infinite solutions. Everything in linear algebra — pivots, rank, nullspace — is this equation grown up. Mastering the 1D case is literally the first chapter of the n-dimensional theory.

More Worked Examples

Example 5 — x/4 + 2 = 5

Rewrite as (1/4)x + 2 = 5: subtract 2 → x/4 = 3; multiply by 4 → x = 12. Fractional coefficients solve the same way — a = 1/4 here.

Example 6 — 10 − x = 4

Rewrite as −x + 10 = 4 (a = −1, b = 10): subtract 10 → −x = −6; divide by −1 → x = 6. Check: 10 − 6 = 4 ✓.

Example 7 — 0x + 3 = 7

a = 0, b ≠ c: 3 = 7 is false — no solution. No x can fix a false statement about constants. The solver reports “no solution.”

Practice Problems

Problem 1

Solve 7x − 5 = 30 by hand (add 5, divide by 7), then verify the steps and check with the solver.

Problem 2

Solve x/3 + 4 = 10. (Hint: a = 1/3 here — or multiply through by 3 first.) What does the solver show?

Problem 3

Create an equation with solution x = −4 (pick a and b, compute c), then give it to a friend to solve. Verify with the solver.

Case Study: The Taxi Fare

A taxi charges $3.50 pickup plus $2.10 per mile. A $24.50 ride went how far? 2.10x + 3.50 = 24.50 → 2.10x = 21 → x = 10 miles. The solver’s two steps mirror the rider’s mental math: subtract the flag fare, divide by the rate.

The driver’s app inverts this all day: given distance, quote fare (evaluation); given fare, audit distance (solving). The equation ax + b = c is the business model in both directions — and every dispute (“that ride was not 10 miles!”) is settled by the check line: 2.10(10) + 3.50 = 24.50 ✓.

Key Takeaways

Related Calculators

Frequently Asked Questions

How do you solve ax + b = c?

Subtract b from both sides to get ax = c − b, then divide by a: x = (c − b)/a. Check by substituting back.

What is 3x + 7 = 22?

x = 5. Subtract 7: 3x = 15. Divide by 3: x = 5. Check: 3(5) + 7 = 22.

Why do you do the same thing to both sides?

An equation is a balance: both sides are equal, so applying the same operation to both keeps them equal. One-sided moves destroy the equality.

Which operation do you undo first?

The outermost one: in 3x + 7, the +7 is applied last, so subtract it first, then divide by 3. Work outside-in.

What if a = 0?

Then it is not really an x-equation: 0x + b = c is either always true (infinite solutions, if b = c) or never true (no solution, if b ≠ c).

How do you check a solution?

Substitute it into the original equation. For x = 5 in 3x + 7 = 22: 3(5)+7 = 22 ✓. A correct solution always satisfies the original.

Can x be negative?

Yes. −2x + 4 = 10 gives x = −3. Negative coefficients and solutions are routine — follow the same steps.

What about equations with x on both sides?

Gather x-terms on one side first (subtract to combine), reducing to ax + b = c form. Example: 5x + 2 = 3x + 8 → 2x = 6 → x = 3.

Cite this page as: Math Equation Solver. Sigma Calculator. Retrieved October 10, 2026, from https://sigmacalculator.net/math-calculators/math-equation-solver/

Last updated: October 10, 2026