◎ English

Equation Solver

Type the equation as it is written. The solver expands brackets, clears fractions, collects terms and isolates the unknown step by step; it uses the discriminant and quadratic formula, rational roots with synthetic division for higher degrees and the domain for equations with fractions. Put one equation per line to solve a linear system by elimination. Every root is substituted back as a check.

One equation per line. Example: 2x+3=11, or 2x+3y=7 and x-y=1 on two lines.

Examples

Calculations run in your browser; what you type is not sent to a server.

Result
x2 − 5x + 6 = 0
x = 2
x = 3

Step-by-step solution

  1. Standard form Move every term to the left-hand side.

    x2 − 5x + 6 = 0

  2. Quadratic equation

    a = 1, b = −5, c = 6

  3. Discriminant Δ = b² − 4ac

    Δ = (−5)² − 4·(1)·(6) = 1

  4. Quadratic formula x1,2 = (−b ± √Δ)/(2a)

    x1,2 = (−(−5) ± 1) / (2·1)

    x₁ = 2,  x₂ = 3

  5. Factored form

    (x − 2)·(x − 3) = 0

  6. Check with Vieta’s formulas x₁ + x₂ = −b/a, x₁·x₂ = c/a

    x₁ + x₂ = 5,  x₁·x₂ = 6

Check

  • x = 2: 0 = 0 ✓
  • x = 3: 0 = 0 ✓

Guide: Equation Solver

Linear and quadratic equations

Move the unknown to one side and divide by its coefficient: 2x + 3 = 11 → x = 4. For ax² + bx + c = 0 compute Δ = b² − 4ac; Δ > 0 gives two real roots, Δ = 0 one repeated root and Δ < 0 complex roots, from x = (−b ± √Δ)/(2a). Roots are checked with their sum −b/a and product c/a.

Higher degree and rational equations

Candidates from the rational root theorem are tested; each root found is divided out by synthetic division until a quadratic remains. Without rational roots, the remaining real roots are given numerically and marked as approximate. With unknowns in denominators, values that make a denominator zero are excluded before multiplying through.

Systems of linear equations

The augmented matrix is row-reduced by Gauss–Jordan elimination, which is the elimination method in matrix form. The result is a unique solution, no solution or infinitely many solutions with free variables; a unique solution is substituted back into each equation. Non-linear systems are not supported.

Worked examples

  • Linear: 2x+3=11 x = 4
  • Brackets: 3(x-2)=2x+5 x = 11
  • Quadratic: x^2-5x+6=0 x = 2, x = 3
  • Cubic: x^3-6x^2+11x-6=0 x = 1, x = 2, x = 3
  • Rational equation: (x+1)/(x-1)=2 x = 3
  • 2×2 system: 2x+3y=7 ; x-y=1 x = 2, y = 1

Frequently asked questions

How do I enter a system?

Write one equation per line, e.g. 2x+3y=7 and x-y=1. Up to six equations and six unknowns are supported.

Which equations have no step-by-step solution?

Equations with roots, absolute values, exponentials, logarithms or trigonometric functions, and non-linear systems. For a single equation the symbolic engine’s answer may be shown without steps, and the page says so.

Why are roots checked?

Substituting each root shows both sides are equal; for rational equations this removes extraneous roots that make a denominator zero.

Related tools

Sources: OpenStax — College Algebra 2e · OpenStax — College Algebra 2e, Systems of Equations and Matrices

What would you like to calculate?

Browse all calculators