Numerical analysis Time-dependent partial differential equations Theorem
Crank–Nicolson method
Builds on Heat equationFinite difference methodMethod of linesLax equivalence theorem
Statement
Let and consider the heat equation on , , with and a given initial value . Let , , , , and . For a grid vector with , put . The Crank–Nicolson method computes from by
- Each step has a unique solution , given by a tridiagonal linear system.
- The method is unconditionally stable: for every , where .
- Assume the exact solution has bounded derivatives , and . Then the local truncation error is . On each interval the error is also .
Remarks
The vectors , , are eigenvectors of with eigenvalues , and they are orthogonal. In this basis each step multiplies the -th component by with , and for all ; this gives clauses 1 and 2. Clause 3 follows from Taylor expansion about and from stability, as in the Lax equivalence theorem. The method is the trapezoidal rule applied to the method of lines semi-discretisation . For large , is close to for the high frequencies, so rough initial data produce slowly decaying oscillations: the method is A-stable but not L-stable.
Going deeper
For a student
It is the default second-order method for diffusion problems, including the Black–Scholes equation in finance. For non-smooth data it is often started with a few backward Euler steps (Rannacher smoothing) to damp the oscillating modes. In several space dimensions the systems are no longer tridiagonal, which motivates alternating-direction implicit methods.
Reading path
To understand this page from the ground up, read these 16 pages in order. The foundations come first.
Show the path as a graph
- no evidence level
- Banach space concept
- Differential equation concept
- Finite difference method concept
- Function concept
- Heat equation concept
- Interval concept
- Method of lines concept
- Operator norm concept
- Transport equation concept
- Well-posed problem concept
- Ordinary differential equation definition
- Courant–Friedrichs–Lewy condition statement
- Solution of an ordinary differential equation definition
- Initial value problem definition
- Lax equivalence theorem statement
- Crank–Nicolson method statement
Where this leads
1 page builds on this one.
Further reading
About this page
| Tag | M92S0Y15N1 |
|---|---|
| URI | m2://M92S0Y15N1 |
| Kind | statement, theorem |
| Writing | W0 stub |
| MSC | 65M06, 65M12 |
| Status | This copy of the site has no build data. Run m2 status M92S0Y15N1. |
| About | Heat equation |
| Uses | Heat equation, Finite difference method, Method of lines, Lax equivalence theorem |
Markdown · JSON · Edit on GitHub
What this page needs for W1
- an inventory row: the row of the inventory that the node accounts for (0 of 1)
- a source with a locator (0 of 1)
The writing levels say how complete the text of a page is. They do not measure its truth.