Question

Show how to apply the fast Fourier Transform to multiply three polynomials A(x) = a0 +a1x+a2x...

Show how to apply the fast Fourier Transform to multiply three polynomials A(x) = a0 +a1x+a2x 2 +· · ·+an−1x n−1 of degree n−1, B(x) = b0 +b1x+b2x 2 +· · ·+bn−1x n−1 of degree n − 1, and C(x) = c0 + c1x + c2x 2 + · · · + cn−1x n−1 of degree n − 1 when n is a power of 2. Analyze its time complexity.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

First multiply two polynomials using FFT, then multiply the result by the third polynomial.

The Time complexity will be nlog(n).

Use the following algorithm:

Algorithm
1. Add n higher-order zero coefficients to A(x) and B(x)
2. Evaluate A(x) and B(x) using FFT for 2n points
3. Pointwise multiplication of point-value forms
4. Interpolate C(x) using FFT to compute inverse DFT
Add a comment
Know the answer?
Add Answer to:
Show how to apply the fast Fourier Transform to multiply three polynomials A(x) = a0 +a1x+a2x...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT