Accesso libero

Equivalent Analytical Functions of Sums of Sigmoid like Transcendental Functions

   | 19 lug 2018
INFORMAZIONI SU QUESTO ARTICOLO

Cita

Introduction

One of the unsolved problems of mathematics is to add up transcendent functions analytically to be used in calculations. Functions used for calculating magnetisation and for its mathematical modelling of hysteresis, almost exclusively are falling into this category. The different models usually provide close approximations to the Brillouin B j(x) [1] and Langevin L(x) [2] functions, at the same time, giving approximate solutions to Everett integral [3,4] as a replacement of the Preisach distribution [5]. The most well known and most frequently used analytical functions for this kind of modelling, leading to the most likely distributions, are the Erf (error function) [6], Tanh (hyperbolic tangent) [7, 8], Si (sigmoid) [9] and the tan-1 (inverse tangent) [10] functions. Although other functions are also used and the method described here may apply to those functions as well, we concentrate on these four functions to demonstrate the useful nature of the process for mathematicians and physics researchers alike. These can be a useful approximating replacement to other numerical methods in mathematical calculations. These may be applicable in other applied mathematical calculations as well. The sigmoid like character of the magnetisation process obviated the choice of the subject area [11].

To remind the reader, the functions investigated in this paper are as follows:

The Brillouin function:

BJx=2J+12Jcoth2J+12Jx12Jcothx2J$$\begin{align} B_J\left(x\right)=\frac{2J+1}{2J}\coth{\left(\frac{2J+1}{2J}x\right)}-\frac{1}{2J} \coth\left(\frac{x}{2J}\right) \end{align}$$

The Langevin function:

Lx=cothx1x$$\begin{align} L\left(x\right)=\coth{\left(x\right)}-\frac{1}{x}\end{align}$$

The error function:

akfE(kx)=akπkx+kxet2dt$$\begin{align} a_kf_E({\propto{}}_kx)=\frac{a_k}{\sqrt{\pi{}}}\int_{-{\propto{}}_kx}^{+{\propto{}}_kx}e^{t^2}dt \end{align}$$

The tangent hyperbolic function:

akfT(kx)=aktanh(kx)$$\begin{align} a_kf_T({\propto{}}_kx)=a_k\tanh{({\propto{}}_kx}) \end{align}$$

The sigmoid function:

akfSkx=ak1+ekxak2$$\begin{align} a_kf_S\left({\propto{}}_kx\right)=\frac{a_k}{1+e^{-{\propto{}}_kx}}-\frac{a_k}{2} \end{align}$$

The inverse tangent function:

akfAkx=aktan1(kx)$$\begin{align} a_kf_A\left({\propto{}}_kx\right)={a_ktan}^{-1}{({\propto{}}_kx}) \end{align}$$
Equivalent function

In Magnetics, in most occasions, composite materials are used, which unavoidably calls in modelling, for the summation of the functions above [11]. Single phase materials are, almost solely, used only in research and calibration purposes. When ak fz(akx) is representing any of the investigated functions and a0f0z(a0x) describes the equivalent function of their sum respectively, then the numerical values of a0 and a0 parameters need to be determined to complete the characteristic formulation of the equivalent function in a normalized analytical form. For the calculation of these two parameters two criteria will be used. The first criterion calls for the equivalence of a0 and the sum of the amplitudes of the n number of component functions. The second criterion prescribes that a0, the inclination of the curve with the horizontal axis should be the same as that of composite curve at x = 0.

The mathematical formulations of the two criteria are as follows:

The first criteria in mathematical form:

a0f0z(0x)=knakfzkx$$\begin{align} a_0f_{0z}({\propto{}}_0x)=\ \sum_k^na_kf_z\left({\propto{}}_kx\right)\end{align}$$

At x = xm

a0=knak$$\begin{align} a_0=\ \sum_k^na_k\end{align}$$

Here n is the maximum number of k functions to be added up and xm is the maximum numerical value of x where the functions satisfy the second criterion. The user has the freedom to select xm within the saturation region. This choice will slightly change numerical values of a0 and a0without effecting the mathematical formulations described above.

To satisfy the second criteria the first derivatives of the functions have to be taken:

ddx[a0f0z0x]=ddxknakfzkx$$\begin{equation} \frac{d}{dx}[a_0f_{0z}\left({\propto{}}_0x\right)]=\ \frac{d}{dx}\sum_k^na_kf_z\left({\propto{}}_kx\right) \end{equation}$$

At x = 0

a00=knakk$$\begin{align} a_0{\propto{}}_0=\ \sum_k^na_k{\propto{}}_k\end{align}$$

Therefore

0=1a0knakk$$\begin{align} {\propto{}}_0=\ \frac{1}{a_0}\sum_k^na_k{\propto{}}_k \end{align}$$

With the knowledge of the two parameters the equivalent function a0f0z0x) can be constructed.

Error of the approximations

Let us assume that the composite functions have four components with the following identical normalized parameters for all four component functions:

a1= 5 α1= 0.75

a2= 3 α2= 0.9

a3=2 α3 = 1.5

a4= 0.5 α4 = 3

By using (8) and (11) the numerical (computer aided) values of the two parameters can be calculated as: a0= 10.5 and a0= 1.043.

The numerical and the modeling functions are shown in Fig. 1.

Fig. 1

The numerical and analytical sums of sigmoid functions Solid lines numerical broken lines analitical

Due to the inherent different shapes of the sampled functions all functions need to be normalized to approximate the shape of the Bj0/Lr0 functions. The following normalization to models (3), (4), (5) and (6) make the closest fit to the Brillouin/Langevin functions:

BJ0=knak2J+12Jcoth2J+12J2.5kx12Jcoth2.5kx2J$$\begin{equation} B_{J0}=\sum_k^na_k\left(\frac{2J+1}{2J}\coth{\left(\frac{2J+1}{2J}2.5{\propto{}}_kx\right)}-\frac{1}{2J}\coth{\left(\frac{2.5{\propto{}}_kx}{2J}\right)}\right) \end{equation}$$Lr0=knakcoth2.5kx12.5kx$$\begin{align} L_{r0}=\sum_k^na_k\coth{\left(2.5{\propto{}}_kx\right)}-\frac{1}{2.5{\propto{}}_kx}\end{align}$$Erf0=kn0.88akπ0.75kx+0.75kxet2dt$$\begin{equation} {Erf}_0=\sum_k^n\frac{{0.88a}_k}{\sqrt{\pi{}}}\int_{-{0.75\propto{}}_kx}^{+{0.75\propto{}}_kx}e^{t^2}dt\ \end{equation}$$Tanh0=kn0.936aktanh(0.955kx)$$\begin{equation} {Tanh}_0=\sum_k^n{0.936a}_k\tanh{({0.955\propto{}}_kx}) \end{equation}$$Si0=kn1.79ak1+e1.75kx1.79ak2$$\begin{align} {Si}_0=\sum_k^n\frac{1.79a_k}{1+e^{-{1.75\propto{}}_kx}}-\frac{{1.79a}_k}{2} \end{align}$$At0=kn0.7tan1(1.2kx)$$\begin{equation} {At}_0=\sum_k^n 0.7{tan}^{-1}{({1.2\propto{}}_kx}) \end{equation}$$

By forming the difference Δ between numerical sum of the Br/Lr and ck a0f0z ( γk0x) functions we can assess the accuracy of the each of the modeling functions. Fig. 2 shows that Δ deviation is maximum from the numerical (computer aided) curve of Br/Lr in case of the Erf function (14) followed by the Si (16) and the Tanh (15) functions. The smallest difference created by the tan-1(17) function.

Fig. 2

The difference Δ between the normalized numerical Br/Lr and the curves of the equivalent functions shown in Fig. 1.

The maximum linear and the integrated error IΔ, (see equ. (18)) between the Br0/Lr0 numerical (computer aided) and equivalent analytical functions, in the first quadrant is a good indicator for the most accurate and usable function for mathematical operations.

I=0[a0c0f00γ00xknakckfzγkkx]dx$$\begin{equation} I\bigtriangleup{}=\int_0^{\infty{}}[{{a_0c}_0f}_{00}\left({{\gamma{}}_0\propto{}}_0x\right)-\sum_k^n{{a_kc}_kf}_z\left({{\gamma{}}_k\propto{}}_kx\right)]dx \end{equation}$$

Here ck and γk represent the factors needed to normalize the amplitudes and inclination for the various functions respectively and f00 is the sum of the four Brillouin functions of the same parameters as the modeling functions.

The IΔ integral function in (18) shown in Fig. 3 for each modeling function, depicts a slightly different picture, that the tan-1 function has the smallest error, followed by tanh and Si functions. The smallest error makes the tan-1 the most accurate, however both the Si function and the tan-1 function are hard functions, not easy to apply them in mathematical operations. Considering accuracy and convenience the Tanh function looks the best selection to use for modeling composite hysteretic materials.

Fig. 3

The difference IΔ between the numerical Br/Lr and the equivalent curves, integrated for the first quadrant.

Conclusion

In modeling practice often necessary to use sums of transcendental functions. One of mathematics unsolved problems however is adding up analytically transcendental functions. There is a need in applied mathematics, used in physics and engineering for an analytical approximation of the process which can be incorporated into mathematical operations. Presently only numerical calculation by computer is available for this. In this paper an analytical process is proposed for sigmoid like functions, mostly applied for calculations in Magnetics. The error between the computer generated numerical result and the proposed analytical equivalents are illustrated graphically, indicating a good accuracy of the proposed analytical approximations. Considering the accuracy and the mathematical usefulness, the Tanh function has the most practical advantage over the other three functions, the Erf, Si and tan-1 functions, for inclusion in mathematical calculations.

eISSN:
2444-8656
Lingua:
Inglese
Frequenza di pubblicazione:
Volume Open
Argomenti della rivista:
Life Sciences, other, Mathematics, Applied Mathematics, General Mathematics, Physics