HOME

TheInfoList



OR:

A finite difference is a mathematical expression of the form . Finite differences (or the associated
difference quotient In single-variable calculus, the difference quotient is usually the name for the expression : \frac which when taken to the Limit of a function, limit as ''h'' approaches 0 gives the derivative of the Function (mathematics), function ''f''. The ...
s) are often used as approximations of derivatives, such as in
numerical differentiation In numerical analysis, numerical differentiation algorithms estimate the derivative of a mathematical function or subroutine using values of the function and perhaps other knowledge about the function. Finite differences The simplest method is ...
. The
difference operator In mathematics, a recurrence relation is an equation according to which the nth term of a sequence of numbers is equal to some combination of the previous terms. Often, only k previous terms of the sequence appear in the equation, for a parameter ...
, commonly denoted \Delta, is the operator that maps a function to the function \Delta /math> defined by \Delta x) = f(x+1)-f(x). A
difference equation In mathematics, a recurrence relation is an equation according to which the nth term of a sequence of numbers is equal to some combination of the previous terms. Often, only k previous terms of the sequence appear in the equation, for a parameter ...
is a
functional equation In mathematics, a functional equation is, in the broadest meaning, an equation in which one or several functions appear as unknowns. So, differential equations and integral equations are functional equations. However, a more restricted meaning ...
that involves the finite difference operator in the same way as a differential equation involves
derivative In mathematics, the derivative is a fundamental tool that quantifies the sensitivity to change of a function's output with respect to its input. The derivative of a function of a single variable at a chosen input value, when it exists, is t ...
s. There are many similarities between difference equations and differential equations. Certain
recurrence relations In mathematics, a recurrence relation is an equation according to which the nth term of a sequence of numbers is equal to some combination of the previous terms. Often, only k previous terms of the sequence appear in the equation, for a parameter ...
can be written as difference equations by replacing iteration notation with finite differences. In
numerical analysis Numerical analysis is the study of algorithms that use numerical approximation (as opposed to symbolic computation, symbolic manipulations) for the problems of mathematical analysis (as distinguished from discrete mathematics). It is the study of ...
, finite differences are widely used for approximating derivatives, and the term "finite difference" is often used as an abbreviation of "finite difference approximation of derivatives". Finite differences were introduced by Brook Taylor in 1715 and have also been studied as abstract self-standing mathematical objects in works by
George Boole George Boole ( ; 2 November 1815 – 8 December 1864) was a largely self-taught English mathematician, philosopher and logician, most of whose short career was spent as the first professor of mathematics at Queen's College, Cork in Ireland. H ...
(1860), L. M. Milne-Thomson (1933), and (1939). Finite differences trace their origins back to one of Jost Bürgi's algorithms () and work by others including
Isaac Newton Sir Isaac Newton () was an English polymath active as a mathematician, physicist, astronomer, alchemist, theologian, and author. Newton was a key figure in the Scientific Revolution and the Age of Enlightenment, Enlightenment that followed ...
. The formal calculus of finite differences can be viewed as an alternative to the
calculus Calculus is the mathematics, mathematical study of continuous change, in the same way that geometry is the study of shape, and algebra is the study of generalizations of arithmetic operations. Originally called infinitesimal calculus or "the ...
of
infinitesimal In mathematics, an infinitesimal number is a non-zero quantity that is closer to 0 than any non-zero real number is. The word ''infinitesimal'' comes from a 17th-century Modern Latin coinage ''infinitesimus'', which originally referred to the " ...
s.


Basic types

Three basic types are commonly considered: ''forward'', ''backward'', and ''central'' finite differences. A , denoted \Delta_h of a function is a function defined as \Delta_h x) = f(x + h) - f(x). Depending on the application, the spacing may be variable or constant. When omitted, is taken to be 1; that is, \Delta x) = \Delta_1 x) =f(x+1)-f(x) . A uses the function values at and , instead of the values at and : \nabla_h x) = f(x) - f(x-h)=\Delta_h x-h). Finally, the is given by \delta_h x) = f(x+\tfrac2)-f(x-\tfrac2)=\Delta_ x)+\nabla_ x).


Relation with derivatives

The approximation of
derivative In mathematics, the derivative is a fundamental tool that quantifies the sensitivity to change of a function's output with respect to its input. The derivative of a function of a single variable at a chosen input value, when it exists, is t ...
s by finite differences plays a central role in
finite difference method In numerical analysis, finite-difference methods (FDM) are a class of numerical techniques for solving differential equations by approximating Derivative, derivatives with Finite difference approximation, finite differences. Both the spatial doma ...
s for the numerical solution of differential equations, especially
boundary value problem In the study of differential equations, a boundary-value problem is a differential equation subjected to constraints called boundary conditions. A solution to a boundary value problem is a solution to the differential equation which also satis ...
s. The
derivative In mathematics, the derivative is a fundamental tool that quantifies the sensitivity to change of a function's output with respect to its input. The derivative of a function of a single variable at a chosen input value, when it exists, is t ...
of a function at a point is defined by the limit f'(x) = \lim_ \frac. If has a fixed (non-zero) value instead of approaching zero, then the right-hand side of the above equation would be written \frac = \frac. Hence, the forward difference divided by approximates the derivative when is small. The error in this approximation can be derived from
Taylor's theorem In calculus, Taylor's theorem gives an approximation of a k-times differentiable function around a given point by a polynomial of degree k, called the k-th-order Taylor polynomial. For a smooth function, the Taylor polynomial is the truncation a ...
. Assuming that is twice differentiable, we have \frac - f'(x) = o(h)\to 0 \quad \texth \to 0. The same formula holds for the backward difference: \frac - f'(x) = o(h)\to 0 \quad \texth \to 0. However, the central (also called centered) difference yields a more accurate approximation. If is three times differentiable, \frac - f'(x) = o\left(h^2\right) . The main problem with the central difference method, however, is that oscillating functions can yield zero derivative. If for odd, and for even, then if it is calculated with the central difference scheme. This is particularly troublesome if the domain of is discrete. See also
Symmetric derivative In mathematics, the symmetric derivative is an Operator (mathematics), operation generalizing the ordinary derivative. It is defined as: \lim_ \frac. The expression under the limit is sometimes called the symmetric difference quotient. A function ...
. Authors for whom finite differences mean finite difference approximations define the forward/backward/central differences as the quotients given in this section (instead of employing the definitions given in the previous section).


Higher-order differences

In an analogous way, one can obtain finite difference approximations to higher order derivatives and differential operators. For example, by using the above central difference formula for and and applying a central difference formula for the derivative of at , we obtain the central difference approximation of the second derivative of : ;Second-order central : f''(x) \approx \frac = \frac = \frac . Similarly we can apply other differencing formulas in a recursive manner. ;Second order forward : f''(x) \approx \frac = \frac = \frac . ;Second order backward : f''(x) \approx \frac = \frac = \frac . More generally, the -th order forward, backward, and central differences are given by, respectively, ;Forward :\Delta^n_h x) = \sum_^ (-1)^ \binom f\bigl(x + i h\bigr), ;Backward :\nabla^n_h x) = \sum_^ (-1)^i \binom f(x - ih), ;Central :\delta^n_h x) = \sum_^ (-1)^i \binom f\left(x + \left(\frac - i\right) h\right). These equations use
binomial coefficient In mathematics, the binomial coefficients are the positive integers that occur as coefficients in the binomial theorem. Commonly, a binomial coefficient is indexed by a pair of integers and is written \tbinom. It is the coefficient of the t ...
s after the summation sign shown as . Each row of
Pascal's triangle In mathematics, Pascal's triangle is an infinite triangular array of the binomial coefficients which play a crucial role in probability theory, combinatorics, and algebra. In much of the Western world, it is named after the French mathematician Bla ...
provides the coefficient for each value of . Note that the central difference will, for odd , have multiplied by non-integers. This is often a problem because it amounts to changing the interval of discretization. The problem may be remedied substituting the average of \ \delta^n \ x - \tfrac\ )\ and \ \delta^n \ x + \tfrac\ ) ~. Forward differences applied to a
sequence In mathematics, a sequence is an enumerated collection of objects in which repetitions are allowed and order matters. Like a set, it contains members (also called ''elements'', or ''terms''). The number of elements (possibly infinite) is cal ...
are sometimes called the binomial transform of the sequence, and have a number of interesting combinatorial properties. Forward differences may be evaluated using the Nörlund–Rice integral. The integral representation for these types of series is interesting, because the integral can often be evaluated using
asymptotic expansion In mathematics, an asymptotic expansion, asymptotic series or Poincaré expansion (after Henri Poincaré) is a formal series of functions which has the property that truncating the series after a finite number of terms provides an approximation ...
or saddle-point techniques; by contrast, the forward difference series can be extremely hard to evaluate numerically, because the binomial coefficients grow rapidly for large . The relationship of these higher-order differences with the respective derivatives is straightforward, \frac(x) = \frac+o(h) = \frac+o(h) = \frac + o\left(h^2\right). Higher-order differences can also be used to construct better approximations. As mentioned above, the first-order difference approximates the first-order derivative up to a term of order . However, the combination \frac = - \frac approximates up to a term of order . This can be proven by expanding the above expression in
Taylor series In mathematics, the Taylor series or Taylor expansion of a function is an infinite sum of terms that are expressed in terms of the function's derivatives at a single point. For most common functions, the function and the sum of its Taylor ser ...
, or by using the calculus of finite differences, explained below. If necessary, the finite difference can be centered about any point by mixing forward, backward, and central differences.


Polynomials

For a given
polynomial In mathematics, a polynomial is a Expression (mathematics), mathematical expression consisting of indeterminate (variable), indeterminates (also called variable (mathematics), variables) and coefficients, that involves only the operations of addit ...
of degree , expressed in the function , with real numbers and and ''lower order terms'' (if any) marked as : P(x) = ax^n + bx^ + l.o.t. After pairwise differences, the following result can be achieved, where is a
real number In mathematics, a real number is a number that can be used to measure a continuous one- dimensional quantity such as a duration or temperature. Here, ''continuous'' means that pairs of values can have arbitrarily small differences. Every re ...
marking the arithmetic difference: \Delta_h^n x) = ah^nn! Only the coefficient of the highest-order term remains. As this result is constant with respect to , any further pairwise differences will have the value .


Inductive proof


Base case

Let be a polynomial of degree : \Delta_h x) = Q(x + h) - Q(x) = (x + h) + b- x + b= ah = ah^11! This proves it for the base case.


Inductive step

Let be a polynomial of degree where and the coefficient of the highest-order term be . Assuming the following holds true for all polynomials of degree : \Delta_h^ x) = ah^(m-1)! Let be a polynomial of degree . With one pairwise difference: \Delta_h x) = (x+h)^ + b(x+h)^ + \text- x^m + bx^ + \text= ahmx^ + \text = T(x) As , this results in a polynomial of degree , with as the coefficient of the highest-order term. Given the assumption above and pairwise differences (resulting in a total of pairwise differences for ), it can be found that: \Delta_h^ x) = ahm \cdot h^(m-1)! = a h^m m! This completes the proof.


Application

This identity can be used to find the lowest-degree polynomial that intercepts a number of points where the difference on the ''x''-axis from one point to the next is a constant . For example, given the following points: We can use a differences table, where for all cells to the right of the first , the following relation to the cells in the column immediately to the left exists for a cell , with the top-leftmost cell being at coordinate : (a+1, b+1) = (a, b+1) - (a, b) To find the first term, the following table can be used: This arrives at a constant . The arithmetic difference is , as established above. Given the number of pairwise differences needed to reach the constant, it can be surmised this is a polynomial of degree . Thus, using the identity above: 648 = a \cdot 3^3 \cdot 3! = a \cdot 27 \cdot 6 = a \cdot 162 Solving for , it can be found to have the value . Thus, the first term of the polynomial is . Then, subtracting out the first term, which lowers the polynomial's degree, and finding the finite difference again: Here, the constant is achieved after only two pairwise differences, thus the following result: -306 = a \cdot 3^2 \cdot 2! = a \cdot 18 Solving for , which is , the polynomial's second term is . Moving on to the next term, by subtracting out the second term: Thus the constant is achieved after only one pairwise difference: 108 = a \cdot 3^1 \cdot 1! = a \cdot 3 It can be found that and thus the third term of the polynomial is . Subtracting out the third term: Without any pairwise differences, it is found that the 4th and final term of the polynomial is the constant . Thus, the lowest-degree polynomial intercepting all the points in the first table is found: 4x^3 - 17x^2 + 36x - 19


Arbitrarily sized kernels

Using
linear algebra Linear algebra is the branch of mathematics concerning linear equations such as :a_1x_1+\cdots +a_nx_n=b, linear maps such as :(x_1, \ldots, x_n) \mapsto a_1x_1+\cdots +a_nx_n, and their representations in vector spaces and through matrix (mathemat ...
one can construct finite difference approximations which utilize an arbitrary number of points to the left and a (possibly different) number of points to the right of the evaluation point, for any order derivative. This involves solving a linear system such that the
Taylor expansion In mathematics, the Taylor series or Taylor expansion of a function is an infinite sum of terms that are expressed in terms of the function's derivatives at a single point. For most common functions, the function and the sum of its Taylor ser ...
of the sum of those points around the evaluation point best approximates the Taylor expansion of the desired derivative. Such formulas can be represented graphically on a hexagonal or diamond-shaped grid. This is useful for differentiating a function on a grid, where, as one approaches the edge of the grid, one must sample fewer and fewer points on one side. Finite difference approximations for non-standard (and even non-integer) stencils given an arbitrary stencil and a desired derivative order may be constructed.


Properties

* For all positive and \Delta^n_ (f, x) = \sum\limits_^ \sum\limits_^ \cdots \sum\limits_^ \Delta^n_h \left(f, x+i_1h+i_2h+\cdots+i_nh\right). * Leibniz rule: \Delta^n_h (fg, x) = \sum\limits_^n \binom \Delta^k_h (f, x) \Delta^_h(g, x+kh).


In differential equations

An important application of finite differences is in
numerical analysis Numerical analysis is the study of algorithms that use numerical approximation (as opposed to symbolic computation, symbolic manipulations) for the problems of mathematical analysis (as distinguished from discrete mathematics). It is the study of ...
, especially in numerical differential equations, which aim at the numerical solution of ordinary and
partial differential equation In mathematics, a partial differential equation (PDE) is an equation which involves a multivariable function and one or more of its partial derivatives. The function is often thought of as an "unknown" that solves the equation, similar to ho ...
s. The idea is to replace the derivatives appearing in the differential equation by finite differences that approximate them. The resulting methods are called
finite difference method In numerical analysis, finite-difference methods (FDM) are a class of numerical techniques for solving differential equations by approximating Derivative, derivatives with Finite difference approximation, finite differences. Both the spatial doma ...
s. Common applications of the finite difference method are in computational science and engineering disciplines, such as
thermal engineering Thermal engineering is a specialized sub-discipline of mechanical engineering that deals with the movement of heat energy and transfer. The energy can be transferred between two mediums or transformed into other forms of energy. A thermal engin ...
,
fluid mechanics Fluid mechanics is the branch of physics concerned with the mechanics of fluids (liquids, gases, and plasma (physics), plasmas) and the forces on them. Originally applied to water (hydromechanics), it found applications in a wide range of discipl ...
, etc.


Newton's series

The Newton series consists of the terms of the Newton forward difference equation, named after
Isaac Newton Sir Isaac Newton () was an English polymath active as a mathematician, physicist, astronomer, alchemist, theologian, and author. Newton was a key figure in the Scientific Revolution and the Age of Enlightenment, Enlightenment that followed ...
; in essence, it is the Gregory–Newton interpolation formula (named after
Isaac Newton Sir Isaac Newton () was an English polymath active as a mathematician, physicist, astronomer, alchemist, theologian, and author. Newton was a key figure in the Scientific Revolution and the Age of Enlightenment, Enlightenment that followed ...
and James Gregory), first published in his ''
Principia Mathematica The ''Principia Mathematica'' (often abbreviated ''PM'') is a three-volume work on the foundations of mathematics written by the mathematician–philosophers Alfred North Whitehead and Bertrand Russell and published in 1910, 1912, and 1 ...
'' in 1687, namely the discrete analog of the continuous Taylor expansion, which holds for any
polynomial In mathematics, a polynomial is a Expression (mathematics), mathematical expression consisting of indeterminate (variable), indeterminates (also called variable (mathematics), variables) and coefficients, that involves only the operations of addit ...
function and for many (but not all)
analytic function In mathematics, an analytic function is a function that is locally given by a convergent power series. There exist both real analytic functions and complex analytic functions. Functions of each type are infinitely differentiable, but complex ...
s. (It does not hold when is
exponential type In complex analysis, a branch of mathematics, a holomorphic function is said to be of exponential type C if its growth is bounded by the exponential function e^ for some real-valued constant C as , z, \to\infty. When a function is bounded in ...
\pi. This is easily seen, as the sine function vanishes at integer multiples of \pi; the corresponding Newton series is identically zero, as all finite differences are zero in this case. Yet clearly, the sine function is not zero.) Here, the expression \binom = \frac is the
binomial coefficient In mathematics, the binomial coefficients are the positive integers that occur as coefficients in the binomial theorem. Commonly, a binomial coefficient is indexed by a pair of integers and is written \tbinom. It is the coefficient of the t ...
, and (x)_k=x(x-1)(x-2)\cdots(x-k+1) is the "
falling factorial In mathematics, the falling factorial (sometimes called the descending factorial, falling sequential product, or lower factorial) is defined as the polynomial \begin (x)_n = x^\underline &= \overbrace^ \\ &= \prod_^n(x-k+1) = \prod_^(x-k) . \end ...
" or "lower factorial", while the
empty product In mathematics, an empty product, or nullary product or vacuous product, is the result of multiplication, multiplying no factors. It is by convention equal to the multiplicative identity (assuming there is an identity for the multiplication operat ...
is defined to be 1. In this particular case, there is an assumption of unit steps for the changes in the values of of the generalization below. Note the formal correspondence of this result to
Taylor's theorem In calculus, Taylor's theorem gives an approximation of a k-times differentiable function around a given point by a polynomial of degree k, called the k-th-order Taylor polynomial. For a smooth function, the Taylor polynomial is the truncation a ...
. Historically, this, as well as the Chu–Vandermonde identity, (x+y)_n=\sum_^n \binom (x)_ \,(y)_k , (following from it, and corresponding to the
binomial theorem In elementary algebra, the binomial theorem (or binomial expansion) describes the algebraic expansion of powers of a binomial. According to the theorem, the power expands into a polynomial with terms of the form , where the exponents and a ...
), are included in the observations that matured to the system of umbral calculus. Newton series expansions can be superior to Taylor series expansions when applied to discrete quantities like quantum spins (see Holstein–Primakoff transformation), bosonic operator functions or discrete counting statistics. To illustrate how one may use Newton's formula in actual practice, consider the first few terms of doubling the
Fibonacci sequence In mathematics, the Fibonacci sequence is a Integer sequence, sequence in which each element is the sum of the two elements that precede it. Numbers that are part of the Fibonacci sequence are known as Fibonacci numbers, commonly denoted . Many w ...
One can find a
polynomial In mathematics, a polynomial is a Expression (mathematics), mathematical expression consisting of indeterminate (variable), indeterminates (also called variable (mathematics), variables) and coefficients, that involves only the operations of addit ...
that reproduces these values, by first computing a difference table, and then substituting the differences that correspond to (underlined) into the formula as follows, \begin \begin \hline x & f=\Delta^0 & \Delta^1 & \Delta^2 \\ \hline 1&\underline& & \\ & &\underline& \\ 2&2& &\underline \\ & &2& \\ 3&4& & \\ \hline \end & \quad \begin f(x) & =\Delta^0 \cdot 1 +\Delta^1 \cdot \dfrac + \Delta^2 \cdot \dfrac \quad (x_0=1)\\ \\ & =2 \cdot 1 + 0 \cdot \dfrac + 2 \cdot \dfrac \\ \\ & =2 + (x-1)(x-2) \\ \end \end For the case of nonuniform steps in the values of , Newton computes the divided differences, \Delta _=y_j,\qquad \Delta _=\frac\quad \ni \quad \left\,\qquad \Delta 0_k = \Delta _ the series of products, =1,\quad \quad P_=P_k\cdot \left( \xi -x_k \right) , and the resulting polynomial is the
scalar product In mathematics, the dot product or scalar productThe term ''scalar product'' means literally "product with a scalar as a result". It is also used for other symmetric bilinear forms, for example in a pseudo-Euclidean space. Not to be confused wit ...
, f(\xi ) = \Delta 0 \cdot P\left( \xi \right). In analysis with -adic numbers, Mahler's theorem states that the assumption that is a polynomial function can be weakened all the way to the assumption that is merely continuous. Carlson's theorem provides necessary and sufficient conditions for a Newton series to be unique, if it exists. However, a Newton series does not, in general, exist. The Newton series, together with the Stirling series and the Selberg series, is a special case of the general difference series, all of which are defined in terms of suitably scaled forward differences. In a compressed and slightly more general form and equidistant nodes the formula reads f(x) = \sum_\binom \sum_^k (-1)^\binomf(a+j h).


Calculus of finite differences

The forward difference can be considered as an operator, called the
difference operator In mathematics, a recurrence relation is an equation according to which the nth term of a sequence of numbers is equal to some combination of the previous terms. Often, only k previous terms of the sequence appear in the equation, for a parameter ...
, which maps the function to . This operator amounts to \Delta_h = \operatorname_h - \operatorname I\ , where is the
shift operator In mathematics, and in particular functional analysis, the shift operator, also known as the translation operator, is an operator that takes a function to its translation . In time series analysis, the shift operator is called the '' lag opera ...
with step , defined by and is the
identity operator Graph of the identity function on the real numbers In mathematics, an identity function, also called an identity relation, identity map or identity transformation, is a function that always returns the value that was used as its argument, unc ...
. The finite difference of higher orders can be defined in recursive manner as Another equivalent definition is The difference operator is a
linear operator In mathematics, and more specifically in linear algebra, a linear map (also called a linear mapping, linear transformation, vector space homomorphism, or in some contexts linear function) is a mapping V \to W between two vector spaces that pr ...
, as such it satisfies It also satisfies a special Leibniz rule: :\ \operatorname\Delta_h\bigl(\ f(x)\ g(x)\ \bigr)\ = \ \bigl(\ \operatorname\Delta_h f(x)\ \bigr)\ g(x+h)\ + \ f(x)\ \bigl(\ \operatorname\Delta_h g(x)\ \bigr) ~. Similar Leibniz rules hold for the backward and central differences. Formally applying the
Taylor series In mathematics, the Taylor series or Taylor expansion of a function is an infinite sum of terms that are expressed in terms of the function's derivatives at a single point. For most common functions, the function and the sum of its Taylor ser ...
with respect to , yields the operator equation \operatorname_h = h\operatorname + \frac h^2\operatorname^2 + \frac h^3\operatorname^3 + \cdots = e^ - \operatorname I\ , where denotes the conventional, continuous derivative operator, mapping to its derivative The expansion is valid when both sides act on
analytic function In mathematics, an analytic function is a function that is locally given by a convergent power series. There exist both real analytic functions and complex analytic functions. Functions of each type are infinitely differentiable, but complex ...
s, for sufficiently small ; in the special case that the series of derivatives terminates (when the function operated on is a finite
polynomial In mathematics, a polynomial is a Expression (mathematics), mathematical expression consisting of indeterminate (variable), indeterminates (also called variable (mathematics), variables) and coefficients, that involves only the operations of addit ...
) the expression is exact, for ''all'' finite stepsizes, Thus and formally inverting the exponential yields h\operatorname D = \ln(1+\Delta_h) = \Delta_h - \tfrac \, \Delta_h^2 + \tfrac \, \Delta_h^3 - \cdots ~. This formula holds in the sense that both operators give the same result when applied to a polynomial. Even for analytic functions, the series on the right is not guaranteed to converge; it may be an
asymptotic series In mathematics, an asymptotic expansion, asymptotic series or Poincaré expansion (after Henri Poincaré) is a formal series of functions which has the property that truncating the series after a finite number of terms provides an approximation t ...
. However, it can be used to obtain more accurate approximations for the derivative. For instance, retaining the first two terms of the series yields the second-order approximation to mentioned at the end of the section '. The analogous formulas for the backward and central difference operators are h\operatorname D = -\ln(1-\nabla_h) \quad \text \quad h\operatorname D = 2 \operatorname\left(\tfrac12 \, \delta_h\right) ~. The calculus of finite differences is related to the umbral calculus of combinatorics. This remarkably systematic correspondence is due to the identity of the commutators of the umbral quantities to their continuum analogs ( limits), A large number of formal differential relations of standard calculus involving functions thus ''systematically map to umbral finite-difference analogs'' involving For instance, the umbral analog of a monomial is a generalization of the above falling factorial ( Pochhammer k-symbol), \ (x)_n\equiv \left(\ x\ \operatorname T_h^\right)^n = x \left( x - h \right)\left( x - 2 h \right) \cdots \bigl( x - \left( n - 1 \right)\ h \bigr)\ , so that \ \frac (x)_n = n\ (x)_\ , hence the above Newton interpolation formula (by matching coefficients in the expansion of an arbitrary function in such symbols), and so on. For example, the umbral sine is \ \sin \left(x\ \operatorname T_h^\right) = x -\frac + \frac - \frac + \cdots\ As in the continuum limit, the
eigenfunction In mathematics, an eigenfunction of a linear operator ''D'' defined on some function space is any non-zero function f in that space that, when acted upon by ''D'', is only multiplied by some scaling factor called an eigenvalue. As an equation, th ...
of also happens to be an exponential, :\ \frac(1+\lambda h)^\frac =\frac e^= \lambda e^\ , and hence ''Fourier sums of continuum functions are readily, faithfully mapped to umbral Fourier sums'', i.e., involving the same Fourier coefficients multiplying these umbral basis exponentials. This umbral exponential thus amounts to the exponential
generating function In mathematics, a generating function is a representation of an infinite sequence of numbers as the coefficients of a formal power series. Generating functions are often expressed in closed form (rather than as a series), by some expression invo ...
of the
Pochhammer symbol In mathematics, the falling factorial (sometimes called the descending factorial, falling sequential product, or lower factorial) is defined as the polynomial \begin (x)_n = x^\underline &= \overbrace^ \\ &= \prod_^n(x-k+1) = \prod_^(x-k) . \end ...
s. Thus, for instance, the
Dirac delta function In mathematical analysis, the Dirac delta function (or distribution), also known as the unit impulse, is a generalized function on the real numbers, whose value is zero everywhere except at zero, and whose integral over the entire real line ...
maps to its umbral correspondent, the cardinal sine function \ \delta (x) \mapsto \frac\ , and so forth.
Difference equation In mathematics, a recurrence relation is an equation according to which the nth term of a sequence of numbers is equal to some combination of the previous terms. Often, only k previous terms of the sequence appear in the equation, for a parameter ...
s can often be solved with techniques very similar to those for solving differential equations. The inverse operator of the forward difference operator, so then the umbral integral, is the
indefinite sum In discrete calculus the indefinite sum operator (also known as the antidifference operator), denoted by \sum _x or \Delta^ , is the linear operator, inverse of the forward difference operator \Delta . It relates to the forward difference operato ...
or antidifference operator.


Rules for calculus of finite difference operators

Analogous to rules for finding the derivative, we have: * Constant rule: If is a constant, then \ \Delta c = 0\ *
Linearity In mathematics, the term ''linear'' is used in two distinct senses for two different properties: * linearity of a '' function'' (or '' mapping''); * linearity of a '' polynomial''. An example of a linear function is the function defined by f(x) ...
: If and are
constants Constant or The Constant may refer to: Mathematics * Constant (mathematics), a non-varying value * Mathematical constant, a special number that arises naturally in mathematics, such as or Other concepts * Control variable or scientific const ...
, \ \Delta (a\ f + b\ g) = a \ \Delta f + b \ \Delta g\ All of the above rules apply equally well to any difference operator as to , including and *
Product rule In calculus, the product rule (or Leibniz rule or Leibniz product rule) is a formula used to find the derivatives of products of two or more functions. For two functions, it may be stated in Lagrange's notation as (u \cdot v)' = u ' \cdot v ...
: \begin \ \Delta (f g) &= f \,\Delta g + g \,\Delta f + \Delta f \,\Delta g \\ pt\nabla (f g) &= f \,\nabla g + g \,\nabla f - \nabla f \,\nabla g \ \end *
Quotient rule In calculus, the quotient rule is a method of finding the derivative of a function (mathematics), function that is the ratio of two differentiable functions. Let h(x)=\frac, where both and are differentiable and g(x)\neq 0. The quotient rule sta ...
: \ \nabla \left( \frac \right) = \left. \left( \det \begin \nabla f & \nabla g \\ f & g \end \right) \right/ \left( g \cdot \det \right) or \nabla\left( \frac \right)= \frac \ * Summation rules: \begin \ \sum_^b \Delta f(n) &= f(b+1)-f(a) \\ \sum_^ \nabla f(n) &= f(b)-f(a-1) \ \end See references.


Generalizations

*A generalized finite difference is usually defined as \Delta_h^\mu x) = \sum_^N \mu_k f(x+kh), where is its coefficient vector. An infinite difference is a further generalization, where the finite sum above is replaced by an
infinite series In mathematics, a series is, roughly speaking, an addition of infinitely many terms, one after the other. The study of series is a major part of calculus and its generalization, mathematical analysis. Series are used in most areas of mathemati ...
. Another way of generalization is making coefficients depend on point : , thus considering weighted finite difference. Also one may make the step depend on point : . Such generalizations are useful for constructing different
modulus of continuity In mathematical analysis, a modulus of continuity is a function ω : , ∞→ , ∞used to measure quantitatively the uniform continuity of functions. So, a function ''f'' : ''I'' → R admits ω as a modulus of continuity if :, f(x)-f(y), \leq\ ...
. *The generalized difference can be seen as the polynomial rings . It leads to difference algebras. *Difference operator generalizes to Möbius inversion over a
partially ordered set In mathematics, especially order theory, a partial order on a Set (mathematics), set is an arrangement such that, for certain pairs of elements, one precedes the other. The word ''partial'' is used to indicate that not every pair of elements need ...
. *As a convolution operator: Via the formalism of
incidence algebra In order theory, a field of mathematics, an incidence algebra is an associative algebra, defined for every locally finite partially ordered set and commutative ring with unity. Subalgebra#Subalgebras_for_algebras_over_a_ring_or_field, Subalgebras c ...
s, difference operators and other Möbius inversion can be represented by
convolution In mathematics (in particular, functional analysis), convolution is a operation (mathematics), mathematical operation on two function (mathematics), functions f and g that produces a third function f*g, as the integral of the product of the two ...
with a function on the poset, called the
Möbius function The Möbius function \mu(n) is a multiplicative function in number theory introduced by the German mathematician August Ferdinand Möbius (also transliterated ''Moebius'') in 1832. It is ubiquitous in elementary and analytic number theory and m ...
; for the difference operator, is the sequence .


Multivariate finite differences

Finite differences can be considered in more than one variable. They are analogous to
partial derivative In mathematics, a partial derivative of a function of several variables is its derivative with respect to one of those variables, with the others held constant (as opposed to the total derivative, in which all variables are allowed to vary). P ...
s in several variables. Some partial derivative approximations are: \begin f_(x,y) &\approx \frac \\ f_(x,y) &\approx \frac \\ f_(x,y) &\approx \frac \\ f_(x,y) &\approx \frac \\ f_(x,y) &\approx \frac . \end Alternatively, for applications in which the computation of is the most costly step, and both first and second derivatives must be computed, a more efficient formula for the last case is f_(x,y) \approx \frac, since the only values to compute that are not already needed for the previous four equations are and .


See also


References

* Richardson, C. H. (1954): ''An Introduction to the Calculus of Finite Differences'' (Van Nostrand (1954
online copy
* Mickens, R. E. (1991): ''Difference Equations: Theory and Applications'' (Chapman and Hall/CRC)


External links

*

* D. Gleich (2005),
''Finite Calculus: A Tutorial for Solving Nasty Sums''

Discrete Second Derivative from Unevenly Spaced Points
{{Calculus topics Numerical differential equations Mathematical analysis Factorial and binomial topics Linear operators in calculus Numerical analysis Non-Newtonian calculus