SLIDE 1
Slide 3 Standard Method
- 1. Evaluate the powers x, x2, . . . xn.
We do this by starting with x and successively multiplying by x to obtain x2, then x3, . . . , and finally xn,
- 2. Form the products a0, a1x, a2x2, . . . anxn.
- 3. Add them to together:
p(x) = a0 + a1x + a2x2 + · · · + +anxn Slide 4
Operation Count
- 1. Evaluating the powers x, x2, . . . xn requires n − 1 multiplications
— one for each of x2, . . . xn.
- 2. Evaluating the products a0, a1x, a2x2, . . . anxn requires n
multiplications — one for each of a1x, . . . anxn.
- 3. Evaluating the sum a0 + a1x + a2x2 + · · · + anxn requires n