Moroccan Journal of Pure and Applied Analysis (Jan 2021)

Sigmoid functions for the smooth approximation to the absolute value function

  • Bagul Yogesh J.,
  • Chesneau Christophe

DOI
https://doi.org/10.2478/mjpaa-2021-0002
Journal volume & issue
Vol. 7, no. 1
pp. 12 – 19

Abstract

Read online

We present smooth approximations to the absolute value function |x| using sigmoid functions. In particular, x erf(x/μ) is proved to be a better smooth approximation for |x| than x tanh(x/μ) and x2+μ\sqrt {{x^2} + \mu } with respect to accuracy. To accomplish our goal we also provide sharp hyperbolic bounds for the error function.

Keywords