Question: a) Find a method to compute ac,ad+bc and bd using three multiplications,given reals a,b,c and d.(Note that since (ax +b) *(cx+d) = acx 2 +(ad+bc)x

a) Find a method to compute ac,ad+bc and bd using three multiplications,given reals a,b,c and d.(Note that since (ax +b) *(cx+d) = acx2 +(ad+bc)x +bd ,this result allows us to multiply two degree-one polynomials using three real multiplications.)

b)Develop a divide and conquer algorithm for multiplying two degree-n polynomials

A(x)= anxn + an-1xn-1+........+a1x +a0

and

B(x)=bnxn+ bn-1xn-1+........+b1x + b0 in O (n log23) time and prove the running time by writing and analyzing a recurrence relation.You may assume that n is a power of 2.Your algorithm takes as input coefficients an,...............,a0,bn,............,b0 and outputs the coefficient c2n,,c2n-1,......c0 of polynomial c(x)=A(x)B(x).

HINT: One approach is to divide the coefficients into upper-half and lower half based on their indices and apply the result in the previous subproblem.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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 Databases Questions!