This is documentation for Mathematica 6, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)


gives the successive differences of elements in list.
Differences[list, n]
gives the n^(th) differences of list.
Differences[list, {n1, n2, ...}]
gives the successive nk^(th) differences at level k in a nested list.
  • Differences[m, {1, 0}] or Differences[m, 1] finds the successive differences of rows in a 2D array or matrix m. Differences[m, {0, 1}] finds the differences of columns.
New in 6