Approximations of the integral of a class of sinusoidal composite functions
Alberto Costa
TL;DR
This work tackles the challenge of integrating sinusoidal composite functions, focusing on $C(x)=\int \cos(\cos(x))\,dx$ for which explicit antiderivatives are unavailable. The authors develop two approximations by applying a composite-function integration identity and decomposing the integral into a periodic part and a linear part, first refining the linear term with $J_0(1)$ and then introducing a constant (and later a position-dependent) multiplier for the periodic part. The first method includes a provable error bound, while the second method (with $k(x)=\frac{k_a-k_b}{2}\cos(2x)+\frac{k_a+k_b}{2}$) achieves markedly higher accuracy. Numerical experiments demonstrate that the second approximation yields errors two orders of magnitude smaller than the first and that the evaluation is effectively real-time, making these tools valuable for symbolic computation and scenarios requiring rapid definite integrals of sinusoidal composites. The approach also points to extensions to other forms such as $A\cos(\cos(mx+q))$, broadening applicability in physics and engineering contexts.
Abstract
Two approximations of the integral of a class of sinusoidal composite functions, for which an explicit form does not exist, are derived. Numerical experiments show that the proposed approximations yield an error that does not depend on the width of the integration interval. Using such approximations, definite integrals can be computed in almost real-time.
