A general correction for numerical integration rules over piece-wise continuous functions
Shipra Mahata, Samala Rathan, Juan Ruiz-Álvarez, Dionisio F. Yáñez
TL;DR
The paper tackles the loss of quadrature accuracy for piecewise-smooth functions with isolated discontinuities by introducing explicit polynomial correction terms that leverage the known discontinuity location $x^*$ and jumps $[f^{(k)}]$. The correction is formulated for general quadrature and specifically tailored to Gaussian quadrature, with an exactness guarantee up to degree $2l+1$ for a single discontinuity. Numerical experiments across Newton-Cotes and Gauss-Legendre rules demonstrate that the corrected schemes achieve the intended higher-order convergence and, in Gauss-Legendre cases, can reproduce results to machine precision without increasing the number of nodes. The approach provides a general, efficient, and practical solution for integrating piecewise smooth functions in scenarios where discontinuity information is available.
Abstract
This article presents a novel approach to enhance the accuracy of classical quadrature rules by incorporating correction terms. The proposed method is particularly effective when the position of an isolated discontinuity in the function and the jump in the function and its derivatives at that position are known. Traditional numerical integration rules are exact for polynomials of certain degree. However, they may not provide accurate results for piece-wise polynomials or functions with discontinuities without modifying the location and number of data points in the formula. Our proposed correction terms address this limitation, enabling the integration rule to conserve its accuracy even in the presence of a jump discontinuity. The numerical experiments that we present support the theoretical results obtained.
