Information about Finite Difference

A finite difference is a mathematical expression of the form f(x + b) − f(x + a). If a finite difference is divided by ba, one gets a difference quotient. The approximation of derivatives by finite differences plays a central role in finite difference methods for the numerical solution of differential equations, especially boundary value problems.

In mathematical analysis, operators involving finite differences are studied. A difference operator is an operator which maps a function f to a function whose values are the corresponding finite differences.

Forward, backward and central differences

Only three forms are commonly considered: forward, backward and central differences.

A forward difference is an expression of the form



Depending on the application, the spacing h is may be variable or held constant.

A backward difference uses the function values at x and xh, instead of the values at x + h and x:



Finally, the central difference is given by

Relation with derivatives

The derivative of a function f at a point x is defined by the limit



If h has a fixed (non-zero) value, instead of approaching zero, then the right-hand side is



Hence, the forward difference divided by h approximates the derivative when h is small. The error in this approximation can be derived from Taylor's theorem. Assuming that f is continuously differentiable, the error is



The same formula holds for the backward difference:



However, the central difference yields a more accurate approximation. Its error is proportional to square of the spacing (if f is twice continuously differentiable):



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 x, we obtain the central difference approximation of the second derivative of f:



More generally, the nth-order forward, backward, and central differences are respectively given by:







Note that the central difference will, for odd , have multiplied by non-integers. If this is a problem (usually it is), it may be remedied taking the average of and .

The relationship of these higher-order differences with the respective derivatives is very straightforward:



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 h. However, the combination
approximates f'(x) up to a term of order h2. This can be proven by expanding the above expression in Taylor series, 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.

Properties

  • For all positive k and n

Finite difference methods



An important application of finite differences is in numerical analysis, especially in numerical ordinary differential equations and numerical partial differential equations, which aim at the numerical solution of ordinary and partial differential equations respectively. 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 methods.

Common applications of the finite difference method are in computational science and engineering disciplines, such as thermal engineering, fluid mechanics, etc.

Calculus of finite differences

Main article: difference operator


The forward difference can be considered as a difference operator, which maps the function f to Δh[f]. This operator satisfies
where is the shift operator with step , defined by , and is an identity operator.

Finite difference of higher orders can be defined in recursive manner as or, in operators notation, Another possible (and equivalent) defintion is

The difference operator Δh is linear and satisfies Leibniz rule. Similar statements hold for the backward and central difference.

Taylor's theorem can now be expressed by the formula



where D denotes the derivative operator, mapping f to its derivative f'. Formally inverting the exponential suggests that



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. 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 Higher-order differences.

The analogous formulas for the backward and central difference operators are

Generalizations

A generalized finite difference is usually defined as
where is its coefficients vector. An infinite difference is a further generalization, where the finite sum above is replaced by an infinite series. Another way of generalization is making coefficients depend on point : , thus considering weighted finite difference. Also one may make step depend on point : . Such generalizations are useful for constructing different modulus of continuity.

See also

References

  • William F. Ames, Numerical Method for Partial Differential Equations, Section 1.6. Academic Press, New York, 1977. ISBN 0-12-056760-1.
  • Francis B. Hildebrand, Finite-Difference Equations and Simulations, Section 2.2. Prentice-Hall, Englewood Cliffs, New Jersey, 1968.
  • Boole, George, A Treatise On The Calculus of Finite Differences, 2nd Ed., Macmillan and Company, 1872. [See also: Dover edition 1960].
  • Freeman, Harry, Finite Differences for Actuarial Students. 1967.

External links

finite difference, with specific denotations of DP and DF(P);
  • If |ΔP| is infinitesimal (an infinitely small amount—iota—usually expressed in standard analysis as a limit: ), then ΔF(P) is known as an infinitesimal difference
    ..... Click the link for more information.
  • finite-difference equation. Solving this equation gives an approximate solution to the differential equation.

    The error between the approximate solution and the true solution is determined by the error that is made by going from a differential operator to a difference
    ..... Click the link for more information.
    Numerical analysis is the study of algorithms for the problems of continuous mathematics (as distinguished from discrete mathematics).

    One of the earliest mathematical writing is the Babylonian tablet YBC 7289, which gives a sexagesimal numerical approximation of ,
    ..... Click the link for more information.
    differential equation is a mathematical equation for an unknown function of one or several variables that relates the values of the function itself and of its derivatives of various orders.
    ..... Click the link for more information.
    boundary value problem is a differential equation together with a set of additional restraints, called the boundary conditions. A solution to a boundary value problem is a solution to the differential equations which also satisfies the boundary conditions.
    ..... Click the link for more information.
    Analysis has its beginnings in the rigorous formulation of calculus. It is the branch of mathematics most explicitly concerned with the notion of a limit, whether the limit of a sequence or the limit of a function.
    ..... Click the link for more information.
    operator is a function, that operates on (or modifies) another function. Often, an "operator" is a function that acts on functions to produce other functions (the sense in which Oliver Heaviside used the term); or it may be a generalization of such a function, as in linear algebra,
    ..... Click the link for more information.
    In mathematics, a difference operator maps a function, f(x), to another function, f(x + a) − f(x + b).

    The forward difference operator

    ..... Click the link for more information.
    derivative is a measurement of how a function changes when the values of its inputs change. Loosely speaking, a derivative can be thought of as how much a quantity is changing at some given point.
    ..... Click the link for more information.
    In mathematics, the concept of a "limit" is used to describe the behavior of a function as its argument either "gets close" to some point, or as it becomes arbitrarily large; or the behavior of a sequence's elements as their index increases indefinitely.
    ..... Click the link for more information.
    Taylor's theorem, named after the mathematician Brook Taylor, who stated it in 1712, gives the approximation of a differentiable function near a point by a polynomial whose coefficients depend only on the derivatives of the function at that point.
    ..... Click the link for more information.
    prevew not available
    ..... Click the link for more information.
    Leibniz rule, named after Gottfried Leibniz, generalizes the product rule. It states that if f and g are n-times differentiable functions, then the nth derivative of the product fg is given by


    ..... Click the link for more information.
    finite-difference equation. Solving this equation gives an approximate solution to the differential equation.

    The error between the approximate solution and the true solution is determined by the error that is made by going from a differential operator to a difference
    ..... Click the link for more information.
    Numerical analysis is the study of algorithms for the problems of continuous mathematics (as distinguished from discrete mathematics).

    One of the earliest mathematical writing is the Babylonian tablet YBC 7289, which gives a sexagesimal numerical approximation of ,
    ..... Click the link for more information.
    Numerical ordinary differential equations is the part of numerical analysis which studies the numerical solution of ordinary differential equations (ODEs). This field is also known under the name numerical integration,
    ..... Click the link for more information.
    Numerical partial differential equations is the branch of numerical analysis that studies the numerical solution of partial differential equations (PDEs).

    Numerical techniques for solving PDEs include the following:

    ..... Click the link for more information.
    In mathematics, an ordinary differential equation (or ODE) is a relation that contains functions of only one independent variable, and one or more of its derivatives with respect to that variable.
    ..... Click the link for more information.
    In mathematics, a partial differential equation (PDE) is a type of differential equation, i. e. a relation involving an unknown function of several independent variables and its partial derivatives with respect to those variables.
    ..... Click the link for more information.
    Fluid mechanics is the study of how fluids move and the forces on them. (Fluids include liquids and gases.) Fluid mechanics can be divided into fluid statics, the study of fluids at rest, and fluid dynamics, the study of fluids in motion.
    ..... Click the link for more information.
    In mathematics, a difference operator maps a function, f(x), to another function, f(x + a) − f(x + b).

    The forward difference operator

    ..... Click the link for more information.
    In mathematics, and in particular functional analysis, the shift operators are examples of linear operators, important for their simplicity and natural occurrence. They are used in diverse areas, such as Hardy spaces, the theory of abelian varieties, and the theory of symbolic
    ..... Click the link for more information.
    In mathematics, an identity function, also called identity map or identity transformation, is a function that always returns the same value that was used as its argument.
    ..... Click the link for more information.
    In mathematics, a linear map (also called a linear transformation or linear operator) is a function between two vector spaces that preserves the operations of vector addition and scalar multiplication.
    ..... Click the link for more information.
    Gottfried Leibniz (1646 – 1716) was a German philosopher and mathematician.

    In mathematics, several results and concepts are attributed to Leibniz:
    • Leibniz algebra, an algebraic structure
    • Leibniz formula for pi, a method for calculating π

    ..... Click the link for more information.
    Taylor's theorem, named after the mathematician Brook Taylor, who stated it in 1712, gives the approximation of a differentiable function near a point by a polynomial whose coefficients depend only on the derivatives of the function at that point.
    ..... Click the link for more information.
    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 to a given function as the
    ..... Click the link for more information.
    In mathematics, a series is often represented as the sum of a sequence of terms. That is, a series is represented as a list of numbers with addition operations between them, for example this arithmetic sequence:

    1 + 2 + 3 + 4 + 5 + ... + 99 + 100.

    ..... Click the link for more information.
    In mathematics, the modulus of continuity is a precise way to measure the smoothness of a function. It is used as a delicate tool in mathematical analysis, to discuss highly non-smooth functions, which nonetheless enjoy some (very generalized) kind of smoothness.
    ..... Click the link for more information.
    Numerical differentiation is a technique of numerical analysis to produce an estimate of the derivative of a mathematical function or function subroutine using values from the function and perhaps other knowledge about the function.
    ..... Click the link for more information.


    This article is copied from an article on Wikipedia.org - the free encyclopedia created and edited by online user community. The text was not checked or edited by anyone on our staff. Although the vast majority of the wikipedia encyclopedia articles provide accurate and timely information please do not assume the accuracy of any particular article. This article is distributed under the terms of GNU Free Documentation License.
    Herod_Archelaus


    page counter