Difference quotient

from Wikipedia, the free encyclopedia

The difference quotient is a term from mathematics . It describes the ratio of the change in one size to the change in another, the first size depending on the second. In analysis , one uses difference quotients to define the derivative of a function. In numerical mathematics they are used to solve differential equations and for the approximate determination of the derivative of a function ( numerical differentiation ).

definition

The red curve represents the function f (x). The blue line connects the two function values ​​at x = x 0 and x = x 1 . The difference quotient then corresponds to the slope of the blue straight line.

If a real-valued function , which is defined in the area , is and is , then one calls the quotient

Difference quotient of in the interval .

If you write and , you get the alternative spelling

.

If you put , well , you get the notation

.

Geometrically, the difference quotient corresponds to the slope of the secant of the graph from through the points and . For or , the secant becomes a tangent at the point .

Differential calculus

Together with the concept of limit values, difference quotients form the theoretical basis of differential calculus . The limit value of the difference quotient for is called the differential quotient or derivative of the function at the point (short:) , provided that this limit value exists. The process of calculating this limit is called deriving or differentiating . The table shows the derivatives of some functions. The difference quotient is only correct for .

function Difference quotient Differential quotient
Constant function
Linear function
Square function
Cube function
General potency
Exponential function

numerical Mathematics

In the case of differentiable functions, the difference quotient can be used as an approximation for the local derivative. In the finite difference method , this property is used to solve differential equations. This is also used for the numerical differentiation of functions.

The difference quotient is not limited to the first derivative. There are difference quotients for higher and partial derivatives.

example

Be it .

The graph of is a normal parabola . If we want the derivation z. B. calculate approximately near the point , we choose for a small value, z. B. 0.001. This gives the value as the difference quotient in the interval . This is the secant gradient of the function graph in the interval and an approximation of the gradient of the tangent at the point .

Variants of the ordinary difference quotient of the first order of derivation

In practice, different variants of the difference quotient are used, which differ in the definition of , for example to improve the accuracy in determining the local growth, e.g. B. to improve the secant slope of a graph, or to determine the secant slope of a function “backwards” in the direction of the interior of its domain of definition.

Forward difference quotient

The expression defined above

is also called the forward difference quotient, because to determine the first function value, which is necessary for the formation of , one goes from out to the right, ie “forwards”.

Backward difference quotient

The expression is called analogously

as a backward difference quotient, since to form the difference from off to the left, i.e. “backwards”, in order to obtain the second function value.

Central difference quotient

The central difference quotient is also used . B. obtained by averaging the forward and backward difference quotients. He is through

given. With it, the places used to form the difference lie symmetrically around the value for which the derivative is to be approximated.

In contrast to the two previous difference quotients, whose error terms when approximating the first derivative are only of the class at that point if the function is twice differentiable, the error of the central difference quotient is in if the function is also three times differentiable in . For notation see Landau symbols .

Ordinary difference quotients of higher order of derivation and error

In addition to the approximation of the first order derivative, there are also difference quotients for the numerical calculation of higher derivatives. The basis for deriving such difference quotients is the Taylor series. Furthermore, there are also difference quotients with a higher order of error.

For the second derivation, for example, the relationship

can be used, provided that the function can be differentiated four times. The constant behind the -notation can depend on. In the following table some common higher order difference quotients are given. The fact that the function value is not available in the case of an odd order of derivation goes back to the principle of the central difference quotient, in which the order of errors is increased by averaging. The difference quotients with an even order of derivation are given here with the minimum order of error. This can be increased by adding further function values.

Ordinary central difference quotients of higher order of derivation
Derivation order Formula of the difference quotient

Recursion equation of ordinary, central difference quotients of higher order of derivation

The calculation of the higher difference quotients can be carried out with the aid of the following recursion equation. Here represents the index of spatial coordinates and the index of the current derivation order. It starts with and consequently with the recursion equation for odd .

Sum representation of common, central difference quotients of higher order of derivation

The difference quotients can still be represented with a finite sum. The structure of this formula has a direct connection to Pascal's triangle or the binomial coefficient . The sum representation can be derived from the above recursion equation. The index represents the location coordinate for which the difference quotient is evaluated. The total representation of derivatives of odd order includes the method of the central difference quotient, hence the prefactor .

with and .

Product representation of common, central difference quotients of higher order of derivation

A matrix-product representation can be derived from the above recursion equation for calculating common, central difference quotients. The first step is to determine a product equation for the even-numbered derivatives, since in this case the associated recursion equation, in contrast to the odd derivatives, forms a closed chain. The elements of the matrices are defined as follows and of the dimension . The matrices correspond exactly to the signature of the above recursion equation for even .

The following vector contains the function values .

The approximation of the -th derivative in the point can thus be represented as follows.

With the help of the matrices , with the dimension , there is also a product representation for odd orders of derivation. The matrices correspond exactly to the signature of the above recursion equation for odd .

Ordinary difference quotients of higher order of derivation and error

Central difference quotients

Skillful use of the Taylor series (or Taylor polynomials ) results in a matrix equation for calculating difference quotients. The following Taylor approximation of a -fold differentiable function serves as an approach . The use of the upper limit of the sum makes sense because of the greater symmetry.

The substitutions are to be carried out based on this approximation of . As can be seen in the following equation, this means that the desired derivatives of the function are available at the location . The index notation is also used here for the sake of brevity .

By shifting the index , the following linear system of equations can be found for calculating the difference quotients up to the order of the derivative . The close relationship between the system matrix and the Vandermonde matrix is interesting . B. is known from polynomial interpolation .

Some solutions to this system of equations are given in the following table. It should be noted that for large the matrix becomes singular and consequently the matrix inversion can no longer be carried out on the computer. In addition to the difference quotients given here, which are to be classified in the class of central DZQs, there are also other variants.

Ordinary central difference quotients of higher order of derivation and error

Difference quotients to any support points

It is also possible to calculate difference quotients with any support points. In general, a difference quotient can be represented with the following sum. The constants correspond to the support points with a shift by . The index corresponds to the order of derivatives. The lowest accuracy results from . The accuracy can be increased by adding further support points. The central difference quotients given above are a special case of the present consideration.

The coefficients are calculated by solving the following system of linear equations, represented by the Kronecker delta .

If equidistant support points are selected, the linear system of equations is represented as follows.

literature

  • Richardson, CH (1954): An Introduction to the Calculus of Finite Differences (Van Nostrand, 1954)
  • Mickens, RE (1991): Difference Equations: Theory and Applications (Chapman and Hall / CRC)
  • PLATO, Robert. Numerical mathematics compact . Vieweg + Teubner Verlag, 2000.

Web links

Individual evidence

  1. ^ Wilmott, Paul .: The mathematics of financial derivatives: a student introduction . Cambridge University Press, 1995, ISBN 0-521-49699-3 , pp. 137 .
  2. ^ Peter J. Olver: What Are Partial Differential Equations? In: Introduction to Partial Differential Equations . Springer International Publishing, Cham 2013, ISBN 978-3-319-02098-3 , pp. 182 , doi : 10.1007 / 978-3-319-02099-0_1 .
  3. M. Hanif Chaudhry: Open-Channel Flow . 2008, p. 369 , doi : 10.1007 / 978-0-387-68648-6 .
  4. HB Keller, V. Pereyra: Symbolic generation of finite difference formulas . In: Mathematics of Computation . tape 32 , no. 144 , 1978, ISSN  0025-5718 , pp. 955-955 , doi : 10.1090 / s0025-5718-1978-0494848-1 .
  5. a b Bengt Fornberg: Generation of finite difference formulas on arbitrarily spaced grids . In: Mathematics of Computation . tape 51 , no. 184 , 1988, ISSN  0025-5718 , pp. 699-699 , doi : 10.1090 / s0025-5718-1988-0935077-0 .