WorksPhysics and Astronomy
New approach to approximate analytical solutions of a harmonic oscillator with weak to moderate nonlinear damping: Part I
Abstract
We introduce a new approach to deriving approximate analytical solutions of a harmonic oscillator damped by purely nonlinear, or combinations of linear and nonlinear damping forces. Our approach is based on choosing a suitable trial solution, i.e. an ansatz, which is the product of the time-dependent amplitude and the oscillatory (trigonometric) function that has the same frequency but different initial phase, compared to the undamped case. We derive the equation for the amplitude decay using the connection of the energy dissipation rate with the power of the total damping force and the approximation that the amplitude changes slowly over time compared to the oscillating part of the ansatz. By matching our ansatz to the initial conditions, we obtain the equations for the corresponding initial amplitude and initial phase. Here we demonstrate the validity of our approach in the case of damping quadratic in velocity, Coulomb damping, and a combination of the two, i.e. in this paper we consider purely nonlinear damping, while the dynamics with combinations of damping linear in velocity and nonlinear damping will be analyzed in a follow-up paper. In the case of damping quadratic in velocity, by comparing our approximate analytical solutions with the corresponding numerical solutions, we find that our solutions excellently describe the dynamics of the oscillator in the regime of weak to moderately strong quadratic damping. In the case of Coulomb damping, as well as in the case of a combined Coulomb and quadratic damping, our approximate analytical solutions agree well with the corresponding numerical solutions until the last few half-periods of the motion. Therefore, for these two cases, we introduce improved variants of our approximate solutions which describe the dynamics well until the very end.
Introduction
In physics and engineering, the decrease in the amplitude of free harmonic oscillations is usually attributed to one of the three different types of damping: damping linear in velocity, damping quadratic in velocity, and sliding friction. In the case of a harmonic oscillator damped by a force linear in velocity (viscous damping), the corresponding equation of motion can be solved exactly and the solutions can be easily analyzed 1. In case of a harmonic oscillator damped with sliding friction (Coulomb damping), the corresponding equation of motion is nonlinear because the friction force reverses direction with velocity, which is modeled via the signum function, but it can still be solved exactly by splitting the motion into left and right moving segments 2, i.e. the motion needs to be analyzed over half-periods and the solution thus obtained is piecewise continuous. In the case of a harmonic oscillator with damping quadratic in velocity, the corresponding equation of motion is a nonlinear differential equation that cannot be solved analytically and approximate or numerical methods must be used [^7, 9–11]. Therefore, even for a harmonic oscillator with only one type of damping present, the analysis of the dynamics can be challenging if the damping is nonlinear, i.e. Coulomb damping or damping quadratic in velocity.
Although the damped harmonic oscillator model, with a single type of damping, can successfully describe some simple real-world systems, such as physical pendulums 3, block-spring systems 4, RLC circuits 5, etc., for a more complete and precise description, it is necessary to take into account that oscillations are damped simultaneously by two or all three types of damping. For example, in 6 a simple physical pendulum was studied, both experimentally and theoretically, and it was shown that the contribution of all three types of damping must be taken into account
[^7, 9–11]: [7, 9, 10, 11] for an adequate general description of pendulum damping, while in some specific cases two types of damping were sufficient.
In a recent paper [14], a harmonic oscillator damped simultaneously by all three types of damping was studied and approximate analytical solutions were found that agree excellently with numerical solutions, but only in the weak damping regime. The approach used in [14] is based on ansatz of the form , where , , and are the angular frequency, amplitude, and initial phase of the corresponding undamped solution, while is the unknown function that describes the decay of the amplitude over time. The connection of the energy dissipation rate and the power of the total damping force was used to determine the unknown function [14]. More precisely, in the case of weak damping, one can take that remains approximately constant over half cycles (half periods) and average the oscillatory parts of the energy dissipation rate to obtain the first-order differential equation for . The same approach was previously used to determine the amplitude decay in the case of weak damping by each of the three types of damping individually [11], by combination of viscous damping and damping quadratic in velocity [15], and by combination of Coulomb damping and viscous damping [16]. The advantage of this approach is mathematical simplicity, but, of course, with the increase in the strength of the damping the values of angular frequency, initial phase, and (initial) amplitude can change significantly compared to the undamped case.
The analysis of the influence of the damping strength on the initial phase and frequency carried out in [17] for viscous damping and carried out in [14] for damping quadratic in velocity clearly shows that better approximate analytical solutions can be obtained already if we simply take that the initial phase and the initial amplitude of the approximate analytical solution differ from and , but still keep as its angular frequency. Thus, here we use an ansatz of the form as the basis of our approach. In addition to the unknown function , we now have to determine the constants and , i.e. we have a somewhat more complex mathematical problem compared to the approach used in [14], but, as we will show, we obtain new approximate analytical solutions that describe the dynamics significantly better and are valid for a wider range of values of the corresponding damping constants than the solutions obtained in [14].
This paper is organized into five sections. In § 2, we consider the case of harmonic oscillator damped simultaneously by all three types of damping, introduce the theory and approximations we use and derive the first-order differential equation for the amplitude decay, the equation for the initial amplitude, and the equation for the initial phase. In § 3, we obtain new approximate analytical solutions for damping quadratic in velocity. In § 4, we obtain new approximate analytical solutions in the case of Coulomb damping. In § 6, we obtain new approximate analytical solutions for combined Coulomb and quadratic damping. In each of § 3, § 4, and § 6 we compare new solutions to the corresponding solutions obtained by the approach used in [14] and numerical solutions. We note here for clarity that throughout the paper new solutions are designated with , corresponding energies with , and both are shown as solid red curves in all figures, solutions obtained by the approach used in [14] are designated with , corresponding energies with , and both are shown as solid blue curves in all figures, while numerical solutions and numerically obtained energies are shown as dotted black curves in all figures. At the end of each of § 3, § 4, and § 6 we discuss the results for the type of damping considered. In Section VI, we summarize the important findings of the paper and provide an outlook for the follow-up paper that will cover the cases of combined linear and nonlinear damping.
New equations for the amplitude decay, initial amplitude, and initial phase
We consider the paradigmatic example of a damped harmonic oscillator shown in Figure 1, i.e. a block of mass that oscillates back and forth along a horizontal surface under the influence of the restoring force of an ideal spring , where is the stiffness of the spring and is the displacement of the block from the equilibrium position (set to ), and under the influence of the damping force

Figure 1. Schematic representation of a block-spring system with a restoring force and a (total) damping force . Here we show the time instant at which and , i.e. at which and . See text for details.
where , and are the corresponding damping constants, is the velocity, and
is the sign function. The corresponding equation of motion is
where is the acceleration of the block. The first term on the right-hand side of equation (3) models the force of sliding friction [5, 6, 7, 18, 19], while the second and third terms model, e.g., the influence of air resistance, since air resistance generally depends on terms proportional to velocity and square of velocity [11, 13, 15, 20]. For simplicity, here we assume that the static and dynamic coefficients of friction are the same, i.e. both are equal to . The energy (potential plus kinetic) of the block-spring system is given by
If we put in (3), i.e. for , we get the equation of the undamped harmonic oscillator [3], with general solution
where is the angular frequency of the undamped system, while and are constants (amplitude and initial phase) that are determined from initial conditions , i.e.
The undamped system oscillates with conserved, i.e. constant, energy [3]. For damped systems, i.e. for , the energy is not conserved due to the power of the damping force , and the energy dissipation rate is given by , i.e.
where we used and . Thus, equation (7) tells us that the energy of the damped system decreases monotonically with time, i.e. for all , and holds at the turning points, i.e. at instants when .
In a recent paper [14], approximate analytical solutions of harmonic oscillator weakly damped by a force (1) were derived starting from the simple ansatz
where , and are the same as in the undamped case, i.e. as in (5), while the unknown function describes the slow decay of oscillations with time. By slow decay we mean that the rate of change of the function over time is significantly slower than the rate of change of the function . The approach in [14] is further based on taking
for velocity, i.e. in neglecting the term with in , which leads to energy of the form
These steps are justified in the case of weak damping, i.e. when the frequency and initial phase remain approximately the same as in the undamped case and holds for all [14]. Simple first order differential equation for the function is obtained by inserting velocity (9) and energy (10) into the energy dissipation rate (7) and taking the time average of trigonometric functions over half periods [14]. It was shown (for a particular choice of , and ) that the approximate analytical solutions obtained by this approach are in excellent agreement with the numerical solutions for a certain limited range of values of the damping constants (, and ) and that this agreement also depends on the type of initial conditions considered (i.e. on ) [14]. In particular, the agreement of approximate analytical solutions of the form (8) with numerical solutions is better in the case of initial conditions (, ) with purely kinetic initial energy than in the case of initial conditions (, ) with purely potential initial energy [14].
Here we improve the approach used in [14] by starting from the ansatz of the form
where and are unknown constants and is the unknown function that describes the amplitude decay over time. The corresponding velocity is
Although we have not yet determined the function , without loss of generality, we can take , and using initial conditions (, ) we obtain equations
and
from which we will determine the constants and once we determine at . The energy corresponding to (11) and (12) is
We note here that keeping the terms of order and in velocity (12) and energy (15) is necessary in modeling the influence of damping on and and also to ensure that our modeled displacement (11), velocity (12), and energy (15) can be matched to the initial conditions, but in modeling the function itself the simplest way is to proceed similarly as in [14], i.e. we approximate the left hand side of the energy dissipation rate (7) by
and for the velocity appearing on the right hand side of (7) we use
Thus, using (16) and (17) in (7) we get
Since, by the assumption of weak damping, the rate of change of is significantly slower than the rate of change of trigonometric functions over time intervals of the order , we can make an additional approximation in equation (18) by averaging the trigonometric functions over time intervals , i.e.
where we use the notation . Since , , and we get
where
as the final differential equation for the function . We are now in a position to write the final equations from which we determine the constants and . Combining (13) and (14), along with (20), we get
as the equation from which we determine , and
as the equation from which we can calculate the initial phase (once we determined from (22)). The first order differential equation (20) can be solved by separation of variables and integration, i.e. we have to solve
Thus, in our ansatz (11) is obtained by solving (24). We note here that that appears in ansatz (8) is obtained by solving the integral of the same form as (24), but in which is in place of [14]. Thus, once is obtained, one easily obtains the corresponding by replacing in with . Furthermore, for initial conditions (22) gives and (23) gives , i.e. the same values as in the undamped case. Thus, for this particular type of initial conditions, approximate analytical solutions (8) and (11) are the same, but the corresponding velocities (9) and (12), as well as the energies (10) and (15), are not the same.
For an easier comparison of approximate analytical solutions obtained by the new approach presented here with the solutions obtained by the approach used in [14], we will consider a block-spring system with the same parameters as in [14], i.e. we consider a block of mass kg attached to a spring of stiffness N/m, and we use m/. The corresponding undamped angular frequency is and the period of the undamped system is s. These values are along the lines of experiments performed on block-spring systems, e.g. see [8]. Throughout the paper, as in [14], we consider initial conditions that correspond to undamped solutions with m and various values of , e.g., for we have , for we have , etc.
For this choice of the parameters of block-spring system and initial conditions, solutions of the form (8), obtained in [14], describe well the dynamics governed by the equation (3) for a range of values of the damping constants , and that correspond to
Values of , , and are suitable to quantify the damping strength, since the weak damping limit can be characterized by the relations , , and [14]. In what follows, we will compare the approximate analytical solutions of the equation of motion (3) (with all three types of damping present) that are more accurate than the solutions recently presented in [14], but since the approach that includes the determination of constants and using equations (22) and (23) has not yet been investigated in the cases where only one type of nonlinear damping is present, e.g. for harmonic oscillator damped only by a force quadratic in velocity or only by sliding friction, we will first focus on those simpler cases.
Damping quadratic in velocity
If and (i.e. and ), equation (22) becomes a quadratic equation in and we easily get
while equation (23) simplifies to
In this case, solving the integral (24) gives
Thus, in case of damping quadratic in velocity, our approximate solution (11) becomes
where and are given by (26) and (27). In this case, the approach used in [14] gives
where and are defined in (6).
Initial conditions (, )
For this type of initial conditions (26) and (27) reduce to
and
while and . As noted earlier, throughout the paper we always choose the initial conditions that correspond to , i.e. we take here . In Figure 2(a)–(d) we show solutions given by (29), solutions given by (30) and the corresponding numerical solutions for , i.e. for , with initial conditions . The ode45 MATLAB function has been utilized to obtain the corresponding numerical solutions of the equation (3). We can see that the solutions agree better with the numerical results than the solutions for all chosen values of the ratio . In Figure 2(a) we have shown a shorter time span compared to Figure 2(b)–(d), in order to make the difference between and more visible.

Figure 2. Solid red curves show the solutions with initial conditions and various values of the ratio . Solid blue curves show the solutions and black dotted curves show the numerical solutions for the same initial conditions and the corresponding values of the ratio . See text for details.
In Figure 3(a)–(d) we show the energies given by (15), the energies given by (10), and the corresponding numerically obtained energies for with initial conditions . For the chosen parameters of the block-spring system and the chosen values of the initial conditions, we have .

Figure 3. Solid red curves show the energies with initial conditions for the same values of the ratio as used in Figure 2(a)–(Figure 2d). Solid blue curves show the energies and black dotted curves show the numerically obtained energies with the same initial conditions and for the corresponding values of the ratio . See text for details.
Initial conditions (, )
For this type of initial conditions, (26) and (27) simplify to and , i.e. (29) and (30) become
We take here . In Figure 4(a) and (b) we show solutions (32) and the corresponding numerical solutions with initial conditions for . In Figure 5(a) and (b) we show the corresponding energies given by (15) and (10), i.e. and , and numerically obtained energies. Therefore, as we commented earlier, although the new approach and the approach used in [14] give the same approximate analytical solutions in the case of initial conditions , the corresponding energies differ even in this case, i.e. the energy is in general more realistically modeled in the new approach.

Figure 4. Solid red curves show the solutions with initial conditions for two values of the ratio . Dotted black curves show the numerical solutions for the same initial conditions and the corresponding values of the ratio . See text for details.

Figure 5. Solid red curves show the energies with initial conditions for the same values of the ratio as used in Figure 4(a) and (b). Solid blue curves show the energies and black dotted curves show the numerically obtained energies with the same initial conditions and for the corresponding values of the ratio . See text for details.
Initial conditions
As an example, here we take and . For this choice, initial potential energy is equal to initial kinetic energy, and . In Figure 6a and (b) we show solutions given by (29), solutions given by (30), and the corresponding numerical solutions for with chosen initial conditions. In Figure 7a and (b) we show the corresponding energies given by (15) and (10), i.e. and , and numerically obtained energies.
Comments on results for harmonic oscillator with damping quadratic in velocity
The results presented in this section show that the new approximate analytical solutions, i.e. solutions (29) with initial amplitude (26) and initial phase (27), agree excellently with the numerical solutions in describing the free oscillations of a harmonic oscillator with damping quadratic in velocity for all types of initial conditions and for a range of values of the corresponding damping constant, i.e. for . For the deviations of the solutions (29) from the numerical solutions become more pronounced, as the example in Figure 2(d), with (i.e. ), clearly shows.
Although the differential equation (20), which gives us the function , was derived under the assumption of weak damping, i.e. under the assumption , we see that solutions (29) describe the dynamics well for damping that we could characterize (at least) as moderately strong. For example, in [21] the elliptic harmonic balance method has been used to obtain approximate analytical solutions of the harmonic oscillator with strong quadratic damping, and the parameters used were such that the amplitude of the obtained approximate analytical solution, as well as the corresponding numerical solution, after the first period drops to somewhat less than 50% of the initial value (see Figure 6 in [21]). We can see, in Figure 2(b), that for our choice of parameters, this happens for , and for the amplitude after the first period drops to slightly less than 25% of the initial value, as shown in Figure 2(c). Therefore, although our derivation of the function is based on the assumption that it changes slowly with time relative to the oscillatory (trigonometric) part of the dynamics, which is strictly fulfilled only in the limit of weak damping, the solution we obtained describes the dynamics well even for rather strong damping.

(a)

(b)
Figure 6. Solid red curves show the solutions with initial conditions for two values of the ratio . Solid blue curves show the solutions and black dotted curves show the numerical solutions for the same initial conditions and the corresponding values of the ratio . See text for details.
Furthermore, an ansatz of similar form as (11) is used in [22], but with an unknown frequency (i.e. with ) and, by a more complex mathematical procedure, which also includes the time averaging over the trigonometric part of the ansatz, approximate solutions of the harmonic oscillator with damping quadratic in velocity were obtained with a frequency that is reduced in relation to the frequency of the undamped case. More precisely, the obtained frequency is [22], where is the term which depends on the constant of quadratic damping and on magnitude of the initial amplitude. A brief numerical analysis of the free oscillations of the harmonic oscillator with damping quadratic in velocity presented in [14] shows, for initial condition and , that the quadratic damping has the greatest effect on the shift of the instants of the first zero crossing and the first turning point, while the time interval between the subsequent turning points remains approximately equal to the half-period of the undamped oscillator. Thus, the dynamics can be described well by keeping the frequency the same as in the undamped case, and taking into account that the initial phase can change compared to the undamped case, as we have done here.

(a)

(b)
Figure 7. Solid red curves show the energies with initial conditions for the same values of the ratio as used in Figure 6a and (b). Solid blue curves show the energies and black dotted curves show the numerically obtained energies with the same initial conditions and for the corresponding values of the ratio . See text for details.
Coulomb damping
If and (i.e. and ), equation (22) becomes a (depressed) quartic equation in , i.e.
while equation (23) simplifies to
In this case solving integral (24) gives
The function (35) monotonically decreases from the value to , where . For , (35) becomes increasingly negative, which corresponds to an increase in the amplitude of oscillations and is not physical. Thus, in the case of Coulomb damping, our approximate solution (11) can be written as
where
while is obtained by solving (33) and calculated from (34). The corresponding velocity, i.e. (12), can be written as
Thus, the function is simply added by hand to exclude the non-physical part of the solution. In this case, the approach used in [14] gives
where is the same as (37) but with instead of . It is well known that the exact solutions of a harmonic oscillator with Coulomb damping halt at some finite time instant and, in general, at some displacement with property , e.g., see [5, 6, 7, 14, 23]. The approximate solution (36) describes the dynamics up to the instant , at which and the corresponding velocity, given by (38), is . Thus, if we take as an approximation of , in addition to an error in the halting position, our modeled solution (36) has an error in velocity. In case of solution (39), there is also an error in the halting position, since , but the corresponding velocity, given by (9), is , i.e it has the correct value at least from a modeling point of view. We will first show examples with solutions (36) and (39) as they are, and then introduce an alternative approach that corrects the aforementioned shortcomings of solution (36).
Since the exact solutions of the harmonic oscillator with Coulomb damping are piecewise continuous and have already been studied in detail elsewhere, e.g., see [5, 6, 7, 14, 23], for simplicity, we will again check the validity of our approximate solutions by comparing them with numerically obtained solutions.
Initial conditions (, )
For this type of initial conditions, equation (33) reduces to a quadratic equation in and we easily get
In Figure 8(a) and (b) we show solutions given by (36), solutions given by (39) and the corresponding numerical solutions with initial conditions for , i.e. for . In case , relations (40) give and . Thus, solutions (36) and (39) almost completely overlap in Figure 8(a). Even for a rather strong Coulomb damping with , shown in Figure 8(b), the amplitude , but the phase becomes more clearly visible, i.e. , and we see that the solution agrees somewhat better with the numerical solution than when considering the overall dynamics, but the improvement is not significant.

Figure 8. Solid red curves show the solutions with initial conditions for two values of the ratio . Solid blue curves show the solutions and black dotted curves show the numerical solutions for the same initial conditions and the corresponding values of the ratio . The dashed horizontal lines in each figure are positioned at corresponding values, i.e. they indicate the region within which holds. See text for details.
The dashed horizontal lines in Figure 8(a) and (b) indicate the region within which holds, i.e. the region in which the restoring force is of smaller magnitude than the friction force. In both Figure 8(a) and (b) we see that the approximate solutions have the last turning point within the area marked by the two dashed lines. After the last turning point, our approximate solutions describe the motion that continues until the block reaches the equilibrium position. In addition to the error in the halting positions, in Figure 8(a) and (b) we see that solutions and also have errors in the instants of the zero crossings compared to the numerical solutions, and we can see that these errors increase with time, therefore the largest error is for the last zero crossing (the fact that solutions of the form (39) have errors in instants of zero crossings compared to exact analytical solutions of the harmonic oscillator with Coulomb damping is argued in [14], and the same argument can be applied to solutions of the form (36)). One way to make our description of the dynamics more physical would be simply to take that the dynamics halts when the approximate solutions reach the last turning point. In the examples shown in Figure 8(a) and (b), we see that this would somewhat reduce the error in the halting position, but would not affect the rather large error in the instant of the last zero crossing. Thus, to improve the agreement between the solutions of the form (36) and the numerical solutions, we will apply a slightly different strategy.
In Figure 8(b), as an example, the red arrow points to , i.e. to the last turning point of the solution for which holds. We can take that solution (36) describes the dynamics for , and to describe the dynamics for , we exactly solve the equation of motion with the initial conditions . We get
as the improved approximate solution, and
as the corresponding velocity. Therefore, our strategy is as follows: knowing the function , we can easily read out, for any choice of initial conditions and any value of the ratio , the values of and , i.e. the values corresponding to the last turning point with the property , and use these values in relations (41) and (42). In Figure 9(a) and (b) we show improved solutions given by (41), solutions given by (39) and the corresponding numerical solutions for the same initial conditions and ratios as used in Figure 8(a) and (b). We see that solution (41) is in excellent agreement with the numerical solution, i.e. it gives an excellent approximation of the halting position, and the time is an excellent approximation of the duration of motion. In Figure 10(a) and (b) we show the energy obtained using (41) and (42), energy corresponding to solution (39), and the numerically obtained energy for the same initial conditions and ratios as used in Figure 9(a) and (b). We can see that energy , in addition to modeling the energy behavior more realistically compared to energy , is in excellent agreement with the numerically obtained energy.

Figure 9. Solid red curves show the solutions (41) with initial conditions for two values of the ratio . Solid blue curves show the solutions , given by (39), and black dotted curves show the numerical solutions for the same initial conditions and the corresponding values of the ratio . The dashed horizontal lines in each figure are positioned at corresponding values, i.e. they indicate the region within which holds. See text for details.

Figure 10. Solid red curves show the energies , obtained using (41) and (42), for the same initial conditions and values of the ratio as used in Figure 9(a) and (b). Solid blue curves show the energies corresponding to solutions (39), and black dotted curves show the numerically obtained energies, both for the same initial conditions and values of the ratio as used for . See text for details.
Our approximate analytical solution (41) is piecewise continuous, but it is necessary to consider only two time intervals, i.e. and , while the exact solution of the harmonic oscillator with Coulomb damping describes the dynamics over half periods [5, 6, 7, 14, 23]. For example, in Figure 11(a) we show the solutions (41), (39) and the corresponding numerical solutions for (i.e. for ). In this case, an exact analytical solution would require considering the dynamics over eleven time intervals, i.e. eleven half-periods, while, as we said, solution (41) considers only two time intervals and agrees excellently with the numerically obtained solution. In Figure 11(b) we show the energies corresponding to solutions shown in Figure 11(a).

Figure 11. (a) Solid red curves show the solution (41) with initial conditions (, ) and . Solid blue curves show the corresponding solution (39) and black dotted curves show the corresponding numerical solution. The dashed horizontal lines are positioned at , i.e. they indicate the region within which holds. (b) The energies corresponding to solutions shown in figure (a). See text for details.
Initial conditions
For this type of initial conditions, equation (33) simplifies to and we get , i.e. (36) and (39) become equal. The improved solution, i.e. (41), is, of course, also valid for these initial conditions, it is only necessary to determine the values of the last turning point of the function with property , and insert these values into expression (41). For example, in Figure 12(a) we show the solutions (41), (39) and the corresponding numerical solutions for this choice of the initial conditions and . In this case, solutions (41) and (39) overlap for , and for the solution (41) agrees significantly better with the numerical solution. In Figure 12(b) we show the energies corresponding to solutions shown in Figure 12(a).

Figure 12. (a) Solid red curves show the solution (41) with initial conditions (, ) and . Solid blue curves show the corresponding solution (39) and black dotted curves show the corresponding numerical solution. The dashed horizontal lines are positioned at , i.e. they indicate the region within which holds. (b) The energies corresponding to solutions shown in figure (a). See text for details.
Initial conditions (, )
As an example, here we choose (, ) and . For this type of initial conditions, equation (33) remains a quartic equation in , i.e. we have to solve
where we did not write the physical units for simplicity and the resulting is in meters. Instead of delving into solving this quartic equation analytically, we solve it using the roots MATLAB function. We get four solutions, i.e. . We expected one of the solutions to be close to , therefore we take the value as our solution, and the corresponding phase (34) is . In Figure 13(a) we show the solutions (41), (39) and the numerical solutions corresponding to this choice of the initial conditions and value of the ratio . In Figure 13(b) we show the energies corresponding to solutions shown in Figure 13(a).

Figure 13. (a) Solid red curves show the solution (41) with initial conditions and . Solid blue curves show the corresponding solution (39) and black dotted curves show the corresponding numerical solution. The dashed horizontal lines are positioned at , i.e. they indicate the region within which holds. (b) The energies corresponding to solutions shown in figure (a). See text for details.
Comments on results for harmonic oscillator with Coulomb damping
The results presented in this section show that, in the case of Coulomb damping, the new approximate analytical solutions, i.e. solutions (36) with the corresponding and , do not provide a significantly better description of the dynamics compared to the solutions (39) which are provided by the approach used in [14]. In order to obtain a better agreement between the approximate analytical solutions (36) and the numerical solutions, we improved them by using (36) to describe the dynamics only up to the instant , which corresponds to the last turning point with displacement , while the description of the dynamics for is obtained by solving exactly the equation of motion with the initial conditions , i.e. we introduced improved approximate analytical solution (41). We showed that solution (41) gives excellent description of free oscillations of the harmonic oscillator with Coulomb damping for any type of initial conditions and for a range of corresponding damping constant , i.e. for .
As we have already mentioned, the case of free oscillations of the harmonic oscillator with Coulomb damping is exactly solvable, but the exact solution is piecewise continuous, i.e. it is necessary to analyze the dynamics over half-periods. Thus, the main advantage of the approximate analytical solution (41), compared to the exact solution, is that it requires us to consider only two time intervals, i.e. and . This advantage is lost as we consider increasingly stronger Coulomb damping. For example, in Figure 9(b), we see that even for a rather strong damping with , for which the amplitude after the first period drops to a value less than 50% of the initial amplitude, the approximate analytical solution (41) follows the numerical solution well, but in this example the advantage of solution (41) compared to the exact solution would not be great, i.e. solution (41) is written over two time intervals, while the corresponding exact solution would be written over three time intervals (three half-periods).
We note here that approximate analytical solutions (36) and (39), for the range of values , both begin to deviate significantly from the numerical solutions only after their corresponding energies, as well as the numerically obtained energies, drop to a small fraction of the initial energy, e.g. for to about 5% of initial energy, i.e. towards the very end of the dynamics. Thus, if we do not need high precision in describing the very end of the dynamics, both solutions (36) and (39) provide an elegant description of the overall dynamics and a solid estimate of the duration of the motion.
Combined Quadratic and Coulomb Damping
If , and (i.e. , and ), equation (22) becomes a quartic equation in , i.e.
while the initial phase (23) becomes
In this case, solving the integral (24) gives
Similarly as in the case of purely Coulomb damping, the function (35) monotonically decreases from the value to , where
For , (45) becomes increasingly negative. Thus, our approximate solution (11) becomes
where is defined as in (37), but with given by (46), while is obtained by solving (43) and calculated from (44). The velocity corresponding to (47) is
where is given by (45), and the corresponding energy is calculated with (47) and (48). In this case, the approach used in [14] gives of the same form as (45), but with in place of , i.e. approximate solution (8) becomes
where is the same as but with instead of . In the approach used in [14], the velocity corresponding to (49) is
and the corresponding energy is .
Initial conditions (, )
For this type of initial conditions, equation (43) reduces to a quadratic equation in and we easily get
and
In Figure 14(a)-(Figure 14d) we show solutions given by (47), solutions given by (49) and the corresponding numerical solutions for and , with initial conditions . In case , the error of our approximate solutions (47) and (49) in the halting position compared to the numerical solutions can be at most , while in case it can be at most . In Figure 14(a) and (b), we can see that for most of the time, solutions overlap perfectly with the numerical solutions, that is, only towards the end of the motion are the deviations from the numerical solutions noticeable, mostly at the instants of the last zero crossings and, of course, at the instants and the positions of the halt. These discrepancies occur due to the presence of Coulomb damping, and in Figure 14(c) and (d) are more pronounced, due to stronger Coulomb damping. In Figure 15(a)-(Figure 15d) we show the energies corresponding to solutions shown in Figure 14(a)-(Figure 14d). We see that the energies corresponding to the solution (47) are in excellent agreement with the numerically obtained energies. Thus, the deviations of the solutions (47) from the numerical solutions towards the end of the dynamics, which we can see in Figure 14(a)-(Figure 14d), are negligible in the context of energy.

Figure 14. Solid red curves show the solutions , given by (47), with initial conditions for and . Solid blue curves show the solutions , given by (49), and black dotted curves show the numerical solutions for the same initial conditions and the corresponding values of the ratios and . The dashed horizontal lines in each figure are positioned at corresponding values, i.e. they indicate the region within which holds. See text for details.

Figure 15. Energies corresponding to solutions shown in Figure 14(a)-(Figure 14d). See text for details.
Still, in order to make our approximate description of dynamics, i.e. the solution (47), a better model of physical reality, we will proceed similarly as in the case with purely Coulomb damping. As an example, the red arrow in Figure 14(d) points to , i.e. to the last turning point of the solution (47) with the magnitude of displacement greater than . In this particular case, the displacement of the considered turning point, i.e. , is only 4% larger in magnitude than . For this reason, it is barely visible in Figure 14(d) that this turning point is above the dashed horizontal line. Similarly, in Figure 14(c), the red curve has a fifth turning point with a displacement just slightly less in magnitude than , thus the fourth turning point of the solid red curve shown in Figure 14(c) is the last turning point with a displacement greater in magnitude than . In any case, although, depending on the range shown, it may not be easy to visually determine which of the turning points is the last turning point with the displacement greater in magnitude than , this can certainly be easily done in various ways, e.g., simply by zooming in on the area of interest on the graph and reading out the coordinates of the required turning point or by using available functions in software packages, such as MATLAB, to filter these coordinates from the numerical data provided by the expression (47). Thus, for any choice of initial conditions and values and , the coordinates can be easily determined.
From the results shown in § 3, it is clear that the damping quadratic in velocity has the highest influence on the dynamics within the first few half-periods. Thus, in the case of combined quadratic and Coulomb damping, towards the very end of the dynamics, we expect Coulomb damping to dominate. Therefore, the dynamics for can be well described even if we completely ignore the contribution of the quadratic damping, i.e. if we take that the exact solution of equation of motion (3) with purely Coulomb damping, with initial conditions , describes the dynamics for . In that case, we obtain
as an improved approximate analytical solution, where is given by (45), and
as the corresponding velocity. In Figure 16(a) and (b) we show improved solutions given by (52), solutions given by (49) and the corresponding numerical solutions for the same initial conditions and ratios and as used in Figure 14(c) and (d). We see that solution (52) gives an excellent approximation of the instant and the position of the halt. In Figure 17(a) and (b) we show the energy obtained using (52)

Figure 16. Solid red curves show the improved solutions given by (52), with initial conditions for and . Solid blue curves show the solutions given by (49) and black dotted curves show the numerical solutions for the same initial conditions and the corresponding values of the ratios and . The dashed horizontal lines in each figure are positioned at corresponding values, i.e. they indicate the region within which holds. See text for details.

Figure 17. Solid red curves show the energies , obtained using (52) and (53), for the same initial conditions and values of the ratios and as used in Figure 16(a) and (b). Solid blue curves show the energies corresponding to solutions (49), and black dotted curves show the numerically obtained energies, both for the same initial conditions and values of the ratios as used for . See text for details.
and (53), the energy corresponding to the solution (49), and the numerically obtained energies for the same initial conditions and ratios and as used in Figure 16(a) and (b). We can see that the energies , obtained with (52) and (53), agree excellently with the numerically obtained energies, as expected, since, in the context of energy alone, even the less precise approximate solution (47), and the corresponding velocity (48), resulted in excellent approximation of numerically obtained energies.
However, if, e.g., we are not satisfied with the precision with which the solution (52) describes the dynamics, we will show how it can be further improved. In the example of the solution (47) shown in Figure 14(d), the fourth turning point , marked by a red arrow, has a displacement only slightly greater than , so the corresponding improved solution, i.e. (52), necessarily halts before reaching the equilibrium position, i.e. the last zero crossing occurred before the instant , and therefore the improved solution (52), shown in Figure 16(b), does not make any correction to the instant of the last zero crossing. In Figure 14(d), the green arrow points to the third turning point of the solution (47), with the coordinates , where we used subscript 3 simply to denote the third turning point. If we ignore the quadratic damping for , we can take
as a further improved approximate solution, where again is given by (45). We note here that (54) is derived for the specific example with , and it is easy to derive expressions that apply to the case with opposite sign. In Figure 18 we show the solution (54) and we can see a better overall agreement with the numerical solution compared to the solution (52) shown in Figure 16(b). Therefore, in the cases when the last turning point with a displacement greater in magnitude than , i.e. , has only slightly greater displacement than , i.e. when , we can take the coordinates of the turning point that precedes it, calculate the exact solution of equation of motion (3) with purely Coulomb damping starting from that instant, and get a better overall description of the dynamics.

Figure 18. Solid red curve shows the solution given by (54), with initial conditions for and . Solid blue curve shows the solution given by (49) and black dotted curve shows the numerical solution for the same initial conditions and the same values of the ratios and . The dashed horizontal lines are positioned at corresponding values, i.e. they indicate the region within which holds. See text for details.
Initial conditions
For this type of initial conditions, equation (43) simplifies to and we get , i.e. (47) and (49) become equal. The improved solution, i.e. (52), is, of course, also valid for these initial conditions, it is only necessary to determine the values of the last turning point of the function with property , and insert these values into expression (52). As an example of the dynamics with these type of initial conditions, in Figure 19(a) we show the solutions (52), (49) and the corresponding numerical solutions for and . In this case, is the fourth turning point, solutions (52) and (49) overlap for , and for the solution (52) agrees significantly better with the numerical solution compared to (49). In Figure 19(b) we show the energies corresponding to solutions shown in Figure 19(a).

Figure 19. (a) Solid red curves show the solution (52) with initial conditions , and . Solid blue curves show the corresponding solution (49) and black dotted curves show the corresponding numerical solution. The dashed horizontal lines are positioned at , i.e. they indicate the region within which holds. (b) The energies corresponding to solutions shown in figure (a). See text for details.
Initial conditions
As an example, here we choose , and . For this type of initial conditions, equation (43) remains a quartic equation in . Again, instead of delving into solving the corresponding quartic equation analytically, we solve it using the roots MATLAB function. Of the four solutions we obtained, the closest to the value is , which corresponds to the initial phase . In Figure 20(a) we show the solutions (52), (49) and the numerical solutions corresponding to this choice of the initial conditions and values of the ratios and . In this case, used in the solution (52) is the fifth turning point. In Figure 20(b) we show the energies corresponding to the solutions shown in Figure 20(a).

Figure 20. (a) Solid red curves show the solution (52) with initial conditions , for and . Solid blue curves show the corresponding solution (49) and black dotted curves show the corresponding numerical solution. The dashed horizontal lines are positioned at , i.e. they indicate the region within which holds. (b) The energies corresponding to solutions shown in figure (a). See text for details.
Since the displacement of the fifth turning point of the solid red curve, shown in Figure 20(a), is only slightly greater in magnitude than , we will also consider the solution which we obtain if we completely ignore the quadratic damping from the instant of the fourth turning point onward, i.e. for . Thus, we can use again the solution of the form (54), but with in place of , and with the values of and corresponding to initial conditions used here. The results are shown in Figure 21. Again, similarly as in Figure 18, we see that we can completely ignore the quadratic damping in the last two half-periods and still get a good description of the dynamics.

Figure 21. Solid red curve shows the solution of the form (54), but with in place of , with initial conditions for and . Solid blue curve shows the solution given by (49) and black dotted curve shows the numerical solution for the same initial conditions and the same values of the ratios and . The dashed horizontal lines are positioned at corresponding values, i.e. they indicate the region within which holds. See text for details.
Comments on results for harmonic oscillator with combined quadratic and Coulomb damping
The results presented in this section show that the new approximate analytical solutions (47) with the corresponding and , provide a significantly better description of the dynamics compared to the solutions (49) which are provided by the approach used in [14]. For the range of damping constants and such that and hold, solutions (47) provide a good description of the dynamics for all types of initial conditions, unless we are concerned with high precision at the very end of the dynamics, e.g. for the last half-period or last two half-periods before the halt.
In case we need greater precision in the description of the last or the last two half-periods before the halt, we introduced solutions (52) and (54), which significantly correct the limitations of solution (47). The trick was to exploit the physics of the problem, i.e. to completely ignore the influence of damping quadratic in velocity during the last or last two half-periods of the motion, due to small velocity during these time intervals, and take that only Coulomb damping decreases the oscillations towards the end of the dynamics.
In Figure 14(d), we can see, in the case and , that the amplitude of the solid red curve after the first period drops to about 30% of the initial value. Thus, the new approximate analytical solutions, introduced in this section, describe the dynamics well for damping that we could characterize (at least) as moderately strong.
Conclusion and Outlook
By comparing our new analytical solutions with numerical solutions, we have shown that they provide an excellent description of the dynamics of a harmonic oscillator damped by a force quadratic in velocity, sliding friction, and by the combination of these two damping forces. Our approach is valid for any type of initial conditions and for a wide range of values of the damping constants, which makes it suitable for the description and analysis of free damped vibrations of single-degree-of-freedom systems in the context of experiments in physics and engineering applications. The most elegant result is obtained for the damping quadratic in velocity analyzed in Section III. In that case, the initial amplitude is easily obtained analytically for any type of initial conditions by solving a simple quadratic equation. In the remaining two cases, depending on the type of initial conditions, it is necessary to solve the quartic equation to obtain initial amplitude , which is not easy to do analytically, but can be very easily solved numerically with standard and accessible software packages. Once we have determined , the initial phase is easy to calculate in any case.
Equation (22) suggests that the important combination of damping linear in velocity and damping quadratic in velocity will also be easily handled by our approach, since in that case (22) becomes a quadratic equation and the initial amplitude can be easily determined analytically for any type of initial conditions. This case is particularly important because in order to fully model the influence of air resistance, both types of damping are needed [11, 13, 15, 20]. Furthermore, we can expect that the approach presented in this paper will bring significant improvements in the description of the dynamics compared to the solutions already obtained in [14] for this combination of damping forces, because both damping linear in velocity and damping quadratic in velocity contribute to a significant change in the initial phase compared to the initial phase of the undamped case. Finally, the dynamics of every real-world system is also, to a greater or lesser extent, influenced by a force of sliding friction. Therefore, for a full description of the damping of free vibrations in real-world systems, it is necessary to take into account that all three types of damping are active, and how much each of them affects the dynamics depends, of course, on the specifics of the particular system we are considering, but also on the initial conditions (due to the nonlinear terms in the corresponding equation of motion). We will analyze in detail the new approximate analytical solutions for all remaining combinations of the three types of damping in a follow-up paper (i.e. in Part II).
Acknowledgments
K.L. and R.P. acknowledge support from the project “Implementation of cutting-edge research and its application as part of the Scientific Center of Excellence for Quantum and Complex Systems, and Representations of Lie Algebras”, Grant No. PK.1.1.10.0004, co-financed by the European Union through the European Regional Development Fund - Competitiveness and Cohesion Programme 2021-2027.
References
- [1]Frank S. Crawford. Waves: Berkeley Physics Course. volume 3. McGraw-Hill, New York, 1968.
- [2]J.D. Cutnell and K.W. Johnson. Physics. John Wiley & Sons, 2009.
- [3]David Halliday, Robert Resnick, and Jearl Walker. Fundamentals of Physics. John Wiley & Sons, 2013.
- [4]Hugh D. Young and Roger A. Freedman. University Physics with Modern Physics. Pearson, 2020.
- [5]I. R. Lapidus. Motion of a harmonic oscillator with sliding friction. American Journal of Physics, 38(11):1360–1361, nov 1970.DOI
- [6]A. Marchewka, David. S. Abbott, and R. J. BeichnerKamela. Oscillator damped by a constant-magnitude friction force. American Journal of Physics, 72(4):477–483, apr 2004.DOI
- [7]A. Anastasios Adamopoulosa and N. Adamopoulos. Constant and quadratic damping of free oscillations: easy solutions. International Journal of Mathematical Education in Science and Technology, 53(11):3151–3161, jan 2022.DOI
- [8]M. Kamela. An oscillating system with sliding friction. The Physics Teacher, 45(2):110–113, feb 2007.DOI
- [9]B. R. Jr. Smith. The quadratically damped oscillator: A case study of a non-linear equation of motion. American Journal of Physics, 80(9), sep 2012.DOI
- [10]C. E. Mungan and T. C. Lipscombe. Oscillations of a quadratically damped pendulum. European Journal of Physics, 34(5):1243–1253, jul 2013.DOI
- [11]X. Wang, C. Schmitt, and M. Payne. Oscillations with three damping effects. European Journal of Physics, 23(2):155–164, jan 2002.DOI
- [12]K. Karlo Lelas, Nikola Poljak, and Dario Jukić. Damped harmonic oscillator revisited: The fastest route to equilibrium. American Journal of Physics, 91(10):767–775, 10 2023.arxiv.org/abs/2301.08222
- [13]P. T. Squire. Pendulum damping. American Journal of Physics, 54(11):984–991, nov 1986.DOI
- [14]K. Lelas and R. Pezer. The amplitude decay of a harmonic oscillator damped simultaneously by weak linear and nonlinear damping forces. European Journal of Physics, 46(4):045001, jun 2025.arxiv.org/abs/2502.07458
- [15]R. A. Nelson and M. G. Olsson. The pendulum—rich physics from a simple system. American Journal of Physics, 54(2):112–121, feb 1986.DOI
- [16]M. V. Vitorino, A. Vieira, and M. S. Rodrigues. Effect of sliding friction in harmonic oscillators. Scientific Reports, 7:3726, jun 2017.DOI
- [17]K. Lelas and R. Pezer. Modeling the amplitude and energy decay of a weakly damped harmonic oscillator using the energy dissipation rate and a simple trick. European Journal of Physics, 46(1):015004, dec 2024.arxiv.org/abs/2406.18488
- [18]P. F. Hinrichsen and C. I. Larnder. Combined viscous and dry friction damping of oscillatory motion. American Journal of Physics, 86(8):577–584, aug 2018.
- [19]B. K. Karthik, R. B. Shreesh, V. Shrikanth, and A. K. Gaonkar. Prediction of energy dissipation by analytical solution to combined viscous and coulomb damping. Journal of Sound and Vibration, 573:118216, 2024.DOI
- [20]M. E. Bacon and D. D. Nguyen. Real-world damping of a physical pendulum. European Journal of Physics, 26(4):651–655, may 2005.DOI
- [21]L. Cveticanin. Oscillator with strong quadratic damping force. Publications de l’Institut Mathématique (Beograd), 85(99):119–130, 2009.DOI
- [22]L. Cveticanin. Oscillators with nonlinear elastic and damping forces. Computers & Mathematics with Applications, 62(4):1745–1757, aug 2011.DOI
- [23]J. A. Rizcallah. Revisiting the coulomb-damped harmonic oscillator. European Journal of Physics, 40(5), aug 2019.DOI