Skip to content
Quasar Tools Logo

How to Solve Equations on a Calculator

How to solve equations on a calculator: step-by-step methods for linear, quadratic, and polynomial equations with worked examples and free online solvers.

DH
Tutorials & How-Tos12 min read2,700 words

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.

4Equation types coveredlinear, quadratic, cubic, polynomial
100%Step-by-step workingshown for every solution
0Installs requiredall solvers run in browser

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

Every polynomial equation of odd degree with real coefficients has at least one real solution. Even-degree equations may have no real solutions at all — their solutions may be entirely complex. This is why a quadratic can return "no real solutions" while a cubic always returns at least one.

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

Always perform the same operation on both sides of the equation simultaneously. The equation is a balance — whatever you do to one side, you must do to the other. Adding 4 to the left side only would change the equation entirely, not just simplify it.
Equation typeNumber of solutionsMethodExample
Linear (ax + b = c)1 (exactly)Two-step isolation3x + 7 = 22 → x = 5
Contradiction (0x = 5)0 (no solution)Identifies contradictionx = x + 1 → no solution
Identity (0x = 0)∞ (all reals)Identifies identity2x = 2x → any x
Two-sided variable (ax = bx+c)1 (collect terms)Collect then solve5x = 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.

Quasar Tools math guide

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.

1

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`.

2

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.

3

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.

4

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.

Open tool

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.


EquationDegreeMax real rootsRecommended tool
ax + b = 011Linear Equation Solver
ax² + bx + c = 022Quadratic Equation Solver
ax³ + bx² + cx + d = 033Polynomial Root Finder
ax⁴ + ... = 044Polynomial Root Finder
axⁿ + ... = 0 (n ≥ 5)nnPolynomial Root Finder (numeric)
Two-variable system11×1Linear 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

For word problems, always define your variable explicitly before writing the equation. "Let x = the number of units produced" is more precise than leaving `x` undefined in the equation. An explicit definition prevents sign errors and clarifies which solution is meaningful — a negative root for a quantity of units, for example, is mathematically valid but physically meaningless.

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

When using the quadratic formula on an equation with fractional coefficients (such as `(1/2)x² + (3/4)x - 2 = 0`), multiply every term by the LCD before applying the formula. Working with fractional coefficients in the formula is error-prone and unnecessarily complex — clearing denominators first reduces calculation mistakes significantly.

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.

Frequently Asked Questions

For a linear equation like 3x + 7 = 22, subtract 7 from both sides to get 3x = 15, then divide both sides by 3 to get x = 5. A scientific calculator handles the arithmetic; the Quasar Tools Linear Equation Solver shows each algebraic step. For quadratic and higher-degree equations, use a dedicated equation solver — enter the coefficients and the tool applies the appropriate formula or numerical method and returns all solutions with step-by-step working.

The quadratic formula is x = (-b ± √(b² - 4ac)) / 2a. Use it when you have an equation in the form ax² + bx + c = 0 and the equation cannot be easily factored. The term b² - 4ac is called the discriminant: if it is positive, there are two real solutions; if it is zero, there is exactly one real solution; if it is negative, the solutions are complex (involve the imaginary unit i). The Quadratic Equation Solver on Quasar Tools applies this formula automatically and shows all three cases.

Isolate x on one side of the equation by performing the same operation on both sides. The goal is to get x = a number. Work backwards through the operations applied to x: if 5x - 3 = 17, add 3 to both sides to get 5x = 20, then divide both sides by 5 to get x = 4. The Linear Equation Solver on Quasar Tools shows this step-by-step process, which is useful for checking your own working or understanding where you made an error.

Yes, for systems of linear equations — two or more equations with two or more unknowns. A system of two equations with two variables (x and y) can be solved by substitution or elimination. The Linear Equations Solver on Quasar Tools handles 2x2 and 3x3 systems. For non-linear equations with multiple variables, exact symbolic solutions are not generally available — numerical methods like Newton-Raphson iteration approximate solutions to any desired precision.

A polynomial equation has the form aₙxⁿ + aₙ₋₁xⁿ⁻¹ + ... + a₁x + a₀ = 0. Linear equations are degree-1 polynomials; quadratic equations are degree-2. Degree-3 (cubic) and degree-4 (quartic) equations have exact formulas but they are complex to apply by hand. For degree-5 and above, no general algebraic formula exists — you use numerical root-finding methods. The Polynomial Root Finder on Quasar Tools handles equations up to degree 6 using numerical methods and returns all real and complex roots.

Substitute the solution back into the original equation and verify both sides are equal. For example, if you solved 2x + 3 = 11 and got x = 4, substitute: 2(4) + 3 = 8 + 3 = 11. Both sides equal 11, so x = 4 is correct. For quadratic solutions, check both roots. For fractional solutions, use the Fraction Calculator to perform exact arithmetic without rounding errors that can mask a wrong answer during verification.

When the discriminant (b² - 4ac) of a quadratic equation is negative, the square root of a negative number appears in the quadratic formula. Real numbers do not include square roots of negatives, so there are no real solutions. The solutions are complex: x = (-b ± i√|discriminant|) / 2a, where i is the imaginary unit (i² = -1). Complex solutions are valid in many physics, engineering, and signal processing contexts. The Quadratic Equation Solver on Quasar Tools shows complex solutions in the form a + bi.

A basic calculator evaluates arithmetic expressions — it computes 3 × 7 + 2 but cannot solve 3x + 2 = 23. An equation solver works algebraically — it identifies the unknown variable and applies algebraic manipulation (or numerical methods) to find its value. Scientific calculators often include numeric equation solvers that iterate to find approximate roots. Dedicated equation solvers like those on Quasar Tools solve symbolically for exact results and show step-by-step working, which is more useful for learning and verification than a numeric-only answer.

ShareXLinkedIn

Related articles