Forward and backward difference formulae