Equation Solver

Solve linear and quadratic equations step by step.

Calculate Equation Solver

Enter your values in the required fields below to find the result.

Value

Enter coefficient a (x²) (e.g. 1)

Value

Enter coefficient b (x) (e.g. -5)

Value
Calculated Result

Your result

Equation Solver Answer is:

x₁ = 3 , x₂ = 2

Discriminant Δ = 1 · Vertex at x = 2.5

Formula & Live Calculation:
Compute discriminant Δ = (-5)² − 4(1)(6) = 1.

Quick Formula & Verification Check

Full Example ↓
x = [−b ± √(b² − 4ac)] ÷ (2a)
x² − 5x + 6 = 0 ⇒ x = 2 and x = 3
Compute discriminant Δ = (-5)² − 4(1)(6) = 1.
Apply quadratic formula: x = [5 ± √1] ÷ 2.
Need reference examples or calculation notes?
Last updated: November 13, 2026 · Calculation Methodology

Entering Coefficients a, b, and c from Standard Form ax² + bx + c = 0

  1. 1Enter your coefficient a (x²) in the first field.
  2. 2Enter your coefficient b (x) in the second field.
  3. 3Click the Calculate button to compute the exact answer.
  4. 4Review the calculated result, complete equation, and step-by-step breakdown.

How the Discriminant (b² − 4ac) Tells You Whether Roots Are Real or Complex

Every parabola written in standard form ax² + bx + c = 0 (where a ≠ 0) can be solved by completing the square—which condenses into the universal quadratic formula x = (−b ± √(b² − 4ac)) ÷ (2a). The expression underneath the square root sign, Δ = b² − 4ac, is called the discriminant because it discriminates between three geometric possibilities before you even finish the arithmetic.

x = [−b ± √(b² − 4ac)] ÷ (2a)

When Δ > 0, the parabola crosses the x-axis twice (two distinct real roots); when Δ = 0, its vertex kisses the x-axis at a single point (−b / 2a); when Δ < 0, the parabola floats completely above or below the x-axis (two complex conjugate roots).

The Quadratic Formula x = (−b ± √(b² − 4ac)) ÷ 2a & Discriminant Δ

The mathematical formula used by the Equation Solver is:

x = [−b ± √(b² − 4ac)] ÷ (2a)

Solving 2x² − 5x − 3 = 0 for Exact Roots and Vertex Coordinates

x² − 5x + 6 = 0 ⇒ x = 2 and x = 3

Compute discriminant Δ = (-5)² − 4(1)(6) = 1.
Apply quadratic formula: x = [5 ± √1] ÷ 2.
Algebra & Physics Calculation Note · Signs of Coefficients a, b, and c

Why dropping the minus sign on b or c flips the discriminant from negative to positive

In the equation 2x² − 5x − 3 = 0, the coefficients are a = 2, b = −5, and c = −3. Because c is negative, the −4ac term in b² − 4ac becomes −4(2)(−3) = +24, making the discriminant (−5)² + 24 = 49 (a clean perfect square, √49 = 7). If you accidentally enter c = +3 instead of −3, the discriminant shrinks to 25 − 24 = 1 and gives completely wrong roots.

Common Pitfall: Dividing only the √(b² − 4ac) term by 2a instead of the entire numerator

The fraction bar stretches under BOTH −b and ±√Δ: x = (−b ± √Δ) / (2a).

Calculation Note: Quick root-sum and root-product check (Vieta’s Formulas)

Your two roots r₁ and r₂ must always add up to −b/a and multiply to c/a. For 2x² − 5x − 3 = 0, roots 3 and −0.5 sum to 2.5 (−(−5)/2) and multiply to −1.5 (−3/2).

Reading x-Intercepts, Axis of Symmetry (−b / 2a) & Parabola Vertex

Your calculated answer (x₁ = 3 , x₂ = 2) represents the exact mathematical outcome based on your inputs. Discriminant Δ = 1 · Vertex at x = 2.5 This tool is commonly used for algebra coursework, finding unknown variables, and quadratic roots.

Quadratic Discriminant (Δ = b² − 4ac) & Root Behavior Reference Table

How the value of the discriminant determines root count, factoring, and graph geometry.

Reference Lookup Table · Updated November 2026
Discriminant Value (Δ)Example QuadraticRoot ClassificationParabola x-Axis Geometry
Δ > 0 (Perfect Square, Δ = 49)2x² − 5x − 3 = 02 Rational Roots (x = 3, −0.5)Crosses x-axis at two clean fractions
Δ > 0 (Non-Square, Δ = 8)x² − 4x + 2 = 02 Irrational Roots (2 ± √2)Crosses x-axis at 0.586 and 3.414
Δ = 0 (Zero Discriminant)x² − 6x + 9 = 01 Repeated Real Root (x = 3)Vertex touches x-axis at (3, 0)
Δ < 0 (Negative, Δ = −16)x² + 2x + 5 = 02 Complex Roots (−1 ± 2i)Never touches real x-axis

Quadratic Roots, Factoring vs. Formula & Complex Imaginary Root Questions

View All Math Tools
How does the Equation Solver work?
Solve linear and quadratic equations step by step. It uses the formula x = [−b ± √(b² − 4ac)] ÷ (2a) to deliver an instant, accurate answer along with step-by-step equations.
What are common real-life uses for the Equation Solver?
People frequently use this calculator for algebra coursework, finding unknown variables, and quadratic roots. You can also click Copy result or Print to save your calculation.
Can I enter decimal or negative numbers?
Yes. All input fields accept whole numbers and decimal values so you can solve both everyday problems and school or work equations accurately.
Is this calculator free to use?
Yes. Every calculator on SolveItCalculator.com is completely free, works on all devices, and requires no sign-up.
What formula does the Equation Solver use?
The calculation uses x = [−b ± √(b² − 4ac)] ÷ (2a). For example (x² − 5x + 6 = 0 ⇒ x = 2 and x = 3): Compute discriminant Δ = (-5)² − 4(1)(6) = 1.
Quick root-sum and root-product check (Vieta’s Formulas)?
Your two roots r₁ and r₂ must always add up to −b/a and multiply to c/a. For 2x² − 5x − 3 = 0, roots 3 and −0.5 sum to 2.5 (−(−5)/2) and multiply to −1.5 (−3/2).
Formulas and constants reference published standards (see Methodology).