Given a polynomial A(x) of degree-bound n, we define its t th derivative by From the coefficient

Question:

Given a polynomial A(x) of degree-bound n, we define its t th derivative by

image

From the coefficient representation (a0, a1, . . . , an-1) of A(x) and a given point x0, we wish to determine A(t)(x0) for t = 0, 1, . . . , n - 1.

a. Given coefficients b0, b1, . . . , bn-1 such that

image

show how to compute A(t)(x0), for t = 0, 1, . . . , n - 1, in O(n) time.

b. Explain how to find b0, b1, . . . ,bn-1 in O(n lg n) time, given A (x0 + ωkn) for k = 0, 1, . . . , n - 1.

c. Prove that

image

where f (j) = aj · j ! and

image

d. Explain how to evaluate A(x0 + ωkn) for k = 0, 1, . . . , n - 1 in O(n lg n) time. Conclude that we can evaluate all nontrivial derivatives of A(x) at x0 in O(n lg n) time.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  answer-question

Introduction to Algorithms

ISBN: 978-0262033848

3rd edition

Authors: Thomas H. Cormen, Charles E. Leiserson, Ronald L. Rivest

Question Posted: