Төгсгөлөг ялгавар: Засвар хоорондын ялгаа

Content deleted Content added
No edit summary
Мөр 336: Мөр 336:
* [http://mathformeremortals.wordpress.com/2013/01/12/a-numerical-second-derivative-from-three-points/ Discrete Second Derivative from Unevenly Spaced Points]
* [http://mathformeremortals.wordpress.com/2013/01/12/a-numerical-second-derivative-from-three-points/ Discrete Second Derivative from Unevenly Spaced Points]


{{DEFAULTSORT:Finite Difference}}
{{DEFAULTSORT:Төгсгөлөг ялгавар}}
[[Category:Finite differences| ]]
[[Category:Дифференциал тэгшитгэл]]
[[Category:Numerical differential equations]]
[[Category:Математик анализ]]
[[Category:Mathematical analysis]]
[[Category:Тооцон бодох шинжлэх ухаан]]
[[Category:Factorial and binomial topics]]
[[Category:Тооцон бодох шингэний динамик]]
[[Category:Linear operators in calculus]]

[[de:Finite-Differenzen-Methode]]
[[fr:Différences finies]]
[[ja:差分]]

00:41, 8 Дөрөвдүгээр сар 2015-ий байдлаарх засвар

Төгсгөлөг ялгавар нь f(x + b) − f(x + a) хэлбэрийн математик илэрхийлэл юм. Хэрэв төгсгөлөг ялгавар нь b − a гэснээр хуваагдвал, ялгаварын ноогдвор гарч ирнэ. Төгсгөлөг ялгавараар уламжлалыг ойролцоолох нь ялангуяа хязгаарын нөхцөлт бодлого, тэр дундаа дифференциал тэгшитгэлийн шийдийг инженер, шинжлэх ухааны хүрээнд тоон аргаар бодоход төгсгөлөг ялгаварын арга-ын гол үүргийг гүйцэтгэдэг.

Давталтын хамаарал нь ялгаварын тэгшитгэлд төгсгөлөг ялгаварын итерацийн тэмдэглэгээг оруулж өгсөнөөр төгс илэрхийлэгддэг.

Давших, Ухрах, болон Төвийн ялгаварууд

Дараах гурван төрлийн ялгаварууд ихэвчлэн хэрэглэгдэнэ. Үүнд: урагшлах, ухрах, болон төвийн ялгавар байна.

Давших ялгаварар нь дараах илэрхийллээр илэрхийлэгдэнэ.

Энэ ялгаварыг хэрэглэх хэрэглээнээс хамаарч, h зай нь тогтмол эсвэл өөрчлөгдөж болно. Хэрэв h нь 1 тэй тэнцэх тохиолдолд: .

Ухрах ялгавар нь x + h болон x утгын оронд x ба x − h гэсэн утгуудыг хэрэглэж дараах байдлаар илэрхийлэгдэнэ:

Эцэст нь, Төвийн ялгавар нь дараах байдлаар хэрэглэгдэнэ.

Уламжлалтай холбогдох нь

Тэгэхээр x цэг дээрх функцын уламжлал нь хязгаараар тодорхойлогдоно.

Хэрэв h нь тэгрүү тэмүүлэхийн оронд ямар нэгэн утга (тэгээс ялгаатай) оногдож байвал дээрхи тэгшитгэлийн баруун гар тал нь дараах байдлаар бичигдэнэ.

Эндээс, h хүрэлцээтэй бага байхад h - аар хуваагдсан давших ялгавараар функцын уламжлалыг ойролцоолж болохоор харагдаж байна. Энэ ойролцооллын алдаа нь Тейлорын теоромоос тодорхойлогдох боломжтой. f нь ялгаварлагдах боломжтой гэж үзвэл, бид

гэж бичиж болно. Ижил томъёо ухрах ялгавараар бодогдож болно:

Харин, төвийн ялгавар нь илүү нарийвчлал бүхий ойролцооллийг үзүүлнэ. Хэрэв f нь хоёр удаа ялгаварлагдах бол,

Гэхдээ, төвийн ялгаварын хамгийн гол асуудал нь хэлбэлзэл бүхий функцын уламжлал тэг байх магадлалтайд оршино. Хэрэв f(nh)=1 сондгой n үед, мөн f(nh)=2 тэгш n үед гэвэл f ' (nh)=0 болно. Иймэрхүү тохиолдлын функцад төвийн ялгаварыг хэрэглэх үед уламжлал тэг байх болно. Ялангуяа f нь дискрет хэлбэртэй бол иймэрхүү асуудал үүснэ.

Өндөр эрэмбийн ялгаварууд

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 f ' (x+h/2) and f ' (xh/2) and applying a central difference formula for the derivative of Загвар:Mvar at Загвар:Mvar, we obtain the central difference approximation of the second derivative of Загвар:Mvar:

2-р эрэмбийн төвийн ялгавар

Similarly we can apply other differencing formulas in a recursive manner.

2-р эрэмбийн давших ялгавар

More generally, the Загвар:Mvar-th order forward, backward, and central differences are given by, respectively,

Давших ялгавар

or for h=1,

Ухрах

Төвийн

These equations are using binomial coefficients after the summation sign shown as . Each row of Pascal's triangle provides the coefficient for each value of i.

Note that the central difference will, for odd Загвар:Mvar, have Загвар:Mvar multiplied by non-integers. This is often a problem because it amounts to changing the interval of discretization. The problem may be remedied taking the average of and .

Forward differences applied to a sequence 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 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 Загвар:Mvar.

The relationship of these higher-order differences with the respective derivatives is 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 Загвар:Mvar. 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.

Дурын хэмжээтэй цөмүүд

Using a little linear algebra, one can fairly easily construct approximations, which sample an arbitrary number of points to the left and a (possibly different) number of points to the right of the center point, for any order of derivative. This involves solving a linear system such that the Taylor expansion of the sum of those points, around the center point, well approximates the Taylor expansion of the desired derivative.

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.

The details are outlined in these notes.

Шинж чанар

  • For all positive k and n

Төгсгөлөг ялгаварын аргууд

An important application of finite differences is in numerical analysis, especially in numerical 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.

Ньютоны цуваа

The Newton series consists of the terms of the Newton forward difference equation, named after Isaac Newton; in essence, it is the Newton interpolation formula, first published in his Principia Mathematica in 1687,[1] namely the discrete analog of the continuum Taylor expansion,

Загвар:Equation box 1 which holds for any polynomial function f and for most (but not all) analytic functions. Here, the expression

is the binomial coefficient, and

is the "falling factorial" or "lower factorial", while the empty product (x)0 is defined to be 1. In this particular case, there is an assumption of unit steps for the changes in the values of x, h = 1 of the generalization below.

Note also the formal correspondence of this result to Taylor's theorem. Historically, this, as well as the Chu–Vandermonde identity,

(following from it, and corresponding to the binomial theorem), are included in the observations which matured to the system of the umbral calculus.

To illustrate how one may use Newton's formula in actual practice, consider the first few terms of doubling the Fibonacci sequence Загвар:Mvar = 2, 2, 4, ... One can find a polynomial that reproduces these values, by first computing a difference table, and then substituting the differences which correspond to x0 (underlined) into the formula as follows,

For the case of nonuniform steps in the values of x, Newton computes the divided differences,

the series of products,

and the resulting polynomial is the scalar product, .[2]

In analysis with p-adic numbers, Mahler's theorem states that the assumption that f is a polynomial function can be weakened all the way to the assumption that f 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 will 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

Төгсгөлөг ялгаварын тооцоолол

The forward difference can be considered as a difference operator,[3][4] which maps the function Загвар:Mvar to Δh[f ]. This operator amounts to

where Th is the shift operator with step h, defined by Th[f ](x) = f(x+h), and Загвар:Mvar is the identity operator.

The finite difference of higher orders can be defined in recursive manner as Δhn ≡ Δhhn−1). Another equivalent definition is Δhn = [ThI]n.

The difference operator Δh is a linear operator and it satisfies a special Leibniz rule indicated above, Δh(f(x)g(x)) = (Δhf(x)) g(x+h) + f(x) (Δhg(x)). Similar statements hold for the backward and central differences.

Formally applying the Taylor series with respect to h, yields the formula

where D denotes the continuum derivative operator, mapping f to its derivative f'. The expansion is valid when both sides act on analytic functions, for sufficiently small h. Thus, Th=ehD, and formally inverting the exponential yields

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 f’(x) mentioned at the end of the section Higher-order differences.

The analogous formulas for the backward and central difference operators are

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 (h→0 limits),

Загвар:Equation box 1

A large number of formal differential relations of standard calculus involving functions f(x) thus map systematically to umbral finite-difference analogs involving f(xTh−1).

For instance, the umbral analog of a monomial xn is a generalization of the above falling factorial (Pochhammer k-symbol),

,

so that

hence the above Newton interpolation formula (by matching coefficients in the expansion of an arbitrary function f(x) in such symbols), and so on.

For example, the umbral sine is

As in the continuum limit, the eigenfunction of Δh /h also happens to be an exponential,

and hence Fourier sums of continuum functions are readily mapped to umbral Fourier sums faithfully, i.e., involving the same Fourier coefficients multiplying these umbral basis exponentials.[5] This umbral exponential thus amounts to the exponential generating function of the Pochhammer symbols.

Thus, for instance, the Dirac delta function maps to its umbral correspondent, the cardinal sine function,

and so forth.[6] Difference equations 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 or antidifference operator.

Төгсгөлөг ялгаварын операторын тооцоолох дүрмүүд

Analogous to rules for finding the derivative, we have:

All of the above rules apply equally well to any difference operator, including as to .

or
  • Summation rules:


[7][8][9][10]

Ерөнхийлөл буюу нэгтгэл

  • 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.

  • The generalized difference can be seen as the polynomial rings . It leads to difference algebras.
  • As a convolution operator: Via the formalism of incidence algebras, difference operators and other Möbius inversion can be represented by convolution with a function on the poset, called the Möbius function μ; for the difference operator, μ is the sequence (1, −1, 0, 0, 0, ...).

Зарим өөрчлөлтүүд дахь төгсгөлөг ялгавар

Finite differences can be considered in more than one variable. They are analogous to partial derivatives in several variables.

Some partial derivative approximations are (using central step method):

Alternatively, for applications in which the computation of Загвар:Mvar is the most costly step, and both first and second derivatives must be computed, a more efficient formula for the last case is

since the only values to be computed which are not already needed for the previous four equations are f(x+h, y+k) and f(xh, yk).

Мөн үзэх

Лавлахууд

  1. Newton, Isaac, (1687). Principia, Book III, Lemma V, Case 1
  2. Richtmeyer, D. and Morton, K.W., (1967). Difference Methods for Initial Value Problems, 2nd ed., Wiley, New York.
  3. Boole, George, (1872). A Treatise On The Calculus of Finite Differences, 2nd ed., Macmillan and Company. On line. Also, [Dover edition 1960]
  4. Jordan, Charles, (1939/1965). "Calculus of Finite Differences", Chelsea Publishing. On-line: [1]
  5. Zachos, C. (2008). "Umbral Deformations on Discrete Space-Time". International Journal of Modern Physics A. 23 (13): 2005–2014. doi:10.1142/S0217751X08040548.
  6. doi:10.3389/fphy.2013.00015
    This citation will be automatically completed in the next few minutes. You can jump the queue or expand by hand
  7. Levy, H.; Lessman, F. (1992). Finite Difference Equations. Dover. ISBN 0-486-67260-3.
  8. Ames, W. F., (1977). Numerical Methods for Partial Differential Equations, Section 1.6. Academic Press, New York. ISBN 0-12-056760-1.
  9. Hildebrand, F. B., (1968). Finite-Difference Equations and Simulations, Section 2.2, Prentice-Hall, Englewood Cliffs, New Jersey.
  10. Flajolet, Philippe; Sedgewick, Robert (1995). "Mellin transforms and asymptotics: Finite differences and Rice's integrals". Theoretical Computer Science. 144 (1–2): 101–124. doi:10.1016/0304-3975(94)00281-MЗагвар:Inconsistent citations{{cite journal}}: CS1 maint: postscript (link).

Гадаад линк