Quadratic Equation Solver guide
How to Solve 2x² − 4x − 6 = 0
2x² − 4x − 6 = 0 has the solutions x = 3 and x = −1. Every term shares a factor of 2, so dividing through gives x² − 2x − 3 = 0, which factors as (x − 3)(x + 1) = 0.
Look for a common factor first
Before anything else, check whether all three coefficients share a factor. Here 2, −4 and −6 are all divisible by 2.
Dividing the whole equation by 2 gives x² − 2x − 3 = 0.
This is allowed because the right-hand side is zero, and zero divided by 2 is still zero. The roots are completely unchanged.
This step is skipped constantly, and it turns an awkward-looking problem into an easy one. Whenever a is not 1, check for a common factor before deciding the equation is difficult.
Now factor the simpler equation
For x² − 2x − 3 = 0, find two numbers that multiply to −3 and add to −2.
The pairs multiplying to −3 are 1 and −3, or −1 and 3. Of those, 1 and −3 add to −2.
So it factors as (x + 1)(x − 3) = 0, giving x = −1 or x = 3.
Or use the formula on the original
If you did not spot the common factor, the formula handles the original equation without complaint. With a = 2, b = −4, c = −6:
Discriminant: (−4)² − 4(2)(−6) = 16 + 48 = 64.
√64 = 8, and 2a = 4.
Plus branch: x = (4 + 8) ÷ 4 = 12 ÷ 4 = 3.
Minus branch: x = (4 − 8) ÷ 4 = −4 ÷ 4 = −1.
Same answers, as they must be. The calculator on this page is loaded with the original equation so you can follow the substitution.
Factoring directly, without simplifying
It is possible to factor 2x² − 4x − 6 as it stands, and it is worth seeing once.
You need two numbers multiplying to a × c = 2 × −6 = −12, and adding to b = −4. Those are −6 and 2.
Split the middle term: 2x² − 6x + 2x − 6.
Group in pairs: 2x(x − 3) + 2(x − 3).
Factor out the common bracket: (2x + 2)(x − 3), which is 2(x + 1)(x − 3).
Setting each factor to zero gives the same roots, −1 and 3. It works, but it is clearly more effort than dividing by 2 at the start.
Checking
For x = 3: 2(9) − 4(3) − 6 = 18 − 12 − 6 = 0. Correct.
For x = −1: 2(1) − 4(−1) − 6 = 2 + 4 − 6 = 0. Correct.
A Vieta check as well: the roots sum to 3 + (−1) = 2, and −b ÷ a = 4 ÷ 2 = 2. They multiply to −3, and c ÷ a = −6 ÷ 2 = −3. Both agree.
A shortcut: divide out the common factor first
Every coefficient in 2x² − 4x − 6 is even, so divide the whole equation by 2 before doing anything else: x² − 2x − 3 = 0. The roots do not change, because you did the same thing to both sides of an equation equal to zero. With a = 1 the numbers are smaller, and the equation factors as (x − 3)(x + 1) = 0, giving x = 3 and x = −1.
It is the same answer the formula gives, reached with less arithmetic. Always look for a common factor before reaching for the formula.
Checking both roots
Substitute each root back into the original equation. For x = 3: 2(9) − 4(3) − 6 = 18 − 12 − 6 = 0. For x = −1: 2(1) − 4(−1) − 6 = 2 + 4 − 6 = 0. Both come out at zero, so both are roots. This takes about ten seconds and catches any sign slip.
When dividing does not rescue you
Try 3x² − 6x − 12 = 0. Dividing by 3 gives x² − 2x − 4 = 0, which has no integer factors. The discriminant is (−2)² − 4(1)(−4) = 20, and √20 simplifies to 2√5, so x = (2 ± 2√5) ÷ 2 = 1 ± √5. Dividing out the common factor made the formula easier but did not remove the need for it.