Real Solving on Bivariate Systems with Sturm Sequences and SLV Maple TM library

Size: px
Start display at page:

Download "Real Solving on Bivariate Systems with Sturm Sequences and SLV Maple TM library"

Transcription

1 Real Solving on Bivariate Systems with Sturm Sequences and SLV Maple TM library Dimitris Diochnos University of Illinois at Chicago Dept. of Mathematics, Statistics, and Computer Science September 27, 2007 D. I. Diochnos (UIC - MSCS) Real Solving on Bivariate Algebraic Systems Sep 07 1 / 65

2 Outline 1 Introduction 2 Results in Univariate Polynomials 3 Results in Bivariate Polynomials 4 Real Solving on Bivariate Systems 5 Implementation D. I. Diochnos (UIC - MSCS) Real Solving on Bivariate Algebraic Systems Sep 07 2 / 65

3 Outline 1 Introduction 2 Results in Univariate Polynomials 3 Results in Bivariate Polynomials 4 Real Solving on Bivariate Systems 5 Implementation D. I. Diochnos (UIC - MSCS) Real Solving on Bivariate Algebraic Systems Sep 07 3 / 65

4 Notation and Conventions Complexity: Õ B implies that we are ignoring (poly-)logarithmic factors. Length function: L() Given ν Z, L(ν) implies the bitsize of integer ν. Given A Z[x] L(A) implies the maximum bitsize of the coefficients. D. I. Diochnos (UIC - MSCS) Real Solving on Bivariate Algebraic Systems Sep 07 4 / 65

5 Operations on Lists. Sign Variations: Given a list of signs compute sign-swaps. Ignore zeros. Example VAR([+, +,, 0,, 0, 0, +]) = 2 Intermediate Points: Given a list of (sorted) rational numbers compute rationals in between. Compute two more bounding rationals for the entire sequence. D. I. Diochnos (UIC - MSCS) Real Solving on Bivariate Algebraic Systems Sep 07 5 / 65

6 Polynomial GCD Computation Euclid s Algorithm. Works fine when F, G Q[x]. What if we want to work in Z[x]? Pseudo-divisions are required. k F = Q G + λ R where F, G, Q, R Z[x] and k, λ Z. Pseudo-Euclidean: (k, λ) = (lead (G) δ+1, 1) R = rem (F, G) Q = quo (F, G) D. I. Diochnos (UIC - MSCS) Real Solving on Bivariate Algebraic Systems Sep 07 6 / 65

7 Polynomial GCD Computation Euclid s Algorithm. Works fine when F, G Q[x]. What if we want to work in Z[x]? Pseudo-divisions are required. k F = Q G + λ R where F, G, Q, R Z[x] and k, λ Z. Pseudo-Euclidean: (k, λ) = (lead (G) δ+1, 1) R = rem (F, G) Q = quo (F, G) D. I. Diochnos (UIC - MSCS) Real Solving on Bivariate Algebraic Systems Sep 07 6 / 65

8 Polynomial GCD Computation Euclid s Algorithm. Works fine when F, G Q[x]. What if we want to work in Z[x]? Pseudo-divisions are required. k F = Q G + λ R where F, G, Q, R Z[x] and k, λ Z. Pseudo-Euclidean: (k, λ) = (lead (G) δ+1, 1) R = rem (F, G) Q = quo (F, G) D. I. Diochnos (UIC - MSCS) Real Solving on Bivariate Algebraic Systems Sep 07 6 / 65

9 Sturm Sequences and Signed PRSs. Corollary Every sequence (A i ) = (A, A,...) where λ i A i = k i A i 2 + A i 1 Q i 1 where k i, λ i R, k i λ i < 0 and A 1 = A square-free is a Sturm sequence in [I l, I R ] where A(I L )A(I R ) 0. D. I. Diochnos (UIC - MSCS) Real Solving on Bivariate Algebraic Systems Sep 07 7 / 65

10 Definitions on Signed PRSs. λ i A i = k i A i 2 + A i 1 Q i 1 Pseudo-Euclidean: L(A i ) = O((1 + 2) i ) Impractical. Primitive-Part: 8 < SubResultant: : (k i, λ i ) = (lead (A i 1 ) δ i +1, content (prem (A i, A i 1 ))) A i = rem (λ i A i 2, A i 1 ) /k i Q i = quo (λ i A i 2, A i 1 ) Time Bound: e OB (p 2 q 2 τ). Output Bound: L(A i ) = O(pτ). Ai = prem (A i 2, A i 1 ) / lead (A i 2 ) Time Bound: e OB (p 2 qτ). Output Bound: L(A i ) = O(pτ). Sturm-Habicht: Similar to SubResultant sequences. D. I. Diochnos (UIC - MSCS) Real Solving on Bivariate Algebraic Systems Sep 07 8 / 65

11 Example on PRSs. Given: f = x 8 + x 6 3x 4 3x 3 + 8x 2 + 2x 5 g = 3x 6 + 5x 4 4x 2 9x + 21 Euclidean: 15x 4 3x x x x Primitive Part: 5x 4 x x x x SubResultant: 15x 4 3x x x x D. I. Diochnos (UIC - MSCS) Real Solving on Bivariate Algebraic Systems Sep 07 9 / 65

12 Outline 1 Introduction 2 Results in Univariate Polynomials Bounds Real Algebraic Numbers Solving in One Variable 3 Results in Bivariate Polynomials 4 Real Solving on Bivariate Systems 5 Implementation D. I. Diochnos (UIC - MSCS) Real Solving on Bivariate Algebraic Systems Sep / 65

13 Bounding Roots Let ϱ C be a root of the polynomial A(x) = a d x d + + a 1 x + a 0. Cauchy, Mignotte: ϱ 1 + max{ a 0, a 1,..., a d 1 } a d { d a ϱ max d 1 d a, d 2, 3 a d a d d a d 3,..., d a d } d a 0 a d Zassenhaus: ϱ 2 max k { d k a k a d } Complexity: Õ B (dτ). D. I. Diochnos (UIC - MSCS) Real Solving on Bivariate Algebraic Systems Sep / 65

14 Real Algebraic Numbers Definition: Let A Z[x]. Each ϱ R such that A(ϱ) = 0 is a and we will write ϱ R alg. Representation: Isolating Intervals. Real Algebraic Number ϱ = [ square-free(a), [ I L, I R ] ] such that I L, I R Q, I L ϱ I R and ϱ unique root in interval [I L, I R ]. Basic Operations: Sign-At. Comparison. D. I. Diochnos (UIC - MSCS) Real Solving on Bivariate Algebraic Systems Sep / 65

15 Real Algebraic Numbers Definition: Let A Z[x]. Each ϱ R such that A(ϱ) = 0 is a and we will write ϱ R alg. Representation: Isolating Intervals. Real Algebraic Number ϱ = [ square-free(a), [ I L, I R ] ] such that I L, I R Q, I L ϱ I R and ϱ unique root in interval [I L, I R ]. Basic Operations: Sign-At. Comparison. D. I. Diochnos (UIC - MSCS) Real Solving on Bivariate Algebraic Systems Sep / 65

16 Real Algebraic Numbers Definition: Let A Z[x]. Each ϱ R such that A(ϱ) = 0 is a and we will write ϱ R alg. Representation: Isolating Intervals. Real Algebraic Number ϱ = [ square-free(a), [ I L, I R ] ] such that I L, I R Q, I L ϱ I R and ϱ unique root in interval [I L, I R ]. Basic Operations: Sign-At. Comparison. D. I. Diochnos (UIC - MSCS) Real Solving on Bivariate Algebraic Systems Sep / 65

17 Polynomial Evaluation at a R alg point. Input: α = [A, [L, R]] and f R[x]; A, f square-free Output: sign(f (α)) 1 Compute SubResultant sequence. 2 Evaluate on endpoints. 3 Yield result with Sign-Variations. Complexity: Õ B (pqτ + p min{p, q} 2 τ). D. I. Diochnos (UIC - MSCS) Real Solving on Bivariate Algebraic Systems Sep / 65

18 Comparison between R alg numbers. Input: α = [A, [L, R]] and β = [B, [L, R]] Output: Decide α β. Idea: Compute SIGN-AT(A(β)). Note: We know the sign of A (α). Complexity: Õ B (pqτ + p min{p, q} 2 τ). D. I. Diochnos (UIC - MSCS) Real Solving on Bivariate Algebraic Systems Sep / 65

19 Solving in One Variable Input: A Z[x], square-free. Output: A list S of intervals that contain the real roots of A. Subdivision Method. Complexity: [Emiris,Mourrain,Tsigaridas ] Time: Õ B (p 6 + p 4 τ 2 ) (+ multiplicities) Output: O(pτ) D. I. Diochnos (UIC - MSCS) Real Solving on Bivariate Algebraic Systems Sep / 65

20 Outline 1 Introduction 2 Results in Univariate Polynomials 3 Results in Bivariate Polynomials Extensions. Resultant 4 Real Solving on Bivariate Systems 5 Implementation D. I. Diochnos (UIC - MSCS) Real Solving on Bivariate Algebraic Systems Sep / 65

21 Bivariate SignAt. Input: α = [A, [A L, A R ]], β = [B, [B L, B R ]] and f Z[x, y]. Output: Compute the sign of f (α, β). 1 Compute a Sturm sequence of (A, f ). 2 Evaluate the sequence on each of endpoints A L, A R of α. 3 Perform SIGN-AT at y = β on each polynomial in sequence. 4 Count sign-variations on sequences. 5 Yield result with (V L V R ) A (α) Complexity: Sign can be computed in ÕB(n1 2n3 2 τ). D. I. Diochnos (UIC - MSCS) Real Solving on Bivariate Algebraic Systems Sep / 65

22 Working in Extension-Fields. GCD Computation [Hoeij and Monagan ] Other required operations are reduced to univariate SIGN-AT. D. I. Diochnos (UIC - MSCS) Real Solving on Bivariate Algebraic Systems Sep / 65

23 Resultant Theorem Given f, g Z[x] such that f = n i=1 a ix x and g = m j=1 b jx j with a n b m 0, there is a unique (up to sign) irreducible polynomial res(f, g) Z[a n,..., a 0, b m,..., b 0 ] which is zero iff f, g have a common factor. It is homogeneous and deg(res(f, g)) = deg(f ) + deg(g) = n + m. This polynomial is called resultant. Theorem Given f, g K[x] we can compute the resultant res(f, g) via the Sylvester matrix Syl(f, g). More specifically, we have: Complexity: Õ B (nmτ). res(f, g) = det(syl(f, g)). D. I. Diochnos (UIC - MSCS) Real Solving on Bivariate Algebraic Systems Sep / 65

24 Resultant Definition (Sylvester Matrix) The Sylvester matrix of f and g is the (n + m) (n + m) matrix defined as follows: a n a n 1 a n a 0 a n a n 1 a n a a n a n 1 a n a 0 Syl(f, g) = b m b m 1 b m 2... b 0 b m b m 1 b m 2... b b m b m 1 b m 2... b 0 D. I. Diochnos (UIC - MSCS) Real Solving on Bivariate Algebraic Systems Sep / 65

25 Resultant D. I. Diochnos (UIC - MSCS) Real Solving on Bivariate Algebraic Systems Sep / 65

26 Outline 1 Introduction 2 Results in Univariate Polynomials 3 Results in Bivariate Polynomials 4 Real Solving on Bivariate Systems Introduction GRID M RUR G RUR 5 Implementation D. I. Diochnos (UIC - MSCS) Real Solving on Bivariate Algebraic Systems Sep / 65

27 The Problem Given f, g Z[x, y] we want to compute all real solutions of the system f = g = 0. Previous Work Assuming d f, d g N and L(f ), L(g) N previous complexity bounds were: Isolating Intervals: Õ B (N 30 ) [Arnon, McCallum ] Thom s Encoding: Õ B (N 16 ) [González-Vega, El Kahoui ] Our Work [Diochnos, Emiris, Tsigaridas ] 3 Algorithms using projection and Isolating Intervals GRID, M RUR, G RUR Algorithms differentiate on matching Running Times: Õ B (N 14 ) and ÕB(N 12 ) Input Size: e OB (N 3 ) Output Size: e OB (N 4 ) Projection Complexity: e OB (N 12 ) D. I. Diochnos (UIC - MSCS) Real Solving on Bivariate Algebraic Systems Sep / 65

28 Outline 1 Introduction 2 Results in Univariate Polynomials 3 Results in Bivariate Polynomials 4 Real Solving on Bivariate Systems Introduction GRID M RUR G RUR 5 Implementation D. I. Diochnos (UIC - MSCS) Real Solving on Bivariate Algebraic Systems Sep / 65

29 GRID Algorithm 1 Project solutions on axes and find roots. 2 Generate all candidate pairs. 3 Check with BIVARIATESIGNAT for solutions. Theorem (GRID Complexity) Isolating all real roots of the system using GRID has complexity Õ B (n 14 + n 13 τ), provided that τ = O(n 3 ) D. I. Diochnos (UIC - MSCS) Real Solving on Bivariate Algebraic Systems Sep / 65

30 GRID Example Assume we want to solve the system: { f (x, y) = y x 3 + 2x 1 g(x, y) = y x 2 The system has solutions: (+0.45, +0.20) ( 1.25, +1.55) (+1.80, +3.25) D. I. Diochnos (UIC - MSCS) Real Solving on Bivariate Algebraic Systems Sep / 65

31 GRID Example D. I. Diochnos (UIC - MSCS) Real Solving on Bivariate Algebraic Systems Sep / 65

32 GRID Example D. I. Diochnos (UIC - MSCS) Real Solving on Bivariate Algebraic Systems Sep / 65

33 GRID Example D. I. Diochnos (UIC - MSCS) Real Solving on Bivariate Algebraic Systems Sep / 65

34 Outline 1 Introduction 2 Results in Univariate Polynomials 3 Results in Bivariate Polynomials 4 Real Solving on Bivariate Systems Introduction GRID M RUR G RUR 5 Implementation D. I. Diochnos (UIC - MSCS) Real Solving on Bivariate Algebraic Systems Sep / 65

35 Generic Position [González-Vega, El Kahoui and Basu, Pollack, Roy] Definition (Generic Position) Two polynomials f, g R[x, y] are in generic position if (f (ϱ, β 1 ) = g(ϱ, β 1 ) = 0) (f (ϱ, β 2 ) = g(ϱ, β 2 ) = 0) β 1 = β 2. Leading coefficients w.r.t. y are not zero when specializing x. D. I. Diochnos (UIC - MSCS) Real Solving on Bivariate Algebraic Systems Sep / 65

36 Solutions in Generic Position Theorem (Solution Existence) Let A, B square-free and co-prime polynomials in generic position. If SR j (x, y) = sr j (x)y j + sr j,j 1 (x)y j sr j,0 (x), then if (ϱ, β) is a real solution of the system A = B = 0, then there exists k, such that sr 0 (ϱ) =... = sr k 1 (ϱ) = 0, sr k (ϱ) 0 and β = 1 k sr k,k 1 (ϱ) sr k (ϱ) What we need is: The minimum k such that sr k (ϱ) = psc k (ϱ) 0. D. I. Diochnos (UIC - MSCS) Real Solving on Bivariate Algebraic Systems Sep / 65

37 How to Compute K? Naive: Evaluate all psc j (x) at x = ϱ and pick k = min j (psc j (ϱ)) 0. Better: Assume that it works for j = k > 0. It follows that psc j (ϱ) = 0 j {0, 1,..., k 1}. Hence ϱ appears on the gcd(psc 0,..., psc k 1 ). We define the polynomials: as well as Φ 0 (x) = psc 0 (x) gcd(psc 0 (x), psc 0 (x)) Φ j (x) = gcd(φ j 1 (x), psc j (x)) Γ j = Φ j 1(x), j {1,..., n 1} Φ j (x) k = j + 1 Complexity: Index k can be computed in time Õ B (n 8 τ). D. I. Diochnos (UIC - MSCS) Real Solving on Bivariate Algebraic Systems Sep / 65

38 How to Compute K? Naive: Evaluate all psc j (x) at x = ϱ and pick k = min j (psc j (ϱ)) 0. Better: Assume that it works for j = k > 0. It follows that psc j (ϱ) = 0 j {0, 1,..., k 1}. Hence ϱ appears on the gcd(psc 0,..., psc k 1 ). We define the polynomials: as well as Φ 0 (x) = psc 0 (x) gcd(psc 0 (x), psc 0 (x)) Φ j (x) = gcd(φ j 1 (x), psc j (x)) Γ j = Φ j 1(x), j {1,..., n 1} Φ j (x) k = j + 1 Complexity: Index k can be computed in time Õ B (n 8 τ). D. I. Diochnos (UIC - MSCS) Real Solving on Bivariate Algebraic Systems Sep / 65

39 How to Compute K? Naive: Evaluate all psc j (x) at x = ϱ and pick k = min j (psc j (ϱ)) 0. Better: Assume that it works for j = k > 0. It follows that psc j (ϱ) = 0 j {0, 1,..., k 1}. Hence ϱ appears on the gcd(psc 0,..., psc k 1 ). We define the polynomials: as well as Φ 0 (x) = psc 0 (x) gcd(psc 0 (x), psc 0 (x)) Φ j (x) = gcd(φ j 1 (x), psc j (x)) Γ j = Φ j 1(x), j {1,..., n 1} Φ j (x) k = j + 1 Complexity: Index k can be computed in time Õ B (n 8 τ). D. I. Diochnos (UIC - MSCS) Real Solving on Bivariate Algebraic Systems Sep / 65

40 How to Compute K? Naive: Evaluate all psc j (x) at x = ϱ and pick k = min j (psc j (ϱ)) 0. Better: Assume that it works for j = k > 0. It follows that psc j (ϱ) = 0 j {0, 1,..., k 1}. Hence ϱ appears on the gcd(psc 0,..., psc k 1 ). We define the polynomials: as well as Φ 0 (x) = psc 0 (x) gcd(psc 0 (x), psc 0 (x)) Φ j (x) = gcd(φ j 1 (x), psc j (x)) Γ j = Φ j 1(x), j {1,..., n 1} Φ j (x) k = j + 1 Complexity: Index k can be computed in time Õ B (n 8 τ). D. I. Diochnos (UIC - MSCS) Real Solving on Bivariate Algebraic Systems Sep / 65

41 How to Compute K? Naive: Evaluate all psc j (x) at x = ϱ and pick k = min j (psc j (ϱ)) 0. Better: Assume that it works for j = k > 0. It follows that psc j (ϱ) = 0 j {0, 1,..., k 1}. Hence ϱ appears on the gcd(psc 0,..., psc k 1 ). We define the polynomials: as well as Φ 0 (x) = psc 0 (x) gcd(psc 0 (x), psc 0 (x)) Φ j (x) = gcd(φ j 1 (x), psc j (x)) Γ j = Φ j 1(x), j {1,..., n 1} Φ j (x) k = j + 1 Complexity: Index k can be computed in time Õ B (n 8 τ). D. I. Diochnos (UIC - MSCS) Real Solving on Bivariate Algebraic Systems Sep / 65

42 Matching Solutions in M RUR - FIND. k computation yields first k such that psc k (x) 0 at x = ϱ. SR k (x = ϱ) (Z[ϱ])[y] has k roots. Generic Position At most 1 root. Hence 1 root with multiplicity k of the form: R(ϱ) = 1 k sr k,k 1 (ϱ) psc k (ϱ). Binary search for the unique interval such that: Q j < R(ϱ) < Q j+1 Complexity: The matching procedure takes time ÕB(n 7 τ) for each candidate on x-axis. D. I. Diochnos (UIC - MSCS) Real Solving on Bivariate Algebraic Systems Sep / 65

43 Matching Solutions in M RUR - FIND. k computation yields first k such that psc k (x) 0 at x = ϱ. SR k (x = ϱ) (Z[ϱ])[y] has k roots. Generic Position At most 1 root. Hence 1 root with multiplicity k of the form: R(ϱ) = 1 k sr k,k 1 (ϱ) psc k (ϱ). Binary search for the unique interval such that: Q j < R(ϱ) < Q j+1 Complexity: The matching procedure takes time ÕB(n 7 τ) for each candidate on x-axis. D. I. Diochnos (UIC - MSCS) Real Solving on Bivariate Algebraic Systems Sep / 65

44 Matching Solutions in M RUR - FIND. k computation yields first k such that psc k (x) 0 at x = ϱ. SR k (x = ϱ) (Z[ϱ])[y] has k roots. Generic Position At most 1 root. Hence 1 root with multiplicity k of the form: R(ϱ) = 1 k sr k,k 1 (ϱ) psc k (ϱ). Binary search for the unique interval such that: Q j < R(ϱ) < Q j+1 Complexity: The matching procedure takes time ÕB(n 7 τ) for each candidate on x-axis. D. I. Diochnos (UIC - MSCS) Real Solving on Bivariate Algebraic Systems Sep / 65

45 Matching Solutions in M RUR - FIND. k computation yields first k such that psc k (x) 0 at x = ϱ. SR k (x = ϱ) (Z[ϱ])[y] has k roots. Generic Position At most 1 root. Hence 1 root with multiplicity k of the form: R(ϱ) = 1 k sr k,k 1 (ϱ) psc k (ϱ). Binary search for the unique interval such that: Q j < R(ϱ) < Q j+1 Complexity: The matching procedure takes time ÕB(n 7 τ) for each candidate on x-axis. D. I. Diochnos (UIC - MSCS) Real Solving on Bivariate Algebraic Systems Sep / 65

46 Regarding Genericity But is the algorithm general? YES! D. I. Diochnos (UIC - MSCS) Real Solving on Bivariate Algebraic Systems Sep / 65

47 Regarding Genericity But is the algorithm general? YES! D. I. Diochnos (UIC - MSCS) Real Solving on Bivariate Algebraic Systems Sep / 65

48 Performing Shear. We are performing the transformation (X, Y ) (X + α Y, Y ) for some α Z. Complexity: The deterministic computation of α has complexity Õ B (n 9 τ). Bad practical performance. Random shear is the choice. D. I. Diochnos (UIC - MSCS) Real Solving on Bivariate Algebraic Systems Sep / 65

49 M RUR Algorithm 1 Project solutions on axes and find roots. 2 Find Intermediate Points on y-axis. 3 For each x solution, compute k x. 4 Find suitable interval on y-axis to match solutions. Theorem (M RUR Complexity) Isolating all real roots of the system using M RUR has complexity Õ B (n 12 + n 10 τ 2 ). D. I. Diochnos (UIC - MSCS) Real Solving on Bivariate Algebraic Systems Sep / 65

50 M RUR Example Assume we want to solve the system: { f (x, y) = y x 3 + 2x 1 g(x, y) = y x 2 The system is not in generic position. The shear (x, y) (x + 3y, y) makes it generic: { f (x, y) = 27y 3 27xy 2 + (7 9x 2 )y x 3 + 2x 1 g(x, y) = 9y 2 + (1 6x)y x 2 The sheared system has solutions: ( 0.15, +0.20) ( 5.91, +1.55) ( 7.94, +3.25) D. I. Diochnos (UIC - MSCS) Real Solving on Bivariate Algebraic Systems Sep / 65

51 M RUR Example D. I. Diochnos (UIC - MSCS) Real Solving on Bivariate Algebraic Systems Sep / 65

52 M RUR Example D. I. Diochnos (UIC - MSCS) Real Solving on Bivariate Algebraic Systems Sep / 65

53 M RUR Example D. I. Diochnos (UIC - MSCS) Real Solving on Bivariate Algebraic Systems Sep / 65

54 M RUR Example D. I. Diochnos (UIC - MSCS) Real Solving on Bivariate Algebraic Systems Sep / 65

55 M RUR Example D. I. Diochnos (UIC - MSCS) Real Solving on Bivariate Algebraic Systems Sep / 65

56 Outline 1 Introduction 2 Results in Univariate Polynomials 3 Results in Bivariate Polynomials 4 Real Solving on Bivariate Systems Introduction GRID M RUR G RUR 5 Implementation D. I. Diochnos (UIC - MSCS) Real Solving on Bivariate Algebraic Systems Sep / 65

57 G RUR Algorithm 1 Project solutions on axes and find roots. 2 Find Intermediate Points on y-axis. 3 For each candidate solution ϱ on x-axis: Compute H(y) = gcd( f (ϱ, y), g(ϱ, y)) (Z[ϱ])[y]. Check for solutions of H(y) on candidate intervals along the y-axis. Theorem (G RUR Complexity) Isolating all real roots of the system using G RUR has complexity Õ B (n 12 + n 10 τ 2 ). D. I. Diochnos (UIC - MSCS) Real Solving on Bivariate Algebraic Systems Sep / 65

58 G RUR Example Assume we want to solve the system: { f (x, y) = y x 3 + 2x 1 g(x, y) = y x 2 The system has solutions: (+0.45, +0.20) ( 1.25, +1.55) (+1.80, +3.25) D. I. Diochnos (UIC - MSCS) Real Solving on Bivariate Algebraic Systems Sep / 65

59 G RUR Example D. I. Diochnos (UIC - MSCS) Real Solving on Bivariate Algebraic Systems Sep / 65

60 G RUR Example Assume ϱ R alg such that res y (f, g)(ϱ) = 0. We want to compute H = gcd(f (ϱ, y), g(ϱ, y)) (Z[ϱ])[y]. Since res y (f, g)(α) = 0 we have ϱ 3 ϱ 2 2ϱ + 1 = 0. Or equivalently: ϱ 3 = ϱ 2 + 2ϱ 1 Hence f (ϱ, y) = y ϱ 3 + 2ϱ 1 = y ϱ 2 = g(ϱ, y). As a result gcd(f (ϱ, y), g(ϱ, y)) = y ϱ 2. D. I. Diochnos (UIC - MSCS) Real Solving on Bivariate Algebraic Systems Sep / 65

61 G RUR Example Assume ϱ R alg such that res y (f, g)(ϱ) = 0. We want to compute H = gcd(f (ϱ, y), g(ϱ, y)) (Z[ϱ])[y]. Since res y (f, g)(α) = 0 we have ϱ 3 ϱ 2 2ϱ + 1 = 0. Or equivalently: ϱ 3 = ϱ 2 + 2ϱ 1 Hence f (ϱ, y) = y ϱ 3 + 2ϱ 1 = y ϱ 2 = g(ϱ, y). As a result gcd(f (ϱ, y), g(ϱ, y)) = y ϱ 2. D. I. Diochnos (UIC - MSCS) Real Solving on Bivariate Algebraic Systems Sep / 65

62 G RUR Example Assume ϱ R alg such that res y (f, g)(ϱ) = 0. We want to compute H = gcd(f (ϱ, y), g(ϱ, y)) (Z[ϱ])[y]. Since res y (f, g)(α) = 0 we have ϱ 3 ϱ 2 2ϱ + 1 = 0. Or equivalently: ϱ 3 = ϱ 2 + 2ϱ 1 Hence f (ϱ, y) = y ϱ 3 + 2ϱ 1 = y ϱ 2 = g(ϱ, y). As a result gcd(f (ϱ, y), g(ϱ, y)) = y ϱ 2. D. I. Diochnos (UIC - MSCS) Real Solving on Bivariate Algebraic Systems Sep / 65

63 G RUR Example Assume ϱ R alg such that res y (f, g)(ϱ) = 0. We want to compute H = gcd(f (ϱ, y), g(ϱ, y)) (Z[ϱ])[y]. Since res y (f, g)(α) = 0 we have ϱ 3 ϱ 2 2ϱ + 1 = 0. Or equivalently: ϱ 3 = ϱ 2 + 2ϱ 1 Hence f (ϱ, y) = y ϱ 3 + 2ϱ 1 = y ϱ 2 = g(ϱ, y). As a result gcd(f (ϱ, y), g(ϱ, y)) = y ϱ 2. D. I. Diochnos (UIC - MSCS) Real Solving on Bivariate Algebraic Systems Sep / 65

64 G RUR Example The solutions of the system come from the H = gcd (Z[ϱ])[y]. Consequently, by substituting y with Intermediate Points H must change sign at x = ϱ. The Intermediate Points are: Q 1 = 1 Q 2 = Q 3 = Q 4 = 5 Checking interval [Q 1, Q 2 ] : { H1 (x) = 1 x 2 H 2 (x) = x 2 Note that H 1 (x) < 0 x R. Hence, we need to find a root ϱ R alg such that H 2 (ϱ) > 0. D. I. Diochnos (UIC - MSCS) Real Solving on Bivariate Algebraic Systems Sep / 65

65 G RUR Example The solutions of the system come from the H = gcd (Z[ϱ])[y]. Consequently, by substituting y with Intermediate Points H must change sign at x = ϱ. The Intermediate Points are: Q 1 = 1 Q 2 = Q 3 = Q 4 = 5 Checking interval [Q 1, Q 2 ] : { H1 (x) = 1 x 2 H 2 (x) = x 2 Note that H 1 (x) < 0 x R. Hence, we need to find a root ϱ R alg such that H 2 (ϱ) > 0. D. I. Diochnos (UIC - MSCS) Real Solving on Bivariate Algebraic Systems Sep / 65

66 G RUR Example The solutions of the system come from the H = gcd (Z[ϱ])[y]. Consequently, by substituting y with Intermediate Points H must change sign at x = ϱ. The Intermediate Points are: Q 1 = 1 Q 2 = Q 3 = Q 4 = 5 Checking interval [Q 1, Q 2 ] : { H1 (x) = 1 x 2 H 2 (x) = x 2 Note that H 1 (x) < 0 x R. Hence, we need to find a root ϱ R alg such that H 2 (ϱ) > 0. D. I. Diochnos (UIC - MSCS) Real Solving on Bivariate Algebraic Systems Sep / 65

67 G RUR Example D. I. Diochnos (UIC - MSCS) Real Solving on Bivariate Algebraic Systems Sep / 65

68 G RUR Example D. I. Diochnos (UIC - MSCS) Real Solving on Bivariate Algebraic Systems Sep / 65

69 G RUR Example D. I. Diochnos (UIC - MSCS) Real Solving on Bivariate Algebraic Systems Sep / 65

70 G RUR Example D. I. Diochnos (UIC - MSCS) Real Solving on Bivariate Algebraic Systems Sep / 65

71 G RUR Example Working similarly... D. I. Diochnos (UIC - MSCS) Real Solving on Bivariate Algebraic Systems Sep / 65

72 G RUR Example D. I. Diochnos (UIC - MSCS) Real Solving on Bivariate Algebraic Systems Sep / 65

73 Outline 1 Introduction 2 Results in Univariate Polynomials 3 Results in Bivariate Polynomials 4 Real Solving on Bivariate Systems 5 Implementation SLV Library and Sample Usage In-Depth View D. I. Diochnos (UIC - MSCS) Real Solving on Bivariate Algebraic Systems Sep / 65

74 Sturm solver and Sample Usage Open Source MAPLE Code. Homepage: erga/soft/slv index.html 2700 lines of source code. Real Algebraic Numbers Isolating Intervals Representation. Univariate Sign-At - Sturm Sequences Bivariate Sign-At - Sturm Sequences Real Solving on Univariate Polynomials Real Solving on Bivariate Systems Sample Usage: f := 1 + 2*x + xˆ2*y - 5*x*y + xˆ2: g := 2*x + y - 3: bivsols := SLV:-solveGRID ( f, g ): SLV:-display_2 ( bivsols ); < 2*xˆ2-12*x+1, [ 3, 7], >, < xˆ2+6*x-25, [ -2263/256, -35/4], > < x-1, [ 1, 1], 1 >, < x-1, [ 1, 1], 1 > < 2*xˆ2-12*x+1, [3/64, 3/32], e-1 >, < xˆ2+6*x-25, [23179/8192, 2899/1024], > D. I. Diochnos (UIC - MSCS) Real Solving on Bivariate Algebraic Systems Sep / 65

75 GCD in Extension Field, Filtering and Speedup. GCD in Extension Field. [Hoeij and Monagan ] Filtering Interval and floating point arithmetic. Quadratic Interval Refinement [Abbott ] Iterations based on total degree of input polynomials. GCD computation. Finally exact algorithms and computation. M RUR pre-computation filtering. Speedup Real Solving: + multiplicities: GRID 4 M RUR 10 G RUR 1.1 GRID and M RUR 10 G RUR 2 D. I. Diochnos (UIC - MSCS) Real Solving on Bivariate Algebraic Systems Sep / 65

76 Analyzing SLV algorithms deg 5 similar performance in most cases As the degree increases: Real Solving: + multiplicities: GRID GRUR GRID GRUR = 7-10 and MRUR GRUR 38 = 60 and MRUR GRUR 12 D. I. Diochnos (UIC - MSCS) Real Solving on Bivariate Algebraic Systems Sep / 65

77 SLV: Performance Fragments GRID MRUR GRUR phase of the algorithm median mean projections univ. solving biv. solving sorting projection univ. solving StHa seq inter. points filter x-cand compute K biv. solving projections univ. solving inter. points rational biv R alg biv sorting Table: Procedures at a glance. D. I. Diochnos (UIC - MSCS) Real Solving on Bivariate Algebraic Systems Sep / 65

78 SLV: Running Times system deg R Average Time (msecs) f g sols GRID MRUR GRUR R R R M M M M D D C , C C , C , , C > 20 60, 832 3, 877 W , 293 2, W W , W , , Table: Running Times are averages over 10 runs. D. I. Diochnos (UIC - MSCS) Real Solving on Bivariate Algebraic Systems Sep / 65

79 Comparative Performance Real Solving Bivariate Systems vs. GBRS Performance: G RUR Similar performance with GBRS on average SLV increased fluctuation vs. uniform treatment in GBRS Robustness: SLV reliable kernel on loops rs isolate may cause problems with MAPLE kernel vs. SYNAPS (STURM, SUBDIV and NEWMAC) Performance: deg 5 SYNAPS slightly faster deg SYNAPS slower or incomplete solution set STURM determinants compute square-free part SUBDIV and NEWMAC double precision Precision is limited May lose solutions May generate false solutions D. I. Diochnos (UIC - MSCS) Real Solving on Bivariate Algebraic Systems Sep / 65

80 Comparative Performance Topology vs. INSULATE [R. Seidel, N. Wolpert] Performance: deg 4 INSULATE faster. No more than 2 deg SLV faster. G RUR 40 faster when deg 16 M RUR 2-3 faster when deg 16 vs. TOP [L. González-Vega, I. Necula] Performance: No theory for good settings on the extra required parameter of TOP Critical Points G RUR faster even for good settings for TOP G RUR 7-20 faster than TOP (param. = 60, 500) Quality: TOP may produce incorrect results under bad initialization May lose solutions May generate false solutions D. I. Diochnos (UIC - MSCS) Real Solving on Bivariate Algebraic Systems Sep / 65

81 Summary Three algorithms for real solving of bivariate polynomial systems: GRID ÕB(N 14 ). M RUR and G RUR ÕB(N 12 ). The topology of a real plane algebraic curve can be computed in Õ B (N 12 ). Novel and robust MAPLE implementation with promising results. Outlook Express solutions of the sheared system in the original coordinate system. Better implementation on PRSs. Fan-In / Fan-Out D. I. Diochnos (UIC - MSCS) Real Solving on Bivariate Algebraic Systems Sep / 65

82 THANK YOU! D. I. Diochnos (UIC - MSCS) Real Solving on Bivariate Algebraic Systems Sep / 65

Real Solving on Algebraic Systems of Small Dimension

Real Solving on Algebraic Systems of Small Dimension Real Solving on Algebraic Systems of Small Dimension Master s Thesis Presentation Dimitrios I. Diochnos University of Athens March 8, 2007 D. I. Diochnos (Univ. of Athens, µ Q λ ) Real Solving on Bivariate

More information

ACS. Benchmarks and evaluation of experimental algebraic kernels. Ioannis Z. Emiris. ACS Technical Report No.: ACS-TR

ACS. Benchmarks and evaluation of experimental algebraic kernels. Ioannis Z. Emiris. ACS Technical Report No.: ACS-TR ACS Algorithms for Complex Shapes with Certified Numerics and Topology Benchmarks and evaluation of experimental algebraic kernels Dimitrios I. Diochnos Ioannis Z. Emiris Elias P. Tsigaridas ACS Technical

More information

On the asymptotic and practical complexity of solving bivariate systems over the reals

On the asymptotic and practical complexity of solving bivariate systems over the reals On the asymptotic and practical complexity of solving bivariate systems over the reals Dimitrios I. Diochnos University of Illinois at Chicago, USA Ioannis Z. Emiris National Kapodistrian University of

More information

ACS. Algorithms for Complex Shapes with Certified Numerics and Topology

ACS. Algorithms for Complex Shapes with Certified Numerics and Topology ACS Algorithms for Complex Shapes with Certified Numerics and Topology Experimental implementation of more operations on algebraic numbers, possibly with the addition of numeric filters, and of robust

More information

CS 829 Polynomial systems: geometry and algorithms Lecture 3: Euclid, resultant and 2 2 systems Éric Schost

CS 829 Polynomial systems: geometry and algorithms Lecture 3: Euclid, resultant and 2 2 systems Éric Schost CS 829 Polynomial systems: geometry and algorithms Lecture 3: Euclid, resultant and 2 2 systems Éric Schost eschost@uwo.ca Summary In this lecture, we start actual computations (as opposed to Lectures

More information

Factoring univariate polynomials over the rationals

Factoring univariate polynomials over the rationals Factoring univariate polynomials over the rationals Tommy Hofmann TU Kaiserslautern November 21, 2017 Tommy Hofmann Factoring polynomials over the rationals November 21, 2017 1 / 31 Factoring univariate

More information

Quadratic Interval Refinement

Quadratic Interval Refinement (QIR) Analysis of Seminar on Computational Geometry and Geometric Computing Outline Introduction (QIR) Analysis of 1 Introduction in Short Main Goal of this Work 2 3 (QIR) Bisection Method Algorithm 4

More information

Real Algebraic Numbers: Complexity Analysis and Experimentation

Real Algebraic Numbers: Complexity Analysis and Experimentation Real Algebraic Numbers: Complexity Analysis and Experimentation Ioannis Z. Emiris 1 Bernard Mourrain and Elias P. Tsigaridas 1 1 Department of Informatics and Telecommunications National Kapodistrian University

More information

Separating linear forms and Rational Univariate Representations of bivariate systems

Separating linear forms and Rational Univariate Representations of bivariate systems Separating linear forms and Rational Univariate Representations of bivariate systems Yacine Bouzidi, Sylvain Lazard, Marc Pouget, Fabrice Rouillier To cite this version: Yacine Bouzidi, Sylvain Lazard,

More information

Real algebraic numbers and polynomial systems of small degree

Real algebraic numbers and polynomial systems of small degree Real algebraic numbers and polynomial systems of small degree Ioannis Z. Emiris National Kapodistrian University of Athens, HELLAS. Elias P. Tsigaridas INRIA Sophia-Antipolis Méditerranée, FRANCE. Abstract

More information

A Worst-case Bound for Topology Computation of Algebraic Curves

A Worst-case Bound for Topology Computation of Algebraic Curves arxiv:1104.1510v1 [cs.sc] 8 Apr 2011 A Worst-case Bound for Topology Computation of Algebraic Curves Michael Kerber Institute of Science and Technology (IST) Austria Klosterneuburg, Austria mkerber@ist.ac.at

More information

Solving bivariate systems using Rational Univariate Representations

Solving bivariate systems using Rational Univariate Representations Solving bivariate systems using Rational Univariate Representations Yacine Bouzidi, Sylvain Lazard, Guillaume Moroz, Marc Pouget, Fabrice Rouillier, Michael Sagraloff To cite this version: Yacine Bouzidi,

More information

Improved algorithms for solving bivariate systems via Rational Univariate Representations

Improved algorithms for solving bivariate systems via Rational Univariate Representations Improved algorithms for solving bivariate systems via Rational Univariate Representations Yacine Bouzidi, Sylvain Lazard, Guillaume Moroz, Marc Pouget, Fabrice Rouillier, Michael Sagraloff To cite this

More information

g(x) = 1 1 x = 1 + x + x2 + x 3 + is not a polynomial, since it doesn t have finite degree. g(x) is an example of a power series.

g(x) = 1 1 x = 1 + x + x2 + x 3 + is not a polynomial, since it doesn t have finite degree. g(x) is an example of a power series. 6 Polynomial Rings We introduce a class of rings called the polynomial rings, describing computation, factorization and divisibility in such rings For the case where the coefficients come from an integral

More information

Section III.6. Factorization in Polynomial Rings

Section III.6. Factorization in Polynomial Rings III.6. Factorization in Polynomial Rings 1 Section III.6. Factorization in Polynomial Rings Note. We push several of the results in Section III.3 (such as divisibility, irreducibility, and unique factorization)

More information

Chapter 4. Greatest common divisors of polynomials. 4.1 Polynomial remainder sequences

Chapter 4. Greatest common divisors of polynomials. 4.1 Polynomial remainder sequences Chapter 4 Greatest common divisors of polynomials 4.1 Polynomial remainder sequences If K is a field, then K[x] is a Euclidean domain, so gcd(f, g) for f, g K[x] can be computed by the Euclidean algorithm.

More information

In-place Arithmetic for Univariate Polynomials over an Algebraic Number Field

In-place Arithmetic for Univariate Polynomials over an Algebraic Number Field In-place Arithmetic for Univariate Polynomials over an Algebraic Number Field Seyed Mohammad Mahdi Javadi 1, Michael Monagan 2 1 School of Computing Science, Simon Fraser University, Burnaby, B.C., V5A

More information

Algebraic algorithms and applications to geometry

Algebraic algorithms and applications to geometry Algebraic algorithms and applications to geometry Elias P. Tsigaridas Department of Informatics and Telecommunications National Kapodistrian University of Athens, HELLAS et@di.uoa.gr Abstract. Real algebraic

More information

Modular Methods for Solving Nonlinear Polynomial Systems

Modular Methods for Solving Nonlinear Polynomial Systems Modular Methods for Solving Nonlinear Polynomial Systems (Thesis format: Monograph) by Raqeeb Rasheed Graduate Program in Computer Science A thesis submitted in partial fulfillment of the requirements

More information

Chinese Remainder Theorem

Chinese Remainder Theorem Chinese Remainder Theorem Theorem Let R be a Euclidean domain with m 1, m 2,..., m k R. If gcd(m i, m j ) = 1 for 1 i < j k then m = m 1 m 2 m k = lcm(m 1, m 2,..., m k ) and R/m = R/m 1 R/m 2 R/m k ;

More information

6.3 Partial Fractions

6.3 Partial Fractions 6.3 Partial Fractions Mark Woodard Furman U Fall 2009 Mark Woodard (Furman U) 6.3 Partial Fractions Fall 2009 1 / 11 Outline 1 The method illustrated 2 Terminology 3 Factoring Polynomials 4 Partial fraction

More information

Comparing real algebraic numbers of small degree

Comparing real algebraic numbers of small degree Comparing real algebraic numbers of small degree Ioannis Z. Emiris and Elias P. Tsigaridas Department of Informatics and Telecommunications National Kapodistrian University of Athens, Greece {emiris,et}@di.uoa.gr

More information

Math 547, Exam 2 Information.

Math 547, Exam 2 Information. Math 547, Exam 2 Information. 3/19/10, LC 303B, 10:10-11:00. Exam 2 will be based on: Homework and textbook sections covered by lectures 2/3-3/5. (see http://www.math.sc.edu/ boylan/sccourses/547sp10/547.html)

More information

Exact Arithmetic on a Computer

Exact Arithmetic on a Computer Exact Arithmetic on a Computer Symbolic Computation and Computer Algebra William J. Turner Department of Mathematics & Computer Science Wabash College Crawfordsville, IN 47933 Tuesday 21 September 2010

More information

Overview of Computer Algebra

Overview of Computer Algebra Overview of Computer Algebra http://cocoa.dima.unige.it/ J. Abbott Universität Kassel J. Abbott Computer Algebra Basics Manchester, July 2018 1 / 12 Intro Characteristics of Computer Algebra or Symbolic

More information

Towards High Performance Multivariate Factorization. Michael Monagan. This is joint work with Baris Tuncer.

Towards High Performance Multivariate Factorization. Michael Monagan. This is joint work with Baris Tuncer. Towards High Performance Multivariate Factorization Michael Monagan Center for Experimental and Constructive Mathematics Simon Fraser University British Columbia This is joint work with Baris Tuncer. The

More information

MATH 431 PART 2: POLYNOMIAL RINGS AND FACTORIZATION

MATH 431 PART 2: POLYNOMIAL RINGS AND FACTORIZATION MATH 431 PART 2: POLYNOMIAL RINGS AND FACTORIZATION 1. Polynomial rings (review) Definition 1. A polynomial f(x) with coefficients in a ring R is n f(x) = a i x i = a 0 + a 1 x + a 2 x 2 + + a n x n i=0

More information

Rational Univariate Reduction via Toric Resultants

Rational Univariate Reduction via Toric Resultants Rational Univariate Reduction via Toric Resultants Koji Ouchi 1,2 John Keyser 1 Department of Computer Science, 3112 Texas A&M University, College Station, TX 77843-3112, USA Abstract We describe algorithms

More information

Towards High Performance Multivariate Factorization. Michael Monagan. This is joint work with Baris Tuncer.

Towards High Performance Multivariate Factorization. Michael Monagan. This is joint work with Baris Tuncer. Towards High Performance Multivariate Factorization Michael Monagan Center for Experimental and Constructive Mathematics Simon Fraser University British Columbia This is joint work with Baris Tuncer. To

More information

Mathematical Olympiad Training Polynomials

Mathematical Olympiad Training Polynomials Mathematical Olympiad Training Polynomials Definition A polynomial over a ring R(Z, Q, R, C) in x is an expression of the form p(x) = a n x n + a n 1 x n 1 + + a 1 x + a 0, a i R, for 0 i n. If a n 0,

More information

Notes 6: Polynomials in One Variable

Notes 6: Polynomials in One Variable Notes 6: Polynomials in One Variable Definition. Let f(x) = b 0 x n + b x n + + b n be a polynomial of degree n, so b 0 0. The leading term of f is LT (f) = b 0 x n. We begin by analyzing the long division

More information

Public-key Cryptography: Theory and Practice

Public-key Cryptography: Theory and Practice Public-key Cryptography Theory and Practice Department of Computer Science and Engineering Indian Institute of Technology Kharagpur Chapter 2: Mathematical Concepts Divisibility Congruence Quadratic Residues

More information

Lecture 7: Polynomial rings

Lecture 7: Polynomial rings Lecture 7: Polynomial rings Rajat Mittal IIT Kanpur You have seen polynomials many a times till now. The purpose of this lecture is to give a formal treatment to constructing polynomials and the rules

More information

Linear Algebra III Lecture 11

Linear Algebra III Lecture 11 Linear Algebra III Lecture 11 Xi Chen 1 1 University of Alberta February 13, 2015 Outline Minimal Polynomial 1 Minimal Polynomial Minimal Polynomial The minimal polynomial f (x) of a square matrix A is

More information

The complexity of factoring univariate polynomials over the rationals

The complexity of factoring univariate polynomials over the rationals The complexity of factoring univariate polynomials over the rationals Mark van Hoeij Florida State University ISSAC 2013 June 26, 2013 Papers [Zassenhaus 1969]. Usually fast, but can be exp-time. [LLL

More information

Finite Fields. Mike Reiter

Finite Fields. Mike Reiter 1 Finite Fields Mike Reiter reiter@cs.unc.edu Based on Chapter 4 of: W. Stallings. Cryptography and Network Security, Principles and Practices. 3 rd Edition, 2003. Groups 2 A group G, is a set G of elements

More information

1. Algebra 1.5. Polynomial Rings

1. Algebra 1.5. Polynomial Rings 1. ALGEBRA 19 1. Algebra 1.5. Polynomial Rings Lemma 1.5.1 Let R and S be rings with identity element. If R > 1 and S > 1, then R S contains zero divisors. Proof. The two elements (1, 0) and (0, 1) are

More information

Cylindrical Algebraic Decomposition in Coq

Cylindrical Algebraic Decomposition in Coq Cylindrical Algebraic Decomposition in Coq MAP 2010 - Logroño 13-16 November 2010 Assia Mahboubi INRIA Microsoft Research Joint Centre (France) INRIA Saclay Île-de-France École Polytechnique, Palaiseau

More information

Technical Report

Technical Report The Exact Rational Univariate Representation and its Application Koji Ouchi, John Keyser J. Maurice Rojas kouchi@cs.tamu.edu, keyser@cs.tamu.edu rojas@math.tamu.edu Department of Computer Science, Department

More information

be any ring homomorphism and let s S be any element of S. Then there is a unique ring homomorphism

be any ring homomorphism and let s S be any element of S. Then there is a unique ring homomorphism 21. Polynomial rings Let us now turn out attention to determining the prime elements of a polynomial ring, where the coefficient ring is a field. We already know that such a polynomial ring is a UFD. Therefore

More information

Basic Algorithms in Number Theory

Basic Algorithms in Number Theory Basic Algorithms in Number Theory Algorithmic Complexity... 1 Basic Algorithms in Number Theory Francesco Pappalardi #2 - Discrete Logs, Modular Square Roots, Polynomials, Hensel s Lemma & Chinese Remainder

More information

University of Bristol - Explore Bristol Research. Peer reviewed version. Link to publication record in Explore Bristol Research PDF-document

University of Bristol - Explore Bristol Research. Peer reviewed version. Link to publication record in Explore Bristol Research PDF-document Huelse, D., & Hemmer, M. (29). Generic implementation of a modular gcd over algebraic extension fields. Paper presented at 25th European Workshop on Computational Geometry, Brussels, Belgium. Peer reviewed

More information

Homework 8 Solutions to Selected Problems

Homework 8 Solutions to Selected Problems Homework 8 Solutions to Selected Problems June 7, 01 1 Chapter 17, Problem Let f(x D[x] and suppose f(x is reducible in D[x]. That is, there exist polynomials g(x and h(x in D[x] such that g(x and h(x

More information

Computing Real Roots of Real Polynomials

Computing Real Roots of Real Polynomials Computing Real Roots of Real Polynomials and now For Real! Alexander Kobel Max-Planck-Institute for Informatics, Saarbrücken, Germany Fabrice Rouillier INRIA & Université Pierre et Marie Curie, Paris,

More information

FFT-based Dense Polynomial Arithmetic on Multi-cores

FFT-based Dense Polynomial Arithmetic on Multi-cores FFT-based Dense Polynomial Arithmetic on Multi-cores Yuzhen Xie Computer Science and Artificial Intelligence Laboratory, MIT and Marc Moreno Maza Ontario Research Centre for Computer Algebra, UWO ACA 2009,

More information

Computing over Z, Q, K[X]

Computing over Z, Q, K[X] Computing over Z, Q, K[X] Clément PERNET M2-MIA Calcul Exact Outline Introduction Chinese Remainder Theorem Rational reconstruction Problem Statement Algorithms Applications Dense CRT codes Extension to

More information

MTH310 EXAM 2 REVIEW

MTH310 EXAM 2 REVIEW MTH310 EXAM 2 REVIEW SA LI 4.1 Polynomial Arithmetic and the Division Algorithm A. Polynomial Arithmetic *Polynomial Rings If R is a ring, then there exists a ring T containing an element x that is not

More information

MEMORIAL UNIVERSITY OF NEWFOUNDLAND

MEMORIAL UNIVERSITY OF NEWFOUNDLAND MEMORIAL UNIVERSITY OF NEWFOUNDLAND DEPARTMENT OF MATHEMATICS AND STATISTICS Section 5. Math 090 Fall 009 SOLUTIONS. a) Using long division of polynomials, we have x + x x x + ) x 4 4x + x + 0x x 4 6x

More information

Balanced Dense Polynomial Multiplication on Multicores

Balanced Dense Polynomial Multiplication on Multicores Balanced Dense Polynomial Multiplication on Multicores Yuzhen Xie SuperTech Group, CSAIL MIT joint work with Marc Moreno Maza ORCCA, UWO ACA09, Montreal, June 26, 2009 Introduction Motivation: Multicore-enabling

More information

Algebraic structures I

Algebraic structures I MTH5100 Assignment 1-10 Algebraic structures I For handing in on various dates January March 2011 1 FUNCTIONS. Say which of the following rules successfully define functions, giving reasons. For each one

More information

Polynomial Review Problems

Polynomial Review Problems Polynomial Review Problems 1. Find polynomial function formulas that could fit each of these graphs. Remember that you will need to determine the value of the leading coefficient. The point (0,-3) is on

More information

Bounding the number of affine roots

Bounding the number of affine roots with applications in reliable and secure communication Inaugural Lecture, Aalborg University, August 11110, 11111100000 with applications in reliable and secure communication Polynomials: F (X ) = 2X 2

More information

Lecture 7.5: Euclidean domains and algebraic integers

Lecture 7.5: Euclidean domains and algebraic integers Lecture 7.5: Euclidean domains and algebraic integers Matthew Macauley Department of Mathematical Sciences Clemson University http://www.math.clemson.edu/~macaule/ Math 4120, Modern Algebra M. Macauley

More information

Chapter 14: Divisibility and factorization

Chapter 14: Divisibility and factorization Chapter 14: Divisibility and factorization Matthew Macauley Department of Mathematical Sciences Clemson University http://www.math.clemson.edu/~macaule/ Math 4120, Summer I 2014 M. Macauley (Clemson) Chapter

More information

Math 603, Spring 2003, HW 6, due 4/21/2003

Math 603, Spring 2003, HW 6, due 4/21/2003 Math 603, Spring 2003, HW 6, due 4/21/2003 Part A AI) If k is a field and f k[t ], suppose f has degree n and has n distinct roots α 1,..., α n in some extension of k. Write Ω = k(α 1,..., α n ) for the

More information

Complete Numerical Isolation of Real Zeros in General Triangular Systems

Complete Numerical Isolation of Real Zeros in General Triangular Systems Complete Numerical Isolation of Real Zeros in General Triangular Systems Jin-San Cheng 1, Xiao-Shan Gao 1 and Chee-Keng Yap 2,3 1 Key Lab of Mathematics Mechanization Institute of Systems Science, AMSS,

More information

RINGS: SUMMARY OF MATERIAL

RINGS: SUMMARY OF MATERIAL RINGS: SUMMARY OF MATERIAL BRIAN OSSERMAN This is a summary of terms used and main results proved in the subject of rings, from Chapters 11-13 of Artin. Definitions not included here may be considered

More information

1 The Fundamental Theorem of Arithmetic. A positive integer N has a unique prime power decomposition. Primality Testing. and. Integer Factorisation

1 The Fundamental Theorem of Arithmetic. A positive integer N has a unique prime power decomposition. Primality Testing. and. Integer Factorisation 1 The Fundamental Theorem of Arithmetic A positive integer N has a unique prime power decomposition 2 Primality Testing Integer Factorisation (Gauss 1801, but probably known to Euclid) The Computational

More information

3.4. ZEROS OF POLYNOMIAL FUNCTIONS

3.4. ZEROS OF POLYNOMIAL FUNCTIONS 3.4. ZEROS OF POLYNOMIAL FUNCTIONS What You Should Learn Use the Fundamental Theorem of Algebra to determine the number of zeros of polynomial functions. Find rational zeros of polynomial functions. Find

More information

Ruppert matrix as subresultant mapping

Ruppert matrix as subresultant mapping Ruppert matrix as subresultant mapping Kosaku Nagasaka Kobe University JAPAN This presentation is powered by Mathematica 6. 09 : 29 : 35 16 Ruppert matrix as subresultant mapping Prev Next 2 CASC2007slideshow.nb

More information

Polynomials. Chapter 4

Polynomials. Chapter 4 Chapter 4 Polynomials In this Chapter we shall see that everything we did with integers in the last Chapter we can also do with polynomials. Fix a field F (e.g. F = Q, R, C or Z/(p) for a prime p). Notation

More information

Exact, Efficient, and Complete Arrangement Computation for Cubic Curves 1

Exact, Efficient, and Complete Arrangement Computation for Cubic Curves 1 Exact, Efficient, and Complete Arrangement Computation for Cubic Curves 1 Arno Eigenwillig a, Lutz Kettner a, Elmar Schömer b, and Nicola Wolpert a a Max-Planck-Institut für Informatik Stuhlsatzenhausweg

More information

Algebraic Geometry. Contents. Diane Maclagan Notes by Florian Bouyer. Copyright (C) Bouyer 2011.

Algebraic Geometry. Contents. Diane Maclagan Notes by Florian Bouyer. Copyright (C) Bouyer 2011. Algebraic Geometry Diane Maclagan Notes by Florian Bouyer Contents Copyright (C) Bouyer 2011. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation

More information

Dense Arithmetic over Finite Fields with CUMODP

Dense Arithmetic over Finite Fields with CUMODP Dense Arithmetic over Finite Fields with CUMODP Sardar Anisul Haque 1 Xin Li 2 Farnam Mansouri 1 Marc Moreno Maza 1 Wei Pan 3 Ning Xie 1 1 University of Western Ontario, Canada 2 Universidad Carlos III,

More information

Polynomials over UFD s

Polynomials over UFD s Polynomials over UFD s Let R be a UFD and let K be the field of fractions of R. Our goal is to compare arithmetic in the rings R[x] and K[x]. We introduce the following notion. Definition 1. A non-constant

More information

Selected Math 553 Homework Solutions

Selected Math 553 Homework Solutions Selected Math 553 Homework Solutions HW6, 1. Let α and β be rational numbers, with α 1/2, and let m > 0 be an integer such that α 2 mβ 2 = 1 δ where 0 δ < 1. Set ǫ:= 1 if α 0 and 1 if α < 0. Show that

More information

2-4 Zeros of Polynomial Functions

2-4 Zeros of Polynomial Functions Write a polynomial function of least degree with real coefficients in standard form that has the given zeros. 33. 2, 4, 3, 5 Using the Linear Factorization Theorem and the zeros 2, 4, 3, and 5, write f

More information

Handout - Algebra Review

Handout - Algebra Review Algebraic Geometry Instructor: Mohamed Omar Handout - Algebra Review Sept 9 Math 176 Today will be a thorough review of the algebra prerequisites we will need throughout this course. Get through as much

More information

Computer Algebra: General Principles

Computer Algebra: General Principles Computer Algebra: General Principles For article on related subject see SYMBOL MANIPULATION. Computer algebra is a branch of scientific computation. There are several characteristic features that distinguish

More information

+ 1 3 x2 2x x3 + 3x 2 + 0x x x2 2x + 3 4

+ 1 3 x2 2x x3 + 3x 2 + 0x x x2 2x + 3 4 Math 4030-001/Foundations of Algebra/Fall 2017 Polynomials at the Foundations: Rational Coefficients The rational numbers are our first field, meaning that all the laws of arithmetic hold, every number

More information

An elementary approach to subresultants theory

An elementary approach to subresultants theory Journal of Symbolic Computation 35 (23) 281 292 www.elsevier.com/locate/jsc An elementary approach to subresultants theory M hammed El Kahoui Department of Mathematics, Faculty of Sciences Semlalia, Cadi

More information

Algebra. Pang-Cheng, Wu. January 22, 2016

Algebra. Pang-Cheng, Wu. January 22, 2016 Algebra Pang-Cheng, Wu January 22, 2016 Abstract For preparing competitions, one should focus on some techniques and important theorems. This time, I want to talk about a method for solving inequality

More information

Modern Computer Algebra

Modern Computer Algebra Modern Computer Algebra JOACHIM VON ZUR GATHEN and JURGEN GERHARD Universitat Paderborn CAMBRIDGE UNIVERSITY PRESS Contents Introduction 1 1 Cyclohexane, cryptography, codes, and computer algebra 9 1.1

More information

Resultant-based methods for plane curves intersection problems

Resultant-based methods for plane curves intersection problems Resultant-based methods for plane curves intersection problems Laurent Busé, Houssam Khalil, Bernard Mourrain To cite this version: Laurent Busé, Houssam Khalil, Bernard Mourrain. Resultant-based methods

More information

COMPUTER ARITHMETIC. 13/05/2010 cryptography - math background pp. 1 / 162

COMPUTER ARITHMETIC. 13/05/2010 cryptography - math background pp. 1 / 162 COMPUTER ARITHMETIC 13/05/2010 cryptography - math background pp. 1 / 162 RECALL OF COMPUTER ARITHMETIC computers implement some types of arithmetic for instance, addition, subtratction, multiplication

More information

ABSTRACT. HEWITT, CHRISTINA M. Real Roots of Polynomials with Real Coefficients. (Under the direction of Dr. Michael Singer).

ABSTRACT. HEWITT, CHRISTINA M. Real Roots of Polynomials with Real Coefficients. (Under the direction of Dr. Michael Singer). ABSTRACT HEWITT, CHRISTINA M. Real Roots of Polynomials with Real Coefficients. (Under the direction of Dr. Michael Singer). Polynomial equations are used throughout mathematics. When solving polynomials

More information

MATH 2400 LECTURE NOTES: POLYNOMIAL AND RATIONAL FUNCTIONS. Contents 1. Polynomial Functions 1 2. Rational Functions 6

MATH 2400 LECTURE NOTES: POLYNOMIAL AND RATIONAL FUNCTIONS. Contents 1. Polynomial Functions 1 2. Rational Functions 6 MATH 2400 LECTURE NOTES: POLYNOMIAL AND RATIONAL FUNCTIONS PETE L. CLARK Contents 1. Polynomial Functions 1 2. Rational Functions 6 1. Polynomial Functions Using the basic operations of addition, subtraction,

More information

Chapter 4 Finite Fields

Chapter 4 Finite Fields Chapter 4 Finite Fields Introduction will now introduce finite fields of increasing importance in cryptography AES, Elliptic Curve, IDEA, Public Key concern operations on numbers what constitutes a number

More information

Algorithms for the Non-monic Case of the Sparse Modular GCD Algorithm

Algorithms for the Non-monic Case of the Sparse Modular GCD Algorithm Algorithms for the Non-monic Case of the Sparse Modular GCD Algorithm Jennifer de Kleine Department of Mathematics Simon Fraser University Burnaby, B.C. Canada. dekleine@cecm.sfu.ca. Michael Monagan Department

More information

A field F is a set of numbers that includes the two numbers 0 and 1 and satisfies the properties:

A field F is a set of numbers that includes the two numbers 0 and 1 and satisfies the properties: Byte multiplication 1 Field arithmetic A field F is a set of numbers that includes the two numbers 0 and 1 and satisfies the properties: F is an abelian group under addition, meaning - F is closed under

More information

Local properties of plane algebraic curves

Local properties of plane algebraic curves Chapter 7 Local properties of plane algebraic curves Throughout this chapter let K be an algebraically closed field of characteristic zero, and as usual let A (K) be embedded into P (K) by identifying

More information

Algorithms for Polynomial GCD Computation over Algebraic Function Fields

Algorithms for Polynomial GCD Computation over Algebraic Function Fields Algorithms for Polynomial GCD Computation over Algebraic Function Fields Mark van Hoeij Department of Mathematics Florida State University Tallahassee, FL 32306-4510, USA. Michael Monagan Department of

More information

Finding small factors of integers. Speed of the number-field sieve. D. J. Bernstein University of Illinois at Chicago

Finding small factors of integers. Speed of the number-field sieve. D. J. Bernstein University of Illinois at Chicago The number-field sieve Finding small factors of integers Speed of the number-field sieve D. J. Bernstein University of Illinois at Chicago Prelude: finding denominators 87366 22322444 in R. Easily compute

More information

2a 2 4ac), provided there is an element r in our

2a 2 4ac), provided there is an element r in our MTH 310002 Test II Review Spring 2012 Absractions versus examples The purpose of abstraction is to reduce ideas to their essentials, uncluttered by the details of a specific situation Our lectures built

More information

Math 312/ AMS 351 (Fall 17) Sample Questions for Final

Math 312/ AMS 351 (Fall 17) Sample Questions for Final Math 312/ AMS 351 (Fall 17) Sample Questions for Final 1. Solve the system of equations 2x 1 mod 3 x 2 mod 7 x 7 mod 8 First note that the inverse of 2 is 2 mod 3. Thus, the first equation becomes (multiply

More information

Fast Polynomial Multiplication

Fast Polynomial Multiplication Fast Polynomial Multiplication Marc Moreno Maza CS 9652, October 4, 2017 Plan Primitive roots of unity The discrete Fourier transform Convolution of polynomials The fast Fourier transform Fast convolution

More information

a + bi by sending α = a + bi to a 2 + b 2. To see properties (1) and (2), it helps to think of complex numbers in polar coordinates:

a + bi by sending α = a + bi to a 2 + b 2. To see properties (1) and (2), it helps to think of complex numbers in polar coordinates: 5. Types of domains It turns out that in number theory the fact that certain rings have unique factorisation has very strong arithmetic consequences. We first write down some definitions. Definition 5.1.

More information

1. Group Theory Permutations.

1. Group Theory Permutations. 1.1. Permutations. 1. Group Theory Problem 1.1. Let G be a subgroup of S n of index 2. Show that G = A n. Problem 1.2. Find two elements of S 7 that have the same order but are not conjugate. Let π S 7

More information

Proving Unsatisfiability in Non-linear Arithmetic by Duality

Proving Unsatisfiability in Non-linear Arithmetic by Duality Proving Unsatisfiability in Non-linear Arithmetic by Duality [work in progress] Daniel Larraz, Albert Oliveras, Enric Rodríguez-Carbonell and Albert Rubio Universitat Politècnica de Catalunya, Barcelona,

More information

Lecture Notes Math 371: Algebra (Fall 2006) by Nathanael Leedom Ackerman

Lecture Notes Math 371: Algebra (Fall 2006) by Nathanael Leedom Ackerman Lecture Notes Math 371: Algebra (Fall 2006) by Nathanael Leedom Ackerman October 31, 2006 TALK SLOWLY AND WRITE NEATLY!! 1 0.1 Symbolic Adjunction of Roots When dealing with subfields of C it is easy to

More information

Umans Complexity Theory Lectures

Umans Complexity Theory Lectures Complexity Theory Umans Complexity Theory Lectures Lecture 1a: Problems and Languages Classify problems according to the computational resources required running time storage space parallelism randomness

More information

Zero Determination of Algebraic Numbers using Approximate Computation and its Application to Algorithms in Computer Algebra

Zero Determination of Algebraic Numbers using Approximate Computation and its Application to Algorithms in Computer Algebra Zero Determination of Algebraic Numbers using Approximate Computation and its Application to Algorithms in Computer Algebra Hiroshi Sekigawa NTT Communication Science Laboratories, Nippon Telegraph and

More information

Horizontal and Vertical Asymptotes from section 2.6

Horizontal and Vertical Asymptotes from section 2.6 Horizontal and Vertical Asymptotes from section 2.6 Definition: In either of the cases f(x) = L or f(x) = L we say that the x x horizontal line y = L is a horizontal asymptote of the function f. Note:

More information

: Error Correcting Codes. October 2017 Lecture 1

: Error Correcting Codes. October 2017 Lecture 1 03683072: Error Correcting Codes. October 2017 Lecture 1 First Definitions and Basic Codes Amnon Ta-Shma and Dean Doron 1 Error Correcting Codes Basics Definition 1. An (n, K, d) q code is a subset of

More information

50 Algebraic Extensions

50 Algebraic Extensions 50 Algebraic Extensions Let E/K be a field extension and let a E be algebraic over K. Then there is a nonzero polynomial f in K[x] such that f(a) = 0. Hence the subset A = {f K[x]: f(a) = 0} of K[x] does

More information

COMPUTING RATIONAL POINTS IN CONVEX SEMI-ALGEBRAIC SETS AND SOS DECOMPOSITIONS

COMPUTING RATIONAL POINTS IN CONVEX SEMI-ALGEBRAIC SETS AND SOS DECOMPOSITIONS COMPUTING RATIONAL POINTS IN CONVEX SEMI-ALGEBRAIC SETS AND SOS DECOMPOSITIONS MOHAB SAFEY EL DIN AND LIHONG ZHI Abstract. Let P = {h 1,..., h s} Z[Y 1,..., Y k ], D deg(h i ) for 1 i s, σ bounding the

More information

Symbolic methods for solving algebraic systems of equations and applications for testing the structural stability

Symbolic methods for solving algebraic systems of equations and applications for testing the structural stability Symbolic methods for solving algebraic systems of equations and applications for testing the structural stability Yacine Bouzidi and Fabrice Rouillier Abstract n this work, we provide an overview of the

More information

Further linear algebra. Chapter II. Polynomials.

Further linear algebra. Chapter II. Polynomials. Further linear algebra. Chapter II. Polynomials. Andrei Yafaev 1 Definitions. In this chapter we consider a field k. Recall that examples of felds include Q, R, C, F p where p is prime. A polynomial is

More information

A. Incorrect! Apply the rational root test to determine if any rational roots exist.

A. Incorrect! Apply the rational root test to determine if any rational roots exist. College Algebra - Problem Drill 13: Zeros of Polynomial Functions No. 1 of 10 1. Determine which statement is true given f() = 3 + 4. A. f() is irreducible. B. f() has no real roots. C. There is a root

More information

Complex Numbers: Definition: A complex number is a number of the form: z = a + bi where a, b are real numbers and i is a symbol with the property: i

Complex Numbers: Definition: A complex number is a number of the form: z = a + bi where a, b are real numbers and i is a symbol with the property: i Complex Numbers: Definition: A complex number is a number of the form: z = a + bi where a, b are real numbers and i is a symbol with the property: i 2 = 1 Sometimes we like to think of i = 1 We can treat

More information