Week 88 of 145 · TAOCP Vol 2: Seminumerical Algorithms

TAOCP 4.6.4 Evaluation of Polynomials

1 task, 3 steps. Open a task's steps to see exactly what to do; each guide has the detail.

Sign up or sign in to tick these off and give this week a due date.

By the end of this week you can

  • Use Horner's rule to evaluate a polynomial with n multiplications.
  • Explain how preprocessing coefficients saves multiplications for repeated evaluations.
  • Recognize the discrete Fourier transform as evaluation at roots of unity.

Week 88 · Self-check

Three quick questions

Ungraded, and it never holds anything up. Pick an answer to see why.

  1. Use Horner's rule to evaluate 2x³ − 6x² + 2x − 1 at x = 3.
  2. When is it worth preprocessing a polynomial's coefficients?
  3. About how much work does the fast Fourier transform take to evaluate a degree n − 1 polynomial at all n complex n-th roots of unity?

Nothing is saved while signed out.

Discussion

0 posts

Stuck on week 88, or finished early? Say what you tried and what happened. Hints over answers: full solutions go in a spoiler.

No posts yet. Ask a question or share a tip.

Sign in to postAnyone can read. Posting needs an account with a confirmed email.

Spot a mistake? Report it