Let \(g, h \in R[X, Y]\) with \(g=\sum_{i=0}^{m-1} g_{i} Y^{i}\) and
\(h=\sum_{i=0}^{m-1} h_{i} Y^{i},\)
where each \(g_{i}\) and \(h_{i}\) is a polynomial in \(X\) of degree less than \(k
.\) The product \(f:=g h \in R[X, Y]\) may be written \(f=\sum_{i=0}^{2 m-2} f_{i}
Y^{i},\) where each \(f_{i}\) is a polynomial in \(X .\) Show how to compute \(f,\)
given \(g\) and \(h,\) using \(O(M(k m))\) operations in \(R\). Hint: for an
appropriately chosen integer \(t>0,\) first convert \(g, h\) to \(\tilde{g},
\tilde{h} \in R[X],\) where \(\tilde{g}:=\sum_{i=0}^{m-1} g_{i} X^{t i}\) and
\(\tilde{h}:=\sum_{i=0}^{m-1} h_{i} X^{t i} ;\) next, compute
\(\tilde{f}:=\tilde{g} \tilde{h} \in R[X] ;\)
finally, "read off" the \(f_{i}\) 's from the coefficients of \(\tilde{f}\).