Solving Linear Equations
This equation solver finds the value of an unknown that makes a statement true, and instead of handing you an answer it shows the rearrangement line by line. Type in a one-step equation like x + 7 = 12, or a multi-step one with brackets and the unknown on both sides, and it returns the solution with a substitution check that proves it. The equations it handles are linear — the unknown is never raised to a power, so each one graphs as a straight line. Students use it for homework, parents to help at the kitchen table, and adults whenever a price, a score or a quantity needs pinning down.
Standard Solving Procedure:
- Eliminate parentheses using the distributive law.
- Combine like terms on both sides of the equal sign.
- Use addition or subtraction to collect variable terms on one side and constant terms on the other.
- Divide or multiply to solve for the coefficient of $x$.
- Substitute the result back into original equation to verify correctness.
The Parts of a Linear Equation
Most linear equations can be massaged into the shape ax + b = c, and each symbol has a fixed role. The letter x is the unknown, the value you are solving for. The number a, written against x, is its coefficient — it counts how many copies of x you hold. The number b is a constant alongside the x-term, and c is the total on the far side of the equals sign. The finish is then always the same shape: x = (c − b) ÷ a.
Using the Solver, Step by Step
- Type your equation into the input box at the top of the page, exactly as written, with x for the unknown — for example 5x − 15 = 35.
- Or pick a sample: tap one of the sample problems beneath the box to load a ready-made equation instead.
- Press Solve Free (or hit Enter) and the solver rearranges your equation one balanced step at a time.
- Read to the end: the final lines substitute the answer back into your original equation, so you can watch both sides match before writing anything down.
Worked Example: 3(x − 2) = 2x + 5
This equation combines all three standard moves — a bracket to expand, x-terms on both sides, and a final isolation — which makes it a good template for most homework questions.
- Distribute: multiply everything inside the bracket by 3, giving 3x − 6 = 2x + 5. Both terms inside get multiplied, not just the first one.
- Collect the x terms: subtract 2x from both sides → x − 6 = 5. The unknown now appears only once, which is the whole point of this stage.
- Isolate x: add 6 to both sides to undo the subtraction → x = 11.
- Check: 3(11 − 2) = 3 × 9 = 27 on the left, and 2(11) + 5 = 27 on the right. Both sides match, so x = 11 is correct.
Worked Example: (2/3)x + 1 = 7
Fractions unsettle many students, but the routine does not change — the only extra idea is that multiplying by a reciprocal clears a fraction in a single move.
- Undo the addition first: subtract 1 from both sides, leaving (2/3)x = 6. The fraction clings to x, so it is dealt with last, not first.
- Clear the fraction: multiply both sides by 3/2, the reciprocal of 2/3. On the left the fractions cancel, leaving plain x; on the right, 6 × 3/2 = 9.
- Result: x = 9. There was no separate division step, because multiplying by the reciprocal is the division, folded into one move.
- Check: (2/3) × 9 = 6, and 6 + 1 = 7 — exactly the right-hand side of the original equation. The answer holds.
Solve for x: The Skill Behind Every Equation
Almost every equation search is really a “solve for x” search: undo what was done to x, in reverse order, keeping both sides balanced. Take 4(x − 2) = 3x + 5. Expand the bracket (4x − 8 = 3x + 5), collect x on one side (x − 8 = 5), then undo the subtraction (x = 13). Verify before you trust it: 4(13 − 2) = 44 and 3(13) + 5 = 44 — both sides agree, so x = 13 is proven, not guessed. The solver above narrates exactly this undoing for any linear equation you enter. The algebra calculator applies the same undoing to full expressions and formulas, not just single equations.
When There Is No Single Answer
Not every equation ends with one number. If the x terms cancel and leave a false statement like 4 = 9, the equation has no solution — no value of x can make it true. If they cancel and leave a true statement like 7 = 7, the equation is an identity and every real number is a solution. The solver above reports these cases instead of forcing a number, which is exactly the answer your teacher is looking for when a problem is designed to have none.
Where Equation Solving Earns Its Keep
An equation is the right tool whenever a total is fixed and one part of it is missing. A student who scored 72 and 81 on two tests solves (72 + 81 + x) ÷ 3 = 80 to discover the 87 needed on the third. A stallholder adds fixed pitch rent to per-item costs and finds how many items must sell before profit starts. A plumber quoting a call-out fee plus an hourly rate works backwards from a customer’s budget to the hours it buys. A cook scaling a recipe solves for the one ingredient nobody wrote down.
Three Errors This Solver Helps You Catch
Teachers see the same three slips again and again:
- Half-distributing a bracket. 3(x − 2) is 3x − 6, never 3x − 2: the number outside multiplies every term inside, the constant included.
- Carrying a sign across unchanged. A term that crosses the equals sign changes sign: the −4 in x − 4 = 9 becomes +4, so x = 13 — not 5.
- Dividing only the x-term. In 2x + 6 = 14, dividing by 2 means dividing every term, giving x + 3 = 7. Dividing just the 2x unbalances everything that follows.
If your problem arrives as a story rather than an equation — two numbers with a given sum, a discount with tax, a needed test score — the word problem calculator sets the equation up for you, and you can bring it back here to solve. If the problem uses an inequality sign instead of an equals sign, the inequality calculator handles it with the same step-by-step working. Need to check a different kind of problem next? Head back to the math solver for step-by-step help with fractions, exponents, quadratics and more.