Abstract
In this study, an approximation method with an integral operational matrix based on the Muntz wavelets basis is presented to solve the variational problems of moving or fixed boundary conditions and a computational algorithm is given for the suggested approach. First, the integral operational matrix is created through the Muntz wavelets. Then, by using this integral operational matrix with Lagrange multipliers, the present approach reduces the variational problem into the system of algebraic equations. This approach is examined by some illustrative examples, and the acquired results prove that the suggested approach can solve the variational problems effectively with higher accuracy. The proposed approach yields better and comparable results with some other existing schemes given in the literature. The approximate wavelet solutions derived by the suggested approach are very identical to the corresponding exact solution.
Keywords
1. Introduction
The problem of determining a function which optimizes a certain functional is called variational problem (VP) (Tikhomirov, 1990). The VPs have been analyzed extensively by engineers, mathematicians, and scientists. Such types of problems appear in science, engineering, and several fields of real life such as economics, biology, solid mechanics, etc (Dym and Shames, 1973; Gelfand and Fomin, 1963). Moreover, the VPs have drawn great attention in various practical applications such as heat conduction model (Myint-U and Debnath, 2007; Schechter, 1967) and a three-dimensional eddy current field model (Jian et al., 1995). The functions that extremize functionals can be determined by using the Euler–Lagrange equation (Dym and Shames, 1973; Russak, 2002), but that equation cannot always be solved. Therefore, various direct techniques based on orthogonal functions and polynomial series have been used to solve the VPs. An overall view of these methods can be explored in the research work provided by Schechter (1967), Hwang and Shih (1983), Razzaghi et al. (2012), Mashayekhi et al. (2012), Haddai et al. (2012), Zarebnia and Birjandi (2012), Zarebnia and Sarvari (2014), Jaber (2015), Yari et al. (2017), Yari and Mirnia (2021) and Shiri and Baleanu (2019). Also, Baleanu et al. (2018) and Shiri et al. (2021) introduced the applications of an operational matrix method based on orthogonal polynomials.
Some orthogonal functions given above are dependent on the entire interval which is obviously a major drawback for some analysis work, specifically systems involving local functions that vanish outside a short time period or space. Such shortcomings can be overcome by wavelet functions. Wavelets (Daubechies, 1988; 1992) have good property for approximating functions with discontinuities or sharp changes. Over the previous few decades, there were exchanges between scientific disciplines which involve the independent development of waveforms in the engineering, physics, and geology fields that have linked to several modern wavelet applications such as human vision, image compression, prediction of earthquakes, and radar. Wavelet analysis is an effective mathematical tool which has been widely used in quantum mechanics, digital image, system analysis, numerical analysis, communication, and signal processing (Chui, 1997; Mallat, 2008). Some applications of the wavelets operational matrix method are provided by Gu and Jiang (1996), Rayal and Verma (2020a), Pandey et al. (2020) and Rayal and Verma (2020b), etc.
Today, there are a lot of works on wavelet techniques to acquire the approximate solution of VPs. For example Razzaghi and Yousefi (2000) presented a direct method based on Legendre wavelets to solve the VPs. Razzaghi and Yousefi (2001) used Legendre wavelets for the numerical analysis of some nonlinear VPs. Razzaghi and Yousefi (2002) proposed a scheme based on sine–cosine wavelets for the solution of VPs. Hsiao (2004) applied a simple Haar wavelet basis method with an integral operational matrix (IOM) to solve the VPs. Khellat and Yousefi (2006) used linear Legendre mother wavelets based on multiresolution of analysis for solving the applications in calculus of variations. Arsalani and Vali (2011) and Zhu and Wang (2013) focused on the direct scheme for handling VPs by using a Chebyshev wavelet basis. The interested reader is referred to Satyanarayan et al. (2017), Keshavarz et al. (2019) and Kheirabadi et al. (2019) and the references therein for more information.
It is necessary to find the extremum of a certain functional in many problems of applied sciences and engineering such as geometry, economics, mechanics, analysis, and so on. The VPs with different boundary conditions have gained tremendous attention because of the important role of this subject in mathematics, engineering, and applied sciences. Some applications (Dyer and McReynolds, 1970; Schechter, 1967; Weinstock, 1974) of such types of VPs appear in the heat conduction problem, brachistochrone problem, Ramsey growth model, shortest path problem, ordinary differential equation, systems of boundary value problems, etc. Due to a lot of applications of the VPs with different boundary conditions in several areas, the focus of the researchers is on the numerical solutions of the VPs with different boundary conditions. So, motivated by the above discussions, in this study, we consider the following VPs with moving or fixed boundary conditions
In this study, the main aim is to extremize the VPs defined in equation (1) with boundary conditions given in equations (2)–(4). In the current work, an efficient approximation approach based on Muntz wavelets is introduced for solving this kind of the VPs. This approach is a common approach, but implementation with Muntz wavelets basis functions is new. The method consists of reducing the given VPs into an algebraic system by expressing the higher derivative term in the form of Muntz wavelets with the unknown wavelet coefficients. The properties of Muntz wavelets along with the IOM and the Lagrange multipliers are applied to calculate the unknown wavelet coefficients and find the approximate wavelet solution in the given problems.
The study is structured as follows: the next Section 2 contains the description of Muntz wavelets. In Section 3, the IOM is derived by using Muntz wavelets basis functions. In Section 4, a numerical approach based on Muntz wavelets for solving the problem defined in equation (1) is proposed. In Section 5, we give the convergence and error bound of the suggested scheme. Section 6 presents some examples illustrating the accuracy and efficiency of the current approach through comparison tables and graphical representations. Finally, the conclusion of whole work is made in the last section.
2. Muntz wavelets
In this section, we describe modified form of Muntz wavelets that are used in the next section. The Muntz wavelets
The terms a
m
, b
m
(t), and c
m
are calculated by the following relation as
The Muntz wavelets and modified form of Muntz wavelets are identical to each other for smaller values of m. For more details, see Bahmanpour et al. (2018, 2019).
The Muntz wavelets ψn,m(t) given in equation (5) are orthonormal under the weight function w(t) = 1 in L2[0, 1), that is
The next subsection explains the approximation of function in the space
2.1. Function approximation
A function h(t) defined over
Here, the notation
Here,
After this section, the IOM is constructed for the Muntz wavelets basis which can play an important role to convert the given problems into the algebraic system.
3. Constructing Muntz wavelets integral operational matrix
In this section, we construct the Muntz wavelets operational matrix
For
By using equation (17), we can write the above wavelets basis as
By integrating equation (18) with respect to t from 0 to t and expressing in matrix form, we obtain
In this study, we use the result given in equation (19) for solving VPs. In this way, we can derive the other matrix by consuming more number of basis functions.
In general, we have
Here, O, S, and F are M × M order matrices given by
The integration of the product of two Muntz wavelets function vectors is obtained as
Advantages of using Muntz wavelets basis functions: Only a few numbers of the Muntz wavelet basis functions are needed to attain very satisfactory results. This observation is given by numerical examples and by comparing it with other existing methods given in the literature. The integration of the product of two Muntz wavelet function vectors is an identity matrix which is computationally more attractive and simpler. The MWIOM contains many zeros that play a key role in simplification of the performance index.
In the next section, we give the details of suggested numerical technique and its algorithm for solving the given VPs.
4. Method of solution
The procedure of the proposed scheme is given stepwise as: For the VPs given in equation (1), approximate the higher derivative function 2. Approximation of x(t) can be computed as follows: a. Integrating equation (22) with respect to t from 0 to t as b. Again, integrating equation (23) from 0 to t, we get 3. Approximate each known functions t
i
and rn−i by Muntz wavelets as 5. Substituting equations (2), (22)–(25), (27), and (29) in (1), then the VPs defined in equation (1) is transformed into the approximate form as 6. Approximate the final boundary conditions as: a. The boundary conditions mentioned in equation (3) can be written as b. The boundary conditions in equation (4) which are unspecified can be expressed by the transversality condition (Dym and Shames, 1973; Russak, 2002) as 7. Consider the function 8. The necessary condition for the extremal of the VP defined in equation (1) is given as
Procedure completed.
The proposed scheme is algorithmically expressed as follows:
Choose M and k.
Compute the Muntz wavelets
Compute the Muntz wavelets operational matrix
Define unknown vector
Determine the vector
Compute the equation.
Put
Put
Solve the set of linear algebraic equations:
Increase M or k to achieve better approximation of x(t) and J.
5. Error and convergence analysis
In this section, we give the convergence and error analysis of the suggested scheme. For this, we present the following notation and theorems.
Let
The upper bound of the approximation error by using the Muntz wavelets series is given by the following theorem.
Let
Consider the classical Taylor’s formula as (Lang, 1986; Odibat and Shawagfeh, 2007) Because By taking square root on both sides of the above inequality, we obtain the desired result as Also, when M → ∞, then
Suppose the assumptions of Theorem 1 hold, then we have
According to equation (34), we have By taking square root on both sides of the above inequality, we obtain the desired result as
Suppose the assumptions of Theorem 1 and Theorem 2 hold and the function ζ in equation (1) satisfies the Lipschitz condition. Then, the error bound E
A
of the suggested method is given by
We have By using equation (1), we obtain Since ζ satisfies a Lipschitz condition, we get By using Theorem 1 and Theorem 2 in equation (35), we obtain Because Using the above relation in equation (36), we get Hence, the desired result is obtained. Also, when M → ∞, then Next, the procedure introduced in Section 4 is applied to solve the given VPs.
6. Method implementation
In this section, five examples are taken to show the efficiency of the suggested scheme. The approximate wavelets solutions calculated by the constructed scheme are compared to the solution obtained using other existing schemes and the corresponding exact solution. All computations are made by software Mathematica 7.
6.1. Example 1
Consider the following VP (Razzaghi and Yousefi, 2000)
The exact solution for this problem by Euler’s equation is given as
Comparison of approximate solutions in Example 1.

Left: Approximate solution for k = 1 and M = 6, Right: Absolute error functions for k = 1 and different values of M in Example 1.
Comparison of absolute errors in Example 1.
Absolute errors and the approximate values of the performance index J for Example 1.
6.2. Example 2
Consider the following VP (Shihab and Asma, 2012)
The exact solution for this problem by Euler’s equation is given as
Comparison of approximate solutions in Example 2.

Left: Approximate solution for k = 1 and M = 6, Right: Absolute error functions for k = 1 and different values of M in Example 2.
Absolute errors and the approximate values of the performance index J for Example 2.
6.3. Example 3
Consider the following VP (Hsiao, 2004)
The exact solution to this problem by Euler’s equation is given as
We solve this problem for M = 4, 5, 6 and k = 1 by using the described procedure in Section 4. The obtained wavelets solutions and their absolute errors are depicted in Figure 3. In Table 6, the approximate results calculated by the proposed scheme for M = 5 and k = 1 are compared with the results derived by the Haar wavelets method (HWM) (Osama et al., 2014), Hat basis solution (Osama, 2018), second kind Chebyshev wavelets method (Zhu and Wang, 2013), and sine–cosine wavelets method (SCWM) (by using 28 basis functions) together with the exact solution. In the techniques of Osama et al. (2014), Osama (2018) and Zhu and Wang (2013), the solution is obtained with 8, 9, and 12 basis functions, respectively. From Figure 3, we see that as the value of M increases, the absolute errors decrease which provide the information about the convergence of the suggested scheme. The absolute error in the optimal value of J to this problem by the suggested method for M = 5 and k = 1 is 4.16 × 10−17. Left: Approximate solution for k = 1 and M = 5, Right: Absolute error functions for k = 1 and different values of M in Example 3. Comparison of approximate solutions in Example 3. SCWM: sine–cosine wavelets method; SKCWM: second kind Chebyshev wavelets method; HBS: Hat basis solution; HWM: Haar wavelets method.
6.4. Example 4
Consider the following VP (Arsalani and Vali, 2011)
x(1) and
The exact solution to this problem by Euler’s equation is given as
We solve the given problem for M = 6, 7, 8 and k = 1 by using the proposed method. The obtained wavelets approximate solutions and their absolute errors are plotted in Figure 4. In Table 7, the numerical results calculated by the proposed scheme are compared with the results derived by the SCWM (by using 20 basis functions), HWM (Hsiao, 2004), and Chebyshev wavelets method (Arsalani and Vali, 2011) together with the exact solution. In the methods of Hsiao (2004) and Arsalani and Vali (2011), the solution is obtained with 8 and 6 basis functions, respectively. From Table 7, it can be seen that the convergence of the approximate wavelets solution to the exact solution as the value of M increases. The absolute error in the optimal value of J to this problem by the proposed method for M = 6 and k = 1 is 1.66 × 10−16. Left: Approximate solution for k = 1 and M = 6, Right: Absolute error functions for k = 1 and different values of M in Example 4. Comparison of approximate solutions in Example 4. SCWM: sine–cosine wavelets method; HWM: Haar wavelets method; CWM: Chebyshev wavelets method.
6.5. Example 5
Consider the following VP (Keshavarz et al., 2019)
The exact solution for this problem by Euler’s equation is given as
We solve this problem for M = 6, 7, 8 and k = 1 by using the proposed scheme. The obtained wavelets solutions and their absolute errors are plotted in Figure 5. In Table 8, the numerical results calculated by the presented scheme are compared with the results derived by the Legendre wavelets method (LWM) and Bernoulli wavelets method (BWM) (Keshavarz et al., 2019) together with the exact solution. From Table 8, it can be seen the convergence of the approximate solution to the exact solution as M increases. The comparison of the absolute error achieved by the present method, LWM, and BWM are given in Table 9. The absolute error in the optimal value of the performance index J to this problem for M = 6 and k = 1 by the proposed scheme is 8.77 × 10−10. Left: Approximate solution for k = 1 and M = 7, Right: Absolute error functions for k = 1 and different values of M in Example 5. Comparison of approximate solutions in Example 5. Comparison of absolute errors in Example 5.
7. Conclusion
This study presented a numerical scheme for solving VPs of fixed or moving boundary conditions by combining the MWIOM and the Lagrangian multipliers. This scheme has been examined for some examples, and the obtained approximate wavelet solutions for these examples show that this approach gives an accurate approximation of the exact solution. From the results, it is clearly observed that the Muntz wavelets is an appropriate mathematical tool to solve the given VPs arising in applied science and engineering. The biggest advantage of the current scheme is that the accuracy of approximate solutions and the least values of error are achieved by using only few terms of the Muntz wavelet basis functions in comparison to the method given by Hsiao (2004), Arsalani and Vali (2011), Zhu and Wang (2013), Keshavarz et al. (2019), Razzaghi and Yousefi (2000), Razzaghi and Ordokhani (2001), Bokhari et al. (2018), Osama et al. (2014) and Osama (2018). The optimal value of the performance index J with high precision is also obtained readily in all examples for smaller values of
Footnotes
Acknowledgements
The authors are very grateful to the editor and the anonymous referees for their careful reading, insightful comments, and helpful suggestions which have led to the improvement of the study.
Declaration of conflicting interests
The authors declared no potential conflicts of interest with respect to the research, authorship, and/or publication of this article.
Funding
The authors received no financial support for the research, authorship, and/or publication of this article.
