Numerical Solution of Heat Equation by Variational Iteration
Method
Haziem M. Hazaimeh
Umm Al Quwain University
DOI: https://dx.doi.org/10.51244/IJRSI.2025.120800416
Received: 16 September 2025; Accepted: 24 September 2025; Published: 23 October 2025
ABSTRACT
In this article, we study the one-dimensional heat equation, which models the diffusion of heat through a
medium over time. To solve this equation numerically, we employ He’s Variational Iteration Method (VIM), a
semi-analytical technique particularly effective for problems where exact solutions are intractable. The VIM
relies on a correction functional that iteratively minimizes the equation’s residuals using a Lagrange multiplier.
By repeating this process until convergence is achieved, we obtain an approximate solution to the heat
equation.
Keywords: Heat equation, numerical solution, variational iteration method, Lagrange multiplier.
INTRODUCTION
The Variational Iteration Method (VIM) is a mathematical technique used to approximate solutions to
nonlinear ordinary and partial differential equations. The main idea from using VIM is to construct an iterative
series solution that converges to the exact solution of the given equation. It has been successfully applied in
various fields of science and engineering, including physics, mechanics, biology, and finance. Many authors
studied the VIM to solve linear and nonlinear ordinary and partial differential equations. For example, J.H. He
was the first author who introduced the VIM and in [1] He shown that for the approximation solution, the VIM
applicable to delay differential equations. In addition, He [2] proposed a new iteration technique to solve
autonomous ordinary differential systems. Also, He and Wu [3] reviewed the development in the use of VIM.
They said that VIM has been applied to various nonlinear problems. Lu [4] proved that the VIM is introduce to
solve a nonlinear equation of second-order boundary value problem. Sontakke, Shelke, and Shaikh [5] used
He’s VIM to obtain the approximation solutions of time fractional PDEs. Tatari and Dehghan [6] considered
He’s VIM for solving second order IVPs (initial value problems). They solved several PDEs by using this
approach. Wazwaz [7] used the VIM for analytic treatment of the linear and nonlinear ODEs in both cases
homogeneous and nonhomogeneous. Wazwaz [8] applied the VIM for solving linear and nonlinear equations
with variable coefficient.
In this paper, we consider the heat equation in one dimension in the form
where
temperature distribution,
thermal diffusivity, spatial coordinate, and time.
with the initial conditions
and the boundary condition
.
In section 2, we will explain the VIM while in section 3 we analyzed the heat equation. In section 4, we
discussed an example and in section 5, the conclusion was summarized this article.