Open Access

A new approach to the Benjamin-Bona-Mahony equation via ultraspherical wavelets collocation method


Cite

Introduction

Linear and nonlinear phenomena are essential in physics, applied mathematics, and engineering problems. Optical fibers, fluid mechanics, plasma physics, electricity, fluid dynamics, wave circulation phenomena, elastic media, movement of heat, and other fields are related to wave phenomena. PDEs, such as Advection, Burgers, Boussinesq, Fisher equations, and many others, are of endless interest in nonlinear optics and quantum mechanics. Occasionally, in addition to helping authors fully understand the process they are describing, solving nonlinear equations enlightens them on facts that are not readily apparent through everyday observation. Additionally, finding precise answers to these problems is somewhat unexplored. However, numerical analysis [1] has become increasingly popular for linear and nonlinear partial differential equations, including BBM equations, in recent years. We look into two physical scenarios with an initial-boundary value problem of the BBM equations type. In 1972, Benjamin, Bona, and Mahony [2] enhanced the equation has the following form: yt(x,t)+yx(x,t)+y(x,t)yx(x,t)yxxt(x,t)=0, {y_t}(x,t) + {y_x}(x,t) + y(x,t){y_x}(x,t) - {y_{xxt}}(x,t) = 0, with different constraints, y(x,0)=f(x),0x1,y(0,t)=g(t),y(1,t)=h(t),t0. \matrix{ {y(x,0) = f(x),\quad 0 \le x \le 1,} \cr {y(0,t) = g(t),\;y(1,t) = h(t),\quad t \ge 0.} \cr } The BBM equation, an alternate smoothness model for the KdV equation [3], is given in equation (1).

A lot of mathematicians have also recently introduced several new techniques for solving differential equations, such as the Hermite wavelet technique [4], the Bäcklund transformation method [5], the Fibonacci wavelet scheme for solving hyperbolic PDE, dispersive PDE, the Rosenau-Hyman equation [6,7,8], the first integral method for MBBM equation [9], Hirota's bilinear method [10], Bernoulli wavelet scheme for nonlinear Murray equation [11], BBMB equations by Exp-Function method [12], (2+1) dimensional Sobolev equation via wavelet technique [13], the Haar wavelet method for the BBM equations [14], ultraspherical wavelet scheme for spectral solutions of Riccati equations [15], ultraspherical wavelet technique for solving 2nth-order boundary value problems [16], ultraspherical operational matrices of derivatives [17], clique polynomial and Adomian decomposition method for solving differential equations [18], and Laguerre wavelets scheme for solving delay differential equations [19], Bernoulli wavelet technique for solving biological models [20], explicit solution of atmosphere-soil-land plant carbon cycle system [21], study on Kudryashov-Sinelshchikov dynamical equation [22], study on Caudrey-Dodd-Gibbon-Sawada-Kotera partial differential equation [23], structure of the analytic solutions for Schrödinger equation [24], solutions for Konopelchenko-Dubrovsky equation [25], solutions of Kadomtsev-Petviashvili-Benjamin-Bona-Mahony equation [26], solutions of the Korteweg-de Vries-Zakharov-Kuznetsov equation [27].

Wavelets are utilized in numerous locations in numerical analysis as ideal instruments to provide a proper mathematical approach to scientific phenomena, often modelled by linear or nonlinear differential equations. The ultraspherical wavelets approach is one of such methods due to its unique properties called orthogonality, which compactly supports and holds multiresolution analysis. Also, these wavelets are continuous in respective domains; hence they play a vital role in applied mathematics. Our literature survey found only a few work-related to ultraspherical wavelets led by Youssri et al. [15,16,17]. In literature, no one has solved BBM equations by ultraspherical wavelets; this impels us to propose a new technique called the ultraspherical wavelets method (UWM).

The main goal of this paper is to describe and explain a novel numerical method UWM for obtaining a numerical solution to the nonlinear PDEs. The results are compared with wavelet and non-wavelet techniques [14]. According to the current literature survey, UWM has not been used to solve BBM equations.

The structure of this article is organized as follows. Section 2 is dedicated to the properties of ultraspherical wavelets. Section 3 gives the projected technique's convergence analysis. Section 4 is dedicated to the ultraspherical wavelets method. The numerical experiment, outcomes, and error analysis of the examples are covered in Section 5. In Section 6, the suggested work's conclusion is covered.

Preliminaries of ultraspherical wavelets

The family of functions known as wavelets is descended from a single function called the mother wavelet through dilatation and translation. When the translation parameter b and the dilation parameter a are continuously variable, we have a family of continuous wavelets as ψa,b(x)=|a|12ψxba,a,b,a0. {\psi _{a,b}}(x) = |a{|^{{{ - 1} \over 2}}}\psi \left( {{{x - b} \over a}} \right),\;a,b \in {\mathbb {R}},\;a \ne 0. If the parameters a and b are restricted to discrete values as a=a0k,b=nb0a0k,a0>1,b0>0, a = a_0^{ - k},\;b = n{b_0}a_0^{ - k},\;{a_0} > 1,\;{b_0} > 0, the discrete wavelets family that we have is as follows ψk,n(x)=|a0|12ψ(a0kxnb0). {\psi _{k,n}}(x) = |{a_0}{|^{{1 \over 2}}}\psi (a_0^kx - n{b_0}). Where L2(R)'s wavelet basis is formed by ψk,n. The orthonormal basis ψk,n(x) is particularly formed when a0 = 2 and b0 = 1. The ultraspherical wavelets ψn,mα(x)=ψ(k,n,m,α,x) \psi _{n,m}^\alpha (x) = \psi (k,n,m,\alpha ,x) involve five arguments where k is supposed to be any positive integer, n = 1,2,3,⋯,2k−1, m be the degree of the ultraspherical polynomials, x be the normalized time, and α is the known ultraspherical parameter. The ultraspherical wavelets be defined on the interval [0,1] as in [16], ψn,mα(x)=2k+12μm,αcmα(2k+1x2n1),n2kx<n+12k,0,otherwise, \psi _{n,m}^\alpha (x) = \left\{ {\matrix{ {{2^{{{k + 1} \over 2}}}{\mu _{m,\alpha }}\;c_m^\alpha ({2^{k + 1}}x - 2n - 1),} \hfill & {{n \over {{2^k}}} \le x < {{n + 1} \over {{2^k}}},} \hfill \cr {0,} \hfill & {{\rm{otherwise}},} \hfill \cr } } \right. where, μm,α=2αΓ(α)m!(m+α)2πΓ(m+2α) {\mu _{m,\alpha }} = {2^\alpha }\Gamma (\alpha )\sqrt {{{m!(m + \alpha )} \over {2\pi \Gamma (m + 2\alpha )}}} and m = 0,1,2,⋯,M − 1. Here cmα c_m^\alpha is the ultraspherical polynomial having degree m and satisfies the recursive formula as follows, c0α=1 c_0^\alpha = 1 and c1α=x c_1^\alpha = x , [17], cm+1α(x)=2(m+α)xcmα(x)mcm1α(x)m+2α,m=1,2,3,. c_{m + 1}^\alpha (x) = {{2(m + \alpha )xc_m^\alpha (x) - mc_{m - 1}^\alpha (x)} \over {m + 2\alpha }},\quad \quad m = 1,2,3, \cdots .

Convergence of ultraspherical wavelets
Theorem 1

The bounded and continuous function y(x,t) 2 L2(ℝ × ℝ) defined on [0,1] × [0,1], then the ultraspherical wavelets approximation of y(x,t) converges uniformly to it.

Proof

Since y(x,t) is bounded, ∃ μ ∈ ℝ ∋ |y(x,t)| ≤ λ. The approximation is as follows, y(x,t)=n=0m=0an,mψn,mα(x)ψn,mα(t). y(x,t) = \sum\limits_{n = 0}^\infty \sum\limits_{m = 0}^\infty {a_{n,m}}\psi _{n,m}^\alpha (x)\psi _{n,m}^\alpha (t). The ultraspherical wavelet coefficients of y(x,t) can be defined as an,m=0101y(x,t)ψn,mα(x)ψn,mα(t)dxdt,an,m=2k+12μm,α01Iy(x,t)cmα(2k+1x2n1)dxψn,mα(t)dt, \matrix{ {{a_{n,m}} = \int_0^1 \int_0^1 y(x,t)\psi _{n,m}^\alpha (x)\psi _{n,m}^\alpha (t)dxdt,} \cr {{a_{n,m}} = {2^{{{k + 1} \over 2}}}{\mu _{m,\alpha }}\int_0^1 \int_I y(x,t)c_m^\alpha ({2^{k + 1}}x - 2n - 1)dx\psi _{n,m}^\alpha (t)dt,} \cr } where, μm,α=2αΓ(α)m!(m+α)2πΓ(m+2α) {\mu _{m,\alpha }} = {2^\alpha }\Gamma (\alpha )\sqrt {{{m!(m + \alpha )} \over {2\pi \Gamma (m + 2\alpha )}}} , and I=n12k1,n2k1 I = \left[ {{{n - 1} \over {{2^{k - 1}}}},{n \over {{2^{k - 1}}}}} \right] , put 2k+1x − 2n − 1 = e, we get an,m=2k+12μm,α01n12k1n2k1ye+2n+12k+1,tcmα(e)de2k+1ψn,mα(t)dt,an,m=2(k+1)2μm,α0111ye+2n+12k+1,tcmα(e)deψn,mα(t)dt. \matrix{ {{a_{n,m}} = {2^{{{k + 1} \over 2}}}{\mu _{m,\alpha }}\int_0^1 \int_{{{n - 1} \over {{2^{k - 1}}}}}^{{n \over {{2^{k - 1}}}}} y\left( {{{e + 2n + 1} \over {{2^{k + 1}}}},t} \right)c_m^\alpha (e){{de} \over {{2^{k + 1}}}}\psi _{n,m}^\alpha (t)dt,} \hfill \cr {{a_{n,m}} = {2^{ - {{(k + 1)} \over 2}}}{\mu _{m,\alpha }}\int_0^1 \left[ {\int_{ - 1}^1 y\left( {{{e + 2n + 1} \over {{2^{k + 1}}}},t} \right)c_m^\alpha (e)de} \right]\psi _{n,m}^\alpha (t)dt.} \hfill \cr } By using the generalized mean value theorem for integrals, we get an,m=2(k+1)2μm,α01yξ+2n+12k+1,tψn,mα(t)dt11cmα(e)de. {a_{n,m}} = {2^{ - {{(k + 1)} \over 2}}}{\mu _{m,\alpha }}\int_0^1 y\left( {{{\xi + 2n + 1} \over {{2^{k + 1}}}},t} \right)\psi _{n,m}^\alpha (t)dt\left[ {\int_{ - 1}^1 c_m^\alpha (e)de} \right]. Here, ξ ∈ (−1,1) and cmα c_m^\alpha is an integrable function on (−1,1). Therefore 11cmα(e)de=Λ \int_{ - 1}^1 c_m^\alpha (e)de = \Lambda . an,m=Λμm,α2n12k1n2k1yξ+2n+12k+1,tcmα(2k+1t2n1). {a_{n,m}} = \Lambda \mu _{m,\alpha }^2\int_{{{n - 1} \over {{2^{k - 1}}}}}^{{n \over {{2^{k - 1}}}}} y\left( {{{\xi + 2n + 1} \over {{2^{k + 1}}}},t} \right)c_m^\alpha ({2^{k + 1}}t - 2n - 1). Put 2k+1t − 2n − 1 = f, we get an,m=Λμm,α211yξ+2n+12k+1,f+2n+12k+1cmα(f)df2k+1,an,m=Λμm,α22(k+1)11yξ+2n+12k+1,f+2n+12k+1cmα(f)df. \matrix{ {{a_{n,m}} = \Lambda \mu _{m,\alpha }^2\int_{ - 1}^1 y\left( {{{\xi + 2n + 1} \over {{2^{k + 1}}}},{{f + 2n + 1} \over {{2^{k + 1}}}}} \right)c_m^\alpha (f){{df} \over {{2^{k + 1}}}},} \cr {{a_{n,m}} = \Lambda \mu _{m,\alpha }^2{2^{ - (k + 1)}}\int_{ - 1}^1 y\left( {{{\xi + 2n + 1} \over {{2^{k + 1}}}},{{f + 2n + 1} \over {{2^{k + 1}}}}} \right)c_m^\alpha (f)df.} \cr } Since cmα c_m^\alpha is integrable on (−1,1), therefore, 11cmα(f)df=Λ1 \int_{ - 1}^1 c_m^\alpha (f)df = {\Lambda _1} , and by generalized mean value theorem for integrals, we get an,m=ΛΛ1μm,α22(k+1)yξ+2n+12k+1,η+2n+12k+1,where,η(1,1). {a_{n,m}} = \Lambda {\Lambda _1}\mu _{m,\alpha }^2{2^{ - (k + 1)}}y\left( {{{\xi + 2n + 1} \over {{2^{k + 1}}}},{{\eta + 2n + 1} \over {{2^{k + 1}}}}} \right),{\kern 1pt} \;{\rm{where}}{\kern 1pt} ,\eta \in ( - 1,1). Since y is bounded by λ, |an,m|=ΛΛ1λ2k+122αΓ(α)Γ(α)m!(m+α)2πΓ(m+2α). |{a_{n,m}}| = \left| {{{\Lambda {\Lambda _1}\lambda } \over {{2^{k + 1}}}}} \right|\left| {{2^{2\alpha }}\Gamma (\alpha )\Gamma (\alpha ){{m!(m + \alpha )} \over {2\pi \Gamma (m + 2\alpha )}}} \right|. Therefore, n=0m=0an,m \sum\nolimits_{n = 0}^\infty {\sum\nolimits_{m = 0}^\infty {{a_{n,m}}} } is convergent. Thus, the ultraspherical wavelet expansion of y(x,t) uniformly converges.

Description of ultraspherical wavelets scheme

The generalized BBM equation of the form αyt(x,t)+βyx(x,t)+χy(x,t)yx(x,t)δyxxt(x,t)=μ(x,t), \alpha {y_t}(x,t) + \beta {y_x}(x,t) + \chi y(x,t){y_x}(x,t) - \delta {y_{xxt}}(x,t) = \mu (x,t), with initial-boundary conditions, y(x,0)=f(x),0x1, y(x,0) = f(x),\quad \quad 0 \le x \le 1, and y(0,t)=g0(t),y(1,t)=g1(t),t0, y(0,t) = {g_0}(t),\quad \quad y(1,t) = {g_1}(t),\quad \quad t \ge 0, where α,β,δ,ξ are constants, and f (x),g0(t),g1(t),μ(x,t) are continuous real functions.

Consider, yxxt(x,t)=n=1m=0an,mψn,m(x), {y_{xxt}}(x,t) = \sum\limits_{n = 1}^\infty \sum\limits_{m = 0}^\infty {a_{n,m}}{\psi _{n,m}}(x), truncating the (4), we get yxxt(x,t)n=12k1m=0M1an,mψn,m(x), {y_{xxt}}(x,t) \approx \sum\limits_{n = 1}^{{2^{k - 1}}} \sum\limits_{m = 0}^{M - 1} {a_{n,m}}{\psi _{n,m}}(x), where ultraspherical coefficients an,m have to be determined. Integrate (5) with respective t from 0 to t. yxx(x,t)=yxx(x,0)+tn=12k1m=0M1an,mψn,m(x). {y_{xx}}(x,t) = {y_{xx}}(x,0) + t\sum\limits_{n = 1}^{{2^{k - 1}}} \sum\limits_{m = 0}^{M - 1} {a_{n,m}}{\psi _{n,m}}(x). Now integrate (6) concerning x from 0 to x. yx(x,t)=yx(x,0)+yx(x,0)yx(0,0)+0xtn=12k1m=0M1an,mψn,m(x). {y_x}(x,t) = {y_x}(x,0) + {y_x}(x,0) - {y_x}(0,0) + \int_0^x t\sum\limits_{n = 1}^{{2^{k - 1}}} \sum\limits_{m = 0}^{M - 1} {a_{n,m}}{\psi _{n,m}}(x). Now integrate (7) concerning x from 0 to x. y(x,t)=y(0,t)+x(yx(0,t)yx(0,0))+y(x,0)y(0,0)+tn=12k1m=0M1an,m0x0xψn,m(x). y(x,t) = y(0,t) + x({y_x}(0,t) - {y_x}(0,0)) + y(x,0) - y(0,0) + t\sum\limits_{n = 1}^{{2^{k - 1}}} \sum\limits_{m = 0}^{M - 1} {a_{n,m}}\int_0^x \int_0^x {\psi _{n,m}}(x). Put x = 1 in (8), and by given conditions, we get yx(0,t)yx(0,0)=g1(t)g0(t)+f(0)f(1)tn=12k1m=0M1an,m0x0xψn,m(x)dxdx|x=1. {y_x}(0,t) - {y_x}(0,0) = {g_1}(t) - {g_0}(t) + f(0) - f(1) - t\left( {\sum\limits_{n = 1}^{{2^{k - 1}}} \sum\limits_{m = 0}^{M - 1} {a_{n,m}}\int_0^x \int_0^x {\psi _{n,m}}(x)dxdx} \right){|_{x = 1}}. Substitute (9) in (7) and (8), we get yx(x,t)=yx(x,0)+g1(t)g0(t)+f(0)f(1)tn=12k1m=0M1an,m0x0xψn,m(x)dxdx|x=1+tn=12k1m=0M1an,m0xψn,m(x)dx, \matrix{ \hfill {{y_x}(x,t) = {y_x}(x,0) + \left[ {{g_1}(t) - {g_0}(t) + f(0) - f(1) - t\left( {\sum\limits_{n = 1}^{{2^{k - 1}}} \sum\limits_{m = 0}^{M - 1} {a_{n,m}}\int_0^x \int_0^x {\psi _{n,m}}(x)dxdx} \right){|_{x = 1}}} \right]} \cr \hfill { + t\sum\limits_{n = 1}^{{2^{k - 1}}} \sum\limits_{m = 0}^{M - 1} {a_{n,m}}\int_0^x {\psi _{n,m}}(x)dx,} \cr } and y(x,t)=y(0,t)+xg1(t)g0(t)+f(0)f(1)tn=12k1m=0M1an,m0x0xψn,m(x)dxdx|x=1+y(x,0)y(0,0)+tn=12k1m=0M1an,m0x0xψn,m(x)dxdx. \matrix{ \hfill {y(x,t) = y(0,t) + x\left[ {{g_1}(t) - {g_0}(t) + f(0) - f(1) - t\left( {\sum\limits_{n = 1}^{{2^{k - 1}}} \sum\limits_{m = 0}^{M - 1} {a_{n,m}}\int_0^x \int_0^x {\psi _{n,m}}(x)dxdx} \right){|_{x = 1}}} \right]} \cr \hfill { + y(x,0) - y(0,0) + t\sum\limits_{n = 1}^{{2^{k - 1}}} \sum\limits_{m = 0}^{M - 1} {a_{n,m}}\int_0^x \int_0^x {\psi _{n,m}}(x)dxdx.} \cr } Now differentiate (11) concerning t, and we get yt(x,t)=yt(0,t)+xg1(t)g0(t)n=12k1m=0M1an,m0x0xψn,m(x)dxdx|x=1+n=12k1m=0M1an,m0x0xψn,m(x)dxdx. \matrix{ \hfill {{y_t}(x,t) = {y_t}(0,t) + x\left[ {{g_1}(t) - {g_0}(t) - \left( {\sum\limits_{n = 1}^{{2^{k - 1}}} \sum\limits_{m = 0}^{M - 1} {a_{n,m}}\int_0^x \int_0^x {\psi _{n,m}}(x)dxdx} \right){|_{x = 1}}} \right]} \cr \hfill { + \sum\limits_{n = 1}^{{2^{k - 1}}} \sum\limits_{m = 0}^{M - 1} {a_{n,m}}\int_0^x \int_0^x {\psi _{n,m}}(x)dxdx.} \cr } Substituting (5), (10), (11), and (12) in (3) by assuming t=1M t = {1 \over M} and using the collocation points xi=2i12M {x_i} = {{2i - 1} \over {2M}} where i = 1,2,⋯,M the obtained equation (3) can be converted into a system of algebraic equations. The system is solved by Newton's iterative method. We get the ultraspherical coefficients an,m, then subsitute these an,m's a_{n,m}^\prime s in (11) will contribute to the ultraspherical wavelets-based approximate solution of a chosen equation. AE = |ye(x,t) − ya(x,t)|, where ya(x,t) and ye(x,t) approximate and exact solutions will determine the absolute error (AE).

Numerical experiments

We adapt the UWM mentioned in section 4 to various BBM equations in this part.

Problem 1

Consider the following BBM equation [14] yt(x,t)2yxxt(x,t)+yx(x,t)=0, {y_t}(x,t) - 2{y_{xxt}}(x,t) + {y_x}(x,t) = 0, with initial-boundary conditions y(x,0)=ex,0x1, y(x,0) = {e^{ - x}},\quad 0 \le x \le 1, and y(0,t)=et,y(1,t)=e1t,t0. y(0,t) = {e^{ - t}},\;y(1,t) = {e^{ - 1 - t}},\quad t \ge 0. The exact solution is y(x,t) = ext. Method of implementation at k = 1,M = 6, and α=12 \alpha = {1 \over 2} . Consider yxxt(x,t)m=05a1,mψ1,m(x). {y_{xxt}}(x,t) \approx \sum\limits_{m = 0}^5 {a_{1,m}}{\psi _{1,m}}(x). Using (14), (15), and the procedure explained in section 4, we get yx(x,t)=e1tete1+1tm=050x0xa1,mψ1,m(x)dxdx|x=1ex+tm=050xa1,mψ1,m(x)dx, {y_x}(x,t) = \left[ {{e^{ - 1 - t}} - {e^{ - t}} - {e^{ - 1}} + 1 - t\left( {\sum\limits_{m = 0}^5 \int_0^x \int_0^x {a_{1,m}}{\psi _{1,m}}(x)dxdx} \right){|_{x = 1}}} \right] - {e^{ - x}} + t\sum\limits_{m = 0}^5 \int_0^x {a_{1,m}}{\psi _{1,m}}(x)dx, y(x,t)=et+ex1+xe1t+ete1+1tm=050x0xa1,mψ1,m(x)dxdx|x=1+tm=050x0xa1,mψ1,m(x)dxdx, \matrix{ \hfill {y(x,t) = {e^{ - t}} + {e^{ - x}} - 1 + x\left[ {{e^{ - 1 - t}} + {e^{ - t}} - {e^{ - 1}} + 1 - t\left( {\sum\limits_{m = 0}^5 \int_0^x \int_0^x {a_{1,m}}{\psi _{1,m}}(x)dxdx} \right){|_{x = 1}}} \right]} \cr \hfill { + t\sum\limits_{m = 0}^5 \int_0^x \int_0^x {a_{1,m}}{\psi _{1,m}}(x)dxdx,} \cr } yt(x,t)=et+xe1t+etm=050x0xa1,mψ1,m(x)dxdx|x=1+m=050x0xa1,mψ1,m(x)dxdx. {y_t}(x,t) = - {e^{ - t}} + x\left[ { - {e^{ - 1 - t}} + {e^{ - t}} - \left( {\sum\limits_{m = 0}^5 \int_0^x \int_0^x {a_{1,m}}{\psi _{1,m}}(x)dxdx} \right){|_{x = 1}}} \right] + \sum\limits_{m = 0}^5 \int_0^x \int_0^x {a_{1,m}}{\psi _{1,m}}(x)dxdx. Substituting (17), (18), and (19) into (13) by taking t=16 t = {1 \over 6} . Then collocate the obtained equation using the discrete points xi=2i112 {x_i} = {{2i - 1} \over {12}} where i = 1,2,⋯,6, we obtain a system of six equations. Solving this system, we get the ultraspherical wavelets coefficients a1,m's. That is [−0.2850,0.0717,−0.0060,2.9699 × 10−4,−1.1741 × 10−5,−3.4727 × 10−8]. Substituting these a1,m's in (18) will contribute to the ultraspherical wavelets-based estimated solution of a given equation (13) and compared with the exact solution for different values of M and t is represented in Table 1 (α=12) (\alpha = {1 \over 2}) . The present method solution is compared with the finite difference method (FDM) [14], Haar wavelet method (HWM) [14], and exact solutions are represented in Table 2. Fig. 1 shows a graphical comparison of UWM, FDM, and HWM with exact solutions. Fig. 2 shows a two-dimensional graphical judgment of FDM, UWM, and HWM with exact solutions.

Fig. 1

Comparison of the projected scheme solution with other solutions for Problem 1 at t=19 t = {1 \over 9} .

Fig. 2

Graphical demonstration of the solution of present and other methods for Problem 1.

AE of the present scheme for Problem 1.

x AE at M = 6 AE at M = 7 AE at M = 8 AE at M = 9

0.1 3.9376 × 10−4 2.9425 × 10−4 2.2818 × 10−4 1.8209 × 10−4
0.2 6.7769 × 10−4 5.0624 × 10−4 3.9246 × 10−4 3.1312 × 10−4
0.3 8.6162 ×10−4 6.4339 ×10−4 4.9864 ×10−4 3.9775 ×10−4
0.4 9.5446 × 10−4 7.1244 × 10−4 5.5200 × 10−4 4.4021 × 10−4
0.5 9.6427 × 10−4 7.1949 ×10−4 5.5729 × 10−4 4.4433 ×10−4
0.6 8.9835 ×10−4 6.7003 ×10−4 5.1883 ×10−4 4.1357 ×10−4
0.7 7.6329 ×10−4 5.6907 × 10−4 4.4052 × 10−4 3.5106 ×10−4
0.8 5.6505 ×10−4 4.2109 × 10−4 3.2587 × 10−4 2.5963 ×10−4
0.9 3.0900 ×10−4 2.3018 × 10−4 1.7807 × 10−4 1.4184 ×10−4

Comparison of the projected scheme with other techniques for N = M = 8 of Problem 1.

x = (/16) FDM [14] HWM [14] UWM Exact

1 0.82942254 0.82957675 0.82887868 0.82902911
3 0.73277957 0.73244494 0.73124041 0.73161562
5 0.64756878 0.64621771 0.64514042 0.64564852
7 0.57245382 0.56995069 0.56922344 0.56978282
9 0.50625604 0.50267060 0.50229344 0.50283157
11 0.44793598 0.44342497 0.44329494 0.44374731
13 0.39657711 0.39130681 0.39129648 0.39160562
15 0.35137142 0.34546659 0.34547605 0.34559075
Problem 2

Consider the following non-homogeneous BBM equation [14] yt(x,t)2yxxt(x,t)+ex+t=0, {y_t}(x,t) - 2{y_{xxt}}(x,t) + {e^{x + t}} = 0, with initial-boundary conditions y(x,0)=ex,0x1, y(x,0) = {e^x},\quad 0 \le x \le 1, and y(0,t)=et,y(1,t)=e1+t,t0. y(0,t) = {e^t},\;y(1,t) = {e^{1 + t}},\quad t \ge 0. The exact solution is y(x,t) = ex+t. Solving this problem using the procedure discussed in section 4, the obtained solution is compared with HWM, FDM, and exact solutions, represented in Table 4. Table 3 illustrates an AE obtained by the estimated solution of the projected method with the exact solution for different M and t. Fig. 3 shows a graphical comparison of FDM, UWM, and HWM with exact solutions. Fig. 4 exhibits a geometrical interpretation of HWM, UWM, and FDM with exact solutions.

Fig. 3

Comparison of the projected scheme solution with other solutions for Problem 2 at t=16 t = {1 \over 6} .

Fig. 4

Graphical demonstration of the solution of present and other methods for Problem 2.

AE of the present scheme for Problem 2.

x AE at M = 6 AE at M = 7 AE at M = 8 AE at M = 9

0.1 1.0354 × 10−3 7.4856 × 10−4 5.6626 × 10−4 4.4325 × 10−4
0.2 1.8990 × 10−3 1.3729 × 10−3 1.0386 × 10−3 8.1295 × 10−4
0.3 2.5727 ×10−3 1.8600 ×10−3 1.4070 ×10−3 1.1014 ×10−3
0.4 3.0365 × 10−3 2.1953 × 10−3 1.6607 × 10−3 1.2999 × 10−3
0.5 3.2684 × 10−3 2.3630 ×10−3 1.7875 × 10−3 1.3992 ×10−3
0.6 3.2441 ×10−3 2.3454 ×10−3 1.7742 ×10−3 1.3888 ×10−3
0.7 2.9364 ×10−3 2.1230 × 10−3 1.6060 × 10−3 1.2571 ×10−3
0.8 2.3157 ×10−3 1.6742 × 10−3 1.2665 × 10−3 9.9137 ×10−4
0.9 1.3490 ×10−3 9.7533 × 10−4 7.3780 × 10−4 5.7753 ×10−4

Comparison of the projected scheme with other techniques for N = M = 8 of Problem 2.

x = (/16) FDM [14] HWM [14] UWM Exact

1 1.15741935 1.20750077 1.20586582 1.20623024
3 1.35750043 1.36926498 1.3658529 1.36683794
5 1.57881432 1.55109039 1.5473850 1.54883029
7 1.82434828 1.75639170 1.7533308 1.75505465
9 2.09744632 1.98892088 1.9869409 1.98873746
11 2.40185758 2.25280954 2.2518987 2.25353478
13 2.74179096 2.55257492 2.5523783 2.55358945
15 3.12197659 2.89308458 2.8931091 2.89359594
Problem 3

Consider the following nonlinear BBM equation [14] yt(x,t)yxxt(x,t)+y(x,t)yx(x,t)=0, {y_t}(x,t) - {y_{xxt}}(x,t) + y(x,t){y_x}(x,t) = 0, with initial-boundary conditions y(x,0)=x,0x1, y(x,0) = x,\quad 0 \le x \le 1, and y(0,t)=0,y(1,t)=11+t,t0. y(0,t) = 0,\;y(1,t) = {1 \over {1 + t}},\quad t \ge 0. The exact solution is y(x,t)=x1+t y(x,t) = {x \over {1 + t}} . Solving this problem using the procedure discussed in section 4, the obtained solution is compared with FDM and exact solutions, represented in Table 6. Table 5 represents an AE obtained by the approximate solution of the projected method with the exact solution for different M and t. Fig. 5 displays a graphical comparison of UWM and FDM with exact solutions. Fig. 6 exhibits a geometrical presentation of HWM, UWM, and FDM with exact solutions.

Fig. 5

Comparison of the projected scheme solution with other solutions for Problem 3 at t=16 t = {1 \over 6} .

Fig. 6

Graphical demonstration of the solution of present and other methods for Problem 3.

AE of the present scheme for Problem 3.

x AE at M = 6 AE at M = 7 AE at M = 8 AE at M = 9

0.1 2.1089 × 10−3 1.8448 × 10−3 1.6396 × 10−3 1.5825 × 10−3
0.2 4.0983 × 10−3 3.5849 × 10−3 3.1859 × 10−3 2.9895 × 10−3
0.3 5.8473 ×10−3 5.1141 ×10−3 4.5446 ×10−3 3.1664 ×10−3
0.4 7.2314 × 10−3 6.3236 × 10−3 5.6186 × 10−3 4.8969 × 10−3
0.5 8.1208 × 10−3 7.0998 ×10−3 6.3072 × 10−3 5.9892 ×10−3
0.6 8.3788 ×10−3 7.3234 ×10−3 6.5045 ×10−3 6.3058 ×10−3
0.7 7.8595 ×10−3 6.8674 × 10−3 6.0980 × 10−3 5.2771 ×10−3
0.8 6.4062 ×10−3 5.5955 × 10−3 4.9672 × 10−3 3.7137 ×10−3
0.9 3.8484 ×10−3 3.3601 × 10−3 2.9818 × 10−3 1.0753 ×10−3

Comparison of the projected scheme with other techniques for N = M = 8 of Problem 3.

x = (/16) FDM [14] UWM Exact

1 0.05887280 0.05658619 0.05555555
3 0.17667011 0.16966762 0.16666666
5 0.29462366 0.28247422 0.27777777
7 0.41284152 0.39481645 0.38888888
9 0.53143772 0.50649507 0.50000000
11 0.65053500 0.61729700 0.61111111
13 0.77026763 0.72699079 0.72222222
15 0.89078469 0.83532175 0.83333333
Conclusion

The present study used the ultraspherical wavelet method to find the numerical solution of BBM equations. The proposed approach is easily computer implementable and supported with illustrative examples. We also observed that this method is computationally efficient and gives better results. The present approach was compared with Haar wavelet and finite difference methods through tables and graphs. We have drawn 1-D and 2-D graphs of UWM, HWM, and FDM. From the figures and tables, we observed that the present technique has more accuracy than HWM and FDM, which are available in literature [14]. By raising the M, the precision of the solution is improved. As a result, the suggested approach is highly efficient and straightforward for solving linear and nonlinear BBM equations. Additionally, this approach can be extended to higher-order equations by making minor adjustments to the suggested procedure.

Declarations
Conflict of interest 

The authors state that they do not have any conflict of interests.

Author's contributions

M.M.-Conceptualization, Methodology, Formal analysis, Writing-Review and Editing, Supervision. K.S.-Resources, Writing-Original Draft, Methodology, Validation. All authors read and approved the final submitted version of this manuscript.

Funding

Not applicable.

Acknowledgement

The author expresses his affectionate thanks to the DST-SERB, Govt. of India. New Delhi for the financial support under Empowerment and Equity Opportunities for Excellence in Science for 2023–2026. F.No.EEQ/2022/620 Dated:07/02/2023.

Data availability statement

All data that support the findings of this study are included within the article.

Using of AI tools

The authors declare that they have not used Artificial Intelligence (AI) tools in the creation of this article.

eISSN:
2956-7068
Language:
English
Publication timeframe:
2 times per year
Journal Subjects:
Computer Sciences, other, Engineering, Introductions and Overviews, Mathematics, General Mathematics, Physics