Almost every domain relies on the nonlinear ODEs. Their applications arise in the modeling biological, chemical, mechanical, and electrical applications. With the help of calculus, it became apparent that not all ODEs and PDEs could be analytically solved. To tackle this challenge, numerical methods have been devised to approximate solutions for ODEs. Renowned techniques like Heun, Runge-Kutta, Adams-Bashforth, linear multistep, and Euler forward and backward methods emerged to address this need. In addition to analytical and numerical techniques, we have a semi-analytical method to solve such equations [1].
In this paper, we consider one among the semi-analytical methods called HAM to solve the differential equations. In this frame, the initial-value problems (IVPs) of the first order ODEs is taken in the following form
The n system of ODEs is studied as
The time-dependent PDEs being,
Here, we consider semi-analytical method for solving DEs called HAM which has the parameter-independent, in contrast to perturbation approaches that depend on small or large parameters. The choice of linear operator, auxiliary function, and control convergence parameter is entirely up to user. This approach often solves high nonlinearity differential equations [26]. Moreover, HAM is an analytical method that generates a sequence of convergent linear equations from a nonlinear one by applying homotopy, or the distortion of one continuous function into another, to solve nonlinear ordinary or partial differential equations. Liao introduced the HAM first in 1992, and it underwent additional changes in 1997 with the addition of the auxiliary parameter h. This non-zero parameter gives the series control over its convergence. We are free to select the auxiliary linear operator, h, the convergence control value, and the initial approximation of the solution because HAM is predicated on the idea of homotopy. This feature distinguishes HAM from other approaches as it allows to select the base functions of the high-order deformation equation’s solution as well as its equation type [27]. An analytical approximation technique for highly nonlinear systems is the HAM. In the past, perturbation techniques were often employed. Nevertheless, perturbation techniques heavily rely on the presence of small physical characteristics, and in addition, perturbation approximations frequently diverge as perturbation quantity increases. However, since the HAM is based on homotopy, a fundamental idea in topology, unlike perturbation techniques, it has nothing to do with the presence of small or large physical factors. In particular, the HAM offers a practical means of ensuring that the solution series will converge. The methodology may be used with other approaches for solving nonlinear differential equations, such as Pade approximation and spectral methods [28]. The HAM is an analytic approximation method as opposed to the discrete computing approach of Homotopy continuation. On the other hand, the HAM demonstrates that a nonlinear system may be divided into endless linear systems that can be solved analytically using the Homotopy parameter merely in theory. In the computer era, the HAM was developed as an analytical approximation method to “compute with functions instead of numbers”. Combining the HAM with a computer algebra program such as Maple or Mathematica allows to get analytic approximations of a higher-order strongly nonlinear problem easily [29].
The rest of this paper is organized as follows. In Section 2, the preliminaries of the wavelets and the convergence theorems are introduced. In Section 3, HAM for ODE, the systems of ODE and PDE are explained. In Section 4, the application of problems are investigated and results are discussed in terms of tables and graphs. Finally, Section 5 concludes the paper.
In this part of the paper, we present some important definitions and theorems.
Wavelet: A real-valued function Ψ(ξ) satisfies the following conditions [30,31]:
This means that Ψ(ξ) is an oscillatory function having unit energy and zero mean.
As long as the series
Let ψ0, ψ1, ψ2, ⋯ be the components of solution of equation (14). The series solution
Assume that the series solution
Suppose that the functions
Let us consider the ODE with different physical conditions,
Where ℳ is the differential operator, and v(y) is the function to be determined.
Let v0(y) be the initial approximation to the actual solution of equation (5). The zeroth deformation equation is constructed by using the auxiliary function ℋ(y) (≠0) and auxiliary parameter h (≠0) as [31, 35],
Where, ψ(y;q) is unknown function, ℒ is a linear operator. When q=0, equation (6) becomes, ψ(y; 0) = v0 (y) and at q=1, equation (6) becomes, ψ(y; 1) = v(y). So as the q varies from 0 to 1, the function ψ(y; q) varies from initial approximation v0 (y) to the actual solution v(y). Defining the mth order deformation derivatives,
Expanding ψ(y; q) using the Taylor series with respect to (w.r.t.) q. We get,
As we know, ψ(y; q) becomes the desired solution at q = 1. At q =1, equation (8) becomes
Similarly, deformation equation of mth order is obtained as,
Where,
Thus v1(y), v2(y), v3(y), ⋯ can be attained on solving equation (10). The mth order approximation of v(y) [36] is given by
Equation (13) is the semi-analytical solution of equation (5).
Let us consider the system of stiff ODEs with different physical conditions [37],
Let vi0 (y), i = 1,2,3, ⋯,n be the initial approximation to the actual solution of equation (14). The zeroth deformation equations are taking the auxiliary functions ℋ (y) (≠0) and auxiliary parameter h (≠0) as [35, 38],
Where, ψi(y; q) are unknown functions, 𝓁i are the Linear operators. When q=0, equation (16) becomes, ψi(y;0) = vi0 (y) and at q=1, equation (16) becomes ψi(y;1) = vi(y). So as the q varies from 0 to 1, the function ψi(y;q) varies from initial approximation vi0 (y) to the actual solution vi(y), i = 1,2,3, ⋯,n. Defining the mth order deformation derivatives,
Expanding ψi(y;q) using Taylor series w.r.t. q, i = 1,2,3,⋯,n. We get,
As we know at q = 1 ψi(y;q) becomes the required solution, equation (19) at q =1 becomes
Similarly, the mth order deformation is given by
Where,
Thus vi1 (y), vi2 (y), vi3 (y), ⋯ can be obtained from solving equation (21). The mth order approximation of vi (y) [39] is given by
Equation (24) is the semi-analytical solution of equation (14).
Let us consider the PDE with different physical conditions,
Where ℳ is the differential operator, and v(y,t) is the function to be determined.
Let v0 (y, t) be the initial approximation to the actual solution of equation (25). The zeroth deformation equation is constructed using the auxiliary function ℋ (y,t) (≠0) and auxiliary parameter h (≠0) as [31, 35],
Where, ψ(y, t; q) is unknown function, 𝓁 is Linear operator.
When q=0, equation (26) becomes ψ(y,t;0) = v0 (y,t). At q=1, equation (26) becomes ψ(y,t;1) = v(y,t). So as the q varies from 0 to 1, the function ψ(y, t; q) varies from initial approximation v0 (y,t) to the actual solution v(y,t). Defining the mth order deformation derivatives,
Expanding ψ(y,t,q) using the Taylor series w.r.t. q. We get,
As we know, ψ(y,t;q) becomes the desired solution at q = 1. At q =1, equation (28) becomes
Similarly, deformation equation of mth order is obtained as,
Thus v1 (y,t), v2 (y,t), v3 (y,t) ⋯ can be attained on solving equation (30). The mth order approximation of v (y) [32, 36, 39] is given by
Equation (33) is the semi-analytical solution of equation (25).
We use some package programs to solve the following problems by HAM.
Let us consider the following ODE with different physical conditions
On applying HAM to equation (34), the mth order deformation is given by,
Where,
Integrating twice on either sides of equation (35), we get
The integration constants C1 and C2 are calculated using equation (37). The HAM series solution when u0 (x) = 0.671397 + 0.0954005(x2 − x) and h = −1 is given by
The HWT [40–42] is also used to solve the problem studied. The exact solution equation (34) is

Comparison of the exact solution with HAM and HWT solutions for Application 4.1.

Error analysis of HAM and HWT solutions for Application 4.1.
Comparison of solutions obtained from HAM, HWT, and their absolute errors (AE) with Exact solution for Application 4.1.
| x | Exact | HAM | HWT | HAM Error | HWT Error |
|---|---|---|---|---|---|
| 0.5 | 0.541049 | 0.540974 | 0.54147 | 7.554×10−5 | 5.0×10−4 |
| 0.6 | 0.581622 | 0.581618 | 0.58234 | 4.062 ×10−6 | 7.2×10−4 |
| 0.7 | 0.614361 | 0.614361 | 0.61534 | 3.496×10−7 | 9.8 ×10−4 |
| 0.8 | 0.639926 | 0.639926 | 0.64121 | 2.917×10−7 | 1.28 ×10−3 |
| 0.9 | 0.658813 | 0.658813 | 0.66043 | 2.933 ×10−7 | 1.62 ×10−3 |
| 1.0 | 0.671397 | 0.671397 | 0.67340 | 2.929 ×10−7 | 2×10−3 |
| 1.1 | 0.677989 | 0.677989 | 0.68041 | 2.904 ×10−7 | 2.42 ×10−3 |
| 1.2 | 0.678866 | 0.678865 | 0.68175 | 2.838 ×10−7 | 2.88 ×10−3 |
| 1.3 | 0.674286 | 0.674289 | 0.67767 | 3.718×10−6 | 3.38 ×10−3 |
| 1.4 | 0.663534 | 0.664524 | 0.66844 | 9.9 ×10−4 | 3.92×10−3 |
Let us consider the following ODE with the initial condition [43]
On applying HAM to equation (38). The mth order deformation is given by,
Where,
Integrating on the either sides of equation (39), we get
Collectively, HAM series solution
This previously stated problem is similarly resolved with the HWT. The numerical values of the solutions derived from HAM and HWT, along with their AE with exact solutions, are shown in Table 2. The tables and graphs provide an explanation of the findings. Figure 3 displays geometric comparisons of the Exact, HAM, and HWT solutions. A graphic illustration of the error analysis of the HWT and HAM answers with the exact solution is shown in Figure 4.

Comparison of the ND solver solution with HAM and HWT solutions for Application 4.2.

Error analysis of HAM and HWT solutions for Application 4.2.
Comparison of solutions obtained from HAM, HWT, and their AE with ND Solver solution for Application 4.2.
| x | ND Solver | HAM | HWT | HAM Error | HWT Error |
|---|---|---|---|---|---|
| 0 | 0.5 | 0.5 | 0.5 | 0. | 0 |
| 0.1 | 0.52438 | 0.52438 | 0.52439 | 2.048 ×10−8 | 1.120 ×10−6 |
| 0.2 | 0.54758 | 0.54758 | 0.54759 | 1.718×10−8 | 4.480 ×10−6 |
| 0.3 | 0.56964 | 0.56964 | 0.56966 | 1.413×10−8 | 1.008 ×10−5 |
| 0.4 | 0.59063 | 0.59063 | 0.59065 | 9.894×10−9 | 1.792 ×10−5 |
| 0.5 | 0.61059 | 0.61059 | 0.61063 | 2.164×10−8 | 2.800×10−5 |
| 0.6 | 0.62959 | 0.62959 | 0.62963 | 1.587×10−8 | 4.032×10−5 |
| 0.7 | 0.64765 | 0.64765 | 0.64771 | 4.028 ×10−8 | 5.488 ×10−5 |
| 0.8 | 0.66483 | 0.66483 | 0.66491 | 1.566 ×10−8 | 7.168 ×10−5 |
| 0.9 | 0.68118 | 0.68118 | 0.68128 | 1.790 ×10−8 | 9.072 ×10−5 |
| 1.0 | 0.69673 | 0.69673 | 0.69685 | 7.461 ×10−10 | 1.120 ×10−4 |
Let us consider the following ODE system as follows
Where,
Integrating on the either sides of equation (43), we get
The integration constants C1 and C2 are calculated using equation (45). Taking u1,0(x) = 1, u2,0(x) = 1 and setting h = –1 successively we obtain,
Collectively, HAM series solution
The above-mentioned problem is additionally solved using the HWT. Table 3 and 4 present the numerical values of the solutions of u1 and u2, respectively, together with their exact solutions and AE. Exact, HAM, and HWT solution geometric comparisons are displayed in Figure 5 and 7 for u1 and u2, respectively. An error analysis of the HAM and HWT solutions is shown graphically in Figure 6 and 8 for u1 and u2 respectively.

Comparison of the exact solution with HAM and HWT solutions for u1(x) in Application 4.3.

Error analysis of HAM and HWT solutions for u1(x) in Application 4.3.

Comparison of the exact solution with HAM and HWT solutions for u2 (x) in Application 4.3.

Error analysis of HAM and HWT solutions for u2 (x) in Application 4.3.
Comparison of solutions obtained from HAM, HWT, and their AE with Exact solution for u1 in Application 4.3.
| x | Exact | HAM | HWT | HAM Error | HWT Error |
|---|---|---|---|---|---|
| 0 | 1 | 1 | 1 | 0 | 0 |
| 0.1 | 0.67032 | 0.67032 | 0.67032 | 0 | 1.120 ×10−7 |
| 0.2 | 0.44932 | 0.44932 | 0.44933 | 0 | 8.960×10−7 |
| 0.3 | 0.30119 | 0.30119 | 0.30120 | 0 | 3.024×10−6 |
| 0.4 | 0.20189 | 0.20189 | 0.20190 | 0 | 7.168 ×10−6 |
| 0.5 | 0.13533 | 0.13533 | 0.13535 | 0 | 1.140 ×10−5 |
| 0.6 | 0.09071 | 0.09071 | 0.09074 | 0 | 2.419 ×10−5 |
| 0.7 | 0.06081 | 0.06081 | 0.06084 | 0 | 3.841 ×10−5 |
| 0.8 | 0.04076 | 0.04076 | 0.04082 | 0 | 5.734×10−5 |
| 0.9 | 0.02732 | 0.02732 | 0.02740 | 0 | 8.164×10−5 |
| 1.0 | 0.01831 | 0.01831 | 0.01842 | 0 | 1.120 ×10−4 |
Comparison of solutions obtained from HAM, HWT, and their AE with Exact solution for u2 in Application 4.3.
| x | Exact | HAM | HWT | HAM Error | HWT Error |
|---|---|---|---|---|---|
| 0 | 1 | 1 | 1 | 0 | 0 |
| 0.1 | 0.90483 | 0.90483 | 0.90484 | 0 | 5.672 ×10−8 |
| 0.2 | 0.81873 | 0.81873 | 0.81873 | 0 | 9.075 ×10−7 |
| 0.3 | 0.74081 | 0.74081 | 0.74082 | 0 | 4.594 ×10−6 |
| 0.4 | 0.67032 | 0.67032 | 0.67057 | 0 | 1.452 ×10−5 |
| 0.5 | 0.60653 | 0.60653 | 0.60657 | 0 | 3.545 ×10−5 |
| 0.6 | 0.54881 | 0.54881 | 0.54889 | 0 | 7.350×10−5 |
| 0.7 | 0.49658 | 0.49658 | 0.49672 | 0 | 1.361 ×10−4 |
| 0.8 | 0.44932 | 0.44932 | 0.44956 | 0 | 2.323 ×10−4 |
| 0.9 | 0.40656 | 0.40656 | 0.40694 | 0 | 3.721 ×10−4 |
| 1.0 | 0.36787 | 0.36787 | 0.36845 | 0 | 5.672 ×10−4 |
Let us consider the following PDE with the condition
Where,
Integrating on the either sides of equation (47), we get
The integration constants C1 and C2 are calculated using equation (49). Taking u0(x, t) = e−x and setting h = –1 successively we obtain,
Collectively, HAM series solution
This problem is also solved again by HWT, and the results obtained are compared using tables and graphs. Tables 5,6,7,8,9 and Table 10 contain the numerical values and their errors with exact solutions of the above problem for different values of x and t. Figures 9, 11, 13, and 15 compare the HWT and HAM solutions with exact solutions, and Figures 10, 12, 14, and 16 represent the graphical interpretation for different values of x and t. Figure 17 depicts the 3-dimensional analysis of the HAM and HWT solutions with Exact solutions.

Comparison of the exact solution with HAM and HWT solutions at x = 0 of Application 4.4.

Error analysis of HAM and HWT solutions at x = 0 of Application 4.4.

Comparison of the exact solution with HAM and HWT solutions at x = 1 of Application 4.4.

Error analysis of HAM and HWT solutions at x = 1 of Application 4.4.

Comparison of the exact solution with HAM and HWT solutions at t = 0 of Application 4.4.

Error analysis of HAM and HWT solutions at t = 0 of Application 4.4.

Comparison of the exact solution with HAM and HWT solutions at t = 1 of Application 4.4.

Error analysis of HAM and HWT solutions at t = 1 of Application 4.4.

3D plot of HAM and HWT solutions for various values of x and t of Application 4.4.
Comparison of solutions obtained from HAM, HWT, and their AE with Exact solution for x = 0 in Application 4.4.
| t | Exact | HAM | HWT | HAM Error | HWT Error |
|---|---|---|---|---|---|
| 0 | 1 | 1 | 1 | 0 | 0 |
| 0.1 | 1.10517 | 1.10517 | 1.10517 | 0 | 0 |
| 0.2 | 1.22140 | 1.22140 | 1.22140 | 0 | 0 |
| 0.3 | 1.34986 | 1.34986 | 1.34986 | 0 | 0 |
| 0.4 | 1.49182 | 1.49182 | 1.49182 | 0 | 0 |
| 0.5 | 1.64872 | 1.64872 | 1.64872 | 0 | 0 |
| 0.6 | 1.82212 | 1.82212 | 1.82212 | 0 | 0 |
| 0.7 | 2.01375 | 2.01375 | 2.01375 | 0 | 0 |
| 0.8 | 2.22554 | 2.22554 | 2.22554 | 0 | 0 |
| 0.9 | 2.45960 | 2.45960 | 2.45960 | 0 | 0 |
| 1.0 | 2.71828 | 2.71828 | 2.71828 | 0 | 0 |
Comparison of solutions obtained from HAM, HWT, and their AE with Exact solution for x = 1 in Application 4.4.
| t | Exact | HAM | HWT Error | HAM Error | HWT |
|---|---|---|---|---|---|
| 0 | 0.36787 | 0.36787 | 0.36787 | 0 | 0 |
| 0.1 | 0.40657 | 0.40657 | 0.41224 | 0 | 5.672 ×10−3 |
| 0.2 | 0.44932 | 0.44932 | 0.47202 | 0 | 2.268 ×10−2 |
| 0.3 | 0.49658 | 0.49658 | 0.54763 | 0 | 5.104 ×10−2 |
| 0.4 | 0.54881 | 0.54881 | 0.63956 | 0 | 9.075 ×10−2 |
| 0.5 | 0.60653 | 0.60653 | 0.74833 | 0 | 1.418×10−1 |
| 0.6 | 0.67032 | 0.67032 | 0.87451 | 0 | 2.042×10−1 |
| 0.7 | 0.74081 | 0.74081 | 1.01870 | 0 | 2.779 ×10−1 |
| 0.8 | 0.81873 | 0.81873 | 1.18175 | 0 | 3.630×10−1 |
| 0.9 | 0.90483 | 0.90483 | 1.36432 | 0 | 4.594×10−1 |
| 1.0 | 1 | 1 | 1.56721 | 0 | 5.672×10−1 |
Comparison of solutions obtained from HAM, HWT, and their AE with Exact solution for t = 0 in Application 4.4.
| x | Exact | HAM | HWT Error | HAM Error | HWT |
|---|---|---|---|---|---|
| 0 | 1 | 1 | 1 | 0 | 0 |
| 0.1 | 0.90483 | 0.90483 | 0.90483 | 0 | 0 |
| 0.2 | 0.81873 | 0.81873 | 0.81873 | 0 | 0 |
| 0.3 | 0.74081 | 0.74081 | 0.74081 | 0 | 0 |
| 0.4 | 0.67032 | 0.67032 | 0.67032 | 0 | 0 |
| 0.5 | 0.60653 | 0.60653 | 0.60653 | 0 | 0 |
| 0.6 | 0.54881 | 0.54881 | 0.54881 | 0 | 0 |
| 0.7 | 0.49658 | 0.49658 | 0.49658 | 0 | 0 |
| 0.8 | 0.44932 | 0.44932 | 0.44932 | 0 | 0 |
| 0.9 | 0.40656 | 0.40656 | 0.40656 | 0 | 0 |
| 1.0 | 0.36787 | 0.36787 | 0.36787 | 0 | 0 |
Comparison of solutions obtained from HAM, HWT, and their AE with Exact solution for t = 1 in Application 4.4.
| x | Exact | HAM | HWT Error | HAM Error | HWT |
|---|---|---|---|---|---|
| 0 | 2.71828 | 2.71828 | 2.71828 | 0 | 0 |
| 0.1 | 2.45960 | 2.45960 | 2.46021 | 0 | 5.672 ×10−4 |
| 0.2 | 2.22554 | 2.22554 | 2.23012 | 0 | 4.357 ×10−3 |
| 0.3 | 2.01375 | 2.01375 | 2.0291 | 0 | 1.531 ×10−2 |
| 0.4 | 1.82212 | 1.82212 | 1.8584 | 0 | 3.630×10−2 |
| 0.5 | 1.64872 | 1.64872 | 1.7196 | 0 | 7.090 ×10−2 |
| 0.6 | 1.49182 | 1.49182 | 1.6143 | 0 | 1.225 ×10−1 |
| 0.7 | 1.34986 | 1.34986 | 1.5444 | 0 | 1.945 ×10−1 |
| 0.8 | 1.22140 | 1.22140 | 1.5118 | 0 | 2.904 ×10−1 |
| 0.9 | 1.10517 | 1.10517 | 1.5187 | 0 | 4.134×10−1 |
| 1.0 | 1 | 1 | 1.5672 | 0 | 5.672×10−1 |
Comparison of absolute error AE of the HAM and HWT solutions with Exact solution for t = 0.1, t = 0.01, and t = 0.001 in Application 4.4.
| x | Error at t = 0.1 | Error at t = 0.01 | Error at t = 0.001 | |||
|---|---|---|---|---|---|---|
| HAM | HWT | HAM | HWT | HAM | HWT | |
| 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| 0.1 | 0 | 5.672×10−6 | 0 | 5.672×10−8 | 0 | 5.672×10−10 |
| 0.2 | 0 | 4.537×10−5 | 0 | 4.537×10−7 | 0 | 4.537×10−9 |
| 0.3 | 0 | 1.531×10−4 | 0 | 1.531×10−6 | 0 | 1.531×10−8 |
| 0.4 | 0 | 3.630×10−4 | 0 | 3.630×10−6 | 0 | 3.630×10−8 |
| 0.5 | 0 | 7.090× 10−4 | 0 | 7.090× 10−6 | 0 | 7.090× 10−8 |
| 0.6 | 0 | 1.225 ×10−3 | 0 | 1.225 ×10−5 | 0 | 1.225 ×10−7 |
| 0.7 | 0 | 1.945 ×10−3 | 0 | 1.945 ×10−5 | 0 | 1.945 ×10−7 |
| 0.8 | 0 | 2.904× 10−3 | 0 | 2.904× 10−5 | 0 | 2.904× 10−7 |
| 0.9 | 0 | 4.134×10−3 | 0 | 4.134×10−5 | 0 | 4.134×10−7 |
| 1.0 | 0 | 5.672× 10−3 | 0 | 5.672×10−5 | 0 | 5.672× 10−7 |
Comparison of absolute error AE of the HAM and HWT solutions with Exact solution for x = 0.1, x = 0.01, and x = 0.001 in Application 4.4.
| t | Error at x = 0.1 | Error at x = 0.01 | Error at x = 0.001 | |||
|---|---|---|---|---|---|---|
| HAM | HWT | HAM | HWT | HAM | HWT | |
| 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| 0.1 | 0 | 5.671 ×10−6 | 0 | 5.672×10−9 | 0 | 5.671 ×10−12 |
| 0.2 | 0 | 2.268 ×10−5 | 0 | 2.268 ×10−8 | 0 | 2.268 ×10−11 |
| 0.3 | 0 | 5.104×10−5 | 0 | 5.104×10−8 | 0 | 5.104×10−11 |
| 0.4 | 0 | 9.075×10−5 | 0 | 9.075×10−8 | 0 | 9.075×10−11 |
| 0.5 | 0 | 1.418×10−4 | 0 | 1.418×10−7 | 0 | 1.418×10−10 |
| 0.6 | 0 | 2.041 ×10−4 | 0 | 2.041 ×10−7 | 0 | 2.041 ×10−10 |
| 0.7 | 0 | 2.779 ×10−4 | 0 | 2.779 ×10−7 | 0 | 2.779 ×10−10 |
| 0.8 | 0 | 3.630×10−4 | 0 | 3.630×10−7 | 0 | 3.630×10−10 |
| 0.9 | 0 | 4.594× 10−4 | 0 | 4.594×10−7 | 0 | 4.594×10−10 |
| 1.0 | 0 | 5.672× 10−4 | 0 | 5.672×10−7 | 0 | 5.672×10−10 |
In this research, we suggested a scheme for solving the ODEs, system of ODEs, and PDEs using homotopy analysis and a Haar wavelet methodology. Theorems were used to discuss convergence analysis. To exhibit the efficiency and efficacy of the suggested scheme, tables and figures describing the results were provided, along with numerical examples illustrating the method’s effectiveness. The error analysis reveals that the HAM solutions are more accurate than HWT and all other techniques found in literature, and the obtained results agree with the exact or ND solver solutions. Results show that the suggested technique can potentially solve complex ODE and PDE problems efficiently.