Solve
giving the real roots to seven decimal places.
Rule out rational roots first. By the rational root theorem any rational root divides , so the candidates are . Testing every one gives a non-zero value — for instance
so there is no linear factor over . In particular is not a root, a tempting guess because .
Rule out an integer split into two quadratics. Writing forces
An exhaustive sweep over every integer divisor pair of and every integer finds no solution. Beware the near-miss : it satisfies the first two equations with , , but then . All four conditions must be checked, not three.
Locate the real roots by a sign table. Evaluate on a grid:
The sign flips on and on , so by the intermediate value theorem there is a real root in each. Since is negative across the whole span , there are exactly two real roots.
Refine with Newton's method. With , iterate from the bracket midpoints:
At 40-digit working precision these satisfy , so the digits shown are correct.
Account for the remaining two roots. Dividing out the real pair leaves a quadratic with negative discriminant, giving the complex conjugates
So the real quadratic factorisation is , with no rational coefficients anywhere.
Confirm with Vieta's formulas. The four roots must sum to and multiply to :
Both identities hold, which cross-checks the numerics independently of the Newton iteration.
Need to solve a different problem like this? Open the solver →