Question: In some numerical computing applications, a desired computation is to find a polynomial that goes through a given set of points on a line, which,

In some numerical computing applications, a desired computation is to find a polynomial that goes through a given set of points on a line, which, without loss of generality, we can assume is the x-axis. So suppose you are given a set of real numbers 

X = {x0, x1,...,xnāˆ’1}. 

Note that, by the Interpolation Theorem for Polynomials, there is a unique degree- (n āˆ’ 1) polynomial p(x), such that 

p(xi)=0, for i = 0, 1,...,n āˆ’ 1, 

and these are the only 0-values for the polynomial. Design a divide-and-conquer algorithm that can construct a coefficient-form representation of this polynomial, p(x), using O(n log2 n) arithmetic operations.

Step by Step Solution

3.40 Rating (159 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Divide X into two sets X 1 and X 2 of equal size n2 and recursively ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Data Structures Algorithms Questions!