• Original research
• Open access
• Published:

# An efficient algorithm to solve damped forced oscillator problems by Bernoulli operational matrix of integration

## Abstract

An asymptotic perturbation solution for a linear oscillator of free damped vibrations in fractal medium described by local fractional derivatives was obtained in Yang and Srivastava (Commun Nonlinear Sci Numer Simul 29(1–3):499–504, 2015). In this paper, we obtain the numerical solution of damped forced oscillator problems by employing the operational matrix of integration of Bernoulli orthonormal polynomials. The operational matrix of integration is determined with the help of the integral operator on Bernoulli orthonormal polynomials. Numerical examples of two different problems of spring are given to delineate the performance and perfection of this approach and compared the results with the exact solution.

## Introduction

The Bernoulli numbers were probably first appeared in the book of Jakob Bernoulli which was published in 1713. There are numerous applications of Bernoulli numbers in innumerable fields such as algebraic topology, number theory, combinatorics and the calculus of finite differences [11,12,13,14]. Many authors[3, 7, 9, 13, 15, 21, 25] studied the solutions of differential equations by Bernoulli polynomials. Dilcher [5] discussed the sums of products of Bernoulli numbers. Later, Tuenter [22] discussed a symmetry of power sum polynomials and Bernoulli numbers.

Srivastava and Todorov [16] gave an explicit formula for the generalized Bernoulli polynomials while Granville and Sun [6] investigated values of polynomials in the context of a problem posed by Emma Lehmer in 1938. A simple property of the Bernoulli and the Euler polynomials was studied by Cheon [2]. Also, a new approach to Bernoulli polynomials was investigated by Costabile et al. [4]. An identity related to symmetry for the Bernoulli polynomials was discussed by Yang [24]. Recently, Boutiche et al. [1] obtained explicit Formulas associated with some families of generalized Bernoulli and Euler Polynomials. Srivastava et al. [19] studied parametric type of the Apostol-Bernoulli, Apostol-Euler and Apostol-Genocchi polynomials and He et al. [8] investigated Higher-Order Convolutions for Apostol-Bernoulli, Apostol-Euler and Apostol-Genocchi Polynomials.

Very recently, Srivastava et al. [17, 19] obtained some new generalizations and applications of the Apostol-Bernoulli, Apostol-Euler and Apostol-Genocchi polynomials and a study on identities and relations involving the modified degenerate hermite-based Apostol-Bernoulli. Srivastava et al. [18] introduced the notions of modified degenerate Hermite-based Apostol-Bernoulli, the modified degenerate Hermite-based Apostol-Euler and the modified Hermite-based Apostol-Genocchi polynomials.

The classifications of oscillating systems are expressed in Thomsen [20] and Rama and Dukkipati [10]. The mechanism that outcomes in dissipation of the energy of an oscillator is named damping. In mechanical oscillator, the damping may be due to (a) viscous drag (b) friction and (c) structure. An oscillator to which a continuous excitation is allowed by some outside agency is called forced oscillator.

Assume a mass M involved to the end of a spring of stiffness constant. A rigid support attached on one end of the spring. Let the driven force acting on the system be F(t). At any instant of time, the system will work under the influence of following forces:

1. (a)

Restoring force, $$F_1=-Sx$$, where x is the displacement of the mass from the equilibrium position,

2. (b)

Damping force, $$F_2=-r\frac{\mathrm{d}x}{\mathrm{d}t}$$, where r is damping constant,

3. (c)

Driven force, $$F_3=F(t)$$.

The negative sign in the first two above expressions shows that both the restoring and damping forces opposes the displacement. By Newton second law of motion yields

\begin{aligned} M\frac{\mathrm{d}^2x}{\mathrm{d}t^2}=-Sx-r\frac{\mathrm{d}x}{\mathrm{d}t}+F(t). \end{aligned}

An asymptotic perturbation solution for a linear oscillator of free damped vibrations in fractal medium described by local fractional derivatives was undertaken by Yang and Srivastava [23].

Motivated by the work of Yang and Srivastava [23], we investigated the numerical solutions of damped forced oscillator problems by operational matrix of integration on Bernoulli orthonormal polynomials. In fact, used the operational matrix of integration of the Bernoulli orthonormal polynomials to find the approximate solutions of damped forced oscillator and spring problems and compared these solutions with their exact solutions.

## Bernoulli polynomials

The Bernoulli polynomials of nth degree are defined on the closed interval [0, 1] as

\begin{aligned} \mathcal {B}_n(x)=\sum _{k=0}^{n}\left( {\begin{array}{c}n\\ k\end{array}}\right) B_kx^{n-k}, \end{aligned}
(1)

where $$B_k=B_k(0)$$ is the Bernoulli number for each $$k=0,1,\ldots ,n.$$

Leopold Kronecker expressed the Bernoulli number $$\mathcal {B}_n$$ in the following form:

\begin{aligned} {\left\{ \begin{array}{ll} \mathcal {B}_n&{}=- \sum \limits _{k=1}^{n+1}\frac{(-1)^k}{k}\left( {\begin{array}{c}n+1\\ k\end{array}}\right) \sum \limits _{j=1}^{k}j^n,\quad for \, n\ge 0,\,n\ne 1 \, {\text {and}} \\ \mathcal {B}_1&{}=-\frac{1}{2} \end{array}\right. } \end{aligned}
(2)

Thus the first few Bernoulli numbers are given by

\begin{aligned} \mathcal {B}_0=1, \mathcal {B}_1=-\frac{1}{2}, \mathcal {B}_2=\frac{1}{6}, \mathcal {B}_4=-\frac{1}{30}, \mathcal {B}_6=\frac{1}{42}, \mathcal {B}_8=-\frac{1}{30},\, \text{ and } \mathcal {\mathcal {B}}_n=0, \text{ for } \text{ all } \text{ odd } n\ge 3. \end{aligned}

Substituting value of $$\mathcal {B}_n$$ from relation (2) in Eq. (1), the first ten Bernoulli polynomials are given by

\begin{aligned} \mathcal {B}_0(x)&=1, \quad \mathcal {B}_1(x)=x-\frac{1}{2}, \quad \mathcal {B}_2(x)=x^2-x+\frac{1}{6}, \\ \mathcal {B}_3(x)&=x^3-\frac{3}{2}x^2+\frac{1}{2}x, \quad \mathcal {B}_4(x)=x^4-2x^3+x^2-\frac{1}{30}, \quad \mathcal {B}_5(x)=x^5-\frac{5}{2}x^4+\frac{5}{3}x^3-\frac{1}{6}x, \\ \mathcal {B}_6(x)&=x^6-3x^5+\frac{5}{2}x^4-\frac{1}{2}x^2+\frac{1}{42}, \quad \mathcal {B}_7(x)=x^7-\frac{7}{2}x^6+\frac{7}{2}x^5-\frac{7}{6}x^3+\frac{1}{6}x, \\ \mathcal {B}_8(x)&=x^8-4x^7+\frac{14}{3}x^6-\frac{7}{3}x^4+\frac{2}{3}x^2-\frac{1}{30}, \quad \mathcal {B}_9(x)=x^9-\frac{9}{2}x^8+6x^7-\frac{21}{5}x^5+2x^3-\frac{3}{10}x. \end{aligned}

Bernoulli polynomials satisfy the following well-known properties

\begin{aligned} \frac{\mathrm{d}}{\mathrm{d}x}\mathcal {B}_n(x)= & {} n\mathcal {B}_{n-1}(x), \end{aligned}
(3)
\begin{aligned} \int _{0}^{1}\mathcal {B}_n(x)\,\mathrm{d}x= & {} 0, \, \text{ for } \text{ all } n\ge 1. \end{aligned}
(4)

The integral formula for Bernoulli polynomials $$\mathcal {B}_n(x)$$ is obtained by integrating equation (3) as

\begin{aligned} \mathcal {B}_n(x)=n\int _{0}^{x}\mathcal {B}_{n-1}(t)\,\mathrm{d}t+\mathcal {B}_n \end{aligned}
(5)

## Orthonormal Bernoulli polynomials

Using Gram–Schmidt process on Bernoulli polynomials $$\mathcal {B}_m(x)$$ and normalizing them, a class of orthonormal Bernoulli polynomials of order m , denoted by $$w_{0m} , w_{1m} ,\ldots , w_{mm}$$ has been obtained [15].

The first ten Bernoulli orthonormal polynomials are given by

\begin{aligned} \left. \begin{array}{ll} w_{09}(x)&{}=1, \\ w_{19}(x)&{}=\sqrt{3}(-1+2x), \\ w_{29}(x)&{}=\sqrt{5}( 1-6x+6x^2), \\ w_{39}(x)&{}=\sqrt{7}(-1+12x-30x^2+20x^3), \\ w_{49}(x)&{}=3(1-20x+90x^2-140x^3+70x^4), \\ w_{59}(x)&{}=\sqrt{11}(-1+30x-210x^2+560x^3-630x^4+252x^5), \\ w_{69}(x)&{}=\sqrt{13}(1-42x+420x^2-1680x^3+3150x^4-2772x^5+924x^6), \\ w_{79}(x)&{}=\sqrt{15}(-1+56x-756x^2+4200x^3-11550x^4+16632x^5-12012x^6+3432x^7), \\ w_{89}(x)&{}=\sqrt{17}(1-72x+1260x^2-9240x^3+34650x^4-72072x^5+84084x^6-51480x^7+12870x^8), \\ w_{99}(x)&{}=\sqrt{19}(-1+90x-1980x^2+18480x^3-90090x^4+252252x^5-420420x^6+411840x^7 \\ &{}\quad -218790x^8+48620x^9) \end{array}\right\} \end{aligned}
(6)

A function $$g \in L^2[0,1]$$ may be written as

\begin{aligned} g(t)=\lim \limits _{n\rightarrow \infty }\sum _{i=0}^{n}c_{in}w_{in}(t), \end{aligned}
(7)

where $$c_{in}=\langle g,w_{in}\rangle$$ and $$\langle ,\rangle$$ is the standard inner product on $$L^2[0,1]$$.

If the series (7) is truncated at $$n=m$$, we get an approximation $$\tilde{g}$$ of g as,

\begin{aligned} g\cong \tilde{g}=\sum _{i=0}^{m}c_{im}w_{im}(t)=C^T\mathcal {B}(t), \end{aligned}
(8)

where

\begin{aligned} C=[c_{0m},c_{1m},\ldots ,c_{mm}]^T, \end{aligned}
(9)

and

\begin{aligned} \mathcal {B}(t)=[w_{0m}(t), w_{1m}(t),\ldots , w_{mm}(t)]^T. \end{aligned}
(10)

## The operational matrix of integration

Integrating Bernoulli orthonormal polynomials given in Eq. (6) w.r.t. x from 0 to t can be written as

\begin{aligned} \begin{aligned} \int _{0}^{t}w_{im}(x)\,\mathrm{d}x&=\zeta _i(t),\qquad 0\le t<1, \qquad i=0, 1,\ldots , m. \\&=\sum _{j=0}^{m}c_{jm}^i w_{jm}(t), \quad \text{ where } c_{jm}^i=\langle \zeta _i,w_{jm}\rangle ,\\ \text{ or } \int _{0}^{t}w_{im}(x)\,\mathrm{d}x&=[c_{0m}^i,c_{1m}^i,\ldots ,c_{mm}^i]\mathcal {B}(t)\, , \text{ for } 0\le i \le m. \end{aligned} \end{aligned}
(11)

Equation (11) can be written as

\begin{aligned} \int _{0}^{t}\mathcal {B}(x)\,\mathrm{d}x=P_{m+1}\mathcal {B}(t), \end{aligned}
(12)

where $$P_{m+1}$$ is the tridiagonal operational matrix of integration of order $$(m+1)\times (m+1)$$ associated with orthonormal Bernoulli polynomials and is given as

\begin{aligned} \mathcal {P}_{m+1}=\frac{1}{2}\begin{bmatrix} 1 &{} \quad \frac{1}{\sqrt{(1).(3)}} &{} \quad 0 &{} \quad \ldots &{} \quad 0 &{} \quad 0\\ \frac{-1}{\sqrt{(1).(3)}} &{} \quad 0 &{} \quad \frac{1}{\sqrt{(3).(5)}} &{} \quad \ldots &{} \quad 0 &{} \quad 0\\ \vdots &{} \quad \vdots &{} \quad \vdots &{} \quad \ldots &{} \quad \vdots &{} \quad \vdots \\ 0 &{} \quad \frac{-1}{\sqrt{(3).(5)}} &{} \quad 0 &{} \quad \dots &{} \quad 0 &{} \quad \frac{1}{\sqrt{(2m-1)(2m+1)}} \\ 0 &{} \quad 0 &{} \quad \frac{-1}{\sqrt{(2m-1)(2m+1)}} &{} \quad \ldots &{} \quad 0 &{} \quad 0 \end{bmatrix}_{(m+1)\times (m+1)} , \text{ for } m\ge 1. \end{aligned}
(13)

and $$P_1=\left[ \frac{1}{2}\right]$$.

## Numerical examples

In this section, we obtain solutions (approximate) to two differential equations for damped motion and forced motion using operational matrix of integration of Bernoulli orthonormal polynomial and examine its capability and exactness. First, we discuss the differential equation for damped motion.

### Example 1

Consider the basic differential equation for the damped motion

\begin{aligned} m\frac{\mathrm{d}^2y}{\mathrm{d}t^2}+a\frac{\mathrm{d}y}{\mathrm{d}t}+ky=F(t) \end{aligned}
(14)

where m is the mass of spring, $$a>0$$ is the damping constant, k is the spring constant, and F(t) is any external impressed force that acts upon the mass [12].

Taking, $$m=\frac{w}{g}=\frac{16}{32}=\frac{1}{2},a=2,k=10$$ and $$F(t)=5\cos 2t$$ Eq. (14) becomes

\begin{aligned} \frac{\mathrm{d}^2y}{\mathrm{d}t^2}+4\frac{\mathrm{d}y}{\mathrm{d}t}+20y=10\cos 2t \end{aligned}
(15)

The initial conditions are

\begin{aligned} y(0)=y'(0)=0 \end{aligned}
(16)

The exact solution of this problem is

\begin{aligned} y(t)=e^{-2t} \left( -\frac{3}{8}\sin 4t-\frac{1}{2}\cos 4t\right) +\frac{1}{2}\cos 2t+\frac{1}{4}\sin 2t. \end{aligned}

Let us now find an approximate solution for m = 2 of Eq. (15). Consider

\begin{aligned} y''(t)=C^T\mathcal {B}(t) \end{aligned}
(17)

and

\begin{aligned} 10\cos 2t=d^T\mathcal {B}(t). \end{aligned}
(18)

Integrating Eq. (17) two times and using the initial conditions, we have

\begin{aligned} y'(t)= & {} C^T\mathcal {P}_{3}\mathcal {B}(t), \end{aligned}
(19)
\begin{aligned} y(t)= & {} C^T\mathcal {P}^2_{3}\mathcal {B}(t), \end{aligned}
(20)

where $$C=[c_{02},c_{12},\cdots ,c_{22}]^T$$ is to be determined and $$\mathcal {P}_{3}=\begin{bmatrix} \frac{1}{2} &{} \quad \frac{1}{2\sqrt{3}}&{} \quad 0\\ -\frac{1}{2\sqrt{3}} &{} \quad 0 &{} \quad \frac{1}{2\sqrt{15}}\\ 0 &{} \quad -\frac{1}{2\sqrt{15}} &{} \quad 0\end{bmatrix}.$$ Substitution of Eqs. (17)–(20) in Eq. (15) gives

\begin{aligned} C^T\mathcal {B}(t)+4C^T\mathcal {P}_{3}\mathcal {B}(t)+20C^T\mathcal {P}^2_{3}\mathcal {B}(t)=d^T\mathcal {B}(t). \end{aligned}
(21)

Since Eq. (21) holds for all $$t\in [0, 1]$$, it reduces to

\begin{aligned} C^T=d^T[(I+4\mathcal {P}_{3}+20\mathcal {P}_{3}^2)]^{-1}, \end{aligned}
(22)

where I is a unit matrix of order $$3\times 3$$.

Taking $$m=2$$ and using Eq. (10) in Eq. (18), we have

\begin{aligned} d^T=\left[ \begin{array}{l} 4.54649, -4.38944, -0.749478 \end{array} \right] . \end{aligned}
(23)

Substituting the values of $$\mathcal {P}_{3}$$ and $$d^T$$ in Eq. (22) gives

\begin{aligned} C^T=\left[ \begin{array}{l} -1.45209, -2.89489, 2.74164 \end{array} \right] . \end{aligned}
(24)

The approximate solution $$y_a(t)$$ is obtained by using Eqs. (10), (13) and (24) in Eq. (20) for $$m=2$$ as

\begin{aligned} y_a(t)=0.0791343+1.27305 \,t-1.45238 \,t^2. \end{aligned}
(25)

In order to choose suitable value of m, convergence study has been accomplished for different values of y(t) for $$t= 0.0,0.1,$$ to 1.0 and for $$m=2,3,5,7,$$ and 9. The results of this study are presented in Table 1. It is observed that the value of the approximate convergence is nearing to the exact solution as we increase the value of m. Note that m is fixed at 9 as no further rectification or improvement was found. The calculations are worked out using Mathematica 7.0 by Wolfram.

Now, we give the calculations for the absolute error calculated using the formula $$\Vert y_e-y_a\Vert$$ and presented in Table 2.

Next, we give Fig. 1, which depicts the exact and approximate numerical solutions of Eq. (15). Table 1 illustrates that value of exact and approximate solution of Eq. (15) for different values of t and m .

The graphs of absolute errors for $$m=2,3,5,7$$ and 9 can be seen in the Fig. 2.

In the following example, we shall discuss the approximate solution of the differential equation for forced motion using Bernoulli orthonormal polynomials compare the result with the exact solution of the equation.

### Example 2

Consider the following forced motion equation given by

\begin{aligned} \frac{\mathrm{d}^2y}{\mathrm{d}t^2}+4\frac{\mathrm{d}y}{\mathrm{d}t}+20y=1. \end{aligned}
(26)

The initial conditions are

\begin{aligned} y(0)=y'(0)=0 \end{aligned}
(27)

The exact solution of this problem is

\begin{aligned} y (t) = - e^{-2t} \left[ \frac{1}{20}\cos 4t+\frac{1}{40}\sin 4t\right] +\frac{1}{20}. \end{aligned}

Let us now find an approximate solution for m=2 of Eq. (26). Consider

\begin{aligned} y''(t)=C^T\mathcal {B}(t) \end{aligned}
(28)

and

\begin{aligned} 1=d^T\mathcal {B}(t). \end{aligned}
(29)

Integrating (28) two times and using the initial conditions, we have

\begin{aligned} y'(t)= & {} C^T\mathcal {P}_{3}\mathcal {B}(t), \end{aligned}
(30)
\begin{aligned} y(t)= & {} C^T\mathcal {P}^2_{3}\mathcal {B}(t), \end{aligned}
(31)

where $$C=[c_{02},c_{12}, \cdots ,c_{22}]^T$$ is to be determined and $$\mathcal {P}_{3}=\begin{bmatrix} \frac{1}{2} &{} \quad \frac{1}{2\sqrt{3}}&{} \quad 0\\ -\frac{1}{2\sqrt{3}} &{} \quad 0 &{} \quad \frac{1}{2\sqrt{15}}\\ 0 &{}\quad -\frac{1}{2\sqrt{15}} &{} \quad 0\end{bmatrix}.$$

Substitution of Eqs. (28)–(31) in Eq. (26) gives

\begin{aligned} C^T\mathcal {B}(t)+4C^T\mathcal {P}_{3}\mathcal {B}(t)+20C^T\mathcal {P}^2_{3}\mathcal {B}(t)=d^T\mathcal {B}(t). \end{aligned}
(32)

Since Eq. (32) holds for all $$t\in [0, 1]$$, it reduces to

\begin{aligned} C^T=d^T[(I+4\mathcal {P}_{3}+20\mathcal {P}_{3}^2)]^{-1}, \end{aligned}
(33)

where I is a unit matrix of order $$3\times 3$$.

Taking $$m=2$$ and using Eq. (10) in Eq. (29), we have

\begin{aligned} d^T=\left[ 1, 0, 0\right] . \end{aligned}
(34)

The approximate solution $$y_a(t)$$ is obtained by using relations (10), (13) and (34) in Eq. (31) for $$m=2$$ as

\begin{aligned} y_a(t)=-0.00739372+0.141405 \,t-0.0693161\, t^2. \end{aligned}

The convergence study suitable value of m has been done for different values of y(t) for $$t= 0.0,0.1,$$ to 1.0 and for $$m=2,3,5,7,$$ and 9. The outcome of this study are given in Table 3. It has been observed that the value of the approximate convergence is sufficiently near to the exact solution for the increasing value of m. Also,the value of m is fixed at 9 as no further improvement is found. The calculations are worked out using Mathematica 7.0 by Wolfram.

Table 3 shows that value of exact and approximate numerical solution of Eq. (26) for different values of t and m.

Figure 3 illustrates the exact and approximate numerical solutions of Eq. (26).

The calculations for the absolute error calculated using the formula $$\Vert y_e-y_a\Vert$$ and presented in Table 4.

Let us now see the graphs of absolute errors for $$m=2,3,5,7$$ and 9 in the figures given below (Fig. 4):

## Conclusions

Damped forced oscillatory differential equations have a very important role in physics, mathematics and engineering. Through this work, we use the operational matrix of integration of Bernoulli orthonormal polynomials to find approximate solutions of damped forced oscillator and spring problems. A simple procedure of forming the operational matrix of integration of the Bernoulli orthonormal polynomials is given. It is observed that the exact and approximate solutions of these problems are approximately coinciding. This method is more precise, easy to use and stable as shown in the given numerical examples.

## Availability of data and materials

Data sharing not applicable to this article as no datasets were generated or analysed during the current study.

## References

1. Boutiche, M.A., Rahmani, M., Srivastava, H.M.: Explicit formulas associated with some families of generalized Bernoulli and Euler polynomials. Mediterr. J. Math. 14(2), 10 (2017)

2. Cheon, G.-S.: A note on the Bernoulli and Euler polynomials. Appl. Math. Lett. 16(3), 365–368 (2003)

3. Choi, J., Kim, Y.-H.: A note on high order Bernoulli numbers and polynomials using differential equations. Appl. Math. Comput. 249, 480–486 (2014)

4. Costabile, F., Dell’Accio, F., Gualtieri, M..I.: A new approach to Bernoulli polynomials. Rend. Mat. Appl. (7) 26(1), 1–12 (2006)

5. Dilcher, K.: Sums of products of Bernoulli numbers. J. Number Theory 60(1), 23–41 (1996)

6. Granville, A., Sun, Z.-W.: Values of Bernoulli polynomials. Pac. J. Math. 172(1), 117–137 (1996)

7. Gu, J.S., Jiang, W.S.: The Haar wavelets operational matrix of integration. Int. J. Syst. Sci. 27, 623–628 (1996)

8. He, Y., Araci, S., Srivastava, H.M., Abdel-Aty, M.: Higher-order convolutions for Apostol-Bernoulli, Apostol-Euler and Apostol-Genocchi polynomials. Mathematics 6(12), 1–14 (2018)

9. Lehmer, D.H.: A new approach to Bernoulli polynomials. Am. Math. Mon. 95(10), 905–911 (1988)

10. Rama, B.B., Dukkipati, R.V.: Advanced Dynamics. Alpha Science, Pangbourne (2001)

11. Rosen, K.H.: Handbook of Discrete and Combinatorial Mathematics. CRC Press, Boca Raton (2000)

12. Ross, S.L.: Differential Equations. Wiley, New York (2007)

13. Saadatmandi, A., Dehghan, M.: A new operational matrix for solving fractional-order differential equations. Comput. Math. Appl. 59(3), 1326–1336 (2010)

14. Simmons, G.F.: Differential Equations with Applications and Historical Notes. McGraw-Hill Book Co., New York (1972)

15. Singh, M., Sharma, S., Rawan, S.: Solution of linear differential equations using operational matrix of Bernoulli orthonormal polynomials. Poincare J. Anal. Appl. 7(1), 51–60 (2020)

16. Srivastava, H.M., Todorov, P.G.: An explicit formula for the generalized Bernoulli polynomials. J. Math. Anal. Appl. 130(2), 509–513 (1988)

17. Srivastava, H.M., Masjed-Jamei, M., Beyki, M.R.: A parametric type of the Apostol-Bernoulli, Apostol-Euler and Apostol-Genocchi polynomials. Appl. Math. Inf. Sci. 12(5), 907–916 (2018)

18. Srivastava, H..M., Kurt, B., Kurt, V.: Identities and relations involving the modified degenerate hermite-based Apostol-Bernoulli and Apostol-Euler polynomials. Rev. R. Acad. Cienc. Exactas Fís. Nat. Ser. A Mat. RACSAM 113(2), 1299–1313 (2019)

19. Srivastava, H.M., Masjed-Jamei, M., Beyki, M.R.: Some new generalizations and applications of the Apostol-Bernoulli, Apostol-Euler and Apostol-Genocchi polynomials. Rocky Mt. J. Math. 49(2), 681–697 (2019)

20. Thomsen, J.J.: Vibrations and Stability—Order and Chaos. McGraw-Hill, Cambridge (1997)

21. Toutounian, F., Tohidi, E.: A new Bernoulli matrix method for solving second order linear partial differential equations with the convergence analysis. Appl. Math. Comput. 223, 298–310 (2013)

22. Tuenter, H.J.H.: A symmetry of power sum polynomials and Bernoulli numbers. Am. Math. Mon. 108(3), 258–261 (2001)

23. Yang, X.-J., Srivastava, H.M.: An asymptotic perturbation solution for a linear oscillator of free damped vibrations in fractal medium described by local fractional derivatives. Commun. Nonlinear Sci. Numer. Simul. 29(1–3), 499–504 (2015)

24. Yang, S.-L.: An identity of symmetry for the Bernoulli polynomials. Discrete Math. 308(4), 550–554 (2007)

25. Zhang, Z., Wang, J.: Bernoulli matrix and its algebraic properties. Discrete Appl. Math. 154(11), 1622–1632 (2006)

## Acknowledgements

The authors pay their sincere thanks to Prof. Shiv Kumar Kaushik, Associate Professor, Department of Mathematics, Kirori Mal College, University of Delhi, Delhi, India and the reviewer for his/her critical remarks and suggestions for the improvement of this paper.

## Funding

This research is not funded by any research funding agency.

## Author information

Authors

### Contributions

SR carried out the study of Bernoulli orthonormal polynomials and performed the statistical analysis. Further, SR participated in the design of the study and was a major contributor in writing the manuscript. MS participated in the sequence alignment. SS conceived of the study, and participated in its design and coordination and helped to draft the manuscript. All authors read and approved the final manuscript.

### Corresponding author

Correspondence to Sunil Rawan.

## Ethics declarations

Not applicable.

### Competing interests

The authors declare that they have no competing interests.

### Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

## Rights and permissions

Reprints and permissions

Singh, M., Sharma, S. & Rawan, S. An efficient algorithm to solve damped forced oscillator problems by Bernoulli operational matrix of integration. J Egypt Math Soc 29, 6 (2021). https://doi.org/10.1186/s42787-021-00115-w