Horner's MethodHorner's method (also Horner Algorithm and Horner Scheme) is an efficient way of evaluating polynomials and their derivatives at a given point. It is also used for a compact presentation of the long division of a polynomial by a linear polynomial. The method is named after the British mathematician William George Horner (1786 – 1837). A polynomial P(x) can be written in the descending order of the powers of x:
or in the ascending order of the exponents:
The Horner scheme computes the value P(t) of the polynomial P at x = t as the sequence of steps starting with the leading coefficient an:
k = n - 1, n - 2, ..., 1, 0 and bn = an, with b0 = P(t). This follows from a special form of the polynomial
in the descending order of the exponents or in the ascending order as in
For example, the polynomial P(x) = 2x4 - 3x3 + x + 7 can be written as
or else as
According to (1), say P(2) comes out as the last term in the sequence
These calculations are conveniently arranged into a table
or, in the ascending order, with calculations carried right to left,
where the first row lists the coefficients of the polynomial, the third row the sequence of computed bi's. The auxiliary quantities 2·bi's are placed diagonally from bi's and under the ai-1 they are summed with according to (1). Thus we see that The other terms in the last row also come in handy. By direct verification one can check that
So the coefficients b in the last row comprise both the quotient of the division of P(x) by Note also that P(x) = (x - 2)Q(x) + 17 implies The applet below helps finding more examples of the workings of the Horner scheme. All blue numbers (the coefficients of P, the highest power of x and the specific value of x in the third line are clickable. Click on both sides of their vertical midline to see how they change.)
Let's now see what additional use can be made of the quantity Q(t) in
where Q(x) is the quotient of
It follows that
Using the example of P(x) = 2x4 - 3x3 + x + 7, we see that, in addition to References
|Contact| |Front page| |Contents| |Algebra| |Store| Copyright © 1996-2012 Alexander Bogomolny |
| 40618327 |

