Finding real roots of polynomials of degree 1 000 000
Guillaume Moroz March 5, 2020
Guillaume Moroz Finding real roots of polynomials of degree 1 000 000 March 5, 2020 1 / 23
Finding real roots of polynomials of degree 1 000 000 Guillaume - - PowerPoint PPT Presentation
Finding real roots of polynomials of degree 1 000 000 Guillaume Moroz March 5, 2020 Guillaume Moroz Finding real roots of polynomials of degree 1 000 000 March 5, 2020 1 / 23 New software: Clenshaw f ( x ) := a 0 + a 1 x + + a n
Guillaume Moroz Finding real roots of polynomials of degree 1 000 000 March 5, 2020 1 / 23
Guillaume Moroz Finding real roots of polynomials of degree 1 000 000 March 5, 2020 2 / 23
1 Why is it fast ? 2 Wait ... is it actually fast ?
Guillaume Moroz Finding real roots of polynomials of degree 1 000 000 March 5, 2020 4 / 23
Guillaume Moroz Finding real roots of polynomials of degree 1 000 000 March 5, 2020 5 / 23
Guillaume Moroz Finding real roots of polynomials of degree 1 000 000 March 5, 2020 6 / 23
Guillaume Moroz Finding real roots of polynomials of degree 1 000 000 March 5, 2020 7 / 23
Guillaume Moroz Finding real roots of polynomials of degree 1 000 000 March 5, 2020 8 / 23
p0 1 p1
1 2
p2
1 4
2
1
4
p3
1 8
3
1
8
p4
1 16
4
2
16
4
1
16
p5 . . .
1 32
5
2
. .
1 32
5
1
32
. . . . . . . . . pn
1 2n
k
n/2
2n
n/2−1
2n
n/2−2
2n
n/2−k
1 2n
pn+1
1 2n+1
n+1
n/2
2n+1
n+1
n/2−1
2n+1
n+1
n/2−2
2n+1
n+1
n/2−k
1 2n+1
c0 c1 c2 c3 c4 c5 c6 · · · ck ck+1
Guillaume Moroz Finding real roots of polynomials of degree 1 000 000 March 5, 2020 9 / 23
Guillaume Moroz Finding real roots of polynomials of degree 1 000 000 March 5, 2020 10 / 23
p0 1 p1
1 2
p2
1 4
2
1
4
p3
1 8
3
1
8
p4
1 16
4
2
16
4
1
16
p5 . . .
1 32
5
2
. .
1 32
5
1
32
. . . . . . . . . pn
1 2n
k
n/2
2n
n/2−1
2n
n/2−2
2n
n/2−k
1 2n
pn+1
1 2n+1
n+1
n/2
2n+1
n+1
n/2−1
2n+1
n+1
n/2−2
2n+1
n+1
n/2−k
1 2n+1
c0 c1 c2 c3 c4 c5 c6 · · · ck ck+1
Guillaume Moroz Finding real roots of polynomials of degree 1 000 000 March 5, 2020 11 / 23
p0 1 p1
1 2
p2
1 4
2
1
4
p3
1 8
3
1
8
p4
1 16
4
2
16
4
1
16
p5 . . .
1 32
5
2
. .
1 32
5
1
32
. . . . . . . . . pn
1 2n
k
n/2
2n
n/2−1
2n
n/2−2
2n
n/2−k
1 2n
pn+1
1 2n+1
n+1
n/2
2n+1
n+1
n/2−1
2n+1
n+1
n/2−2
2n+1
n+1
n/2−k
1 2n+1
c0 c1 c2 c3 c4 c5 c6 · · · ck ck+1 Tails of the binomial distribution
n+1
n
[Hoeffding, 1963]
Guillaume Moroz Finding real roots of polynomials of degree 1 000 000 March 5, 2020 12 / 23
Guillaume Moroz Finding real roots of polynomials of degree 1 000 000 March 5, 2020 13 / 23
Guillaume Moroz Finding real roots of polynomials of degree 1 000 000 March 5, 2020 14 / 23
Guillaume Moroz Finding real roots of polynomials of degree 1 000 000 March 5, 2020 15 / 23
https://gcc.gnu.org/wiki/FloatingPointMath, http://lists.llvm.org/pipermail/llvm-dev/2018-May/123529.html
Guillaume Moroz Finding real roots of polynomials of degree 1 000 000 March 5, 2020 16 / 23
Guillaume Moroz Finding real roots of polynomials of degree 1 000 000 March 5, 2020 17 / 23
Guillaume Moroz Finding real roots of polynomials of degree 1 000 000 March 5, 2020 18 / 23
Guillaume Moroz Finding real roots of polynomials of degree 1 000 000 March 5, 2020 19 / 23
Guillaume Moroz Finding real roots of polynomials of degree 1 000 000 March 5, 2020 20 / 23
Guillaume Moroz Finding real roots of polynomials of degree 1 000 000 March 5, 2020 21 / 23