NumericalCandidates(PeterO.Numbers.EInteger[],PeterO.Numbers.EInteger)
Method (no overloads)
Summary
The rational roots a polynomial with the whole coefficients , lowest
power first, can have, where its first or last coefficient is too large to factor: one
for each of its real roots, found numerically.
power first, can have, where its first or last coefficient is too large to factor: one
for each of its real roots, found numerically.
Remarks
A rational root p/q in lowest terms has q dividing the leading coefficient
c_n , so it times c_n is a whole number, and the real root found to the
working precision, timesc_n and rounded, is that number. Each candidate is still
checked exactly. A polynomial whose roots are those of another times10^k has
coefficients10^(j k) times the other's, past any bound on their size, so
9x^3 + 9x^2 + 5x + 1 had its root -1/3 found and the same cubic in
10^12 x had -1/(3 10^12) written by Cardano's formula; and the system for the
parts of x in1 + 2x + 3x^2 - 2 Im(x) = 0 with x written as 10^12 x could not
tell that such a root made a coefficient 0, and was declined. Searching the divisors of
coefficients that large instead was tens of thousands of candidates, and a solve that asked
for it in every case of a signum ran past twenty seconds.
working precision, times
checked exactly. A polynomial whose roots are those of another times
coefficients
parts of x in
tell that such a root made a coefficient 0, and was declined. Searching the divisors of
coefficients that large instead was tens of thousands of candidates, and a solve that asked
for it in every case of a signum ran past twenty seconds.
Angouri © 2019-2026 · Project's repo · Site's repo · Octicons · Transparency · 6038 pages online