The paper proposes a new spectral method based on Jacobi wavelets for numerically solving partial differential equations (PDEs).
The authors used Jacobi wavelets as basis functions and employed the operational matrix of derivative to reduce PDEs to systems of ordinary differential equations (ODEs). A dedicated software package was developed to implement the proposed algorithm.
The authors presented several numerical examples to demonstrate the accuracy and efficiency of the proposed method in solving various types of PDEs.
The method is original in its use of Jacobi wavelets for constructing a wavelet-based spectral method applicable to PDEs.
1. Introduction
Physical and complex phenomena in science and technology, such as fluid flow, fluid motion, chemical reactions, and biological growth, are often modeled using partial differential equations (PDEs). However, analytical solutions to these PDEs are rarely available due to their non-linearity or insufficient solution space. As a result, efficient numerical algorithms have become increasingly important for simulations involving PDEs, as it is typically impossible to solve these equations analytically for most practical applications.
Researchers have developed various numerical methods to obtain approximate solutions for partial differential equations (PDEs). The most commonly used approaches are local methods, such as finite difference, finite element, finite volume, and collocation methods.
In recent years, wavelets have attracted a great deal of interest due to their wide application in various numerical approximations. They are commonly used in numerical methods for solving integral equations and numerical integration [1–3], ordinary differential equations [4–6], partial differential equations [7, 8] and fractional partial differential equations [9, 10]. Various kinds of wavelets were utilized in such applications, for example, Chebyshev wavelets [11, 12], Haar wavelets [13–16], Legendre wavelets [17–19] and Jacobi wavelets [20–22].
The purpose of this article is to propose an effective method for solving partial differential equations (PDEs) in which the unknown function depends on both spatial and temporal variables. The decomposition of this unknown function into a Jacobi wavelet basis will be applied only to the spatial variable. Notably, the coefficients of this decomposition will remain functions of the temporal variable. Consequently, this approach transforms the solution of a PDE into solving a time-dependent ordinary differential equation (ODE). The article concludes by presenting numerical results obtained using the proposed method, demonstrating its validity and practical applicability.
The outline of this article is as follows: Jacobi polynomials and wavelets are introduced in 2. In Section 3, we describe and explain the different steps that lead to the implementation of our approach. Section 4 is devoted to the operational matrix of derivatives. In Section 5, we apply our technique to the partial differential equations. In the last section, the performance of the new method is illustrated by several numerical examples.
2. Decompoition in Jacobi wavelets basis
2.1 Jacobi polynomials and their properties
Jacobi polynomials [17], denoted with α > − 1, β > − 1 are a family of orthogonal polynomials defined on the interval [−1, 1] with respect to the weight function
here, m is a positive integer representing the degree of the polynomial. These polynomials belong to the weighted function space . Jacobi polynomials can be expressed in various forms; one of the most notable is the recursive formula, which is given by:
where
As the Jacobi polynomials are orthogonal with respect to the weight function w, the following orthogonality relation holds:
where is a normalization constant:
δm,n represents the Kronecker function, Γ is the Euler gamma function, and denotes the inner product of . It has been tablished that the set forms an orthogonal basis for [20].
Finally, the derivative of Jacobi polynomials is given by
2.2 Jacobi wavelets
The Jacobi wavelets are defined by [23].
where , n = 1, …, 2k represents the number of decomposition levels, m = 0, …, M is the degree of the Jacobi polynomials . The coefficient is for normality. The family forms an orthonormal basis of .
2.3 Decomposition in Jacobi wavelets basis.
Since the Jacobi wavelet family is an orthonormal basis in , any function f defined over can be uniquely expressed as:
where . For numerical analysis purposes, the projection of a function f into the linear span of the Jacobi wavelet functions is given by:
where: C the vector of coefficients, and Ψα,β the vector of Jacobi wavelet basis functions are given by
and
3. Decompoition in
Let f be an element in , as defined in [24]:
Since the function f(t, .) belongs to , then by (2.7) we have
where the coeficients cn,m(t) depending on the variable t are defined by
If , then the function coefficients are well defined for all t ∈ [0, T].
Proof. Since the functions f(t, .) and belongs to , and according to Cauchy-Schwartz inequality, then their product is in , which allows us to conclude that the coefficients are well defined for all t ∈ [0, T].□
If , then the function coefficients are continuous in [0, T].
Proof. Let t1, t2 ∈ [0, T], then we have
As the function , there exist γ(x) > 0 such that
for all t1, t2 ∈ [0, T], we have
Hence, we have
where
So, the function coefficients are continuous. □
If , then the function coefficients belong to C1(]0, T[).
Forthermore, if , then
Proof. Let t ∈ ]0, T[, then
Since f ∈ C1(]0, T[;), we have
where
As Δt → 0, we obtain
□
If , then the function coefficients belong to Ck(]0, T[) for (k ≥ 1). And if there exists such that , then for all t ∈ [0, T], the series (3.2) is convergent,and the function f can be approximated as
where C and Ψα,β are 2k(M + 1) vectors given by
and
Moreover, for m > 1,
Proof. For all α > − 1 and β > − 1, we have
By using eq. (2.6) we get
By change of variable s = 2k+1x − 2n + 1, ds = 2k+1dx, we obtain
Applying the integration by parts technique, we have
Integrating by parts again, we have
Deriving Holder’s inequality for this identity, we obtain
Since
and according to equation
We have
Since n ≤ 2k−1, we get
□
4. Operational matrix of derivative of the Jacobi wavelets
The derivative of the Jacobi wavelets vector Ψα,β, as given in (2.9), can be expressed as follows:
where Dα,β denotes the 2k(M + 1) × 2k(M + 1) operational matrix of derivative given by
Fα,β is (M + 1) × (M + 1) matrix, where its (i,j)th element is given by
in which and are defined from (2.4), and are given by
The operational matrix for nth derivative can be obtained using (4.1) as
where is the nth power of matrix Dα,β.
5. Method of solution
5.1 Application to telegraph equations
The telegraph equation is typically expressed in standard form as follows:
with boundary conditions
and initial conditions
where a, b and c are constants,g1(t), g2(t) are continuous functions in [0, T], and g3(x), g4(x) are continuous in [0, 1].
Let us assume that the function u(x, t) can be expressed as
Then, from (4.1), the derivatives of u(x, t) on x and t respectively are given as
and
Using boundary conditions in (5.2) we have
Collocating the obtained equation in (5.7) with the collocation points xii = 1, 2, …2k(M + 1) − 2, we get a system of 2k(M + 1) − 2 linear differential equations, which can be combined with the equations in (5.8), we obtain the following system of 2k(M + 1) linear differential equations
Hence, we have
with initial conditions
This system can be solved for unknown coefficients of the vector C(t). Consequently, the solution u(t, x) given in (5.4) can be calculated.
5.2 Application to linear hyperbolic partial differential equations
Consider the general form of the first-order linear hyperbolic equation
subject to the conditions:
where p(t), q(t), r(x) and f(t, x) are continuous real-valued functions. Assume that,
The partial derivatives of u(x, t) with respect to x and t are given
and
Using the conditions in (5.10) we have
Now, by collocating the obtained equation in (5.14) with the collocation points xi where i = 1, 2, …2k(M + 1) − 2, we obtain a system of 2k(M + 1) − 2 linear differential equations, which can be combined with the equations in (5.15), we obtain system of 2k(M + 1) linear differential equations, with initial conditions
To extract the values of unknown coefficients, we can either apply the Jacobi wavelet method again or use finite difference schemes. Finally, by substituting the obtained values of the unknown coefficients into equation (5.9), the numerical solution of the given PDE is obtained.
6. Numerical illustrations
To illustrate the approach outlined above and to evaluate the developed method, we have applied it to several numerical examples and solved them using the proposed technique. For the error analysis, we consider the following types of errors:
where , and R is the rate convergence [16].
6.1 Example 1
Consider the linear hyperbolic equation offirst-order in [0, 1]
with
The exact solution for this example is given by
We solve the problem (6.1) and (6.2) using the presented method with different values of (α, β) for k = 1 and M = 6, The obtained results are as follows: Figure 1 represents the time–space graph of the solution computed by the present method alongside the exact solution. Figure 2 shows that the error of the present method is smaller than those of the Legendre wavelet collocation method, and the Chebyshev wavelet collocation method. Table 1 compares the absolute errors obtained from the present method, the Legendre wavelet collocation method [25], and the Chebyshev wavelet collocation method [25]. Figures 3 and 4 illustrate the graphical comparison of the present method solution with the exact solution for different values of x, α and β. Table 2 compares the error norms obtained from the present method for level k = 1 and other methods in the literature [25]. Table 3 displays the maximum absolute errors (L∞) and the convergence rates for the present method, evaluated for various choices of levels k, α and β.
The illustration contains two side-by-side 3-D surface plots, (a) and (b), that compare the exact solution with a numerical solution approach. The plot on the left is titled “exact solution,” and the plot on the right is titled “solution approach.” Both plots depict a surface in a 3-D coordinate system. The x- and y-axes for both plots range from 0 to 1 with increments of 0.5, while the z-axis (representing the solution value) also ranges from 0 to 1 with increments of 0.5. The surfaces in both plots have a bowl-like or concave shape, starting at a value of 1 on the edges of the x-y plane and dipping to a minimum value near the center. The surfaces are colored with a gradient, with blue representing the lowest values in the center and green and yellow representing higher values as they move toward the edges. The grid lines on the surface provide a visual sense of its curvature and shape.Graphical illustration of the present method and the exact solution for (α, β) = (0, 0). Source: Authors’ own creation
The illustration contains two side-by-side 3-D surface plots, (a) and (b), that compare the exact solution with a numerical solution approach. The plot on the left is titled “exact solution,” and the plot on the right is titled “solution approach.” Both plots depict a surface in a 3-D coordinate system. The x- and y-axes for both plots range from 0 to 1 with increments of 0.5, while the z-axis (representing the solution value) also ranges from 0 to 1 with increments of 0.5. The surfaces in both plots have a bowl-like or concave shape, starting at a value of 1 on the edges of the x-y plane and dipping to a minimum value near the center. The surfaces are colored with a gradient, with blue representing the lowest values in the center and green and yellow representing higher values as they move toward the edges. The grid lines on the surface provide a visual sense of its curvature and shape.Graphical illustration of the present method and the exact solution for (α, β) = (0, 0). Source: Authors’ own creation
The line graphs are arranged in a 2 by 2 grid, each comparing an approximate solution, u (a p p), with an exact solution, u (e x), for different parameter values of alpha and beta. In all four subplots, the horizontal axis ranges from 0 to 1 with increments of 0.5, and the vertical axis ranges from 0 to 0.3 with increments of 0.1. The approximate solution, “u (a p p),” is represented by blue asterisks, while the exact solution, “u (e x),” is shown as a solid red line. The general shape of all four curves is a parabola-like function that starts at (0, 0.25), dips to a minimum near 0.5 on the horizontal axis, rises again, and ends at (1, 0.25). The top-left subplot is titled “u (a p p) for alpha equals negative 0.5, beta equals negative 0.5.” The top-right subplot is titled “u (a p p) for alpha equals 0, beta equals 2.” The bottom-left subplot is titled “u (a p p) for alpha equals 0, beta equals 0.” The bottom-right subplot is titled “u (a p p) for alpha equals 0.5, beta equals 1.5.” In all four cases, the blue asterisks representing the approximate solution fall very close to the red line of the exact solution, indicating a high degree of accuracy for the numerical method across various parameter combinations. Each subplot has a legend in the top-right corner, clarifying the symbols for “u (a p p)” and “u (e x).” Note: All the numerical data values are estimated.Graphical evaluation of the present method solution and the exact solution for different value of (α, β) at t = 0.5. Source: Authors’ own creation
The line graphs are arranged in a 2 by 2 grid, each comparing an approximate solution, u (a p p), with an exact solution, u (e x), for different parameter values of alpha and beta. In all four subplots, the horizontal axis ranges from 0 to 1 with increments of 0.5, and the vertical axis ranges from 0 to 0.3 with increments of 0.1. The approximate solution, “u (a p p),” is represented by blue asterisks, while the exact solution, “u (e x),” is shown as a solid red line. The general shape of all four curves is a parabola-like function that starts at (0, 0.25), dips to a minimum near 0.5 on the horizontal axis, rises again, and ends at (1, 0.25). The top-left subplot is titled “u (a p p) for alpha equals negative 0.5, beta equals negative 0.5.” The top-right subplot is titled “u (a p p) for alpha equals 0, beta equals 2.” The bottom-left subplot is titled “u (a p p) for alpha equals 0, beta equals 0.” The bottom-right subplot is titled “u (a p p) for alpha equals 0.5, beta equals 1.5.” In all four cases, the blue asterisks representing the approximate solution fall very close to the red line of the exact solution, indicating a high degree of accuracy for the numerical method across various parameter combinations. Each subplot has a legend in the top-right corner, clarifying the symbols for “u (a p p)” and “u (e x).” Note: All the numerical data values are estimated.Graphical evaluation of the present method solution and the exact solution for different value of (α, β) at t = 0.5. Source: Authors’ own creation
Comparison of absolute errors for different values of (α, β), and various wavelet methods for example 1
| (t, x) | An absolute error by Legendre wavelet [25] | An absolute error by Chebychev wavelet [25] | An absolute error by our method α = β = 0 | An absolute error by our method α = β = −0.5 |
|---|---|---|---|---|
| (0.1,0.1) | 8.20 × 10−5 | 4.16 × 10−4 | 1.52 × 10−5 | 1.28 × 10−5 |
| (0.2,0.2) | 7.10 × 10−6 | 5.37 × 10−4 | 1.18 × 10−6 | 2.67 × 10−5 |
| (0.3,0.3) | 4.65 × 10−5 | 3.55 × 10−5 | 2.32 × 10−5 | 1.94 × 10−5 |
| (0.4,0.4) | 7.86 × 10−5 | 2.65 × 10−4 | 1.64 × 10−5 | 1.43 × 10−5 |
| (0.5,0.5) | 8.93 × 10−5 | 1.27 × 10−5 | 1.28 × 10−5 | 1.72 × 10−5 |
| (0.6,0.6) | 7.86 × 10−5 | 1.93 × 10−5 | 3.15 × 10−5 | 1.39 × 10−5 |
| (0.7,0.7) | 4.65 × 10−5 | 2.11 × 10−5 | 2.67 × 10−5 | 2.91 × 10−5 |
| (0.8,0.8) | 7.10 × 10−6 | 3.22 × 10−5 | 1.86 × 10−5 | 1.52 × 10−5 |
| (0.9,0.9) | 8.22 × 10−5 | 1.20 × 10−4 | 1.53 × 10−5 | 1.79 × 10−5 |
| (t, x) | An absolute error by Legendre wavelet [ | An absolute error by Chebychev wavelet [ | An absolute error by our method α = β = 0 | An absolute error by our method α = β = −0.5 |
|---|---|---|---|---|
| (0.1,0.1) | 8.20 × 10−5 | 4.16 × 10−4 | 1.52 × 10−5 | 1.28 × 10−5 |
| (0.2,0.2) | 7.10 × 10−6 | 5.37 × 10−4 | 1.18 × 10−6 | 2.67 × 10−5 |
| (0.3,0.3) | 4.65 × 10−5 | 3.55 × 10−5 | 2.32 × 10−5 | 1.94 × 10−5 |
| (0.4,0.4) | 7.86 × 10−5 | 2.65 × 10−4 | 1.64 × 10−5 | 1.43 × 10−5 |
| (0.5,0.5) | 8.93 × 10−5 | 1.27 × 10−5 | 1.28 × 10−5 | 1.72 × 10−5 |
| (0.6,0.6) | 7.86 × 10−5 | 1.93 × 10−5 | 3.15 × 10−5 | 1.39 × 10−5 |
| (0.7,0.7) | 4.65 × 10−5 | 2.11 × 10−5 | 2.67 × 10−5 | 2.91 × 10−5 |
| (0.8,0.8) | 7.10 × 10−6 | 3.22 × 10−5 | 1.86 × 10−5 | 1.52 × 10−5 |
| (0.9,0.9) | 8.22 × 10−5 | 1.20 × 10−4 | 1.53 × 10−5 | 1.79 × 10−5 |
The four line graphs are arranged in a 2 by 2 grid, each comparing an approximate solution, u (a p p), with an exact solution, u (e x), for different parameter values of alpha and beta. In all four subplots, the horizontal axis ranges from 0 to 1 with increments of 0.5, and the vertical axis ranges from 0 to 1 with increments of 0.5. The approximate solution, “u (a p p),” is represented by blue asterisks, while the exact solution, “u (e x),” is shown as a solid red line. The general shape of all four curves is a concave-up ascending that starts at (0, 0), rises, and ends at (1, 0.75). The top-left subplot is titled “u (a p p) for alpha equals negative 0.5, beta equals negative 0.5.” The top-right subplot is titled “u (a p p) for alpha equals 0, beta equals 2.” The bottom-left subplot is titled “u (a p p) for alpha equals 0, beta equals 0.” The bottom-right subplot is titled “u (a p p) for alpha equals 0.5, beta equals 1.5.” In all four cases, the blue asterisks are slightly above the red line and follow the same trend as the red line. Each subplot has a legend in the top-right corner, clarifying the symbols for “u (a p p)” and “u (e x).” Note: All the numerical data values are estimated.Graphical evaluation of the present method solution and the exact solution for different value of (α, β) at t = 0.1. Source: Authors’ own creation
The four line graphs are arranged in a 2 by 2 grid, each comparing an approximate solution, u (a p p), with an exact solution, u (e x), for different parameter values of alpha and beta. In all four subplots, the horizontal axis ranges from 0 to 1 with increments of 0.5, and the vertical axis ranges from 0 to 1 with increments of 0.5. The approximate solution, “u (a p p),” is represented by blue asterisks, while the exact solution, “u (e x),” is shown as a solid red line. The general shape of all four curves is a concave-up ascending that starts at (0, 0), rises, and ends at (1, 0.75). The top-left subplot is titled “u (a p p) for alpha equals negative 0.5, beta equals negative 0.5.” The top-right subplot is titled “u (a p p) for alpha equals 0, beta equals 2.” The bottom-left subplot is titled “u (a p p) for alpha equals 0, beta equals 0.” The bottom-right subplot is titled “u (a p p) for alpha equals 0.5, beta equals 1.5.” In all four cases, the blue asterisks are slightly above the red line and follow the same trend as the red line. Each subplot has a legend in the top-right corner, clarifying the symbols for “u (a p p)” and “u (e x).” Note: All the numerical data values are estimated.Graphical evaluation of the present method solution and the exact solution for different value of (α, β) at t = 0.1. Source: Authors’ own creation
The vertical axis ranges from 0 to 6 in increments of 1, while the horizontal axis ranges from 0 to 1 in increments of 0.2. The legend at the top right defines the four lines plotted on the graph. A red dashed line with circles represents “error for alpha, beta equals (0,2).” A blue dashed line with circles represents “error for alpha, beta equals (0,0).” A green dashed line with circles represents “Legendre multiwavelet.” A purple dashed line with circles represents the “TOM method.” The red and blue lines generally show very low error values, staying close to the horizontal axis and mostly below 0.5. The purple line also shows relatively low error, mostly staying below 1. The green line, however, exhibits much more erratic behavior with significant spikes in error, reaching a peak value of over 5 at 0.2 on the horizontal axis.Absolute error graphical comparison of the present method solution, Legendre wavelet collocation method, and Chebyshev wavelet collocation method, for example 1. Source: Authors’ own creation
The vertical axis ranges from 0 to 6 in increments of 1, while the horizontal axis ranges from 0 to 1 in increments of 0.2. The legend at the top right defines the four lines plotted on the graph. A red dashed line with circles represents “error for alpha, beta equals (0,2).” A blue dashed line with circles represents “error for alpha, beta equals (0,0).” A green dashed line with circles represents “Legendre multiwavelet.” A purple dashed line with circles represents the “TOM method.” The red and blue lines generally show very low error values, staying close to the horizontal axis and mostly below 0.5. The purple line also shows relatively low error, mostly staying below 1. The green line, however, exhibits much more erratic behavior with significant spikes in error, reaching a peak value of over 5 at 0.2 on the horizontal axis.Absolute error graphical comparison of the present method solution, Legendre wavelet collocation method, and Chebyshev wavelet collocation method, for example 1. Source: Authors’ own creation
Comparison of error norms between the present method for level k = 1 and other methods in the literature [25], for example 1
| M | L2 via LW [25] | L2 via CW [25] | L2 via our method (α, β) = (0, 0) | L2 via our method (α, β) = (−0.5, − 0.5) |
|---|---|---|---|---|
| 2 | 4.52 × 10−1 | 5.40 × 10−1 | 1.29 × 10−2 | 1.68 × 10−2 |
| 4 | 3.48 × 10−4 | 1.20 × 10−3 | 2.26 × 10−6 | 1.64 × 10−4 |
| M | L2 via LW [ | L2 via CW [ | L2 via our method (α, β) = (0, 0) | L2 via our method (α, β) = (−0.5, − 0.5) |
|---|---|---|---|---|
| 2 | 4.52 × 10−1 | 5.40 × 10−1 | 1.29 × 10−2 | 1.68 × 10−2 |
| 4 | 3.48 × 10−4 | 1.20 × 10−3 | 2.26 × 10−6 | 1.64 × 10−4 |
Covergence rate and L∞ errors for M = 6 for example, 1
| k | N = 2k | L∞ for (α, β) = (0, 0) | R for (α, β) = (0, 0) | L∞ for α = β = −0.5 | R for α = β = −0.5 |
|---|---|---|---|---|---|
| 1 | 2 | 1.49 × 10−1 | – | 1.04 × 10−1 | – |
| 2 | 4 | 2.61 × 10−2 | 2.51 | 2.10 × 10−2 | 2.30 |
| 3 | 8 | 4.76 × 10−3 | 2.57 | 3.51 × 10−3 | 2.58 |
| 4 | 16 | 5.06 × 10−4 | 3.24 | 2.37 × 10−4 | 3.90 |
| 5 | 32 | 2.19 × 10−5 | 4.54 | 1.42 × 10−5 | 4.07 |
| 6 | 64 | 4.64 × 10−7 | 5.94 | 1.20 × 10−6 | 4.86 |
| k | N = 2k | L∞ for (α, β) = (0, 0) | R for (α, β) = (0, 0) | L∞ for α = β = −0.5 | R for α = β = −0.5 |
|---|---|---|---|---|---|
| 1 | 2 | 1.49 × 10−1 | – | 1.04 × 10−1 | – |
| 2 | 4 | 2.61 × 10−2 | 2.51 | 2.10 × 10−2 | 2.30 |
| 3 | 8 | 4.76 × 10−3 | 2.57 | 3.51 × 10−3 | 2.58 |
| 4 | 16 | 5.06 × 10−4 | 3.24 | 2.37 × 10−4 | 3.90 |
| 5 | 32 | 2.19 × 10−5 | 4.54 | 1.42 × 10−5 | 4.07 |
| 6 | 64 | 4.64 × 10−7 | 5.94 | 1.20 × 10−6 | 4.86 |
We calculated the absolute error for different values of k, and the results are as follows:
Table 3 shows the effect of the number of levels on the solution. For k = 1, 2, …, 6 (N = 2k-levels), the absolute errors with respect to analytic solutions are presented. As k increase from 1 to 6 for M = 6, the errors decrease to 10–6
6.2 Example 2
Let us consider the telegraph equation
under the initial conditions
with the exact solution
We applied the present method to solve equation (6.3) for different values of (α, β), with k = 2 and M = 5. Table 4 presents a comparison of the absolute errors obtained using the proposed method with those reported in the literature [26, 27]. Figures 5 and 6 provide a graphical representation of the solution obtained using the current method for k = 2 and M = 5 with (α, β) = (0, 2) and (α, β) = (0, 0), respectively. These figures compare the method’s solution to the exact solution and display the corresponding absolute error. Figure 7 shows that the error of the present method is smaller than the errors of both the Legendre Multiwavelet and Taylor polynomial methods. Table 5 details the performance of our method by presenting its maximum absolute errors (L∞) and L2 errors, which were calculated for different values ofk, α and β.
Comparison of absolute errors by the present method for different values for (α, β), and various wavelet methods, for example 2
| (x, t) | (α, β) = (0, 2) | (α, β) = (0, 0) | Legendre multiwavelet [27] | TPM [26] |
|---|---|---|---|---|
| (0,0) | 0 | 0 | 0 | 0 |
| (0.1,0.1) | 1.05 × 10−10 | 2.10 × 10−10 | 8.31 × 10−10 | 8.05 × 10−13 |
| (0.2,0.2) | 1.18 × 10−9 | 3.81 × 10−10 | 2.00 × 10−10 | 4.62 × 10−10 |
| (0.3,0.3) | 5.25 × 10−9 | 2.32 × 10−10 | 1.00 × 10−10 | 2.04 × 10−8 |
| (0.4,0.4) | 7.15 × 10−10 | 7.60 × 10−10 | 4.00 × 10−9 | 3.07 × 10−7 |
| (0.5,0.5) | 8.02 × 10−10 | 6.59 × 10−9 | 1.11 × 10−9 | 2.57 × 10−6 |
| (0.6,0.6) | 1.43 × 10−9 | 3.07 × 10−9 | 5.01 × 10−10 | 1.49 × 10−5 |
| (0.7,0.7) | 2.19 × 10−9 | 2.00 × 10−10 | 3.36 × 10−7 | 6.68 × 10−5 |
| (0.8,0.8) | 8.50 × 10−10 | 1.06 × 10−10 | 8.32 × 10−8 | 2.48 × 10−4 |
| (0.9,0.9) | 3.10 × 10−10 | 5.42 × 10−10 | 2.80 × 10−6 | 7.96 × 10−4 |
| (x, t) | (α, β) = (0, 2) | (α, β) = (0, 0) | Legendre multiwavelet [ | TPM [ |
|---|---|---|---|---|
| (0,0) | 0 | 0 | 0 | 0 |
| (0.1,0.1) | 1.05 × 10−10 | 2.10 × 10−10 | 8.31 × 10−10 | 8.05 × 10−13 |
| (0.2,0.2) | 1.18 × 10−9 | 3.81 × 10−10 | 2.00 × 10−10 | 4.62 × 10−10 |
| (0.3,0.3) | 5.25 × 10−9 | 2.32 × 10−10 | 1.00 × 10−10 | 2.04 × 10−8 |
| (0.4,0.4) | 7.15 × 10−10 | 7.60 × 10−10 | 4.00 × 10−9 | 3.07 × 10−7 |
| (0.5,0.5) | 8.02 × 10−10 | 6.59 × 10−9 | 1.11 × 10−9 | 2.57 × 10−6 |
| (0.6,0.6) | 1.43 × 10−9 | 3.07 × 10−9 | 5.01 × 10−10 | 1.49 × 10−5 |
| (0.7,0.7) | 2.19 × 10−9 | 2.00 × 10−10 | 3.36 × 10−7 | 6.68 × 10−5 |
| (0.8,0.8) | 8.50 × 10−10 | 1.06 × 10−10 | 8.32 × 10−8 | 2.48 × 10−4 |
| (0.9,0.9) | 3.10 × 10−10 | 5.42 × 10−10 | 2.80 × 10−6 | 7.96 × 10−4 |
The 3-D surface plot is titled “The exact solution.” The vertical axis is labeled “u of (t, x),” ranging from 0 to 0.8 in increments of 0.2. The horizontal plane contains two axes: the bottom left is labeled “t,” ranging from 0 to 1 in increments of 0.5, and the bottom right axis is labeled “x,” also ranging from 0 to 1 in increments of 0.5. The surface, which has grid lines on its surface, is colored with a gradient, transitioning from blue at low values (near the x equals 0 and t equals 0 planes) to yellow at high values (near t equals 1, x equals 0). The surface has a sloping or ramp-like shape. The values of the plane are as follows: bottom left corner (t equals 0, x equals 0, u of (t, x) equals 0); bottom right corner (t equals 0, x equals 0.85, u of (t, x) equals 0); top right corner (t equals 1, x equals 0.95, u of (t, x) equals 0.3); and top left corner (t equals 1, x equals 0.1, u of (t, x) equals 0.75). Note: All the numerical data values are estimated.The graph of the exact solution for example 2. Source: Authors’ own creation
The 3-D surface plot is titled “The exact solution.” The vertical axis is labeled “u of (t, x),” ranging from 0 to 0.8 in increments of 0.2. The horizontal plane contains two axes: the bottom left is labeled “t,” ranging from 0 to 1 in increments of 0.5, and the bottom right axis is labeled “x,” also ranging from 0 to 1 in increments of 0.5. The surface, which has grid lines on its surface, is colored with a gradient, transitioning from blue at low values (near the x equals 0 and t equals 0 planes) to yellow at high values (near t equals 1, x equals 0). The surface has a sloping or ramp-like shape. The values of the plane are as follows: bottom left corner (t equals 0, x equals 0, u of (t, x) equals 0); bottom right corner (t equals 0, x equals 0.85, u of (t, x) equals 0); top right corner (t equals 1, x equals 0.95, u of (t, x) equals 0.3); and top left corner (t equals 1, x equals 0.1, u of (t, x) equals 0.75). Note: All the numerical data values are estimated.The graph of the exact solution for example 2. Source: Authors’ own creation
The four 3-D surface plots are arranged in a 2 by 2 grid format. The plots on the left column show the approximate solution for two different parameter sets, while the plots on the right column show the corresponding errors. The vertical axis of the plots on the left column is labeled “u of (t, x)” and ranges from 0 to 0.8 in increments of 0.2, while the vertical axis of the plots on the right column is also labeled “u of (x, t),” ranging from 0 to 8 times 10 to the negative 9 power in increments of 2 times 10 to the negative 9 power. In all graphs, the horizontal plane contains two axes: the bottom left axis is labeled “t,” and the bottom right axis is labeled “x,” with a scale from 0 to 1 in increments of 0.5. The grid lines on each surface provide a visual sense of its curvature and shape. The top-left plot is titled “The approximate solution for (alpha, beta) equals (0, 2).” The surface is colored with a gradient from blue to yellow and has a sloping shape. The top-right plot is titled “er for (alpha, beta) equals (0, 2).” The error surface is mostly flat and blue, with a small spike near x equals 0.5 for any fixed t values. After this peak, the surface drops (yellow region) and again becomes flat. The bottom-left plot is titled “The approximate solution for (alpha, beta) equals (0, 0).” This surface is also sloping, as in the top-left graph. The bottom-right plot is titled “er for (alpha, beta) equals (0, 0).” This error surface has two spikes of varying heights: one occurs at (x equals 0.25, u of (t, x) equals 5 times 10 to the negative 9 power) and the other occurs at (x equals 0.75, u of (t, x) equals 1 times 10 to the negative 9 power) for fixed values of t. The plane features a small yellow region after the first peak; otherwise, the plane is in blue shades. Note: All the numerical values are estimated.Graphical illustration of the present method along with its absolute error, for example 2. Source: Authors’ own creation
The four 3-D surface plots are arranged in a 2 by 2 grid format. The plots on the left column show the approximate solution for two different parameter sets, while the plots on the right column show the corresponding errors. The vertical axis of the plots on the left column is labeled “u of (t, x)” and ranges from 0 to 0.8 in increments of 0.2, while the vertical axis of the plots on the right column is also labeled “u of (x, t),” ranging from 0 to 8 times 10 to the negative 9 power in increments of 2 times 10 to the negative 9 power. In all graphs, the horizontal plane contains two axes: the bottom left axis is labeled “t,” and the bottom right axis is labeled “x,” with a scale from 0 to 1 in increments of 0.5. The grid lines on each surface provide a visual sense of its curvature and shape. The top-left plot is titled “The approximate solution for (alpha, beta) equals (0, 2).” The surface is colored with a gradient from blue to yellow and has a sloping shape. The top-right plot is titled “er for (alpha, beta) equals (0, 2).” The error surface is mostly flat and blue, with a small spike near x equals 0.5 for any fixed t values. After this peak, the surface drops (yellow region) and again becomes flat. The bottom-left plot is titled “The approximate solution for (alpha, beta) equals (0, 0).” This surface is also sloping, as in the top-left graph. The bottom-right plot is titled “er for (alpha, beta) equals (0, 0).” This error surface has two spikes of varying heights: one occurs at (x equals 0.25, u of (t, x) equals 5 times 10 to the negative 9 power) and the other occurs at (x equals 0.75, u of (t, x) equals 1 times 10 to the negative 9 power) for fixed values of t. The plane features a small yellow region after the first peak; otherwise, the plane is in blue shades. Note: All the numerical values are estimated.Graphical illustration of the present method along with its absolute error, for example 2. Source: Authors’ own creation
The horizontal axis ranges from 0 to 1 with increments of 0.2, while the vertical axis ranges from 0 to 4 in increments of 0.5. Four dashed lines with circular markers are plotted. The legend in the top-left corner identifies each line: a red line for “error for alpha, beta equals (0, 2),” a blue line for “error for alpha, beta equals (0, 0),” a green line for “Legendre multiwavelet,” and a purple line for “TOM method.” The red and blue lines consistently show very low error values, staying close to the horizontal axis and rarely exceeding 0.6. The purple line and the green line show much higher and more erratic error values. The purple line has a large spike, reaching a peak error of approximately 4 at 0.9 on the horizontal axis, while the green line has a peak error of approximately 3.3 at 0.75 on the horizontal axis. Note: All the numerical data values are estimated.Absolute error graphical comparison of the present method solution, Legendre multiwavelet and Taylor polynomial method, for example 2. Source: Authors’ own creation
The horizontal axis ranges from 0 to 1 with increments of 0.2, while the vertical axis ranges from 0 to 4 in increments of 0.5. Four dashed lines with circular markers are plotted. The legend in the top-left corner identifies each line: a red line for “error for alpha, beta equals (0, 2),” a blue line for “error for alpha, beta equals (0, 0),” a green line for “Legendre multiwavelet,” and a purple line for “TOM method.” The red and blue lines consistently show very low error values, staying close to the horizontal axis and rarely exceeding 0.6. The purple line and the green line show much higher and more erratic error values. The purple line has a large spike, reaching a peak error of approximately 4 at 0.9 on the horizontal axis, while the green line has a peak error of approximately 3.3 at 0.75 on the horizontal axis. Note: All the numerical data values are estimated.Absolute error graphical comparison of the present method solution, Legendre multiwavelet and Taylor polynomial method, for example 2. Source: Authors’ own creation
The errors L2 and L∞ from example 2
| k | L∞ via our method α = β = 0 | L2 via our method α = β = 0 | L∞ via our method (α, β) = (0, 2) | L2 via our method (α, β) = (0, 2) |
|---|---|---|---|---|
| 1 | 2.56 × 10−3 | 1.95 × 10−3 | 2.49 × 10−2 | 3.32 × 10−2 |
| 2 | 2.61 × 10−5 | 3.06 × 10−5 | 1.57 × 10−4 | 6.51 × 10−4 |
| 3 | 1.85 × 10−6 | 4.20 × 10−7 | 3.15 × 10−6 | 2.84 × 10−6 |
| 4 | 6.92 × 10−9 | 1.82 × 10−10 | 2.01 × 10−10 | 1.24 × 10−10 |
| 5 | 1.52 × 10−12 | 2.76 × 10−12 | 1.01 × 10−12 | 3.21 × 10−11 |
| k | L∞ via our method α = β = 0 | L2 via our method α = β = 0 | L∞ via our method (α, β) = (0, 2) | L2 via our method (α, β) = (0, 2) |
|---|---|---|---|---|
| 1 | 2.56 × 10−3 | 1.95 × 10−3 | 2.49 × 10−2 | 3.32 × 10−2 |
| 2 | 2.61 × 10−5 | 3.06 × 10−5 | 1.57 × 10−4 | 6.51 × 10−4 |
| 3 | 1.85 × 10−6 | 4.20 × 10−7 | 3.15 × 10−6 | 2.84 × 10−6 |
| 4 | 6.92 × 10−9 | 1.82 × 10−10 | 2.01 × 10−10 | 1.24 × 10−10 |
| 5 | 1.52 × 10−12 | 2.76 × 10−12 | 1.01 × 10−12 | 3.21 × 10−11 |
6.3 Example 3
Consider the hyperbolic equation of first-order of the form
subject to initial and boundary conditions
u(x, 0) = e−x, 0 < x < 1 and .
The exact solution is . This problem was solved using the present method. Figures 8 and 9 provide a graphical comparison of the solution obtained by the present method with the exact solution. Figures 10 and 11 illustrate the graphical evaluation of the present method solution for (α, β) = (0.5, 0.5), at k = 12 and M = 9 compared with the exact solution at different values of x and t, respectively. Tables 6 and 7 compare the absolute errors at different values of t obtained using the present method with those from the methods in [28, 29]. Table 8 displays the maximum absolute errors (L∞) and the convergence rates for the present method, evaluated for various choices of levels k, α and β.
The 3-D surface plot is titled “The exact solution.” The vertical axis is labeled “u of (t, x),” ranging from 0 to 1 in increments of 0.2. The horizontal plane contains two axes: the bottom left is labeled “t,” ranging from 0 to 1 in increments of 0.5, and the bottom right axis is labeled “x,” also ranging from 0 to 1 in increments of 0.5. The surface is colored with a gradient, transitioning from blue to yellow. The surface has a sloping or ramp-like shape. The values of the plane are as follows: bottom left corner (t equals 0.25, x equals 0.25, u of (t, x) equals 0); bottom right corner (t equals 0.75, x equals 0.98, u of (t, x) equals 0); top right corner (t equals 0, x equals 0.85, u of (t, x) equals 0.3); and top left corner (t equals 0, x equals 0, u of (t, x) equals 0.1). The top left region of the surface is in a yellow shade, while the remaining area is in blue shades. Note: All the numerical data values are estimated.The graph of the exact solution for example 3. Source: Authors’ own creation
The 3-D surface plot is titled “The exact solution.” The vertical axis is labeled “u of (t, x),” ranging from 0 to 1 in increments of 0.2. The horizontal plane contains two axes: the bottom left is labeled “t,” ranging from 0 to 1 in increments of 0.5, and the bottom right axis is labeled “x,” also ranging from 0 to 1 in increments of 0.5. The surface is colored with a gradient, transitioning from blue to yellow. The surface has a sloping or ramp-like shape. The values of the plane are as follows: bottom left corner (t equals 0.25, x equals 0.25, u of (t, x) equals 0); bottom right corner (t equals 0.75, x equals 0.98, u of (t, x) equals 0); top right corner (t equals 0, x equals 0.85, u of (t, x) equals 0.3); and top left corner (t equals 0, x equals 0, u of (t, x) equals 0.1). The top left region of the surface is in a yellow shade, while the remaining area is in blue shades. Note: All the numerical data values are estimated.The graph of the exact solution for example 3. Source: Authors’ own creation
Two side-by-side 3-D surface plots, each showing the approximate solution of a function u of (x, t) as it varies with space “x” and time “t.” The plot on the left is titled “The approximate solution for alpha equals beta equals 0” and shows a surface over an x-axis ranging from 0 to 1 with increments of 0.5 and a t-axis ranging from 0 to 1 with increments of 0.2. The z-axis, labeled “u of (x, t),” represents the solution value and ranges from 0 to 1 with increments of 0.2. The surface has a downward slope from the “t equals 0” plane toward the “t equals 1” plane. The plot on the right is titled “The approximate solution for alpha equals beta equals negative 0.5” and shows a similar surface. The x and z axes and their ranges are identical to the first plot, while the t-axis scales from 0 to 1 in increments of 0.5. The shape of the surface is also similar, showing a decrease in value as time “t” increases. Both plots are colored with a gradient, transitioning from yellow and orange at the highest values (near t equals 0) to green and blue at the lowest values (near t equals 1). Note: All the numerical data values are estimated.Graphical illustration of the present method at different values of (α, β), for example 3. Source: Authors’ own creation
Two side-by-side 3-D surface plots, each showing the approximate solution of a function u of (x, t) as it varies with space “x” and time “t.” The plot on the left is titled “The approximate solution for alpha equals beta equals 0” and shows a surface over an x-axis ranging from 0 to 1 with increments of 0.5 and a t-axis ranging from 0 to 1 with increments of 0.2. The z-axis, labeled “u of (x, t),” represents the solution value and ranges from 0 to 1 with increments of 0.2. The surface has a downward slope from the “t equals 0” plane toward the “t equals 1” plane. The plot on the right is titled “The approximate solution for alpha equals beta equals negative 0.5” and shows a similar surface. The x and z axes and their ranges are identical to the first plot, while the t-axis scales from 0 to 1 in increments of 0.5. The shape of the surface is also similar, showing a decrease in value as time “t” increases. Both plots are colored with a gradient, transitioning from yellow and orange at the highest values (near t equals 0) to green and blue at the lowest values (near t equals 1). Note: All the numerical data values are estimated.Graphical illustration of the present method at different values of (α, β), for example 3. Source: Authors’ own creation
The line graph is titled “Solution for alpha equals beta equals 0.5 and different value of x.” The horizontal axis is labeled “t” and ranges from 0 to 1 with increments of 0.2, while the vertical axis is labeled “u of (t)” and ranges from 0.2 to 0.8 in increments of 0.1. The plot shows six different lines, representing three pairs of data: approximate solutions and their corresponding exact solutions for three different x-values. A legend in the top-right corner identifies each line. The approximate solutions are shown as dashed lines with circular or star-shaped markers, while the exact solutions are shown as solid lines. The red dashed line with asterisks represents “Approximate solution at x equals 0.1,” and the solid brown line represents “Exact solution at x equals 0.1.” The blue dashed line with circles represents “Approximate solution at x equals 0.2,” and the solid purple line represents “Exact solution at x equals 0.2.” The blue dashed line with asterisks represents “Approximate solution at x equals 0.3,” and the solid cyan line represents “Exact solution at x equals 0.3.” All lines show a similar decreasing trend as “t” increases. The approximate solutions, with their corresponding solid exact solution lines, are perfectly coinciding, indicating a high degree of accuracy. The lines with x equals 0.1 have the highest u of (t) values, followed by lines with x equals 0.2, and then lines with x equals 0.3.Graphical evaluation of the present method’s solution and the exact solution at different values of x, with α = β = 0.5, for example 3. Source: Authors’ own creation
The line graph is titled “Solution for alpha equals beta equals 0.5 and different value of x.” The horizontal axis is labeled “t” and ranges from 0 to 1 with increments of 0.2, while the vertical axis is labeled “u of (t)” and ranges from 0.2 to 0.8 in increments of 0.1. The plot shows six different lines, representing three pairs of data: approximate solutions and their corresponding exact solutions for three different x-values. A legend in the top-right corner identifies each line. The approximate solutions are shown as dashed lines with circular or star-shaped markers, while the exact solutions are shown as solid lines. The red dashed line with asterisks represents “Approximate solution at x equals 0.1,” and the solid brown line represents “Exact solution at x equals 0.1.” The blue dashed line with circles represents “Approximate solution at x equals 0.2,” and the solid purple line represents “Exact solution at x equals 0.2.” The blue dashed line with asterisks represents “Approximate solution at x equals 0.3,” and the solid cyan line represents “Exact solution at x equals 0.3.” All lines show a similar decreasing trend as “t” increases. The approximate solutions, with their corresponding solid exact solution lines, are perfectly coinciding, indicating a high degree of accuracy. The lines with x equals 0.1 have the highest u of (t) values, followed by lines with x equals 0.2, and then lines with x equals 0.3.Graphical evaluation of the present method’s solution and the exact solution at different values of x, with α = β = 0.5, for example 3. Source: Authors’ own creation
The line graph is titled “Solution for alpha equals beta equals 0.5 and different value of t.” The horizontal axis is labeled “x” and ranges from 0 to 1 with increments of 0.2, while the vertical axis is labeled “u of (t)” and ranges from 0.2 to 0.9 in increments of 0.1. The plot shows six different lines, representing three pairs of data: approximate solutions and their corresponding exact solutions for three different t-values. A legend in the top-right corner identifies each line. The approximate solutions are shown as dashed lines with circular or star-shaped markers, while the exact solutions are shown as solid lines. The red dashed line with asterisks represents “Approximate solution at t equals 0.1,” and the solid brown line represents “Exact solution at t equals 0.1.” The blue dashed line with circles represents “Approximate solution at t equals 0.2,” and the solid purple line represents “Exact solution at t equals 0.2.” The blue dashed line with asterisks represents “Approximate solution at t equals 0.3,” and the solid cyan line represents “Exact solution at t equals 0.3.” All lines show a similar decreasing trend as “x” increases. The approximate solutions, with their corresponding solid exact solution lines, are perfectly coinciding, indicating a high degree of accuracy. The lines with t equals 0.1 have the highest u of (t) values, followed by lines with t equals 0.2, and then lines with t equals 0.3.Graphical evaluation of the present method’s solution and the exact solution at different values of t, with α = β = 0.5, for example 3. Source: Authors’ own creation
The line graph is titled “Solution for alpha equals beta equals 0.5 and different value of t.” The horizontal axis is labeled “x” and ranges from 0 to 1 with increments of 0.2, while the vertical axis is labeled “u of (t)” and ranges from 0.2 to 0.9 in increments of 0.1. The plot shows six different lines, representing three pairs of data: approximate solutions and their corresponding exact solutions for three different t-values. A legend in the top-right corner identifies each line. The approximate solutions are shown as dashed lines with circular or star-shaped markers, while the exact solutions are shown as solid lines. The red dashed line with asterisks represents “Approximate solution at t equals 0.1,” and the solid brown line represents “Exact solution at t equals 0.1.” The blue dashed line with circles represents “Approximate solution at t equals 0.2,” and the solid purple line represents “Exact solution at t equals 0.2.” The blue dashed line with asterisks represents “Approximate solution at t equals 0.3,” and the solid cyan line represents “Exact solution at t equals 0.3.” All lines show a similar decreasing trend as “x” increases. The approximate solutions, with their corresponding solid exact solution lines, are perfectly coinciding, indicating a high degree of accuracy. The lines with t equals 0.1 have the highest u of (t) values, followed by lines with t equals 0.2, and then lines with t equals 0.3.Graphical evaluation of the present method’s solution and the exact solution at different values of t, with α = β = 0.5, for example 3. Source: Authors’ own creation
Comparison of absolute errors of projected method and different collocation methods, for example 3, at t = 0.1
| x | An absolute error in [28] | An absolute error in [29] | An absolute error by our method for α = β = 0.5 | An absolute error by our method for α = β = 0 |
|---|---|---|---|---|
| 0.1 | 3.52 × 10−14 | 2.84 × 10−7 | 5.31 × 10−14 | 8.05 × 10−15 |
| 0.2 | 9.87 × 10−15 | 8.79 × 10−6 | 1.86 × 10−15 | 9.22 × 10−15 |
| 0.3 | 5.89 × 10−16 | 1.20 × 10−5 | 4.59 × 10−16 | 1.16 × 10−15 |
| 0.4 | 2.24 × 10−14 | 1.12 × 10−5 | 2.72 × 10−14 | 1.07 × 10−14 |
| 0.5 | 1.70 × 10−14 | 7.95 × 10−6 | 1.43 × 10−14 | 2.52 × 10−14 |
| 0.6 | 2.85 × 10−14 | 3.29 × 10−6 | 1.69 × 10−14 | 7.63 × 10−15 |
| 0.7 | 1.23 × 10−15 | 1.78 × 10−6 | 5.36 × 10−15 | 1.13 × 10−15 |
| 0.8 | 6.85 × 10−14 | 6.53 × 10−6 | 7.82 × 10−14 | 5.78 × 10−15 |
| 0.9 | 2.23 × 10−12 | 1.04 × 10−5 | 1.89 × 10−14 | 8.96 × 10−14 |
| x | An absolute error in [ | An absolute error in [ | An absolute error by our method for α = β = 0.5 | An absolute error by our method for α = β = 0 |
|---|---|---|---|---|
| 0.1 | 3.52 × 10−14 | 2.84 × 10−7 | 5.31 × 10−14 | 8.05 × 10−15 |
| 0.2 | 9.87 × 10−15 | 8.79 × 10−6 | 1.86 × 10−15 | 9.22 × 10−15 |
| 0.3 | 5.89 × 10−16 | 1.20 × 10−5 | 4.59 × 10−16 | 1.16 × 10−15 |
| 0.4 | 2.24 × 10−14 | 1.12 × 10−5 | 2.72 × 10−14 | 1.07 × 10−14 |
| 0.5 | 1.70 × 10−14 | 7.95 × 10−6 | 1.43 × 10−14 | 2.52 × 10−14 |
| 0.6 | 2.85 × 10−14 | 3.29 × 10−6 | 1.69 × 10−14 | 7.63 × 10−15 |
| 0.7 | 1.23 × 10−15 | 1.78 × 10−6 | 5.36 × 10−15 | 1.13 × 10−15 |
| 0.8 | 6.85 × 10−14 | 6.53 × 10−6 | 7.82 × 10−14 | 5.78 × 10−15 |
| 0.9 | 2.23 × 10−12 | 1.04 × 10−5 | 1.89 × 10−14 | 8.96 × 10−14 |
Comparison of the absolute errors between the projected method and various collocation methods, for example 3 at t = 0.5
| x | An absolute error in [28] | An absolute error in [29] | An absolute error by our method for (α, β) = (0.5, 0.5) | An absolute error by our method for (α, β) = (0, 0) |
|---|---|---|---|---|
| 0.1 | 2.59 × 10−14 | 8.95 × 10−6 | 7.29 × 10−14 | 9.25 × 10−15 |
| 0.2 | 4.25 × 10−14 | 4.10 × 10−6 | 6.93 × 10−15 | 8.53 × 10−15 |
| 0.3 | 1.55 × 10−15 | 1.39 × 10−5 | 7.89 × 10−15 | 6.19 × 10−15 |
| 0.4 | 9.83 × 10−14 | 2.07 × 10−5 | 5.38 × 10−14 | 1.70 × 10−14 |
| 0.5 | 3.33 × 10−12 | 2.47 × 10−5 | 3.53 × 10−14 | 3.93 × 10−14 |
| 0.6 | 5.37 × 10−11 | 2.62 × 10−5 | 2.42 × 10−14 | 8.79 × 10−15 |
| 0.7 | 3.71 × 10−10 | 2.55 × 10−5 | 8.26 × 10−15 | 5.31 × 10−15 |
| 0.8 | 1.72 × 10−9 | 2.31 × 10−5 | 1.86 × 10−14 | 7.82 × 10−15 |
| 0.9 | 6.26 × 10−9 | 1.93 × 10−5 | 2.59 × 10−14 | 2.86 × 10−14 |
| x | An absolute error in [ | An absolute error in [ | An absolute error by our method for (α, β) = (0.5, 0.5) | An absolute error by our method for (α, β) = (0, 0) |
|---|---|---|---|---|
| 0.1 | 2.59 × 10−14 | 8.95 × 10−6 | 7.29 × 10−14 | 9.25 × 10−15 |
| 0.2 | 4.25 × 10−14 | 4.10 × 10−6 | 6.93 × 10−15 | 8.53 × 10−15 |
| 0.3 | 1.55 × 10−15 | 1.39 × 10−5 | 7.89 × 10−15 | 6.19 × 10−15 |
| 0.4 | 9.83 × 10−14 | 2.07 × 10−5 | 5.38 × 10−14 | 1.70 × 10−14 |
| 0.5 | 3.33 × 10−12 | 2.47 × 10−5 | 3.53 × 10−14 | 3.93 × 10−14 |
| 0.6 | 5.37 × 10−11 | 2.62 × 10−5 | 2.42 × 10−14 | 8.79 × 10−15 |
| 0.7 | 3.71 × 10−10 | 2.55 × 10−5 | 8.26 × 10−15 | 5.31 × 10−15 |
| 0.8 | 1.72 × 10−9 | 2.31 × 10−5 | 1.86 × 10−14 | 7.82 × 10−15 |
| 0.9 | 6.26 × 10−9 | 1.93 × 10−5 | 2.59 × 10−14 | 2.86 × 10−14 |
Covergence rate and L∞ errors for M = 2 for example 3
| k | N = 2k | L∞ for (α, β) = (0, 0) | R for (α, β) = (0, 0) | L∞ for α = β = −0.5 | R for α = β = −0.5 |
|---|---|---|---|---|---|
| 1 | 2 | 1.18 × 10−1 | – | 1.23 × 10−1 | – |
| 2 | 4 | 1.76 × 10−2 | 2.75 | 1.86 × 10−2 | 2.73 |
| 3 | 8 | 2.06 × 10−3 | 3.10 | 2.19 × 10−3 | 3.09 |
| 4 | 16 | 3.60 × 10−4 | 2.78 | 3.56 × 10−4 | 2.62 |
| 5 | 32 | 2.61 × 10−6 | 2.80 | 5.82 × 10−5 | 2.64 |
| 6 | 64 | 1.92 × 10−8 | 3.77 | 9.56 × 10−7 | 5.9 |
| k | N = 2k | L∞ for (α, β) = (0, 0) | R for (α, β) = (0, 0) | L∞ for α = β = −0.5 | R for α = β = −0.5 |
|---|---|---|---|---|---|
| 1 | 2 | 1.18 × 10−1 | – | 1.23 × 10−1 | – |
| 2 | 4 | 1.76 × 10−2 | 2.75 | 1.86 × 10−2 | 2.73 |
| 3 | 8 | 2.06 × 10−3 | 3.10 | 2.19 × 10−3 | 3.09 |
| 4 | 16 | 3.60 × 10−4 | 2.78 | 3.56 × 10−4 | 2.62 |
| 5 | 32 | 2.61 × 10−6 | 2.80 | 5.82 × 10−5 | 2.64 |
| 6 | 64 | 1.92 × 10−8 | 3.77 | 9.56 × 10−7 | 5.9 |
7. Conclusion
The aim of this paper is to develop a novel Jacobi wavelet decomposition method for approximating the solutions to partial differential equations (PDEs). Our work demonstrates that the Jacobi wavelet method, combining the Jacobi wavelet method with an operational matrix of derivatives provides an efficient technique for transforming partial differential equations into a system of ordinary differential equations. We have tested this numerical method on various examples, and the comparison of the results obtained with those from other methods underscores its effectiveness in computing numerical solutions to such equations.

