Contents - Student subdomain for University of Bath
Contents - Student subdomain for University of Bath
Contents - Student subdomain for University of Bath
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
208 APPENDIX A. ALGEBRAIC BACKGROUND<br />
Corollary 18 Disc(fg) = Disc(f) Disc(g) Res(f, g) 2 .<br />
Whichever way they are calculated, the resultants are <strong>of</strong>ten quite large. For<br />
example, if the a i and b i are integers, bounded by A and B respectively, the<br />
resultant is less than (n + 1) m/2 (m + 1) n/2 A m B n , but it is very <strong>of</strong>ten <strong>of</strong> this<br />
order <strong>of</strong> magnitude (see section A.2). Similarly, if the a i and b i are polynomials<br />
<strong>of</strong> degree α and β respectively, the degree <strong>of</strong> the resultant is bounded by mα+nβ.<br />
A case in which this swell <strong>of</strong>ten matters is the use <strong>of</strong> resultants to calculate<br />
primitive elements, which uses the following result.<br />
Proposition 64 If α is a root <strong>of</strong> p(x) = 0, and β is a root <strong>of</strong> q(x, α) = 0, then<br />
β is a root <strong>of</strong> Res y (y − p(x), q(x, y)).<br />
A.2 Useful Estimates<br />
Estimates <strong>of</strong> the sizes <strong>of</strong> various things crop up throughout computer algebra.<br />
They can be essentially <strong>of</strong> three kinds.<br />
• Upper bounds: X ≤ B.<br />
• Lower bounds: X ≥ B.<br />
• Average sizes: X “is typically” B. This may be a definitive average<br />
result (but even here we have to be careful what we are averaging over:<br />
the average number <strong>of</strong> factors <strong>of</strong> a polynomial is one, <strong>for</strong> example, but this<br />
does not mean we can ignore factorisation), or some heuristic “typically<br />
we find”.<br />
Estimates are used throughout complexity theory, <strong>of</strong> course. “Worst case” complexity<br />
is driven by upper bound results, while “average case” complexity is<br />
driven by average results. They are also used in algorithms: most algorithms <strong>of</strong><br />
the ‘Chinese Remainder’ variety (section 4) rely on upper bounds to tell when<br />
they have used enough primes/evaluation points. In this case, a better upper<br />
bound generally translates into a faster algorithm in practice.<br />
A.2.1<br />
Matrices<br />
How big is the determinant |M| <strong>of</strong> an n × n matrix M?<br />
Notation √∑<br />
27 If v is a vector, then |v| denotes the Euclidean norm <strong>of</strong> v,<br />
|v<br />
2<br />
i |. If f is a polynomial, |f| denotes the Euclidean norm <strong>of</strong> its vector<br />
<strong>of</strong> ce<strong>of</strong>ficients.<br />
Proposition 65 If M is an n × n matrix with entries ≤ B, |M| ≤ n!B n .<br />
This bound is frequently used in algorithm analysis, but we can do better.<br />
Proposition 66 [Hadamard bound H r ] If M is an n × n matrix whose rows<br />
are the vectors v i , then |M| ≤ H r = ∏ |v i |, which in turn is ≤ n n/2 B n .