Finite Difference Scheme for the Heat Equation

Requires a Wolfram Notebook System

Interact on desktop, mobile and cloud with the free Wolfram CDF Player or other Wolfram Language products.

Requires a Wolfram Notebook System

Edit on desktop, mobile and cloud with any Wolfram Language product.

We apply a finite difference scheme to the heat equation, , and study its convergence. The rate of convergence (or divergence) depends on the problem data and the inhomogeneous function .

Contributed by: Igor Mandric and Ecaterina Bunduchi (March 2011)
(Moldova State University)
Open content licensed under CC BY-NC-SA



Consider the finite difference scheme


, ,

, , ,

, .

This Demonstration shows how the convergence of this finite difference scheme depends on the initial data, the boundary values, and the parameter that defines the scheme for the heat equation . If , then the scheme is called explicit; if , it is called implicit. If , then the scheme is stable, so the approximate solution converges to the exact solution. If , the scheme diverges.

The three pairs of snapshots 1–2, 3–4, and 5–6 show the dependence of the convergence on .


[1] A. A. Samarskii and A. V. Goolin, Numerical Methods (in Russian), Moscow: Science, 1989.

Feedback (field required)
Email (field required) Name
Occupation Organization
Note: Your message & contact information may be shared with the author of any specific Demonstration for which you give feedback.