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.

7.5. INTEGRATION OF EXPONENTIAL EXPRESSIONS 187<br />

Figure 7.3: Algorithm 35: IntExp–Polynomial<br />

Algorithm 35 (IntExp–Polynomial)<br />

Input: p = ∑ n<br />

i=−m a iθ i ∈ K[θ], where θ = exp η.<br />

Output: An expression <strong>for</strong> ∫ pdx, or failed if not elementary<br />

Ans:=0<br />

<strong>for</strong> i := −m, . . . , −1, 1, . . . , n do<br />

b i := RDE(iη ′ , a i )<br />

if b i =failed<br />

return failed<br />

else Ans:=Ans+b i θ i<br />

c 0 := ∫ a 0dx<br />

# integration in K<br />

if c 0 =failed<br />

return failed<br />

Ans:=Ans+c 0<br />

7.5.2 The Rational Expression Part<br />

The last equation (7.36) <strong>of</strong> Lemma 11 says that<br />

∫ q<br />

r = (<br />

n<br />

∑<br />

i=k+1<br />

c i n i<br />

)<br />

} {{ }<br />

“correction”<br />

(<br />

q0<br />

η +<br />

r 0<br />

)<br />

+<br />

n∑<br />

i=k+1<br />

c i (log v i − n i η) , (7.37)<br />

} {{ }<br />

proper rational expression<br />

where the v i are monic polynomials (not divisible by θ) <strong>of</strong> degree n i . The proper<br />

rational expression part is determined by an analogue <strong>of</strong> Hermite’s algorithm,<br />

and (7.18) is still valid, though we should point out that the justification involved<br />

stating that gcd(r i , r i ′) = 1, where the r i were the square-free factors <strong>of</strong> r 0 . Since<br />

θ ′ = ηθ, this is no longer true if θ|r i , but this is excluded since such factors were<br />

moved into the Laurent polynomial (Definition 86) part.<br />

Hence the Hermite part <strong>of</strong> Algorithm 36 is identical to the rational and<br />

logarithmic cases. The Trager–Rothstein part is sligtly more complicated, since<br />

v i ′/v i is no longer a proper rational expression (the cause <strong>of</strong> the term marked<br />

‘correction” in (7.37). Suppose we have a term s 2 /t 2 (in lowest terms: the<br />

programmer must not <strong>for</strong>get this check) left after Hermite’s algorithm, and<br />

write<br />

∫<br />

s2<br />

= ∑ c i (log v i − n i η), (7.38)<br />

t 2<br />

(7.38) can be differentiated to<br />

s 2<br />

t 2<br />

= ∑ c i<br />

v ′ i − n iη ′ v i<br />

v i<br />

. (7.39)

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

Saved successfully!

Ooh no, something went wrong!