Nepedia
Back to Discover
Fluent Reader
🔢

Crank–Nicolson method

math Maturity 11-13 Next article →

Math helps us understand how things spread out over time. Imagine a drop of ink moving through a glass of water. Or think about how heat moves through a metal rod. Scientists use special equations to describe these movements. These are called diffusion equations. Sometimes these puzzles are too hard to solve with simple pen and paper.

Crank-Nicolson-stencil
Crank-Nicolson-stencil

To find answers, mathematicians use a way to turn these equations into smaller, solvable steps. This is called numerical analysis. One very famous way to do this is called the Crank-Nicolson method.

This method works by looking at two different moments in time at once. It uses a rule called the trapezoidal rule to find a balance between them. It is what mathematicians call an implicit method. This means that to find the next value in a sequence, you cannot just add a number. Instead, you must solve a whole system of algebraic equations first.

For simple problems, this can be done very fast. If the problem is linear, it creates a tridiagonal system. This is a special pattern of numbers that a computer can solve very efficiently. It is much faster than trying to flip a whole large matrix over.

Two people named John Crank and Phyllis Nicolson developed this method in the 1940s. They wanted a way to solve the heat equation more effectively. Their method is known for being second-order in time. This means it is quite accurate as time moves forward. It is also described as being unconditionally stable for many types of equations. This stability is a big deal for scientists. It means the math stays steady and does not fly off into wrong answers easily.

Crank-Nicolson-stencil
Crank-Nicolson-stencil

Even though it is steady, there are some things to watch out for. If you take steps that are too large in time, the answers might wiggle. These wiggles are called spurious oscillations. They are not real movements, just mistakes in the math. Because of this, some people use a different method called the backward Euler method. That method is less accurate, but it does not have these wiggles.

In two dimensions, the math gets even bigger. Scientists might use a trick called an alternating-direction implicit method to keep it fast.

We see this math in many parts of our world. It is used to study how pollution moves through rivers and streams. It even helps people in the world of finance. In finance, the math helps find the price of something called an option. This uses a famous model called Black-Scholes. The method turns the pricing problem into a heat equation. Even though it is hard, it helps experts make better decisions with money.

447 words

Where will your curiosity go next?

Keep exploring at your chosen reading level.

🖼️ Images & Media (2)
File:Crank-Nicolson-stencil.svg
Crank-Nicolson-stencil.svg
Crank-Nicolson Navier-Stokes 2D.webm
More to explore

What is Nepedia?

A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.