TOPICS
Search

Estrin's Scheme


Estrin's scheme evaluates a polynomial by grouping adjacent coefficients into pairs and combining the resulting expressions in a binary tree. For p(x)=sum_(j=0)^(n)a_jx^j, the first stage rewrites the polynomial as

 p(x)=sum_(j=0)^(|_n/2_|)(a_(2j)+a_(2j+1)x)(x^2)^j,

where |_n/2_| uses the floor function and a_(n+1)=0 when n is even. The expressions a_(2j)+a_(2j+1)x can be evaluated in parallel. The scheme then pairs the new coefficients in the same way, using x^2 in place of x and squaring the evaluation point at each stage until a single value remains (Estrin 1960, pp. 35-36).

For a cubic polynomial p(x)=a_0+a_1x+a_2x^2+a_3x^3, this gives

 p(x)=(a_0+a_1x)+(a_2+a_3x)x^2.

The evaluation tree has logarithmic depth in the number of coefficients. By comparison, Horner's rule evaluates the polynomial through a linear chain of dependent operations.

The compensated variant of Yu et al. (2026) uses error-free transformations to recover local roundoff errors and compute a correction using binary64 floating-point arithmetic. With rounding to nearest in the normal range, for p(x)!=0 and fixed polynomial degree at least two, their relative error bound has the form u+kappa(p,x)O(u^2), where u is the unit roundoff and kappa(p,x) measures the sensitivity of p(x) to componentwise relative perturbations of its coefficients (Yu et al. 2026, p. 426).


See also

Horner's Rule, Polynomial

Explore with Wolfram|Alpha

References

Estrin, G. "Organization of Computer Systems: The Fixed Plus Variable Structure Computer." In Proc. Western Joint IRE-AIEE-ACM Computer Conference. New York: ACM, pp. 33-40, 1960. https://doi.org/10.1145/1460361.1460365.Yu, G.; Graillat, S.; Jiang, H.; Huang, C.; and Tang, T. "A Compensated Estrin Scheme for Accurate Polynomial Evaluation." In Computer Algebra in Scientific Computing: CASC 2026 Proceedings (Ed. F. Boulier, C. Mou, T. M. Sadykov, and A. K. Uncu). Cham, Switzerland: Springer, pp. 416-435, 2026. https://doi.org/10.1007/978-3-032-34586-8_21.

Cite this as:

Weisstein, Eric W. "Estrin's Scheme." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/EstrinsScheme.html

Subject classifications