You are currently viewing a new version of our website. To view the old version click .
Mathematics
  • Article
  • Open Access

5 January 2025

Linearized Harmonic Balance Method for Seeking the Periodic Vibrations of Second- and Third-Order Nonlinear Oscillators

,
and
1
Center of Excellence for Ocean Engineering, National Taiwan Ocean University, Keelung 202301, Taiwan
2
Department of Mechanical Engineering, National United University, Miaoli 36063, Taiwan
*
Author to whom correspondence should be addressed.
This article belongs to the Special Issue Computational Mathematics: Advanced Methods and Applications

Abstract

To solve the nonlinear vibration problems of second- and third-order nonlinear oscillators, a modified harmonic balance method (HBM) is developed in this paper. In the linearized technique, we decompose the nonlinear terms of the governing equation on two sides via a constant weight factor; then, they are linearized with respect to a fundamental periodic function satisfying the specified initial conditions. The periodicity of nonlinear oscillation is reflected in the Mathieu-type ordinary differential equation (ODE) with periodic forcing terms appeared on the right-hand side. In each iteration of the linearized harmonic balance method (LHBM), we simply solve a small-size linear system to determine the Fourier coefficients and the vibration frequency. Because the algebraic manipulations required for the LHBM are quite saving, it converges fast with a few iterations. For the Duffing oscillator, a frequency–amplitude formula is derived in closed form, which improves the accuracy of frequency by about three orders compared to that obtained by the Hamiltonian-based frequency–amplitude formula. To reduce the computational cost of analytically solving the third-order nonlinear jerk equations, the LHBM invoking a linearization technique results in the Mathieu-type ODE again, of which the harmonic balance equations are easily deduced and solved. The LHBM can achieve quite accurate periodic solutions, whose accuracy is assessed by using the fourth-order Runge–Kutta numerical integration method. The optimal value of weight factor is chosen such that the absolute error of the periodic solution is minimized.

1. Introduction

The determination of periodic solution of a nonlinear oscillator and its frequency of vibration is one of the most important fields in nonlinear physical problems. The computational methods that have been developed for analytically finding the periodic solutions involve perturbation methods [,,,], the variational iteration method [,,,], the harmonic balance method [,,], and the homotopy perturbation method [,,,,], to name a few.
Originally, the variational iteration method [] was applied to the initial value problem. Khuri and Sayfy [] extended the variational iteration method to the boundary value problem by using two Lagrange multipliers in the corrected functional. Recently, Anjum and He [] developed a dual Lagrange multiplier approach for the dynamics of mechanical vibrations, obtaining accurate frequency formulas and periodic solutions. The Hamiltonian-based frequency formulation [] is a modification of He’s frequency formulation []. Because the Hamiltonian-based frequency–amplitude formulation takes account of the energy of the nonlinear vibration system to establish a Hamilton principle, its approximate solution is valid for the whole solution domain without limitations such as those in the traditional perturbation method. Many scholars have developed the dual Lagrange multiplier approach and Hamiltonian-based frequency–amplitude formulation to solve the nonlinear oscillators and the related problems, such as by using the dual Lagrange multiplier approach to the dynamics of the mechanical systems [], to investigate the nonlinear vibration process of a conservative oscillator by utilizing the Hamiltonian-based frequency–amplitude formulation [], by using the dual Lagrange multiplier to analyze large deformation contact problems [], by employing the modified mortar contact algorithm to deal with the modelling of contact problems [], by applying the Lagrange multiplier to compute the single-phase fluid flow problems in fracture dominated porous media [], to explore a complex nonlinear vibration system by using the simplified Hamiltonian-based frequency–amplitude formulation [], on the basis of Hamiltonian-based frequency–amplitude formulation and He’s new frequency formula, the dynamics of multi-walled carbon nanotube actuators near graphite sheets being addressed [], and to deal with the large amplitude vibration of nonlinear engineering structures by employing the Hamiltonian-based frequency formulation [].
The harmonic balance method (HBM) is a computationally efficient method for approximating the periodic solutions of nonlinear oscillators, which is first by substituting a trial solution in terms of the Fourier series into the governing equations. Then, the governing equations are expanded, and the terms associated with each harmonic element of cos ( k ω t ) , k = 0 , , m and sin ( k ω t ) , k = 1 , , m , are balanced. In general, this process could be very complicated when the nonlinearity is strong and the order of m is increased, which may require help from the symbolic operation to generate the correct system of nonlinear algebraic equations to solve the unknown expansion coefficients. Liu et al. [] have improved this procedure by a collocation method on the discretized time points within a period, which, however, may generate the non-physical solution, because in order to keep the same spirit of HBM, they approximate the nonlinear term by truncating the contributions from other higher modes.
Traditionally, the HBM derived a sequence of nonlinear algebraic equations for seeking the analytic solutions, which makes it hard to attain the higher-order analytical solutions for a strongly nonlinear oscillator. To simplify the HBM, some modified harmonic balance methods to solve various nonlinear ordinary differential equations (ODEs) can be referred to in [,,,,,].
How to determine the frequency and the period of vibration for the cubically nonlinear jerk differential equations is a difficult issue in the periodic problems, of which some analytical methods were developed [,,]. In general, they are limited to a lower-order approximation. A laborious work to treat the lengthy nonlinear terms hinders the derivation of higher-order approximation. Mickens [] showed several methods to find the analytic solutions of second-order nonlinear ODEs and the systems of first-order ODEs; they are, in general, effective for the weakly nonlinear systems.
Most of the nonlinear ODEs for modeling nonlinear oscillations are of second order; a few dynamical systems can be described by the third-order nonlinear ODEs, like the oscillations in a nonlinear vacuum tube circuit [] and thermal–mechanical oscillator in fluids []. In [], the residue harmonic balance approach was used to simulate the limit cycles of nonlinear jerk equations; Ramos [] developed an order reduction method for seeking the periodic solutions of nonlinear third-order ordinary differential equations. El-Dib [] addressed the non-periodic-type analytic solutions of some cubic nonlinear jerk oscillator with the non-perturbative method.
Besides mechanics and engineering tools, jerks can be exercised in the study of various electromagnetic systems [], and also investigated to recognize the dynamics of the Earth’s fluid []. The jerk equation helps scientists and engineers establish systems that run smoothly and efficiently, ameliorating user experience and system longevity, e.g., vehicles, elevators, and robotics. The jerk equation is important in the research of motion because it delineates the rate of change of acceleration with respect to time. This idea is especially significant in fields like physics, engineering, and robotics for realizing the smooth motion control, the system performance, and the trajectory planning.
As pointed out by Mickens [], an important advantage of the harmonic balance method (HBM) is that it can be applied to the nonlinear oscillatory problem for which the nonlinear term is not small. When the HBM is properly used, it gives excellent approximation to the periodic solution. Unfortunately, the use of HBM leads to very complicated nonlinear algebraic equations that have to be solved for the analytic periodic solution with order greater than two. To avoid the solution of nonlinear algebraic equations and for saving much computational cost without a lengthy derivation of these nonlinear equations, we are going to propose a powerful linearized harmonic balance method (LHBM) in the paper. It would be apparent that the LHBM outperforms the HBM and its modification appeared in the literature. This study, by combining the decomposition–linearization technique [,] with the HBM for seeking the periodic solutions of second-order nonlinear oscillators and third-order nonlinear jerk oscillators, is fully a novel work endowed with high originality.
The background of LHBM is a decomposition–linearization technique, which is executed on the nonlinear ODE by changing it to a linear ODE around a referenced solution. Previously, the decomposition–linearization technique was combined with the Lindstedt–Poincaré method in [] to determine the second-order nonlinear free vibration of nonlinear oscillator. Then, the decomposition–linearization technique was combined with the homotopy perturbation method in [] to treat the nonlinear differential/integral equations and nonlinear jerk equations. The LHBM is drastically different from the above two methods; it does not need to introduce any perturbation parameter in the derivation of the frequency and the periodic solution of nonlinear oscillator.

2. Second-Order Nonlinear Oscillators

We consider a second-order nonlinear oscillator:
x ¨ ( t ) + a x ( t ) + b x ˙ ( t ) + f ( x , x ˙ ) x ˙ ( t ) + g ( x , x ˙ ) x ( t ) = 0 ,
where f ( x , x ˙ ) and g ( x , x ˙ ) are nonlinear functions of ( x , x ˙ ) .
For different systems, there exist different fundamental solutions. For instance,
x 0 ( t ) = cos ω t
is a suitable initial guess for the system that satisfies the initial conditions x ( 0 ) = 1 and x ˙ ( 0 ) = 0 ; however, it has an unknown period T = 2 π / ω to be sought.
Not all second-order ODEs in Equation (1) permit the periodic motion or limit cycle []. In the paper, we consider a special class of Equation (1) of which the periodic solution exists, because our method is based on the harmonic balance method. For the Liénard equation, there are well-established conditions, as described by Theorem 3.2.1 in [], for the existence of a unique periodic solution. In general, He and Garcia [] derived necessary and sufficient conditions for x ¨ ( t ) = F ( x , x ˙ ) having a periodic solution satisfying x ( 0 ) = B , x ˙ ( 0 ) = 0 and x ( T ) = B ; they are the existence of a function ϕ ( x ) C 1 ( R ) in x ˙ = ϕ ( x ) , such that d ϕ ( x ) / d x = F ( x , ϕ ( x ) ) / ϕ ( x ) and ϕ ( B ) = 0 .
Equation (1) involves many second-order nonlinear oscillators as special cases. We name a few:
x ¨ + α x + β x 3 = 0 ( D u f f i n g   e q u a t i o n ) ,
x ¨ + μ ( x 2 1 ) x ˙ + x = 0 ( V a n   d e r   P o l   e q u a t i o n ) ,
x ¨ + ( x ˙ 2 μ ) x ˙ + x = 0 ( R a y l e i g h   e q u a t i o n ) ,
x ¨ + f ( x ) x ˙ + g ( x ) = 0 ( L i é n a r d   e q u a t i o n ) .
Those ODEs have a lot of applications in engineering and science, being the most widely used models in the study of nonlinear oscillations. The second-order nonlinear oscillators are dynamical systems that exhibit complex and often chaotic behavior under periodic forcing []. Equation (1) is the general nonlinear oscillator, which can depict various issues, such as the cubic Duffing equation [], the cubic–quintic Duffing equation [], the vibration of a conical beam [], the Mathews and Lakshmanan oscillator [], and the microelectromechanical system [].
To simplify the new analytic method, we decompose Equation (1) as follows:
x ¨ ( t ) + a x ( t ) + b x ˙ ( t ) + q 0 f ( x , x ˙ ) x ˙ ( t ) + q 0 g ( x , x ˙ ) x ( t ) = ( q 0 1 ) f ( x , x ˙ ) x ˙ ( t ) + ( q 0 1 ) g ( x , x ˙ ) x ( t ) ,
where q 0 is a constant weight factor. Starting from the initial guess x 0 ( t ) , one solves the following linearized ODE []:
x ¨ ( t ) + a x ( t ) + q 0 f ( x 0 , x ˙ 0 ) x ˙ ( t ) + q 0 g ( x 0 , x ˙ 0 ) x ( t ) = ( q 0 1 ) f ( x 0 , x ˙ 0 ) x ˙ 0 ( t ) + ( q 0 1 ) g ( x 0 , x ˙ 0 ) x 0 ( t ) , x ( 0 ) = 1 , x ˙ ( 0 ) = 0 ,
to seek a higher-order analytic periodic solution. This technique is termed a decomposition–linearization method, advocated by Liu et al. [] as a basis to treat the analytic solution of nonlinear ODE.
When Equation (8) is a periodic system, we can take
θ = ω t ,
such that it becomes
ω 2 x ( θ ) + a x ( t ) + q 0 ω f ( cos θ , ω sin θ ) x ( θ ) + q 0 g ( cos θ , ω sin θ ) x ( θ ) = ω ( q 0 1 ) f ( cos θ , ω sin θ ) sin θ + ( q 0 1 ) g ( cos θ , ω sin θ ) cos θ , x ( 0 ) = 1 , x ( 0 ) = 0 .
In general, the fundamental frequency ω is an unknown constant. Below, we take one example to show the process to solve Equation (10) approximately.
We apply the linearization technique developed in [] to
x ¨ ( t ) + x ( t ) + ε 0 x 2 ( t ) = 0 , x ( 0 ) = 1 , x ˙ ( 0 ) = 0 .
This equation has been used to simulate the vibration of the human eardrum []. The vibration model is constructed in an asymmetric form, because the radial fibers undergo a vibration of moderate amplitude toward the outside as compared to the vibration toward the inside. Since the potential function ε 0 x 3 / 3 is unsymmetric, this oscillator is an unsymmetric oscillator, one sort of the Helmholtz oscillator []. The chaotic behavior of ship rolling motion in beam sea has been studied by Liu [], of which a typical equation to explore the instability of ship capsize is the following quadratic nonlinear oscillator:
x ¨ ( t ) + γ x ˙ ( t ) + x ( t ) x 2 ( t ) = F 0 sin ( Ω t ) .
In studies of ship motion, the analysis of large-amplitude nonlinear rolling motion is important for understanding capsize dynamics.
To find the analytic solution of Equation (11), we apply the Lindstedt–Poincaré method []; the starting point is
ω 2 x ( θ ) + x ( θ ) + ε 0 x 2 ( θ ) = 0 ,
where ω is to be determined. Let
x = x 0 + ε 0 x 1 + ε 0 2 x 2 + ,
ω = 1 + ω 1 ε 0 + ω 2 ε 0 2 + .
We can derive a sequence of linear ODEs:
x 0 ( θ ) + x 0 ( θ ) = 0 , x 0 ( 0 ) = 1 , x 0 ( 0 ) = 0 ,
x 1 ( θ ) + x 1 ( θ ) = 2 ω 1 x 0 x 0 2 , x 1 ( 0 ) = x 1 ( 0 ) = 0 ,
x 2 ( θ ) + x 2 ( θ ) = 2 ω 1 x 1 ( ω 1 2 + 2 ω 2 ) x 0 2 x 0 x 1 , x 2 ( 0 ) = x 2 ( 0 ) = 0 .
The analytic solution obtained by the Lindstedt–Poincaré method (LPM) is given in []:
x ( θ ) = cos θ + ε 0 6 ( 2 cos θ + cos 2 θ 3 ) + ε 0 2 3 29 48 cos θ + 1 3 cos 2 θ + 1 16 cos 3 θ 1 ,
where
θ = ω t = 1 5 ε 0 2 12 t .
The details of the linearized Lindstedt–Poincaré method (LLPM) were derived in []. Given an initial guess x 0 ( t ) of the function x ( t ) in Equation (11), we have
x ¨ ( t ) + x ( t ) + q 0 ε 0 x 0 ( t ) x ( t ) = ε 0 ( q 0 1 ) x 0 2 ( t ) .
After inserting x 0 = cos ω t into Equation (20), we need to solve
x ¨ ( t ) + ( 1 + q 0 ε 0 cos ω t ) x ( t ) = ( q 0 1 ) ε 0 2 ( 1 + cos 2 ω t ) ;
in terms of θ = ω t , it becomes a nonhomogeneous Mathieu-type ODE:
x ( θ ) + ( δ + ϵ cos θ ) x ( θ ) = e 0 ϵ ( 1 + cos 2 θ ) ,
where
δ : = 1 ω 2 , ϵ : = q 0 ε 0 ω 2 , e 0 : = q 0 1 2 q 0 .
For the Mathieu-type ODE, to find analytic periodic approximations, one can refer to [].
Notice that δ and ϵ cannot be defined if ω = 0 . In the whole paper, we take ω > 0 . For the simplest harmonic oscillator u ( t ) = cos t , ω = 1 and T = 2 π / ω = 2 π .
By using
δ = 1 + δ 1 ϵ + δ 2 ϵ 2 , x = x 0 + ϵ x 1 + ϵ 2 x 2 ,
the analytic solution obtained by using the LLPM was derived in [], given by
x ( θ ) = cos θ + ϵ d 0 cos θ + 1 3 1 2 e 0 cos 2 θ + e 0 1 2 + ϵ 2 g 0 cos θ d 0 2 + d 0 6 cos 2 θ + 1 48 1 2 e 0 cos 3 θ ,
where
θ = ω t = t 1 + 1 4 δ 2 q 0 2 ε 0 2 2 ,
in which
δ 2 = 5 12 5 e 0 6 , d 0 = 1 3 2 e 0 3 , g 0 = 29 288 29 e 0 144 .
We compare the computed results with different ε 0 in Table 1 to that computed by the fourth-order Runge–Kutta method (RK4). The maximum error (ME) for Equation (25) obtained by LLPM is smaller than the ME obtained by LPM for all ε 0 as shown in Table 1. This case reveals that the linearized technique in Equation (21) is useful and powerful for seeking the more accurate periodic solution.
Table 1. The maximum errors obtained by LPM and LLPM for the analytic solutions of Equation (11) with different ε 0 .

3. A New Linearized Harmonic Balance Method

To motivate the development of a modified harmonic balance method (HBM), let us consider a cubic nonlinear oscillator:
x ¨ ( t ) + x 3 ( t ) = 0 ,
x ( 0 ) = B , x ˙ ( 0 ) = 0 ,
where B is a constant.
According to the HBM, a possible second-order approximation of Equations (28) and (29) is the following periodic solution:
x ( t ) = A 1 cos θ + A 2 cos 3 θ ,
θ = ω t ,
and there exist three unknown constants A 1 , A 2 and ω to be determined. Inserting Equation (30) into Equations (28) and (29) yields
( A 1 cos θ + A 2 cos 3 θ ) 3 = ω 2 A 1 cos θ + 9 ω 2 A 2 cos 3 θ ,
A 1 + A 2 = B .
By balancing the lower-order terms of cos θ and cos ( 3 θ ) and neglecting the higher-order terms in Equation (32), we can derive
ω 2 A 1 3 4 A 1 3 3 4 A 1 2 A 2 3 2 A 1 A 2 2 = 0 ,
9 ω 2 A 2 1 4 A 1 3 3 2 A 1 2 A 2 3 4 A 2 3 = 0 .
Equations (33)–(35) constitute three coupled nonlinear algebraic equations to determine three unknown constants A 1 , A 2 and ω . The procedure of HBM is quite lengthy and needs more further assumptions to derive the following solution []:
x ( t ) = 0.957 B cos ( 0.8507 B t ) + 0.043065 B cos ( 2.5521 B t ) ,
whose accuracy is not good, in the order of 1.996 × 10 2 when B = 1 .
To overcome the drawbacks of the harmonic balance method (HBM) as mentioned in the above, and motivated by the linearized Lindstedt–Poincaré method (LLPM) in Section 2, we develop a linearized version of HBM, namely the linearized harmonic balance method (LHBM). In Section 4, we will apply the LHBM to solve Equations (28) and (29); the procedure becomes simpler and the accuracy is also raised.
We seek the analytic solution of Equation (22) by using the HBM:
x ( θ ) = k = 1 m a k cos ( k 1 ) θ ,
where a k are unknown coefficients subject to
k = 1 m a k = 1
for the requirement to satisfy the given initial conditions x ( 0 ) = 1 and x ˙ ( 0 ) = 0 . The number m 1 signifies the order of approximation. In general, we take m = 4 for the third-order analytic solution. Because HBM is applied to the linearized Equation (22), rather than the nonlinear Equation (12), we call the present new technique a linearized harmonic balance method (LHBM) as a modification of HBM.

3.1. A Helmholtz Oscillator

Now we seek the periodic solution of Equation (11) by using the LHBM. Inserting Equation (37) for x ( θ ) into Equation (22) and taking the balance of harmonic terms cos ( k 1 ) θ , k = 1 , , m , we can derive
δ a 1 + ϵ 2 a 2 = e 0 ϵ , k = 1 ,
a 1 = 1 ϵ ( 1 δ ) a 2 a 3 2 , k = 2 ,
a 2 = 2 ϵ ( 4 δ ) a 3 a 4 + 2 e 0 , k = 3 ,
a k = 2 ϵ ( k 2 δ ) a k + 1 a k + 2 , k = 4 , , m 1 ,
a m 1 = 2 ϵ [ ( m 1 ) 2 δ ] a m , k = m .
Indeed, Equation (38) and the above equations constitute a system of linear equations for a k , k = 1 , , m . In the LHBM, we solve a few linear equations to determine a k , k = 1 , , m and ω , rather than the nonlinear algebraic equations in HBM. This is a great advantage of LHBM over HBM for an easier treatment of the high-order periodic solution of nonlinear ODE.
Given an initial guess of ω = ω 0 , we employ Equations (38)–(43) to determine ω and a k , k = 1 , , m . After inserting δ and ϵ in Equation (23) to Equations (39)–(43) and lifting Equation (40) to the first one, we can derive
a 1 = 1 q 0 ε 0 ( ω 2 1 ) a 2 a 3 2 ,
a 1 = 2 e 0 a 2 2 q 0 ε 0 ,
a 2 = 2 q 0 ε 0 ( 4 ω 2 1 ) a 3 a 4 + 2 e 0 , ,
a k = 2 q 0 ε 0 ( k 2 ω 2 1 ) a k + 1 a k + 2 , k = 3 , , m 1 ,
a m 1 = 2 q 0 ε 0 [ ( m 1 ) 2 ω 2 1 ] a m .
Equation (47) is required when m 5 .
Equation (44) is used to compute ω , while other equations, including Equation (38), are used to determine the Fourier coefficients a k , k = 1 , , m . They can be directly solved by using the Gaussian elimination method. For m = 4 , we have
1 q 0 ε 0 2 0 0 0 1 2 ( 1 4 ω 2 ) q 0 ε 0 1 0 0 1 2 ( 1 9 ω 2 ) q 0 ε 0 1 1 1 1 a 1 a 2 a 3 a 4 = e 0 q 0 ε 0 2 e 0 0 1 .
To describe the iteration technique, we denote ω j and a k , j at the j-th step values of the frequency and Fourier coefficients. For m = 4 , the iteration process is summarized as follows.
(i)
Given ε 0 , q 0 , ε , and ω 0 = 1 ,
(ii)
Do j = 0 , 1 , , solving
1 q 0 ε 0 2 0 0 0 1 2 ( 1 4 ω j 2 ) q 0 ε 0 1 0 0 1 2 ( 1 9 ω j 2 ) q 0 ε 0 1 1 1 1 a 1 , j a 2 , j a 3 , j a 4 , j = e 0 q 0 ε 0 2 e 0 0 1 ,
(iii)
Computing
ω j + 1 = 1 + q 0 ε 0 a 2 , j a 1 , j + a 3 , j 2
derived from Equation (44),
(iv)
If | ω j + 1 ω j |   <   ε then stop; otherwise, go to (ii). We cannot take ω 0 = 0 , because ω appears in the denominator of δ and ϵ in Equation (23).
We fix ε 0 = 0.1 , and the initial guess of ω is given by ω 0 = 1 ; the convergence is very fast, within six iterations, under the convergence criterion | ω j + 1 ω j |   <   10 15 . The convergence behavior is not sensitive to the initial guess of ω 0 , and we list the number of iterations (NI) for different values of ω 0 . For ω 0 = 0.2 , we have NI = 7; for ω 0 = 0.5 , we have NI = 8; for ω 0 = 1 , we have NI = 6; for ω 0 = 1.5 , we have NI = 7; and for ω 0 = 2 , we have NI = 7.
Table 2, for different ε 0 , compares the ME within one period to the exact solution obtained by the RK4 to integrate Equation (11); at the same time, we compare ω obtained from Equations (19), (26) and (50). Table 2 also lists the number of iterations (NI) carried out for Equation (50). The value of q 0 is chosen to minimize ME.
Table 2. ME for the Fourier harmonic analytic solutions of Equation (11) with different ε 0 , and comparing ω obtained from Equations (19), (26), (50) and (51); NI denotes the number of iterations.
For Equation (11), the exact value of ω is given by
ω = π a 0 1 d y 1 y 2 + 2 ε 0 3 ( 1 y 3 ) 1 ,
where
a 0 = 1 2 1 + 3 2 ε 0 2 4 6 ε 0 1 3 2 ε 0 .
Upon comparing to Table 1, the accuracy of LHBM is very good, competitive with that obtained by the LLPM [].
To further enhance the accuracy, we can also develop a two-stage LHBM, where we first raise x 0 to the second-order solution as that derived by the LHBM:
x 0 ( θ ) = c 0 + c 1 cos θ + c 2 cos 2 θ ,
where c 0 , c 1 and c 2 are determined iteratively by
1 q 0 ε 0 2 0 0 q 0 ε 0 2 1 4 ω 2 1 1 1 c 0 c 1 c 2 = ( q 0 1 ) ε 0 2 ( q 0 1 ) ε 0 2 1 , ω = 1 + q 0 ε 0 c 0 c 1 + q 0 ε 0 c 2 2 c 1 .
Then, we can derive the following linearized equation with respect to x 0 ( θ ) in Equation (53):
ω 2 x ( θ ) + q 0 ε 0 ( c 0 + c 1 cos θ + c 2 cos 2 θ ) x ( θ ) = ( q 0 1 ) ε 0 ( c 0 + c 1 cos θ + c 2 cos 2 θ ) 2 .
In the LHBM, we take m = 4 and derive the following linear system:
2 b 0 b 1 b 2 0 2 b 2 b 1 2 b 0 8 ω 2 b 1 0 b 2 b 1 2 b 0 18 ω 2 1 1 1 1 a 1 a 2 a 3 a 4 = 2 d 0 2 d 2 2 d 3 1 ,
where
b 0 = 1 + q 0 ε 0 c 0 , b 1 = q 0 ε 0 c 1 , b 2 = q 0 ε 0 c 2 , d 0 = ( q 0 1 ) ε 0 c 0 2 + c 1 2 2 + c 2 2 2 , d 1 = ( q 0 1 ) ε 0 2 c 0 c 1 + c 1 c 2 2 ,
d 2 = ( q 0 1 ) ε 0 2 c 0 c 2 + c 1 2 2 , d 3 = ( q 0 1 ) ε 0 c 1 c 2 2 .
By means of Equation (56), it is easy to generate a 1 , j , a 2 , j , a 3 , j , a 4 , j for each value of ω j , which is updated by
ω j + 1 = b 0 + b 2 2 + 2 b 1 a 1 , j + b 1 a 3 , j + b 2 a 4 , j 2 d 1 2 a 2 , j , j = 0 , 1 , .
The improvement of accuracy obtained by the two-stage LHBM is shown in Table 3, which is about one order of that in Table 2.
Table 3. ME obtained by two-stage LHBM for the harmonic analytic solutions of Equation (11) with different ε 0 , and comparing ω obtained from Equations (59) and (51).
In Equation (53), if we take c 0 = c 2 = 0 and c 1 = 1 , the two-stage LHBM is recovered to the single-stage LHBM. Indeed, the values of c 0 , c 1 , c 2 are close to c 0 = 0 , c 1 = 1 and c 2 = 0 . For instance, c 0 = 5.03 × 10 3 , c 1 = 1.00335 , and c 2 = 1.68 × 10 3 are obtained by the two-stage LHBM for the case of ε 0 = 0.01 . So the two-stage LHBM and the single stage LHBM are close to each other within the order 10 3 ; the improvement of the accuracy of the periodic solution is about one order, whereas the value of the frequency ω is altered a little. Unless one wants to obtain a highly precise solution, the single stage LHBM is good enough for the general purpose of the nonlinear oscillation problem to obtain a sufficiently accurate periodic solution.

3.2. A Nonlinear Damping Oscillator

Consider []:
x ¨ ( t ) + x ( t ) + ε 0 x ˙ ( t ) 2 = 0 , x ( 0 ) = 1 , x ˙ ( 0 ) = 0 .
This equation considers a particle of unit mass moving in a viscous medium with a nonlinear damping term.
By starting from the initial solution x 0 ( t ) = cos ω t , the linearization of Equation (60) with respect to x 0 ( t ) is
x ¨ ( t ) + x ( t ) + ε 0 q 0 x ˙ 0 ( t ) x ˙ ( t ) = ε 0 ( q 0 1 ) x ˙ 0 2 ( t ) ,
and thus,
x ¨ ( t ) + x ( t ) ω ε 0 q 0 sin ω t x ˙ ( t ) = ε 0 ( q 0 1 ) ω 2 sin 2 ω t .
In terms of θ = ω t , we need to solve
x ( θ ) q 0 ε 0 sin θ x ( θ ) + δ x ( θ ) = q 0 e 0 ε 0 ( 1 cos 2 θ ) ,
where
δ : = 1 ω 2 , e 0 : = q 0 1 2 q 0 .
The analytic solution of Equation (60) by using the LLPM was []
x ( θ ) = cos θ + q 0 ε 0 2 3 4 e 0 3 cos θ + e 0 3 1 6 cos 2 θ + e 0 1 2 + q 0 2 ε 0 2 61 ( 1 2 e 0 ) 144 cos θ 1 9 2 e 0 9 cos 2 θ + 1 2 e 0 48 cos 3 θ 1 3 + 2 e 0 3 ,
where
θ = ω t = t 1 + 1 6 ( 1 2 e 0 ) q 0 2 ε 0 2 .
On the other hand, the third-order Lindstedt–Poincaré solution of Equation (60) was given on page 65 of []:
x ( θ ) = cos θ + ε 0 6 ( 4 cos θ cos 2 θ 3 ) + ε 0 3 61 24 cos θ 2 3 cos 2 θ + 1 8 cos 3 θ 2 ,
where
θ = ω t = 1 ε 0 2 6 t .
By using the LHBM, we insert Equation (37) into Equation (63), and take the balance of harmonic terms cos ( k 1 ) θ , k = 1 , , m to derive
δ a 1 + r 0 a 2 = 2 e 0 r 0 , k = 1 ,
δ a 2 a 2 + 2 r 0 a 3 = 0 , k = 2 ,
δ a 3 4 a 3 r 0 a 2 + 3 r 0 a 4 = 2 e 0 r 0 , k = 3 ,
δ a k + 1 k 2 a k + 1 ( k 1 ) r 0 a k + ( k + 1 ) r 0 a k + 2 = 0 , k = 4 , , m 1 ,
δ a m ( m 1 ) 2 a m ( m 2 ) r 0 a m 1 = 0 , k = m ,
where
r 0 : = q 0 ε 0 2 .
After inserting δ in Equation (64) to Equations (69)–(73) and lifting Equation (70) to the first one, we can derive
a 2 ω 2 = a 2 2 r 0 a 3 ,
a 1 = 2 r 0 e 0 ω 2 r 0 ω 2 a 2 ,
a 2 = 1 4 ω 2 r 0 ω 2 a 3 + 3 a 4 + 2 e 0 ,
a j = 1 j 2 ω 2 ( j 1 ) r 0 ω 2 a j + 1 + j + 1 j 1 a j + 2 , j = 3 , , m 1 ,
a m 1 = 1 ( m 1 ) 2 ω 2 ( m 2 ) r 0 ω 2 a m .
Equation (78) is required when m 5 . When Equation (75) is used to compute ω , other equations and Equation (38) are used to find the Fourier coefficients a k , k = 1 , , m .
For m = 4 , we have
1 r 0 ω 2 0 0 0 1 4 ω 2 1 r 0 ω 2 3 0 0 1 9 ω 2 1 2 r 0 ω 2 1 1 1 1 a 1 a 2 a 3 a 4 = 2 r 0 e 0 ω 2 2 e 0 0 1 .
For m = 4 , the iteration process is given as follows.
(i)
Given ε 0 , q 0 , ε , and ω 0 = 1 ,
(ii)
Do j = 0 , 1 , , solving
1 r 0 ω j 2 0 0 0 1 4 ω j 2 1 r 0 ω j 2 3 0 0 1 9 ω j 2 1 2 r 0 ω j 2 1 1 1 1 a 1 , j a 2 , j a 3 , j a 4 , j = 2 r 0 e 0 ω 2 2 e 0 0 1 ,
(iii)
Computing
ω j + 1 = a 2 , j a 2 , j q 0 ε 0 a 3 , j
deduced from Equation (75),
(iv)
If | ω j + 1 ω j |   <   ε then stop; otherwise, go to (ii). It is noticed that we cannot take ω 0 = 0 ; otherwise, the iteration cannot be performed, since ω 0 appears in the denominator.
The iteration is carried out until | ω j + 1 ω j |   <   10 15 . Table 4 lists ME obtained by LHBM. Also, we compare ω obtained by LPM, LLPM and LHBM with different ε 0 . Upon comparing to Table 2 in [], the accuracy of LHBM is very good, competitive with that obtained by LLPM.
Table 4. ME and ω obtained with LPM, LLPM and LHBM for the analytic solution of Equation (60) with different ε 0 .

3.3. A Kick Oscillator

The most simple non-smooth second-order ODE is
x ¨ ( t ) + x ( t ) a + b | x ( t ) | = 0 ,
where a > 0 and b > 0 . If b = 0 , it is a harmonic oscillator with the natural frequency 1 / a . If a = 0 , it is a simple state-dependent kick oscillator [].
We take a = b = 1 with
x ¨ ( t ) + x ( t ) 1 + | x ( t ) | = 0 , x ( 0 ) = 1 , x ˙ ( 0 ) = 0 .
The linearization of Equation (83) with respect to x 0 ( θ ) = cos θ is
ω 2 x ( θ ) + q 0 x ( θ ) 1 + | cos θ | = ( q 0 1 ) cos θ 1 + | cos θ | ,
where
| cos θ | = c 0 + c 1 cos 2 θ + c 2 cos 4 θ + , c 0 = 2 π , c 1 = 4 3 π , c 2 = 4 15 π .
Taking m = 5 in the LHBM, we can solve the Fourier coefficients by applying the Gaussian elimination method to
q 0 0 2 ω 2 c 1 0 8 ω 2 c 2 0 0 q 0 4 ω 2 d 0 2 ω 2 c 2 0 8 ω 2 c 1 0 ω 2 ( c 1 + c 2 ) 0 2 q 0 18 ω 2 d 0 0 0 0 2 ω 2 c 1 0 q 0 16 ω 2 d 0 1 1 1 1 1 a 1 a 2 a 3 a 4 a 5 = 0 0 0 0 1 ,
where d 0 = c 0 + 1 .
For m = 5 , the iteration process is given as follows.
(i)
Given q 0 , ε , and ω 0 = 1 ,
(ii)
Do j = 0 , 1 , , solving
q 0 0 2 ω j 2 c 1 0 8 ω j 2 c 2 0 0 q 0 4 ω j 2 d 0 2 ω j 2 c 2 0 8 ω j 2 c 1 0 ω j 2 ( c 1 + c 2 ) 0 2 q 0 18 ω j 2 d 0 0 0 0 2 ω j 2 c 1 0 q 0 16 ω j 2 d 0 1 1 1 1 1 a 1 , j a 2 , j a 3 , j a 4 , j a 5 , j = 0 0 0 0 1 ,
(iii)
Computing
ω j + 1 = 2 q 0 a 2 , j q 0 + 1 ( 2 d 0 + c 1 ) a 2 , j + 9 c 1 a 4 , j ,
(iv)
If | ω j + 1 ω j |   <   ε then stop; otherwise, go to (ii).
If we take q 0 = 1 and ε = 10 15 , we compare the periodic solutions in Figure 1; they are close with ME = 2.41 × 10 2 . The accuracy obtained by LHBM is shown in Table 5. The best value of q 0 is q 0 = 0.98 .
Figure 1. For a non-smooth differential equation, we compare the exact solution and the periodic solution obtained by LHBM.
Table 5. ME and ω obtained by LHBM for the harmonic analytic solutions of Equation (83) with different q 0 . NI is the number of iterations.

4. Duffing Oscillator

In this section, we will develop a more accurate analytic solution for the Duffing oscillator by using the linearized harmonic balance method (LHBM). Consider []:
x ¨ ( t ) + x ( t ) + ε 0 x 3 ( t ) = 0 , x ( 0 ) = 1 , x ˙ ( 0 ) = 0 .
The Duffing equation describes the motion of a mass attached to a stretched wire, whose restoring force consists of a linear spring and a nonlinear spring. Many applications of the Duffing oscillator equation in physics can be seen in [].
We solve
x ( θ ) + ( δ + ϵ cos 2 θ ) x ( θ ) = e 0 ϵ ( 3 cos θ + cos 3 θ ) ,
where
δ : = 2 + q 0 ε 0 2 ω 2 , ϵ : = q 0 ε 0 2 ω 2 , e 0 : = q 0 1 2 q 0 .
As shown in Figure 2, the solution obtained from Equation (89) is very accurate, with ME smaller than 10 4 .
Figure 2. For the Duffing equation, we compare the exact solution and the solution obtained from the linearized equation.
We write the asymptotic solution obtained by the Lindstedt–Poincaré method (LPM) given in []:
x ( θ ) = cos θ + ε 0 32 ( cos 3 θ cos θ ) + ε 0 2 1024 [ 23 cos θ 24 cos 3 θ + cos 5 θ ] ,
where
θ = ω t = 1 + 3 ε 0 8 21 ε 0 2 256 t .
To proceed to the higher-order analytic solution by using the LHBM, we seek the analytic solution of Equation (89) by
x ( θ ) = k = 1 m a 2 k 1 cos ( 2 k 1 ) θ ,
where a 2 k 1 are unknown coefficients to be determined, satisfying k = 1 m a 2 k 1 = 1 due to x ( 0 ) = 1 . Inserting Equation (93) into Equation (89) and taking the balance of harmonic terms, we can derive
ϵ 2 ( a 1 + a 3 ) + ( δ 1 ) a 1 = 3 e 0 ϵ ,
ϵ 2 ( a 1 + a 5 ) + ( δ 9 ) a 3 = e 0 ϵ ,
a 2 k 3 = 2 ϵ [ ( 2 k 1 ) 2 δ ] a 2 k 1 a 2 k + 1 , k = 3 , , m 1 ,
a 2 m 3 = 2 ϵ [ ( 2 m 1 ) 2 δ ] a 2 m 1 ,
k = 1 m a 2 k 1 = 1 .
When m 4 , Equation (96) is needed. When e 0 = 0 , Equation (95) can be merged into Equation (96).
We take m = 3 ; by means of Equations (95), (97) and (98), we have
ϵ 2 δ 9 ϵ 2 0 ϵ 2 δ 50 1 1 1 a 1 a 3 a 5 = e 0 ϵ 0 1 .
It is easy to generate a 1 , a 3 , a 5 for each value of ω , given by
a 3 = ( 1 2 e 0 ) ϵ 18 2 δ + ϵ ,
a 5 = a 3 ϵ 50 2 δ ,
a 1 = 1 a 3 a 5 .
For m = 3 , the iteration process is given as follows.
(i)
Given ε 0 , q 0 , ε , and ω 0 = 1 ,
(ii)
Do j = 0 , 1 , , computing
δ j = 2 + q 0 ε 0 2 ω j 2 , ϵ j = q 0 ε 0 2 ω j 2 , a 3 , j = ( 1 2 e 0 ) ϵ j 18 2 δ j + ϵ j , a 5 , j = a 3 , j ϵ j 50 2 δ j , a 1 , j = 1 a 3 , j a 5 , j ,
(iii)
Computing
ω j + 1 = 1 + 3 q 0 ε 0 4 + q 0 ε 0 ( a 3 , j 6 e 0 ) 4 a 1 , j
derived from Equation (94) by inserting Equation (90) for δ and ϵ ,
(iv)
If | ω j + 1 ω j |   <   ε then stop; otherwise, go to (ii). Obviously, we cannot take ω 0 = 0 , which would render the iteration a failure.
We take q 0 to be the optimal value. In Table 6 for different ε 0 , we compare ME1 obtained by LHBM within one period to the exact solution, and at the same time, we compare ω obtained from Equations (92) and (103); the exact ω is given by
ω = π 2 2 0 π / 2 d θ 2 + ε 0 ( 1 + sin 2 θ ) 1 .
Table 6. ME1 and ME2 for two type harmonic solutions of Equation (88) with different ε 0 and comparing ω obtained from Equations (92), (103), (115) and (104). NI is the number of iterations.
Upon comparing to ME2 obtained from Equation (91), the present periodic solutions are more accurate. Upon comparing to Table 3 in [], the accuracy of LHBM is very good, even better than that obtained by the LLPM.
Instead of ω , we can also derive an iteration method in terms δ directly. It follows from Equation (90) that
δ = 1 ω 2 + ϵ , ϵ = q 0 ε 0 δ 2 + q 0 ε 0 ,
2 ϵ = 4 + 2 q 0 ε 0 q 0 ε 0 δ .
Inserting it for 2 / ϵ into Equations (95)–(97) generates an iteration method in terms of δ :
a 1 = 4 + 2 q 0 ε 0 q 0 ε 0 δ ( 9 δ ) a 3 a 5 + 2 e 0 ,
a 2 k 3 = 4 + 2 q 0 ε 0 q 0 ε 0 δ [ ( 2 k 1 ) 2 δ ] a 2 k 1 a 2 k + 1 , k = 3 , , m 1 ,
a 2 m 3 = 4 + 2 q 0 ε 0 q 0 ε 0 δ [ ( 2 m 1 ) 2 δ ] a 2 m 1 .
By means of Equations (98) and (107)–(109), it is easy to compute a 1 , a 3 , a 5 for each value of δ given by
a 3 = q 0 ε 0 δ ( 1 2 e 0 ) 9 ( 4 + 2 q 0 ε 0 ) ( 4 + q 0 ε 0 ) δ ,
a 5 = q 0 ε 0 δ a 3 ( 4 + 2 q 0 ε 0 ) ( 25 δ ) ,
a 1 = 1 a 3 a 5 .
Inserting Equation (106) into Equation (94) yields
δ j + 1 = ( 4 + 2 q 0 ε 0 ) a 1 , j ( 4 + 3 q 0 ε 0 ) a 1 , j + q 0 ε 0 a 3 , j 6 e 0 q 0 ε 0 , j = 0 , 1 , ,
where a 1 , j and a 3 , j are calculated from Equations (110)–(112) by inserting δ j . The initial guess of δ 0 can be any δ 0 > 0 , say δ 0 = 0.5 .
It follows from Equation (105) that
1 ω 2 = δ ϵ = 2 δ 2 + q 0 ε 0 ,
and thus, a simple formula for ω is available as follows:
ω = 2 + q 0 ε 0 2 δ .
When the convergent value δ is obtained, inserting it into the above equation, we can compute ω . We found that this iteration converges very fast with a few steps.
We take m = 3 and q 0 to be the optimal value. In Table 7 for different ε 0 , we compare the ME obtained by the second harmonic balance method to the exact solution obtained by RK4 to integrate Equation (88), and at the same time, we list ω obtained from Equations (104) and (115). Comparing to Table 6, the presented two type harmonic solutions are almost the same. Upon comparing to Table 3 in [], the accuracy of LHBM is very good, even better than that obtained by the LLPM.
Table 7. ME for second harmonic solutions of Equation (88) with different ε 0 and comparing ω obtained from Equations (104) and (115). NI is the number of iterations.
By using
x ( t ) = B y ( t ) ,
we can transform Equations (28) and (29) to
y ¨ ( t ) + B 2 y 3 ( t ) = 0 ,
y ( 0 ) = 1 , y ˙ ( 0 ) = 0 .
They are a special case of Equation (88) with ε 0 = B 2 by deleting x ( t ) .
We can apply the LHBM to find the third-order periodic solution of Equations (28) and (29) by
a 3 = ( 1 2 e 0 ) ϵ 18 ϵ ,
a 5 = a 3 ϵ 50 2 ϵ ,
a 1 = 1 a 3 a 5 ,
ω j + 1 = 3 q 0 ε 0 4 + q 0 ε 0 ( a 3 6 e 0 ) 4 a 1 , j = 0 , 1 , .
We take B = 1 . Upon comparing to ME2 = 1.996 × 10 2 obtained from Equation (36), the present harmonic solution with the error denoted by ME1 = 7.518 × 10 4 is more accurate. The improvement of accuracy is about two orders. By using the original HBM, it is hard to find the analytic periodic solutions with order greater than three, because the procedure is very complicated. In contrast, the LHBM can be easily used to find the higher-order analytic periodic solutions of nonlinear oscillators.
According to the result in [] the periodic solution of Equation (88) is
x ( t ) = cos 1 + 3 ε 0 4 t .
The error obtained by this equation is denoted as ME of Equation (123). As tabulated in Table 7, the present harmonic solution with the error denoted by ME is more accurate. The improvement of accuracy is about three to four orders.
According to He’s formula [], we have
ω = 1 + 7 ε 0 B 2 10 ,
where B = 1 for Equation (88). In Table 7 we can observe that the accuracy of the frequency obtained by the Hamiltonian-based frequency–amplitude formulation is of the order 10 2 . However, owing to its simplicity, it can be applied to a more complex conservative system.
We extend Equation (88) to
x ¨ ( t ) + x ( t ) + ε 0 x 3 ( t ) = 0 , x ( 0 ) = B , x ˙ ( 0 ) = 0 .
We can derive the same Equation (89), but with
δ : = 2 + q 0 ε 0 B 2 2 ω 2 , ϵ : = q 0 ε 0 B 2 2 ω 2 , e 0 : = ( q 0 1 ) B 2 q 0 .
By using the HBM, it is hard to derive the frequency–amplitude formula; however, if we take m = 2 and use the following equations derived from the LHBM:
a 1 + a 3 = B ,
ϵ 2 ( a 1 + a 3 ) + ( δ 1 ) a 1 = 3 e 0 ϵ ,
ϵ 2 a 1 + ( δ 9 ) a 3 = e 0 ϵ ,
we can derive the following formula to determine the frequency:
ω = 1 72 b 0 + b 0 2 36 a 0 ,
a 0 = 5 q 0 ε 0 2 B 4 + 4 ( q 0 + 4 ) ε 0 B 2 + 16 , b 0 = ( q 0 + 28 ) ε 0 B 2 + 40 .
In Table 8, the exact value of ω is compared to that computed by Equations (124) and (130). The improvement of the frequency obtained by Equation (130) compared to that obtained by Equation (124) is about five orders.
Table 8. Comparing frequency with different values of ε 0 B 2 for Equation (125).
Applying the LHBM to Equation (125) with m = 2 , we can derive the following periodic solution:
x ( t ) = ( 2 q 0 3 ) ε 0 B 3 4 4 ω 2 + 2 q 0 ε 0 B 2 cos ( ω t ) + B ( 2 q 0 3 ) ε 0 B 3 4 4 ω 2 + 2 q 0 ε 0 B 2 cos ( 3 ω t ) ,
where ω is given by Equation (130).
By using the dual Lagrange multiplier approach for Equation (125), Anjum and He [] can derive the following periodic solution:
x ( t ) = B cos ( ω t ) ε 0 B 3 32 ω 2 cos ( ω t ) + ε 0 B 3 32 ω 2 cos ( 3 ω t ) ,
where
ω = 1 + 3 ε 0 B 2 4 .
In Table 9, for different values of B and a fixed ε 0 = 2 , we compare the ME obtained by Equations (132) and (133). The accuracy of LHBM is very good, better than that obtained by the dual Lagrange multiplier approach by about one or two orders.
Table 9. MEs for Equations (132) and (133) with different values of B.
Figure 3 compares the exact solution and the periodic solutions obtained by Equations (132) and (133) for the Duffing oscillator with ε 0 B = 4.5 . It can be seen that the periodic solution obtained from Equation (132) is almost coincident with the exact solution. It is apparent that the periodic solution obtained from Equation (132) is more accurate than that obtained from Equation (133).
Figure 3. For the Duffing oscillator in Equation (125), we compare the exact solution and the periodic solutions obtained by Equations (132) and (133).

5. Third-Order Nonlinear Jerk Oscillators

5.1. First-Type Nonlinear Jerk Oscillator

We demonstrate the linearized harmonic balance method (LHBM) for analytically finding a periodic solution of a nonlinear jerk equation:
x + x ˙ = x x ˙ x ¨ ,
where
x ( 0 ) = 0 , x ˙ ( 0 ) = ε 0 , x ¨ ( 0 ) = 0 .
We linearize Equation (135) around
x 0 ( t ) = ε 0 ω sin ω t ,
to obtain
x + x ˙ q 0 x 0 x ¨ 0 x ˙ = ( 1 q 0 ) x 0 x ˙ 0 x ¨ 0 ,
where q 0 is a weight factor. Inserting
x 0 x ¨ 0 = ε 0 2 sin 2 ω t = ε 0 2 2 ( cos 2 ω t 1 ) , x 0 x ˙ 0 x ¨ 0 = ε 0 3 cos ω t sin 2 ω t = ε 0 3 4 ( cos 3 ω t cos ω t )
into Equation (138) renders
x + 1 + q 0 ε 0 2 2 q 0 ε 0 2 2 cos 2 ω t x ˙ = e 0 cos 3 ω t e 0 cos ω t ,
where
e 0 : = ( 1 q 0 ) ε 0 3 4 .
In terms of θ = ω t , Equation (139) is recast to
x ( θ ) + ( δ + ϵ cos 2 θ ) x ( θ ) = e 0 ω 3 ( cos 3 θ cos θ ) ,
where
δ : = 2 + q 0 ε 0 2 2 ω 2 , ϵ : = q 0 ε 0 2 2 ω 2 .
We seek the periodic solution for Equation (141) by the following Fourier series:
x ( θ ) = k = 1 m b 2 k 1 sin ( 2 k 1 ) θ ,
y ( θ ) = x ( θ ) = k = 1 m a 2 k 1 cos ( 2 k 1 ) θ ,
where a 2 k 1 = ( 2 k 1 ) b 2 k 1 satisfies the constraint:
k = 1 m a 2 k 1 = ε 0 ω ,
owing to x ( 0 ) = ε 0 / ω .
Setting y ( θ ) = x ( θ ) in Equation (141), we come to a nonhomogeneous Mathieu-type ODE for y ( θ ) :
y ( θ ) + ( δ + ϵ cos 2 θ ) y ( θ ) = e 0 ω 3 ( cos 3 θ cos θ ) ,
which has the same form as Equation (89).
By the same token, we can derive
ϵ 2 ( a 1 + a 3 ) + ( δ 1 ) a 1 = e 0 ω 3 ,
ϵ 2 ( a 1 + a 5 ) + ( δ 9 ) a 3 = e 0 ω 3 ,
a 2 k 3 = 2 ϵ [ ( 2 k 1 ) 2 δ ] a 2 k 1 a 2 k + 1 , k = 3 , , m 1 ,
a 2 m 3 = 2 ϵ [ ( 2 m 1 ) 2 δ ] a 2 m 1 .
We can derive an iteration method in terms of δ directly. From Equation (142), we have
δ = 1 ω 2 ϵ , ϵ = q 0 ε 0 2 δ 2 + q 0 ε 0 2 .
Upon inserting Equation (142) into Equations (148) and (150) and using Equation (145), we generate an iteration method in terms of δ :
a 3 = 4 e 0 + q 0 ε 0 3 ( 4 + 3 q 0 ε 0 2 ) ω 36 ω 3 ,
a 5 = q 0 ε 0 2 a 3 4 + 2 q 0 ε 0 2 100 ω 2 ,
a 1 = ε 0 ω a 3 a 5 ,
where
ω = 2 + q 0 ε 0 2 2 δ
is deduced from Equation (151) by writing it as
1 ω 2 = δ + ϵ = 2 δ 2 + q 0 ε 0 2 .
To describe the iteration technique, the iteration process is summarized as follows for m = 3 .
(i)
Given ε 0 , q 0 , ε , and δ 0 ,
(ii)
Do j = 0 , 1 , , computing
ω j = 2 + q 0 ε 0 2 2 δ j , a 3 , j = 4 e 0 + q 0 ε 0 3 ( 4 + 3 q 0 ε 0 2 ) ω j 36 ω j 3 , a 5 , j = q 0 ε 0 2 a 3 , j 4 + 2 q 0 ε 0 2 100 ω j 2 , a 1 , j = ε 0 ω j a 3 , j a 5 , j ,
(iii)
Computing
δ j + 1 = ( 4 + 2 q 0 ε 0 2 ) ( a 1 , j e 0 / ω j 3 ) ( 4 + q 0 ε 0 2 ) a 1 , j q 0 ε 0 2 a 3 , j
derived by inserting Equation (151) into Equation (147),
(iv)
If | δ j + 1 δ j |   <   ε then stop; otherwise, go to (ii).
The initial guess of δ 0 can be any δ 0 > 0 , say δ 0 = 0.5 . When the convergent value δ is obtained, inserting it into the above equation, we can compute ω . We found that this iteration converges very fast with a few steps, subjecting to | δ j + 1 δ j |   <   10 10 .
We take m = 3 and fix ε 0 = 0.5 . The convergence behavior is not sensitive to the initial guess of δ 0 , and we list the number of iterations (NI) for different values of δ 0 . For δ 0 = 0.1 , we have NI = 9; for δ 0 = 0.5 , we have NI = 9; for δ 0 = 1 , we have NI = 8; for δ 0 = 1.5 , we have NI = 9; and for δ 0 = 2 , we have NI = 9.
The periodic solution of Equation (135) up to the second order was derived in [] by using He’s homotopy perturbation method:
x ( t ) = ε 0 ω 1 sin ω 1 t + D ( sin ω 1 t + sin 3 ω 1 t ) + E 23 sin ω 2 t 12 sin 3 ω 2 t + 13 15 sin 5 ω 2 t ,
where
α 1 = ε 0 2 4 , α 2 = ε 0 D ω 1 12 , D = ε 0 3 32 ω 1 3 , E = ε 0 2 D 288 ω 2 2 ,
ω 1 = 1 + α 1 , ω 2 = 1 + α 1 + α 2 .
We take m = 3 , and the optimal value of q 0 is obtained by minimizing the value of ME. Table 10 compares the results with different ε 0 , where ME1 is for Equation (143). Apparently, the present ME1 is very small, better than ME2 for Equation (158) obtained by Ma et al. [].
Table 10. The LHBM is applied to Equations (135) and (136) with different values of ε 0 ; NI signifies the number of iterations spent in LHBM. The maximal errors of Equations (143) and (158) are denoted as ME1 and ME2, respectively. The period T = 2 π / ω obtained by LHBM, obtained in [], and the exact one are compared.
For the periodic vibration problem, the period T is the major quantity to be determined. As shown in Table 10, the period T obtained by the LHBM is more accurate than that obtained by Ma et al. [], when ε 0 is greater than 1. Also, the accuracy of the periodic solution is improved twice. For a larger value of ε 0 , the improvement is of about one order.
Figure 4 compares the exact solution and the periodic solutions obtained by Equations (143) and (158) for the jerk oscillator with ε 0 = 2 . It can be seen that the periodic solution obtained from Equation (143) is almost coincident with the exact solution. It is apparent that the periodic solution obtained from Equation (143) is more accurate than that obtained from Equation (158).
Figure 4. For the nonlinear jerk oscillator in Equation (135), we compare the exact solution and the periodic solutions obtained by Equations (143) and (158).

5.2. Second-Type Nonlinear Jerk Oscillator

We consider
x + x ˙ + x ˙ x ¨ 2 = 0 ,
where
x ( 0 ) = 0 , x ˙ ( 0 ) = ε 0 , x ¨ ( 0 ) = 0 .
Using Equation (137) and linearizing Equation (161) around x 0 ( t ) generates
x + 1 + q 0 ε 0 2 ω 2 2 q 0 ε 0 2 ω 2 2 cos 2 ω t x ˙ = e 0 ω 2 [ cos 3 ω t cos ω t ] ,
where e 0 is still defined by Equation (140).
In terms of θ = ω t , Equation (163) is recast to
x ( θ ) + ( δ + ϵ cos 2 θ ) x ( θ ) = e 0 ω ( cos 3 θ cos θ ) ,
where δ and ϵ are still defined by Equation (142).
Similarly, we can derive
ϵ 2 ( a 1 + a 3 ) + ( δ 1 ) a 1 = e 0 ω ,
ϵ 2 ( a 1 + a 5 ) + ( δ 9 ) a 3 = e 0 ω ,
a 2 k 3 = 2 ϵ [ ( 2 k 1 ) 2 δ ] a 2 k 1 a 2 k + 1 , k = 3 , , m 1 ,
a 2 m 3 = 2 ϵ [ ( 2 m 1 ) 2 δ ] a 2 m 1 .
We take m = 3 to obtain three linear equations:
ϵ 2 ( a 1 + a 5 ) + ( δ 9 ) a 3 = e 0 ω ,
a 3 = 2 ϵ [ 25 δ ] a 5 ,
a 1 + a 3 + a 5 = ε 0 ω .
By solving them, we can generate an iteration method in terms of δ :
a 3 = 4 ω 2 e 0 + q 0 ε 0 3 ( 4 + 3 q 0 ε 0 2 ) ω 36 ω 3 ,
a 5 = q 0 ε 0 2 a 3 4 + 2 q 0 ε 0 2 100 ω 2 ,
a 1 = ε 0 ω a 3 a 5 ,
where
ω = 2 + q 0 ε 0 2 2 δ .
The iteration process is summarized as follows for m = 3 .
(i)
Given ε 0 , q 0 , ε , and δ 0 0 ,
(ii)
Do j = 0 , 1 , , computing
ω j = 2 + q 0 ε 0 2 2 δ j , a 3 , j = 4 ω j 2 e 0 + q 0 ε 0 3 ( 4 + 3 q 0 ε 0 2 ) ω j 36 ω j 3 , a 5 , j = q 0 ε 0 2 a 3 , j 4 + 2 q 0 ε 0 2 100 ω j 2 , a 1 , j = ε 0 ω j a 3 , j a 5 , j ,
(iii)
Computing
δ j + 1 = ( 4 + 2 q 0 ε 0 2 ) ( a 1 , j e 0 / ω j ) ( 4 + q 0 ε 0 2 ) a 1 , j q 0 ε 0 2 a 3 , j
derived by inserting Equation (151) into Equation (165),
(iv)
If | δ j + 1 δ j |   <   ε then stop; otherwise, go to (ii). We found that this iteration converges very fast, in at most eight iterations. By the same token, we cannot take δ 0 = 0 to avoid the zero denominator.
The optimal value of q 0 is obtained by minimizing the maximum error of periodic solution. Table 11 compares the results with different values of ε 0 , where ME for Equation (143) is compared with that computed by RK4 on Equations (161) and (162) within one period T = 2 π / ω . Apparently, the present ME is very small. When the amplitude ε 0 is increased, the period obtained by the LHBM is more accurate than that obtained in [,].
Table 11. The LHBM is applied to Equations (161) and (162) with different values of ε 0 ; ME denotes the maximal errors, and NI signifies the number of iterations spent in LHBM. The period T = 2 π / ω obtained by LHBM, obtained in [,], and the exact one are compared.
As shown in Table 11, the period T obtained by the LHBM is more accurate than that obtained by Ma et al. [] for all ε 0 . When ε 0 is greater than 0.5, the period T obtained by the LHBM is more accurate than that obtained by Rahman et al. [], who derived the periodic solution of the jerk equation by using a modified harmonic balance method. The procedure in [] is very complicated, and is needed to solve four highly nonlinear coupled equations.

6. Conclusions

To simplify the traditional harmonic balance method (HBM), a new analytic method based on a linearization technique was executed on the nonlinear differential equations, and then we applied the HBM to solve the non-homogeneous Mathieu-type ODE with periodic forcing terms on the right-hand side. The presented linearized HBM (LHBM), with linearized recursion method and linear system, is easily carried out with merely a few linear terms appearing in the iteration process for each order approximation of the analytic solution. Compared to the original nonlinear harmonic balance method, the LHBM can save many algebraic manipulations. A linearization process was used after introducing a simple weight factor to avoid the complex nonlinear algebraic equations, which are the main disadvantage of HBM. The optimal value of weight factor was determined by minimizing the absolute error of periodic solution within one period compared to that computed by RK4. The determination of Fourier coefficients and the frequency of vibration converges very fast within, in at most ten iterations, with a stringent convergence criterion 10 15 . The accuracy of some second-order nonlinear oscillators is sometimes even better than that obtained by the linearized Lindstedt–Poincaré method. For the third-order nonlinear jerk equations, the accuracy obtained by the LHBM is better than that obtained by He’s homotopy perturbation method and other modified HBM.
The main outcomes are that an easier way to seek the periodic solution was provided in the paper. To avoid the solution of complicated nonlinear algebraic equations and a lengthy derivation of these nonlinear equations, we linearized the nonlinear differential equation around a selected reference solution, and derived m linear algebraic equations to compute the m Fourier coefficients for an m-order analytic periodic solution. The frequency is determined iteratively by solving an m-dimensional linear system at each iteration. The procedure converged fast and saved much computational cost; we call it the powerful linearized harmonic balance method (LHBM), and it outperforms the HBM and its modification appearing in the literature.

Author Contributions

Conceptualization, C.-S.L. and C.-W.C.; Methodology, C.-S.L. and C.-W.C.; Software, C.-S.L., C.-W.C. and C.-L.K.; Validation, C.-S.L., C.-W.C. and C.-L.K.; Formal analysis, C.-S.L. and C.-W.C.; Investigation, C.-S.L., C.-W.C. and C.-L.K.; Resources, C.-S.L.; Data curation, C.-S.L., C.-W.C. and C.-L.K.; Writing—original draft, C.-S.L. and C.-W.C.; Writing—review & editing, C.-S.L. and C.-W.C.; Visualization, C.-W.C. and C.-L.K.; Supervision, C.-W.C.; Project administration, C.-S.L.; Funding acquisition, C.-S.L. All authors have read and agreed to the published version of the manuscript.

Funding

The NSTC 113-2221-E-019-043-MY3 granted by the National Science and Technology Council, who partially supported this study, is gratefully acknowledged.

Data Availability Statement

The data presented in this study are available on request from the corresponding author.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Nayfeh, A.H. Perturbation Methods; Wiley: New York, NY, USA, 1979. [Google Scholar]
  2. Tsien, H.S. The Poincaré-Lighthill-Kuo method. Adv. Appl. Mech. 1956, 4, 281–349. [Google Scholar]
  3. Dai, S. Poincaré-Lighthill-Kuo method and symbolic computation. Appl. Math. Mech. 2001, 22, 261–269. [Google Scholar] [CrossRef]
  4. Hijazi, M.; Ajeel, M.S.; Al-Khaled, K.; Al-Khaled, H. Perturbation methods for solving non-linear ordinary differential equations. IAENG Int. J. Appl. Math. 2024, 54, 2070–2082. [Google Scholar]
  5. He, J.H. Variational iteration method—A kind of non-linear analytical technique: Some examples. Int. J. Non-Linear Mech. 1999, 34, 699–708. [Google Scholar] [CrossRef]
  6. He, J.H. Variational iteration method for autonomous ordinary systems. Appl. Math. Comput. 2000, 114, 115–123. [Google Scholar] [CrossRef]
  7. Herisanu, N.; Marinca, V. A modified variational iteration method for strongly nonlinear problems. Nonlinear Sci. Lett. 2010, A1, 183–192. [Google Scholar]
  8. Ozis, T.; Yildirim, A. A study of nonlinear oscillators with u1/3 force by He’s variational iteration method. J. Sound Vib. 2007, 306, 372–376. [Google Scholar] [CrossRef]
  9. Donescu, P.; Virgin, L.N.; Wu, J.J. Periodic solutions of an unsymmetric oscillator including a comprehensive study of their stability characteristics. J. Sound Vib. 1996, 192, 959–976. [Google Scholar] [CrossRef]
  10. Wu, B.S.; Sun, W.P.; Lim, C.W. An analytical approximate technique for a class of strongly non-linear oscillators. Int. J. Non-Linear Mech. 2006, 41, 766–774. [Google Scholar] [CrossRef]
  11. Liu, L.; Thomas, J.P.; Dowell, E.H.; Attar, P.; Hall, K.C. A comparison of classical and high dimension harmonic balance approaches for a Duffing oscillator. J. Comput. Phys. 2006, 215, 298–320. [Google Scholar] [CrossRef]
  12. He, J.H. Homotopy perturbation method: A new nonlinear analytical technique. Appl. Math. Comput. 2003, 135, 73–79. [Google Scholar] [CrossRef]
  13. Shou, D.H. The homotopy perturbation method for nonlinear oscillators. Comput. Math. Appl. 2009, 58, 2456–2459. [Google Scholar] [CrossRef]
  14. Liu, C.S. Linearized homotopy perturbation method for two nonlinear problems of Duffing equations. J. Math. Res. 2021, 13, 10–19. [Google Scholar] [CrossRef]
  15. Liu, C.S.; Chang, C.W. A novel perturbation method to approximate the solution of nonlinear ordinary differential equation after being linearized to the Mathieu equation. Mech. Syst. Signal Process. 2022, 178, 109261. [Google Scholar] [CrossRef]
  16. Khuri, S.A.; Sayfy, A. Generalizing the variational iteration method for BVPs: Proper setting of the correction functional. Appl. Math. Lett. 2017, 68, 68–75. [Google Scholar] [CrossRef]
  17. Anjum, N.; He, J.H. A dual Lagrange multiplier approach for the dynamics of the mechanical vibrations. J. Appl. Comput. Mech. 2024, 10, 643–651. [Google Scholar]
  18. He, J.H.; Hou, W.F.; Qie, N.; Gepreel, K.A.; Shirazi, A.H.; Sedighi, H.M. Hamiltonian-based frequency-amplitude formulation for nonlinear oscillators. Facta Univ.-Ser. Mech. Eng. 2021, 19, 199–208. [Google Scholar] [CrossRef]
  19. He, J.H. Some asymptotic methods for strongly nonlinear equations. Int. J. Mod. Phys. 2006, 20, 1141–1199. [Google Scholar] [CrossRef]
  20. Hartmann, S.; Ramm, E. A mortar based contact formulation for non-linear dynamics using dual Lagrange multipliers. Finite Elem. Anal. Des. 2008, 44, 245–258. [Google Scholar] [CrossRef]
  21. Cichosz, T.; Bischoff, M. Consistent treatment of boundaries with mortar contact formulations using dual Lagrange multipliers. Comput. Meth. Appl. Mech. Eng. 2011, 200, 1317–1332. [Google Scholar] [CrossRef]
  22. Zulian, P.; Schädle, P.; Karagyaur, L.; Nestola, M.G.C. Comparison and application of non-conforming mesh models for flow in fractured porous media using dual Lagrange multipliers. J. Comput. Phys. 2022, 449, 110773. [Google Scholar] [CrossRef]
  23. Ma, H. Simplified Hamiltonian-based frequency-amplitude formulation for nonlinear vibration systems. Facta Univ. Ser. Mech. Eng. 2022, 20, 445–455. [Google Scholar] [CrossRef]
  24. Mohammadian, M. From periodic to pseudo-periodic motion and pull-in instability of the MWCNT actuator in the vicinity of the graphite sheets. Chin. J. Phys. 2024, 90, 557–571. [Google Scholar] [CrossRef]
  25. Wang, K.J. Dynamic properties of large amplitude nonlinear oscillations using Hamiltonian-based frequency formulation. Kuwait J. Sci. 2024, 51, 100186. [Google Scholar] [CrossRef]
  26. Alam, M.S.; Haque, M.E.; Hossian, M.B. A new analytical technique to find periodic solutions of nonlinear systems. Int. J. Non-Linear Mech. 2007, 42, 1035–1045. [Google Scholar] [CrossRef]
  27. Ju, P.; Xue, X. Global residue harmonic balance method to periodic solutions of a class of strongly nonlinear oscillators. Appl. Math. Model. 2014, 38, 6144–6152. [Google Scholar] [CrossRef]
  28. Rahman, M.S.; Hasan, A.S.M.Z. Modified harmonic balance method for the solution of nonlinear jerk equations. Results Phys. 2018, 8, 893–897. [Google Scholar] [CrossRef]
  29. Sharif, N.; Razzak, A.; Alam, M.Z. Modified harmonic balance method for solving strongly nonlinear oscillators. J. Interdiscip. Math. 2019, 22, 353–375. [Google Scholar] [CrossRef]
  30. Ismail, G.M.; Abul-Ez, M.; Farea, N.M. An accurate analytical solution to strongly nonlinear differential equations. Appl. Math. Inf. Sci. 2020, 14, 141–149. [Google Scholar]
  31. Gottlieb, H.P.W. Harmonic balance approach to limit cycles for nonlinear jerk equations. J. Sound Vib. 2006, 297, 243–250. [Google Scholar] [CrossRef]
  32. Ma, X.; Wei, L.; Guo, Z. He’s homotopy perturbation method to periodic solutions of nonlinear jerk equations. J. Sound Vib. 2008, 314, 217–227. [Google Scholar] [CrossRef]
  33. Mickens, R.E. Oscillations in Planar Dynamic Systems; World Scientific: Singapore, 1996. [Google Scholar]
  34. Ramos, J.I. Analytical and approximate solutions to autonomous, nonlinear, third-order ordinary differential equations. Nonlinear Anal. Real World Appl. 2010, 11, 1613–1626. [Google Scholar] [CrossRef]
  35. Baker, N.H.; Moore, D.W.; Spiegel, E.A. A periodic behavior of a non-linear oscillator. Quat. J. Mech. Appl. Math. 1971, 24, 391–422. [Google Scholar] [CrossRef]
  36. Leung, A.Y.T.; Guo, Z.J. Residue harmonic balance approach to limit cycles of nonliner jerk equations. Int. J. Non-Linear Mech. 2011, 46, 898–906. [Google Scholar] [CrossRef]
  37. Ramos, J.I. Approximate methods based on order reduction for the periodic solutions of nonlinear third-order ordinary differential equations. Appl. Math. Comput. 2010, 215, 4304–4319. [Google Scholar] [CrossRef]
  38. El-Dib, Y.O. The simplest approach to solving the cubic nonlinear jerk oscillator with the non-perturbative method. Math. Meth. Appl. Sci. 2022, 45, 5165–5183. [Google Scholar] [CrossRef]
  39. Xu, X.X.; Ma, S.J.; Huang, P.T. New concepts in electromagnetic jerky dynamics and their applications in transient processes of electric circuit. Prog. Electromagn. Res. M 2009, 8, 181–194. [Google Scholar] [CrossRef]
  40. Bloxham, J.; Zatman, S.; Dumberry, M. The origin of geomagnetic jerks. Nature 2002, 420, 65–68. [Google Scholar] [CrossRef] [PubMed]
  41. Liu, C.S.; Chen, Y.W. A simplified Lindstedt–Poincaré method for saving computational cost to determine higher order nonlinear free vibrations. Mathematics 2021, 9, 3070. [Google Scholar] [CrossRef]
  42. Liu, C.S.; Kuo, C.L.; Chang, C.W. Decomposition-linearization-sequential homotopy methods for nonlinear differential/integral equations. Mathematics 2024, 12, 3557. [Google Scholar] [CrossRef]
  43. Farkas, M. Periodic Mations; Springer: New York, NY, USA, 1994. [Google Scholar]
  44. He, J.H.; Garcia, A. The simplest amplitude-period formula for non-conservative oscillators. Rep. Mech. Eng. 2021, 2, 143–148. [Google Scholar] [CrossRef]
  45. Deng, B.; Göb, M.; Stickler, B.A.; Masuhr, M.; Singer, K.; Wang, D. Amplifying a zeptonewton force with a single-ion nonlinear oscillator. Phys. Rev. Lett. 2023, 131, 153601. [Google Scholar] [CrossRef] [PubMed]
  46. Salas, A.H.; Castillo, J.E.; Martinez, L.J. The Duffing oscillator equation and its applications in physics. Math. Probl. Eng. 2021, 2021, 9994967. [Google Scholar] [CrossRef]
  47. Wei, D.; Aniyarov, A.; Nurakhmetov, D.; Zhang, D. Internal Resonance of Some Cubic-Quintic Nonlinear Duffing Equation; HAL Open Science: Lyon, France, 2024; p. hal-04687587. [Google Scholar]
  48. Amabili, M.; Balasubramanian, P. Nonlinear vibrations of truncated conical shells considering multiple internal resonances. Nonlinear Dyn. 2020, 100, 77–93. [Google Scholar] [CrossRef]
  49. dos Santos, R.T.G.; González-Borrero, P.P. Classical and quantum systems with position-dependent mass: An application to a Mathews-Lakshmanan-type oscillator. Rev. Bras. Ens. Fis. 2023, 45, e20230172. [Google Scholar] [CrossRef]
  50. He, J.H.; Anjum, N.; Skrzypacz, P.S. A variational principle for a nonlinear oscillator arising in the microelectromechanical system. J. Appl. Comput. Mech. 2021, 7, 78–83. [Google Scholar]
  51. Leung, A.Y.T.; Guo, Z. Homotopy perturbation for conservative Helmholtz-Duffing oscillators. J. Sound Vib. 2009, 325, 287–296. [Google Scholar] [CrossRef]
  52. Liu, C.S. A novel Lie-group theory and complexity of nonlinear dynamical systems. Commun. Nonlinear Sci. Numer. Simulat. 2015, 20, 39–58. [Google Scholar] [CrossRef]
  53. Gadella, M.; Giacomini, H.; Lara, L.P. Periodic analytic approximate solutions for the Mathieu equation. Appl. Math. Comput. 2015, 271, 436–445. [Google Scholar] [CrossRef]
  54. Kunze, M. Non-Smooth Dynamical Systems; Springer: Berlin/Heidelberg, Germany, 2000. [Google Scholar]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.