Comparative performance of explicit, implicit, and Crank-Nicolson schemes for the one-dimensional heat equation

Syed Hassan, Sharifah Munirah Aljofri and Ahmad, Azhar and Said Mad Zain, Syed Ahmad Aidil Adha (2026) Comparative performance of explicit, implicit, and Crank-Nicolson schemes for the one-dimensional heat equation. Diverse Directions: Steering The Future Of Innovative E-Learning, 12. pp. 185-196. ISSN 978-629-92870-0-1
Abstract

In many situations where analytical solutions to the heat equation are not readily available, numerical methods are used to obtain approximate solutions. In this present work, the performance of these three finite difference schemes is compared for solving the one-dimensional heat equation, namely Explicit Forward-Time Central-Space (FTCS), Implicit Backward-Time Central-Space (BTCS) and Crank–Nicolson schemes. The numerical simulation was carried out for 3 different mesh ratios r = 0.25, r = 0.50 and r = 0.754717 with the same initial and boundary conditions. The maximum absolute error, mean absolute error, root mean square error (RMSE), computational time and stability were used for comparison of the numerical solutions with the corresponding analytical solution. Note that the results indicate that the Explicit scheme has a small error for stable mesh ratios but is unstable at r = 0.754717. The Implicit scheme is stable for all the tested mesh ratios but yields relatively higher errors. The Crank–Nicolson scheme on the other hand has stable solutions and has relatively constant error values in all cases. In general, the Crank-Nicolson scheme is accurate and stable with a balance that is desirable, whereas the Explicit scheme requires less computational cost under certain stability conditions.

Item Details
Edit Item
Edit Item
Downloads & Files
[thumbnail of 148921.pdf]
Text
148921.pdf
Download (1MB)
Indexing & Metrics