Introduction

Nonlinear phenomena play important roles in applied mathematics, physics and also in engineering problems in which each parameter varies depending on different factors. Solving nonlinear equations may guide authors to know the described process deeply and sometimes leads them to know some facts which are not simply understood through common observations. Moreover, obtaining exact solutions for these problems is a great purpose which has been quite untouched.

With the rapid development of nonlinear science, many different methods were proposed to solve various nonlinear problems, such as perturbation method, homotopy perturbation method, energy balance method, amplitude-frequency formulation, variational iteration method, variational approach method, etc. [116].

In this paper, we investigate two of the analytical approximate techniques, energy balance method and amplitude-frequency formulation, and these approximate techniques are applied to solve the strongly nonlinear differential equation of a mass attached to the center of a stretched elastic wire (Figure 1).

Figure 1
figure 1

The oscillation of a mass attached to the center of a stretched elastic wire[1].

The differential equation of this dynamical system is in the following form [1]:

d 2 d t 2 u t + u t λ u t 1 + u t 2 = 0 , 0 < λ 1 ,
(1)

with initial conditions [1]:

u 0 = A , d dt u 0 .
(2)

This system oscillates between symmetric bounds [−A, A], and its angular frequency and corresponding periodic solution are dependent on the amplitude A.

In this paper, our main purpose is to present a comparative study between the energy balance method and amplitude-frequency formulation with exact solution.

The description of energy balance method

In this section, we consider a general nonlinear oscillator in the following form [2]:

d 2 d t 2 u t + f u t = 0 ,
(3)

in which u and t are generalized dimensionless displacement and time variables, respectively. Its variational principle can be easily obtained:

J u t = 0 t 1 2 d dt u t 2 + F u t dt ,
(4)

where T = 2π/ω is the period of the nonlinear oscillator, F(u(t)) = ∫ f(u(t))du. Its Hamiltonian can be written in the following form:

Δ H = 1 2 d dt u t 2 + F u t = F A
(5)

or

R t = 1 2 d dt u t 2 + F u t F A = 0 .
(6)

Oscillatory systems contain two important physical parameters, the frequency ω and the amplitude of oscillation, A. So let us consider such initial conditions:

u 0 = A , d dt u 0 = 0 .
(7)

We use the following trial function to determine the angular frequency ω:

u t = A cos ω t .
(8)

Substituting Equation 8 into Equation 6, we obtain the following residual equation:

R t = 1 2 A 2 ω 2 sin 2 ω t + F A cos ω t F A = 0 .
(9)

If by chance the exact solution had been chosen as the trial function, then it would be possible to make R zero for all values of t by appropriate choice of ω. Since Equation 8 is only an approximation to the exact solution, R cannot be made zero everywhere. Collocation at ωt = π/4 gives

ω = 2 F A F A cos ω t A 2 sin 2 ω t .
(10)

Its period can be written in the following form:

T = 2 π 2 F A F A cos ω t A 2 sin 2 ω t .
(11)

Therefore, we can obtain the following approximate solution:

u t = A cos 2 F A F A cos ω t A 2 sin 2 ω t t .
(12)

The description of amplitude-frequency formulation

In this section, we consider a generalized nonlinear oscillator in the following form [3]:

d 2 d t 2 u t + f u t = 0 ,
(13)

with initial conditions:

u 0 = A , d dt u 0 = 0 .
(14)

For solving nonlinear differential equation by means of amplitude-frequency formulations, we use two trial functions in the following form:

u 1 t = A cos ω 1 t
(15)

and

u 2 t = A cos ω 2 t
(16)

The residuals are

R 1 t = A cos ω 1 t + f cos ω 1 t
(17)

and

R 2 t = A ω 2 2 cos ω 2 t + f cos ω 2 t .
(18)

The original frequency-amplitude formulation reads

ω 2 = ω 1 2 R 2 t ω 2 2 R 1 t R 2 R 1 .
(19)

He used the following formulation [3]; Geng and Cai improved the formulation by choosing another location point [4]. In other words, He solved the problem at the point zero, and they discussed at π/3, and by this work, they improved the method.

ω 2 = ω 1 2 R 2 ω 2 t = 0 ω 2 2 R 1 ω 1 t = 0 R 2 R 1
(20)

This is the improved form by Geng and Cai:

ω 2 = ω 1 2 R 2 ω 2 t = π 3 ω 2 2 R 1 ω 1 t = π 3 R 2 R 1 .
(21)

By considering cos(ω1t) = cos(ω2t) = k and substituting the obtained ω into u(t) = cos(ωt), we can obtain the constant k in ω2 equation in order to have the frequency without irrelevant parameter. To improve its accuracy, we can use the following trial function when they are required:

u 1 t = i = 1 m A i cos ( ω i t ) , u 2 t = i = 1 m A i cos Ω i t ,
(22)

or we can use

u 1 t = i = 1 m A i cos ω i t j = 1 n B j cos ω j t , u 2 t = i = 1 m A i cos Ω i t j = 1 n B j cos Ω j t
(23)

However, in most cases because of the sufficient accuracy, trial functions are as follows and just the first term:

u 1 t = A cos t , u 2 t = a cos ω t + A a cos 3 ω t
(24)

and

u 1 t = A cos t , u 2 t = A 1 + c cos ω t 1 + c cos 2 ω t ,
(25)

where a and c are unknown constants. In addition, we can set cos(t) = k in u1(t) and cos(ωt) = k in u2(t).

The application of energy balance method for the nonlinear oscillator

In this section, we consider the nonlinear equation in the following form [1]:

d 2 d t 2 u t + u t λ u t 1 + u t 2 = 0 , 0 < λ 1 ,
(26)

with initial conditions [1]:

u 0 = A , d dt u 0 = 0 .
(27)

For this problem,

f u t = u t λ u t 1 + u t 2
(28)

and

F u t = 1 2 u t 2 λ 1 + u t 2 .
(29)

Its variational principle can be easily obtained:

J u t = 0 t 1 2 d dt u t 2 + 1 2 u t 2 λ 1 + u t 2 dt .
(30)

Its Hamiltonian, therefore, can be written in the following form:

Δ H = 1 2 d dt u t 2 + 1 2 u t 2 λ 1 + u t 2 = 1 2 A 2 λ 1 + A 2
(31)

or

R t = 1 2 d dt u t 2 + 1 2 u t 2 λ 1 + u t 2 1 2 A 2 + λ 1 + A 2 = 0 .
(32)

Substituting Equation 8 into Equation 32, we obtain

R t = 1 2 A 2 ω 2 sin 2 ( ω t ) + 1 2 A 2 cos 2 ( ω t ) . λ 1 + A 2 cos 2 ω t 1 2 A 2 + λ 1 + A 2 = 0
(33)

If we collocate at ωt = π/4, we obtain the following result:

ω EBM = 1 + 2 λ 4 + 2 A 2 A 2 4 λ 1 + A 2 A 2 .
(34)

Its period can be written in the following form:

T EBM = 2 π 1 + 2 λ 4 + 2 A 2 A 2 4 λ 1 + A 2 A 2 .
(35)

The exact period is [1]

T Exact = 4 0 π 2 1 / 1 2 λ 1 + A 2 sin 2 t + 1 + A 2 dt .
(36)

The application of amplitude-frequency formulation for the nonlinear oscillator

In this section, we consider the nonlinear equation in the following form [1]:

d 2 d t 2 u t + u t λ u t 1 + u t 2 = 0 , 0 < λ 1 ,
(37)

with initial conditions [1]:

u 0 = A , d dt u 0 = 0 .
(38)

For small values of A, we can write

1 1 + u t 2 = 1 1 2 u t 2 .
(39)

We can write nonlinear equation in the following form:

d 2 d t 2 u t + 1 λ u t + 1 2 λu t 3 = 0
(40)

by using two trial functions in the following form:

u 1 t = A cos t
(41)

and

u 2 t = A cos ω t .
(42)

For Equation 40, we obtain the following residuals:

R 1 t = λAk + 1 2 λ A 3 k 3 .
(43)

By simple calculation, we obtain

R 2 t = 3 Ak λAk + 1 2 λ A 3 k 3 .
(44)

With considering cos(ω1t) = cos(ω2t) = k, we have

ω 2 = ω 1 2 R 2 ω 2 2 R 1 R 2 R 1
(45)
ω 2 = 3 Ak λAk + 1 2 λ A 3 k 3 ω 2 λAk + 1 2 λ A 3 k 3 3 Ak λAk + 1 2 λ A 3 k 3 λAk + 1 2 λ A 3 k 3 .
(46)

Therefore, we have

ω AFF = 1 λ + 1 2 λ A 2 k 2 .
(47)

We can rewrite u(t) = A cos(ωt) in the following form:

u t = A cos 1 λ + 1 2 λ A 2 k 2 t .
(48)

We can rewrite the main equation in the following form:

d 2 d t 2 u t + 1 λ + 1 2 λ A 2 k 2 u t = 1 2 λ A 2 k 2 u t 1 2 λu t 3 .
(49)

The right side of Equation 49 vanishes completely:

B = 0 T 4 1 2 λ A 2 k 2 u t 1 2 λu t 3 cos ω t dt = 0 , T = 2 π ω
(50)
B 1 = 0 T 4 1 2 λ A 2 k 2 A cos ω t cos ω t dt = 1 2 λ A 3 k 2 π 4
(51)
B 2 = 0 T 4 1 2 λ ( A 3 cos 3 ω t cos ω t dt = 1 2 λ A 3 3 π 16
(52)

So, we have

B = B 1 + B 2 1 2 λ A 3 k 2 π 4 1 2 λ A 3 3 π 16 = 0 .
(53)

With solving and simplifying Equation 53, we have

k 2 = 3 4 .
(54)

With substituting Equation 54 into Equation 47, we have approximate frequency in the following form:

ω AFF = 1 λ + 3 8 λ A 2 .
(55)

Its period can be written in the following form:

T AFF = 2 π 1 λ + 3 8 λ A 2 .
(56)

The comparison of the approximate frequencies with exact frequencies

To illustrate the accuracy of the energy balance method and amplitude-frequency formulation, we present the comparison results of analytical approximate techniques with exact solution in Tables 1, 2, 3 and 4 and Figures 2, 3, 4 and 5 for different values of λ.

Table 1 Comparison of the approximate frequencies with the exact frequencies when λ = 0.1
Table 2 Comparison of the approximate frequencies with the exact frequencies when λ = 0.5
Table 3 Comparison of the approximate frequencies with the exact frequencies when λ = 0.75
Table 4 Comparison of the approximate frequencies with the exact frequencies when λ = 0.95
Figure 2
figure 2

Comparison of energy balance method and amplitude-frequency formulation with exact solution when A = 1, λ = 0.1 .

Figure 3
figure 3

Comparison of energy balance method and amplitude-frequency formulation with exact solution when A = 1, λ = 0.5 .

Figure 4
figure 4

Comparison of energy balance method and amplitude-frequency formulation with exact solution when A = 1, λ = 0.75 .

Figure 5
figure 5

Comparison of energy balance method and amplitude-frequency formulation with exact solution when A = 1, λ = 0.95 .

Conclusions

In this paper, we investigated and applied two of the analytical approximate techniques, energy balance method and amplitude-frequency formulation, for solving the strongly nonlinear differential equation of a mass attached to the center of a stretched elastic wire.

To illustrate the accuracy of the energy balance method and amplitude-frequency formulation, we presented a comparative study between the analytical approximate techniques with exact solution. The approximate results reveal that these methods are very effective and convenient for determining the frequencies of nonlinear dynamical systems.

Authors' information

AA received the B.S. degree in Civil Engineering from the University of Razi, Kermanshah, Iran, in 2002, and M.Sc. degree in Structure Engineering from Tarbiat Modares University, Tehran, Iran, in 2004, and Ph.D. degree in Civil Engineering from Tarbiat Modares University, Tehran, Iran, in 2011. He has been working as a consulting engineer in Design Structure in the private sector. Also, he is teaching in the fields of Earthquake Engineering and Steel Structure at the Islamic Azad University, Tehran, Iran. His research has been concentrated on numerical and experimental investigations on composite steel plate shear walls.

HEK was born in Tehran, Iran, on September 7, 1984. He received the B.S. degree in Civil Engineering-Building from the Shomal University, Amol, Iran, in 2006 and M.Sc. degree in Civil Engineering-Structure from the Shomal University, Amol, Iran, in 2008. At present, he is doing his researches toward Ph.D. degree in Friedrich Schiller University of Jena, Germany. He has published several technical manuscripts in refereed scientific journals. His research has been concentrated on numerical and approximate analytical solution of strongly nonlinear ODEs and PDEs, dynamical systems, and structural deformations.