Optimal Approximation of the 1/ <i>x</i> Function using Chebyshev Polynomials and Magic Constants

In this article we analyze low-cost accurate approximation of the function \(1/x\) using Chebyshev polynomials of the first kind and minimizing number of elementary operations in computer codes (in particular, by using the so-called magic constants). It is shown that Newton-Raphson iterative method is not optimal and a new approach is proposed. We prove that optimal Chebyshev polynomials can be factorized in terms of Chebyshev polynomials of lower order which leads to new optimal iteration schemes. We also construct a family of new algorithms by dividing the considered interval into sub-intervals where different magic constants and multiplicative factors are used (in order to increase the accuracy). Theoretical considerations and proofs are completed with numerical tests on three types of microcontroller processors.

Authors

Institutions

Publication Details

Journal
ACM Transactions on Mathematical Software
Published
2024-12-18
DOI
https://doi.org/10.1145/3708472
Citations
1
Primary Topic
Numerical Methods and Algorithms
Type
article
Field-Weighted Citation Impact
0.36
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Optimal Approximation of the 1/ x Function using Chebyshev Polynomials and Magic Constants

Jan L. Cieśliński, Cezary J. Walczyk, Volodymyr Samotyy, Leonid Moroz
1 citations
ACM Transactions on Mathematical Software
Numerical Methods and Algorithms
0.36
article

Optimal Approximation of the 1/ x Function using Chebyshev Polynomials and Magic Constants

Jan L. Cieśliński, Cezary J. Walczyk, Volodymyr Samotyy, Leonid Moroz
article en
1 citations

Abstract

In this article we analyze low-cost accurate approximation of the function \(1/x\) using Chebyshev polynomials of the first kind and minimizing number of elementary operations in computer codes (in particular, by using the so-called magic constants). It is shown that Newton-Raphson iterative method is not optimal and a new approach is proposed. We prove that optimal Chebyshev polynomials can be factorized in terms of Chebyshev polynomials of lower order which leads to new optimal iteration schemes. We also construct a family of new algorithms by dividing the considered interval into sub-intervals where different magic constants and multiplicative factors are used (in order to increase the accuracy). Theoretical considerations and proofs are completed with numerical tests on three types of microcontroller processors.

ACM Transactions on Mathematical SoftwareVol. 51(1)
Warsaw University of Technology (PL), Bialystok University of Technology (PL), University of Białystok (PL), Cracow University of Technology (PL)
Openalex Percentile: Top 33%
Numerical Methods and Algorithms
0.36
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Optimal Approximation of the 1/ <i>x</i> Function using Chebyshev Polynomials and Magic Constants — Jan L. Cieśliński, Cezary J. Walczyk, et al. · ACM Transactions on Mathematical Software (2024) | TGRS Research Map | TGRS