{'fraction_non_alphanumeric': 0.020050125313283207, 'fraction_numerical': 0.002506265664160401, 'mean_word_length': 4.9185185185185185, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
A New First Order Expansion Formula with a Reduced Remainder

This paper is devoted to a new first order Taylor-like formula, where the corresponding remainder is strongly reduced in comparison with the usual one, which appears in the classical Taylor’s formula. To derive this new formula, we introduce a linear combination of the first derivative of the concerned function, which is computed at n+1 equally spaced points between the two points, where the function has to be evaluated. We show that an optimal choice of the weights in the linear combination leads to minimizing the corresponding remainder. Then, we analyze the Lagrange P1- interpolation error estimate and the trapezoidal quadrature error, in order to assess the gain of the accuracy we obtain using this new Taylor-like formula.