BTCS Scheme

The BTCS scheme (Backward-Time Centred-Space) is an implicit finite difference method for the Heat equation.

Discretisation

Using a backward difference in time and a centred second difference in space:

where

Because the unknowns appear on the left-hand side, this gives a tridiagonal linear system at each time step:

The matrix is tridiagonal with on the diagonal and on the off-diagonals. It can be inverted using Gaussian elimination or np.linalg.inv. The Thomas algorithm (a specialised solver for tridiagonal systems) also exists but is not covered in this module.

Stability

The BTCS scheme is unconditionally stable - there is no restriction on the step size . This makes it suitable for stiff problems where the FTCS stability condition would force an impractically small .

Accuracy

  • First-order in time:
  • Second-order in space:

Same order as FTCS scheme but without the stability constraint.

FTCS scheme | Heat equation | Finite differences | Implicit Euler method | Boundary conditions | Diagonal dominance