Chapter 17: Problem 3
Let \(f \in R[X]\) be a polynomial of degree \(\ell>0\) with \(\operatorname{lc}(f) \in R^{*},\) and let \(E:=R[X] /(f) .\) Suppose that in addition to \(f,\) we are given a polynomial \(g \in R[X]\) of degree less than \(k\) and an element \(\alpha \in E,\) and we want to compute \(g(\alpha) \in E .\) This is called the modular composition problem. (a) Show that a straightforward application of Horner's rule yields an algorithm that uses \(O\left(k \ell^{2}\right)\) operations in \(R,\) and requires space for storing \(O(\ell)\) elements of \(R\). (b) Show how to compute \(g(\alpha)\) using just \(O\left(k \ell+k^{1 / 2} \ell^{2}\right)\) operations in \(R,\) at the expense of requiring space for storing \(O\left(k^{1 / 2} \ell\right)\) elements of \(R\). Hint: first compute a table of powers \(1, \alpha, \ldots, \alpha^{m},\) for \(m \approx k^{1 / 2}\)
Short Answer
Step by step solution
Key Concepts
These are the key concepts you need to understand to accurately answer the question.