AppliedMath (Apr 2023)

A Generalized Series Expansion of the Arctangent Function Based on the Enhanced Midpoint Integration

  • Sanjar M. Abrarov,
  • Rehan Siddiqui,
  • Rajinder Kumar Jagpal,
  • Brendan M. Quine

DOI
https://doi.org/10.3390/appliedmath3020020
Journal volume & issue
Vol. 3, no. 2
pp. 395 – 405

Abstract

Read online

In this work, we derive a generalized series expansion of the acrtangent function by using the enhanced midpoint integration (EMI). Algorithmic implementation of the generalized series expansion utilizes a two-step iteration without surd or complex numbers. The computational test we performed reveals that such a generalization improves the accuracy in computation of the arctangent function by many orders of magnitude with increasing integer M, associated with subintervals in the EMI formula. The generalized series expansion may be promising for practical applications. It may be particularly useful in practical tasks, where extensive computations with arbitrary precision floating points are needed. The algorithmic implementation of the generalized series expansion of the arctangent function shows a rapid convergence rate in the computation of digits of π in the Machin-like formulas.

Keywords