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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

A.5. VANDERMONDE SYSTEMS 217<br />

Clearly c ≡ a<br />

about (A.7)?<br />

(mod M), so satisfying (A.8) means that (A.6) is satisfied. What<br />

c = a + λM(b − a)<br />

= a + (1 − µN)(b − a)<br />

≡ a + (b − a) (mod N)<br />

so, despite the apparent asymmetry <strong>of</strong> the construction, c ≡ b (mod N) as<br />

well.<br />

As in Algorithm 40, X, a and b may as well be polynomials in x whose<br />

coefficients are polynomials in y (but M and N are still in y only).<br />

Algorithm 42 (Chinese Remainder (Multivariate))<br />

Input: Polynomials a = ∑ n<br />

i=0 a ix i , b = ∑ n<br />

i=0 b ix i ∈ K[y][x], and M and<br />

N ∈ K[y] (with gcd(M, N) = 1).<br />

Output: A polynomial = ∑ n<br />

i=0 c ix i satisfying Theorem 36.<br />

Compute λ, µ such that λM + µN = 1;<br />

#As in Lemma 1 (page 45). Note µ isn’t needed in practice.<br />

<strong>for</strong> i := 0 to n do<br />

c i :=a i + λM(b i − a i );<br />

It is even possible <strong>for</strong> x (and i) to represent numerous indeterminates, as we are<br />

basically just doing coefficient-by-coefficient reconstruction.<br />

Observation 14 We have explicitly considered K[y] (e.g. Q[y]), but in practice<br />

we will <strong>of</strong>ten wish to consider Z[y]. Even if all the initial values are in Z[x],<br />

λ and µ may not be, as in M = (y − 1) and N = (y + 1), when λ = −1<br />

2<br />

and<br />

µ = 1 2<br />

. This may not be an obstacle to such reconstruction from values (<strong>of</strong>ten<br />

called interpolation, by analogy with interpolation over R). Interpolation over<br />

Z[y] may still be possible: consider reconstructing X with X ≡ 1 (mod M)<br />

and X ≡ −1 (mod N), which is 1 + −1<br />

2<br />

M(−1 − 1) = y. But interpolation over<br />

Z[y] is not always possible: consider reconstructing X with X ≡ 1 (mod M)<br />

and X ≡ 0 (mod N), which gives 1 2<br />

(y − 1).<br />

A.5 Vandermonde Systems<br />

Definition 92 The Vandermonde matrix 4 generated by k 1 , . . . , k n is<br />

⎛<br />

1 k 1 k1 2 . . . k n−1 ⎞<br />

1<br />

1 k 2 k2 2 . . . k n−1<br />

2<br />

V (k 1 , . . . , k n ) = ⎜<br />

⎟<br />

⎝ . . . . ⎠ .<br />

1 k n kn 2 . . . kn<br />

n−1<br />

4 This section is based on [Zip93, §13.1]. Our algorithm 43 is his SolveVanderMonde, and<br />

our algorithm 44 is the one at the top <strong>of</strong> his p. 214.

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

Saved successfully!

Ooh no, something went wrong!