The idea, in plain language.
Introduce an embedding parameter p that continuously connects an easier equation to the target equation. Expand the unknown solution in powers of p, solve the resulting problems in order, and set p=1 only after examining the resulting series. An artificial parameter is a construction device, not proof of convergence.
Origins & connection to Ganji’s work
Developed by Ji-Huan He. Ganji and collaborators applied and studied HPM in thermal science, fluid mechanics and nonlinear dynamics.
A recurring tool in Ganji’s published research, including Burgers flow, nonlinear heat transfer and oscillation problems.
Before you begin: First-order differential equations · Integration · Power series · Matching coefficients.
A method you can follow.
- Set up a homotopyFor nonlinear decay, replace u′+u²=0 by u′+p u²=0. At p=0 the initial-value problem has the constant solution 1; at p=1 the target equation is recovered.
- Expand and matchSubstitute u=Σpⁿuₙ and equate equal powers of p. Set u₀(0)=1 and uₙ(0)=0 for n≥1 to preserve the original initial condition.
- Solve the hierarchyIntegrate each coefficient equation using terms already computed: u₀=1, u₁=−t, u₂=t² and u₃=−t³.
- Check where it worksAt p=1 this is a geometric series. Inspect its convergence domain, compare against the exact solution, and measure the residual of each finite approximation.
A convergent series has a boundary
- The coefficient equations are u₀′=0 and uₙ′=−Σ[j=0…n−1]uⱼuₙ₋₁₋ⱼ for n≥1.
- They give uₙ(t)=(−t)ⁿ. Hence S_N(t)=1−t+t²−⋯+(−t)ᴺ.
- The finite geometric identity gives S_N−u_exact=−(−t)ᴺ⁺¹/(1+t).
- The series converges for |t|<1. At t=1 the partial sums alternate between 1 and 0, while the exact value is 1/2. For t>1 the terms grow.
Check the result
At t=0.5, S₄=0.6875, u_exact=2/3 and the absolute error is 1/48≈0.0208333.
A smooth exact solution can exist outside the convergence interval of an approximation. More terms can make an answer worse outside that interval.
Explore the interactive notebookKnow the limits.
- The choice of initial guess and linear operator matters.
- No small physical parameter is required by the construction, but this does not imply convergence for all parameter values or times.
- Validate comparisons using exact solutions or independently converged numerical calculations.
Where you will encounter it
Read the originals.
- He (1999). Homotopy perturbation technique. ↗Foundational method · DOI 10.1016/S0045-7825(99)00018-3
- Ganji, Ganji, Karimpour & Ganji (2010). Numerical study of homotopy-perturbation method applied to Burgers equation in fluid. ↗Ganji research application · DOI 10.1002/num.20464
- Comparison of homotopy analysis method and homotopy perturbation method through an evolution equation (2009). ↗Critical convergence analysis · DOI 10.1016/j.cnsns.2009.02.016
This is an original educational explanation, not a claim that all illustrated methods were invented by Professor Ganji. The worked model is deliberately shared across notes so the results and limitations can be compared.