Solving equations on a calculator is not just about pressing buttons — it is about knowing which method applies to your equation type, what form to put it in first, and how to verify the answer. A linear equation needs two steps; a quadratic needs the formula or factoring; a polynomial of degree three or higher needs numerical methods. This guide walks through every equation type with worked examples and connects you to the right tool for each one.
What an equation solver does
An equation solver finds the value (or values) of the unknown variable that makes the equation true. For a linear equation like `5x - 3 = 17`, the solution is the single value of `x` that satisfies both sides simultaneously. For a quadratic equation, there are typically two solutions. For polynomial equations of degree three and above, there can be three or more — some real, some complex.
The difference between a calculator and an equation solver matters in practice. A standard calculator evaluates arithmetic — it computes `5 × 4 - 3` but cannot determine what `x` must be for `5x - 3 = 17`. An equation solver works algebraically: it rearranges, factors, or applies formulas to isolate the unknown. Dedicated solvers also show step-by-step working, which is essential for checking your own method or understanding where you went wrong.
When to use each equation type
- Linear equations (ax + b = c): one unknown, first degree — use when the variable appears without exponents.
- Quadratic equations (ax² + bx + c = 0): one unknown, second degree — use when the variable appears squared.
- Cubic equations (ax³ + ...): degree 3 — use when the variable appears cubed; exact formulas exist but are complex.
- Polynomial equations (degree 4+): degree 4 and above — general algebraic solutions exist up to degree 4; degree 5+ requires numerical methods.
- Systems of equations: multiple equations and multiple unknowns — solved by substitution, elimination, or matrix methods.
Note
Solving linear equations
A linear equation has one unknown variable raised to the first power. The standard form is `ax + b = c` where `a`, `b`, and `c` are numbers. The solution is always `x = (c - b) / a`. Every linear equation has exactly one solution (unless `a = 0`, in which case it either has infinitely many solutions or none, depending on whether `b = c`).
The two-step method
Solving a linear equation follows two operations in reverse: first undo addition or subtraction, then undo multiplication or division. For `3x + 7 = 22`: subtract 7 from both sides to get `3x = 15`, then divide both sides by 3 to get `x = 5`. Verify by substituting back: `3(5) + 7 = 15 + 7 = 22`. Both sides match, so `x = 5` is correct.
Multi-step linear equations
When the variable appears on both sides of the equation, collect all variable terms on one side first: for `5x - 4 = 2x + 11`, subtract `2x` from both sides to get `3x - 4 = 11`, then add 4 to both sides to get `3x = 15`, then divide by 3 for `x = 5`. The Linear Equation Solver handles any rearrangement automatically and shows each algebraic step, which is useful when the equation involves fractions or decimals.
Tip
| Equation type | Number of solutions | Method | Example |
|---|---|---|---|
| Linear (ax + b = c) | 1 (exactly) | Two-step isolation | 3x + 7 = 22 → x = 5 |
| Contradiction (0x = 5) | 0 (no solution) | Identifies contradiction | x = x + 1 → no solution |
| Identity (0x = 0) | ∞ (all reals) | Identifies identity | 2x = 2x → any x |
| Two-sided variable (ax = bx+c) | 1 (collect terms) | Collect then solve | 5x = 2x+9 → x = 3 |
Solving quadratic equations
A quadratic equation has the form `ax² + bx + c = 0` where `a ≠ 0`. Every quadratic has exactly two solutions in the complex numbers — they may be two distinct real numbers, one repeated real number, or two complex conjugates depending on the discriminant `b² - 4ac`.
The quadratic formula
The universal method for any quadratic is the quadratic formula: `x = (-b ± √(b² - 4ac)) / 2a`. Identify `a`, `b`, and `c` from the equation, substitute into the formula, and evaluate. For `2x² - 5x - 3 = 0`: `a = 2`, `b = -5`, `c = -3`. Discriminant: `(-5)² - 4(2)(-3) = 25 + 24 = 49`. Solutions: `x = (5 ± √49) / 4 = (5 ± 7) / 4`, giving `x = 3` or `x = -0.5`.
Factoring as a faster method
For quadratics where `a = 1` and the roots are integers, factoring is faster. For `x² + 5x + 6 = 0`, find two numbers that multiply to 6 and add to 5: those are 2 and 3. Factor as `(x + 2)(x + 3) = 0`, giving `x = -2` or `x = -3`. Not every quadratic factors over integers — when it does not, the quadratic formula always works. The Quadratic Equation Solver tries factoring first and falls back to the formula automatically.
The discriminant is the equation's fingerprint: positive means two real roots, zero means one repeated root, negative means two complex roots. Check it before solving to know what kind of answer to expect.
How to use the equation solver
The Quasar Tools equation solvers are designed to show the full algebraic process, not just the final answer. Here is how to use them effectively for each equation type.
Identify the equation type and rearrange
Determine the degree of your equation — the highest exponent on the variable. Move all terms to one side so the equation equals zero. For `4x² = 12x - 9`, rearrange to `4x² - 12x + 9 = 0` before entering the coefficients. The standard form prevents sign errors when extracting `a`, `b`, and `c`.
Enter coefficients into the correct solver
Open the Quadratic Equation Solver for degree-2 equations or the Linear Equation Solver for degree-1. Enter the coefficient values — `a = 4`, `b = -12`, `c = 9` for the example above. Use negative numbers for terms with minus signs. Zero is valid for any coefficient that is absent in the equation.
Read the step-by-step output
The solver displays the discriminant, the formula substitution, the intermediate calculations, and the final solutions — all in the order a student would write them. For the example above: discriminant = `(-12)² - 4(4)(9) = 144 - 144 = 0`. One repeated real root: `x = 12 / 8 = 1.5`. Verify: `4(1.5)² - 12(1.5) + 9 = 9 - 18 + 9 = 0`. Confirmed.
Verify by substituting the solution back
Substitute each solution into the original equation (before you rearranged it) and confirm both sides are equal. For fractional solutions, use the Fraction Calculator to perform exact arithmetic. Rounding a solution before substitution can produce a false confirmation if the small rounding error makes both sides appear equal.
Quadratic Equation Solver
Solve any quadratic equation ax² + bx + c = 0 with full step-by-step working, discriminant analysis, and both real and complex root display.
Polynomial and advanced equations
Equations of degree 3 (cubic) and above require different approaches. Closed-form algebraic solutions exist for cubics and quartics but are significantly more complex than the quadratic formula — Cardano's formula for cubics involves cube roots of complex expressions. In practice, numerical root-finding methods are used for degree-3 and above.
Cubic equations (degree 3)
A cubic equation `ax³ + bx² + cx + d = 0` always has at least one real root (since odd-degree polynomials must cross the x-axis). It has either one or three real roots, possibly with some repeated. For simple cubics where one root is obvious by inspection — such as `x³ - 6x² + 11x - 6 = 0` where `x = 1` is clearly a root — factor out `(x - 1)` using polynomial division to reduce to a quadratic, then solve the quadratic with the formula.
Higher-degree polynomials
The Polynomial Root Finder handles equations up to degree 6 using numerical root-finding algorithms. Enter all coefficients from the highest degree down to the constant term — for `2x⁴ - 3x³ + x - 7 = 0`, enter `2, -3, 0, 1, -7` (the missing `x²` coefficient is zero). The solver returns all real and complex roots with their approximate values.
Systems of linear equations
When two or more linear equations share the same unknowns, they form a system. For two equations with two unknowns, solve by substitution (express one variable in terms of the other from the first equation, substitute into the second) or elimination (add or subtract the equations to cancel one variable). The Linear Equations Solver handles 2×2 and 3×3 systems and shows the matrix or substitution method in full.
| Equation | Degree | Max real roots | Recommended tool |
|---|---|---|---|
| ax + b = 0 | 1 | 1 | Linear Equation Solver |
| ax² + bx + c = 0 | 2 | 2 | Quadratic Equation Solver |
| ax³ + bx² + cx + d = 0 | 3 | 3 | Polynomial Root Finder |
| ax⁴ + ... = 0 | 4 | 4 | Polynomial Root Finder |
| axⁿ + ... = 0 (n ≥ 5) | n | n | Polynomial Root Finder (numeric) |
| Two-variable system | 1 | 1×1 | Linear Equations Solver |
Equation solving by subject area
Equations appear in different contexts across mathematics and science, and the approach to solving them varies by subject. Recognising the equation type from its subject context saves time choosing the right method.
Physics and engineering
Kinematic equations produce linear or quadratic equations in time. The vertical motion equation `h = v₀t - ½gt²` is quadratic in `t` — rearrange to `-½gt² + v₀t - h = 0` (multiply through by -1 to get positive leading coefficient), then apply the quadratic formula. Distance-rate-time problems produce linear equations: `d = rt` gives `t = d/r`, a direct one-step solve.
Finance and business
Break-even analysis produces linear equations: total revenue equals total cost gives `px = cx + F` where `p` is selling price, `c` is variable cost per unit, and `F` is fixed costs. Rearrange to `(p - c)x = F`, so `x = F / (p - c)`. Compound interest equations — solving for time given rate and growth factor — produce exponential equations that require logarithms rather than polynomial methods.
Geometry
Area and perimeter problems frequently produce linear or quadratic equations. If a rectangle with width `w` has length `2w + 3` and area 27, then `w(2w + 3) = 27` expands to `2w² + 3w - 27 = 0` — a quadratic. The Pythagorean Theorem Calculator solves for any side of a right triangle given the other two, using the equation `a² + b² = c²` — effectively a one-variable quadratic in the missing side.
Tip
Common mistakes and how to avoid them
Equation-solving errors cluster around a predictable set of mistakes. Knowing them by name makes them faster to identify and correct.
Sign errors when rearranging
The most frequent error: moving a term from one side without flipping its sign. When you subtract `5` from the right side of `3x + 5 = 14`, you must add `-5` to both sides, giving `3x = 14 - 5 = 9`. A common mistake is writing `3x = 14 + 5` because the student moved the 5 without changing the sign. Always write out the full operation: "subtract 5 from both sides" — do not try to do it mentally.
Not reducing to standard form first
Entering `x² = 6x - 5` directly into the quadratic formula by treating `a = 1`, `b = 6`, `c = -5` produces wrong answers. The equation must be in the form `ax² + bx + c = 0` — move all terms to the left: `x² - 6x + 5 = 0`, giving `a = 1`, `b = -6`, `c = 5`. The correct roots are `x = 5` and `x = 1`.
Accepting all mathematical solutions as valid answers
A quadratic from a word problem may produce two valid mathematical solutions, only one of which makes physical sense. If you are solving for the time a ball takes to hit the ground, a negative time value is a valid root of the polynomial but not a valid answer to the problem. Always interpret solutions in the context of the problem and discard physically impossible values.
- Sign flip omission: Always flip the sign when moving a term across the equals sign.
- Wrong standard form: Rearrange to ax² + bx + c = 0 before identifying a, b, c.
- Skipping verification: Always substitute solutions back into the original equation.
- Rounding too early: Keep exact fractions through intermediate steps; round only the final answer.
- Ignoring complex roots: Some problems require complex solutions — do not dismiss them without checking the context.
Warning
Key takeaways
- Identify your equation type first — linear (degree 1), quadratic (degree 2), or polynomial (degree 3+) — since each requires a different solving method.
- Always rearrange to standard form (all terms on one side, equal to zero) before entering coefficients into any equation solver.
- The Quadratic Equation Solver handles all three discriminant cases: two real roots, one repeated root, and two complex roots.
- For polynomial equations of degree 3 and above, use the Polynomial Root Finder — exact formulas exist up to degree 4 but numerical methods are practical for all degrees.
- Always verify your solution by substituting back into the original equation — use the Fraction Calculator for exact arithmetic during verification.
- Sign errors and skipping standard form rearrangement are the two most common causes of wrong answers — both are easy to prevent with a systematic approach.
- Word problems often produce two mathematical solutions; always interpret each in context and discard any solution that is physically or practically impossible.