19.07.2014 Views

Contents - Student subdomain for University of Bath

Contents - Student subdomain for University of Bath

Contents - Student subdomain for University of Bath

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

174 CHAPTER 7. CALCULUS<br />

(7.14) t 1 = ∏ r i−1<br />

i . Furthermore every factor <strong>of</strong> t 2 arises from the r i , and is not<br />

repeated. Hence we can choose<br />

t 1 = gcd(r, r ′ ) and t 2 = r/t 1 . (7.19)<br />

Having done this, we can solve <strong>for</strong> the coefficients in s 1 and s 2 , and the resulting<br />

equations are linear in the unknown coefficients. More precisely, the equations<br />

become<br />

q = s ′ r t ′<br />

1 − s<br />

1t 2<br />

1 + s 2 t 1 , (7.20)<br />

t i t 1<br />

where the polynomial divisions are exact, and the linearity is now obvious. The<br />

programmer should note that s 1 /t 1 is guaranteed to be in lowest terms, but<br />

s 2 /t 2 is not (and indeed will be 0 if there is no logarithmic term).<br />

7.2.4 The Trager–Rothstein Algorithm<br />

Whether we use the method <strong>of</strong> section 7.2.2 or 7.2.3, we have to integrate<br />

the logarithmic part. (7.8)–(7.11) shows that this may, but need not, require<br />

algebraic numbers. How do we tell? The answer is provided by the following<br />

∑<br />

observation 3 [Rot76, Tra76]: if we write the integral <strong>of</strong> the logarithmic part as<br />

ci log v i , we can determine the equation satisfied by the c i , i.e. the analogue<br />

<strong>of</strong> (7.12), by purely rational computations.<br />

So write<br />

∫<br />

s2<br />

= ∑ c i log v i , (7.21)<br />

t 2<br />

where we can assume 4 :<br />

1.<br />

s 2<br />

t2<br />

is in lowest terms;<br />

2. the v i are polynomials (using log f g<br />

= log f − log g);<br />

3. the v i are square-free (using log ∏ f i i = ∑ i log f i );<br />

4. the v i are relatively prime (using c log pq +d log pr = (c+d) log p+c log q +<br />

d log r);<br />

5. the c i are all different (using c log p + c log q = c log pq);<br />

6. the c i generate the smallest possible extension <strong>of</strong> the original field <strong>of</strong> coefficients.<br />

(7.21) can be rewritten as<br />

s 2<br />

t 2<br />

= ∑ c i<br />

v ′ i<br />

v i<br />

. (7.22)<br />

3 As happens surprisingly <strong>of</strong>ten in computer algebra, this was a case <strong>of</strong> simultaneous discovery.<br />

4 We are using “standard” properties <strong>of</strong> the log operator here without explicit justification:<br />

they are justified in Section 7.3, and revisited in Section 8.6.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!