A simple and very accurate method to approximate a function with a finite number of discontinuities is presented. This method relies on hyperbolic tangent functions of rational arguments as connecting functions at the discontinuities, each argument being the reciprocal of Newton binomials that depend on the abscissae that define the domain of the discontinuous function and upon the abscissae of discontinuities. Our approximants take the form of linear combinations of such hyperbolic tangent functions with coefficients that are obtained by solving a linear system of inhomogeneous equations whose righthand sides are the partition functions that define the given discontinuous function. These approximants are analytic, and being free from the Gibbs phenomenon certainly converge at the discontinuity points much better than other known approximants to discontinuous functions, typical relative errors being of the order of 10-14 even when as close as 10-12 to the discontinuity points. Moreover, they can be readily scaled to larger intervals. Our method is here illustrated with a representative set of discontinuous mathematical physics functions, and by studying the dynamics of an oscillator subjected to a discontinuous force, but it can be applied to important cases of discontinuous functions in physics, mathematics, engineering and physical chemistry.
翻译:提供了一种简单而非常精确的方法, 以一定的不连续次数来估计函数。 这种方法依赖于理性参数的双曲正切函数, 作为不连续函数的连接函数, 每种参数都是牛顿二进制的对等函数, 取决于确定不连续函数域的腹部和不连续函数的腹部。 我们的近似值采取这种双曲正切函数的线性组合形式, 其系数是通过解决一个线性不相容公式系统, 其右侧是确定给定不连续函数的分割函数。 这些近似参数都是不连续函数的对等值, 并且与Gibs现象的对等值相对, 这些不连续函数的不连续点比其他已知的不连续函数要好得多, 典型的不连续函数的相对误差是, 即使接近不连续点的点接近于不连续点 10-12 。 此外, 它们也可以很容易缩放到更大的间隔。 我们的方法在这里用一组具有代表性的不连续数学物理函数来说明, 并且通过研究一个重要的物理学物理学的动态, 将它应用到不连续的物理学的物理学系, 。