skip to main content
research-article

Series crimes

Published:23 July 2012Publication History
Skip Abstract Section

Abstract

Puiseux series are power series in which the exponents can be fractional and/or negative rational numbers. Several computer algebra systems have one or more built-in or loadable functions for computing truncated Puiseux series. Some are generalized to allow coefficients containing functions of the series variable that are dominated by any power of that variable, such as logarithms and nested logarithms of the series variable. Some computer algebra systems also have built-in or loadable functions that compute infinite Puiseux series. Unfortunately, there are some little-known pitfalls in computing Puiseux series. The most serious of these is expansions within branch cuts or at branch points that are incorrect for some directions in the complex plane. For example with each series implementation accessible to you.

Compare the value of (z2 + z3)3/2 with that of its truncated series expansion about z = 0, approximated at z = ?0.01. Does the series converge to a value that is the negative of the correct value?

Compare the value of ln(z2 + z3) with its truncated series expansion about z = 0, approximated at z = ?0.01 + 0.1i. Does the series converge to a value that is incorrect by 2πi?

Compare arctanh(?2 + ln(z)z) with its truncated series expansion about z = 0, approximated at z = ?0.01. Does the series converge to a value that is incorrect by about πi?

At the time of this writing, most implementations that accommodate such series exhibit such errors. This article describes how to avoid these errors both for manual derivation of series and when implementing series packages.

References

  1. Corless, R.M. and Jeffrey, D.J., The unwinding number, ACM SIGSAM Bulletin 30 (2), 1996, pp. 28--35. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. Corless, R.M., Davenport, J.H., Jeffrey, D.J. and Watt, S.M., According to Abramowitz andStegun, ACM SIGSAM Bulletin, 34 (2), 2000, pp 58--65. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. Kahan, W., Branch cuts for complex elementary functions, in The State of the Art in Numerical Analysis, editors A. Iserles and M.J.D. Powell, Clarendon Press, 1987, pp. 165--212.Google ScholarGoogle Scholar
  4. Norman, A. C., Computing with formal power series, ACM Transactions on mathematical software 1(4), 1975, pp. 346--356. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. Stoutemyer, D.R., Series misdemeanors, to appear in ACM Communications in Computer Algebra, e-print at http://arxiv.org/pdf/1203.1357.pdf Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. Zippel, R.E., Radical simplification made easy, in Proceedings of the 1977 MACSYMA User's Conference, NASA CP-2012 pp. 361--367.Google ScholarGoogle Scholar

Recommendations

Comments

Login options

Check if you have access through your login credentials or your institution to get full access on this article.

Sign in

Full Access

  • Published in

    cover image ACM Communications in Computer Algebra
    ACM Communications in Computer Algebra  Volume 46, Issue 1/2
    March/June 2012
    61 pages
    ISSN:1932-2240
    DOI:10.1145/2338496
    Issue’s Table of Contents

    Copyright © 2012 Author

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    • Published: 23 July 2012

    Check for updates

    Qualifiers

    • research-article
  • Article Metrics

    • Downloads (Last 12 months)2
    • Downloads (Last 6 weeks)1

    Other Metrics

PDF Format

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader