x² − x − 6 = 0 has a negative constant, and that single fact tells you the shape of the answer before any work: the two roots have opposite signs. The roots multiply to c, which is −6. A negative product can only come from one positive and one negative number. They add to −b, which is +1, so the po...
Type the equation as it is written — it does not have to be in standard form. (x − 2)(x + 3) = 5x − 1 is an ordinary quadratic, and rearranging it into ax² + bx + c = 0 is most of the work. Roots come out exactly: fractions where they are rational, simplified surds like (3 + √17)/4 where they are not, and exact complex pairs where the curve misses the axis. If the squared terms cancel, the equation was linear all along and this solves it rather than complaining.
Powers with ^, brackets, fractions and terms on both sides all work. Any single letter can be the unknown.
TWO REAL ROOTS
x = 3 or −2
Both roots are rational, so the quadratic factors: (x − 3)(x + 2) = 0.
| As typed | x^2 - x - 6 = 0 |
| Expanded | x² − x − 6 = 0 |
| Standard form | x² − x − 6 = 0 |
| Factored | (x − 3)(x + 2) = 0 |
EACH ROOT PUT BACK, EXACTLY
3 → 0 ✓
−2 → 0 ✓
sum 1 against −b/a = 1 ✓
product −6 against c/a = −6 ✓
DISCRIMINANT
25
positive, so two real roots
AXIS OF SYMMETRY
x = 1/2
the roots sit either side of this
AS DECIMALS
3, −2
exact — the roots are rational
FACTORS OVER ℚ
yes
the discriminant is a square number
WHAT IS HAPPENING
x² − x − 6 = 0
Brackets multiplied out and powers expanded, with each side written as a multiple of the square, a multiple of the unknown, and a constant.
x² − x − 6 = 0
Subtracting the right from the left. Only now is the equation in the form the quadratic formula expects, and for most equations as they are actually written this step is the bulk of the work.
(−1)² − 4(1)(−6) = 25
This single number decides the shape of the answer: positive gives two roots, zero gives one, negative gives a conjugate pair with an imaginary part.
x = 3 and x = −2
The discriminant came out a square number, so the roots are fractions and the quadratic factors over the rationals.
(x − 3)(x + 2) = 0
A product is zero exactly when one of its factors is zero, so each bracket gives a root directly. Factoring is quicker than the formula when it is available, and it is available precisely when the discriminant is a square number.
Why the formula is worth trusting over factoring. Factoring is faster when it works, and it works only when the discriminant is a square number — which across quadratics with two real roots and small coefficients is 21.2% of them. On the other four fifths, time spent hunting for factors is time spent looking for something that is not there. The formula never fails to apply, and this page shows the factorisation whenever one genuinely exists so you can see which case you are in rather than guessing.
Exact surds throughout · each root is substituted back symbolically, not numerically
Read the constant: it is negative, so the two roots have opposite signs. That halves the search before it starts.
Note that the middle term −x means −1x, so b is −1 and not 0. Losing that 1 changes the discriminant from 25 to 24.
Find two numbers multiplying to −6 and adding to 1. Those are 3 and −2, giving (x − 3)(x + 2) = 0.
Read the roots as 3 and −2, and check: 9 − 3 − 6 = 0 and 4 + 2 − 6 = 0.
x² − x − 6 = 0 The constant is −6, which is negative, so the roots have opposite signs — a positive product needs matching signs, and this product does not have one. They add to −b = +1, so the positive root is larger in size than the negative one by 1. Two numbers multiplying to −6 and adding to 1: the candidate pairs are (1, −6), (−1, 6), (2, −3) and (−2, 3). The last adds to 1. x² − x − 6 = (x − 3)(x + 2) giving x = 3 and x = −2. Check: 3² − 3 − 6 = 9 − 3 − 6 = 0, and (−2)² − (−2) − 6 = 4 + 2 − 6 = 0. Note the double negative in the second: subtracting −2 adds 2. The invisible 1 deserves attention. The middle term is −x, which is −1x, so b = −1. Reading b as 0 because no number is written gives a discriminant of 0 − 4(1)(−6) = 24 rather than (−1)² − 4(1)(−6) = 25. Twenty-four is not a square number and 25 is, so that one omission turns a pair of whole-number roots into a pair of surds — a wrong answer that looks entirely respectable.
| Rule | What it says | Why |
|---|---|---|
| Standard form | ax² + bx + c = 0 | Everything has to reach this shape first. For most typed equations that is the work. |
| The formula | x = (−b ± √(b² − 4ac)) ÷ 2a | Always available. Factoring is quicker when it is possible, which is not often. |
| The discriminant | b² − 4ac | Positive gives two roots, zero gives one, negative gives a complex pair. |
| Factoring is the exception | 21.2% of real-root cases | Hunting for factors on the rest is time spent on something that is not there. |
| When it factors | the discriminant is a square number | That is the exact test. No guessing required. |
| The axis of symmetry | x = −b ÷ 2a | The roots sit an equal distance either side of it. |
| Roots as surds | (3 + √17)/4, not 1.7808 | The surd is exact; a decimal put back into the equation misses zero. |
| The x² term may cancel | (x+1)² = x² + 5 | Then the equation was linear all along, with one solution. |
| Complex roots come in pairs | p + qi and p − qi | They differ only in the sign of the imaginary part. |
| Sum and product | −b/a and c/a | A check that never touches the formula that produced the roots. |
| The formula can cancel | when b² is far larger than 4ac | One root becomes a difference of nearly equal numbers. 90% failed in doubles. |
| Not linear, not quadratic | x³ is refused | A cubic needs different methods entirely, so it gets a reason rather than a number. |
| The unknown in a denominator | 1/x is refused | Not a polynomial equation. Multiplying up first may make it one. |
| Where the formula comes from | completing the square, in general | That method has its own page here; the formula is it done once with letters instead of numbers. |
x = 3 and x = −2. It factors as (x − 3)(x + 2). Both check out: 9 − 3 − 6 = 0, and for the negative root 4 + 2 − 6 = 0, where subtracting −2 adds 2.
24 Times Table
Calculate instantly →
Quadratic Equation Solver
Calculate instantly →
Logarithm Calculator
Calculate instantly →
Fraction Calculator
Calculate instantly →
Fraction Simplifier
Calculate instantly →
Linear Equation Solver
Calculate instantly →
25 Times Table
Calculate instantly →
26 Times Table
Calculate instantly →
27 Times Table
Calculate instantly →
Simultaneous Equations Solver (2×2)
Calculate instantly →
28 Times Table
Calculate instantly →
Exponent Calculator
Calculate instantly →
29 Times Table
Calculate instantly →
30 Times Table
Calculate instantly →
Times Tables Mega Calculator
Calculate instantly →
Square Root of 10
Calculate instantly →
Square Root of 1
Calculate instantly →
Square Root Mega
Calculate instantly →
Square Root of 2
Calculate instantly →
23 Times Table
Calculate instantly →
Last updated: September 1, 2026 · Exact surds throughout, never floating point · The equation does not have to be in standard form before you type it.