Sabtu, 17 Februari 2018

series mc lauren for electronics switch calculations such as IC components and microcontroler AMNIMARJESLOW GOVERNMENT 91220017 XI XA PIN PING HUNG CHOP 02096010014 LJBUSAF series as like as connection ; series not balancing $2


in the time-controlled electronics science or so-called timing process known to many electronic components that serve for timing control process such as: transistor, Integrated circuit, microprocessor and micro controller software program outside the flow chart hardware process of component components mentioned above should be reviewed system work and work quality of components of process components in integrated electronics circuits such as transistors, both silicon, germanium, optical fiber transistors (opto coupler) as well as all solid state equipment and power electronics such as thyristior all components of above electronic components need to be calculated and reviewed performance in the current technological advances especially in the flowchart process of the control system of the time and responsiveness of the component so that it can be made to search for certain materials for the above mentioned components of electronic components for the benefit of external program space and re set of earth programs. in the future we will enter nano, pico and soft processor and control .

                                     

                                                             Taylor series

 In mathematics, a Taylor series is a representation of a function as an infinite sum of terms that are calculated from the values of the function's derivatives at a single point.

The concept of a Taylor series was formulated by the Scottish mathematician James Gregory and formally introduced by the English mathematician Brook Taylor in 1715. If the Taylor series is centered at zero, then that series is also called aMaclaurin series, named after the Scottish mathematician Colin Maclaurin, who made extensive use of this special case of Taylor series in the 18th century.
A function can be approximated by using a finite number of terms of its Taylor series. Taylor's theorem gives quantitative estimates on the error introduced by the use of such an approximation. The polynomial formed by taking some initial terms of the Taylor series is called a Taylor polynomial. The Taylor series of a function is the limit of that function's Taylor polynomials as the degree increases, provided that the limit exists. A function may not be equal to its Taylor series, even if its Taylor seriesconverges at every point. A function that is equal to its Taylor series in an open interval (or a disc in the complex plane) is known as an analytic function in that interval. 
                               
 

                                
The exponential function ex (in blue), and the sum of the first n + 1terms of its Taylor series at 0 (in red).  

The Taylor series of a real or complex-valued function f (x) that is infinitely differentiable at a real or complex number a is the power series

Definition

which can be written in the more compact sigma notation as
where n! denotes the factorial of n and f(n)(a) denotes the nth derivative of f evaluated at the point a. The derivative of order zero off is defined to be f itself and (x − a)0 and 0! are both defined to be 1. When a = 0, the series is also called a Maclaurin series.
The Taylor series for any polynomial is the polynomial itself.

Examples

The Maclaurin series for 1/1 − x is the geometric series
so the Taylor series for 1/x at a = 1 is
By integrating the above Maclaurin series, we find the Maclaurin series for log(1 − x), where log denotes the natural logarithm:
and the corresponding Taylor series for log x at a = 1 is
and more generally, the corresponding Taylor series for log x at some a = x0 is:
The Taylor series for the exponential function ex at a = 0 is
The above expansion holds because the derivative of ex with respect to x is also ex and e0 equals 1. This leaves the terms (x − 0)n in the numerator and n! in the denominator for each term in the infinite 
The Greek philosopher Zeno considered the problem of summing an infinite series to achieve a finite result, but rejected it as an impossibility[citation needed]: the result was Zeno's paradox. Later, Aristotle proposed a philosophical resolution of the paradox, but the mathematical content was apparently unresolved until taken up by Archimedes, as it had been prior to Aristotle by the Presocratic Atomist Democritus. It was through Archimedes's method of exhaustion that an infinite number of progressive subdivisions could be performed to achieve a finite result.[1] Liu Hui independently employed a similar method a few centuries later.[2]
In the 14th century, the earliest examples of the use of Taylor series and closely related methods were given by Madhava of Sangamagrama.[3][4] Though no record of his work survives, writings of later Indian mathematicians suggest that he found a number of special cases of the Taylor series, including those for the trigonometric functions of sine,cosinetangent, and arctangent. The Kerala School of Astronomy and Mathematics further expanded his works with various series expansions and rational approximations until the 16th century.
In the 17th century, James Gregory also worked in this area and published several Maclaurin series. It was not until 1715 however that a general method for constructing these series for all functions for which they exist was finally provided by Brook Taylor,[5] after whom the series are now named.
The Maclaurin series was named after Colin Maclaurin, a professor in Edinburgh, who published the special case of the Taylor result in the 18th century.

Analytic functions

The function e(−1/x2) is not analytic at x = 0: the Taylor series is identically 0, although the function is not.
If f (x) is given by a convergent power series in an open disc (or interval in the real line) centered at b in the complex plane, it is said to be analytic in this disc. Thus for x in this disc, f is given by a convergent power series
Differentiating by x the above formula n times, then setting x = b gives:
and so the power series expansion agrees with the Taylor series. Thus a function is analytic in an open disc centered at b if and only if its Taylor series converges to the value of the function at each point of the disc.
If f (x) is equal to its Taylor series for all x in the complex plane, it is called entire. The polynomials, exponential function ex, and the trigonometric functions sine and cosine, are examples of entire functions. Examples of functions that are not entire include the square root, the logarithm, the trigonometric function tangent, and its inverse, arctan. For these functions the Taylor series do not converge if x is far from b. That is, the Taylor series diverges at x if the distance between x and b is larger than the radius of convergence. The Taylor series can be used to calculate the value of an entire function at every point, if the value of the function, and of all of its derivatives, are known at a single point.
Uses of the Taylor series for analytic functions include:
  1. The partial sums (the Taylor polynomials) of the series can be used as approximations of the function. These approximations are good if sufficiently many terms are included.
  2. Differentiation and integration of power series can be performed term by term and is hence particularly easy.
  3. An analytic function is uniquely extended to a holomorphic function on an open disk in the complex plane. This makes the machinery of complex analysis available.
  4. The (truncated) series can be used to compute function values numerically, (often by recasting the polynomial into the Chebyshev form and evaluating it with the Clenshaw algorithm).
  5. Algebraic operations can be done readily on the power series representation; for instance, Euler's formula follows from Taylor series expansions for trigonometric and exponential functions. This result is of fundamental importance in such fields as harmonic analysis.
  6. Approximations using the first few terms of a Taylor series can make otherwise unsolvable problems possible for a restricted domain; this approach is often used in physics.

Approximation error and convergence


The sine function (blue) is closely approximated by its Taylor polynomial of degree 7 (pink) for a full period centered at the origin.

The Taylor polynomials for log(1 + x) only provide accurate approximations in the range −1 < x ≤ 1. Note that, for x > 1, the Taylor polynomials of higher degree are worse approximations.

The Taylor approximations for log(1 + x) (black). For x > 1, the approximations diverge.
Pictured on the right is an accurate approximation of sin x around the point x = 0. The pink curve is a polynomial of degree seven:
The error in this approximation is no more than |x|9/9!. In particular, for −1 < x < 1, the error is less than 0.000003.
In contrast, also shown is a picture of the natural logarithm function log(1 + x) and some of its Taylor polynomials arounda = 0. These approximations converge to the function only in the region −1 < x ≤ 1; outside of this region the higher-degree Taylor polynomials are worse approximations for the function. This is similar to Runge's phenomenon.
The error incurred in approximating a function by its nth-degree Taylor polynomial is called the remainder or residual and is denoted by the function Rn(x)Taylor's theorem can be used to obtain a bound on the size of the remainder.
In general, Taylor series need not be convergent at all. And in fact the set of functions with a convergent Taylor series is ameager set in the Fréchet space of smooth functions. And even if the Taylor series of a function f does converge, its limit need not in general be equal to the value of the function f (x). For example, the function
is infinitely differentiable at x = 0, and has all derivatives zero there. Consequently, the Taylor series of f (x) about x = 0 is identically zero. However, f (x) is not the zero function, so does not equal its Taylor series around the origin. Thus, f (x) is an example of a non-analytic smooth function.
In real analysis, this example shows that there are infinitely differentiable functions f (x) whose Taylor series are not equal tof (x) even if they converge. By contrast, the holomorphic functions studied in complex analysis always possess a convergent Taylor series, and even the Taylor series of meromorphic functions, which might have singularities, never converge to a value different from the function itself. The complex function e−1/z2, however, does not approach 0 when z approaches 0 along the imaginary axis, so it is not continuous in the complex plane and its Taylor series is undefined at 0.
More generally, every sequence of real or complex numbers can appear as coefficients in the Taylor series of an infinitely differentiable function defined on the real line, a consequence of Borel's lemma. As a result, the radius of convergence of a Taylor series can be zero. There are even infinitely differentiable functions defined on the real line whose Taylor series have a radius of convergence 0 everywhere.
Some functions cannot be written as Taylor series because they have a singularity; in these cases, one can often still achieve a series expansion if one allows also negative powers of the variable x; see Laurent series. For example, f (x) = e−1/x2 can be written as a Laurent series.
There is, however, a generalization[7][8] of the Taylor series that does converge to the value of the function itself for anybounded continuous function on (0,∞), using the calculus of finite differences. Specifically, one has the following theorem, due to Einar Hille, that for any t > 0,

Generalization

Here Î”n
h
 is the nth finite difference operator with step size h. The series is precisely the Taylor series, except that divided differences appear in place of differentiation: the series is formally similar to the Newton series. When the function f is analytic at a, the terms in the series converge to the terms of the Taylor series, and in this sense generalizes the usual Taylor series.
In general, for any infinite sequence ai, the following power series identity holds:
So in particular,
The series on the right is the expectation value of f (a + X), where X is a Poisson-distributed random variable that takes the value jh with probability et/h·(t/h)j/j!. Hence,
The law of large numbers implies that the identity holds.

List of Maclaurin series of some common functions


The real part of the cosine function in thecomplex plane

An 8th-degree approximation of the cosine function in thecomplex plane

The two above curves put together
Several important Maclaurin series expansions follow.[10] All these expansions are valid for complex arguments x.
The exponential function  (with base e) has Maclaurin series

Exponential function

.
It converges for all x.
The natural logarithm (with base e) has Maclaurin series

Natural logarithm

They converge for .
The geometric series and its derivatives have Maclaurin series

Geometric series

All are convergent for . These are special cases of the binomial series given in the next section.
The binomial series is the power series

Binomial series

whose coefficients are the generalized binomial coefficients
(If n = 0, this product is an empty product and has value 1.) It converges for  for any real or complex number Î±.
When Î± = −1, this is essentially the infinite geometric series mentioned in the previous section. The special cases Î± = 1/2 and Î± = −1/2 give the square root function and its inverse:
The usual trigonometric functions and their inverses have the following Maclaurin series:

Trigonometric functions

All angles are expressed in radians. The numbers Bk appearing in the expansions of tan x are the Bernoulli numbers. The Ek in the expansion of sec x are Euler numbers.
The hyperbolic functions have Maclaurin series closely related to the series for the corresponding trigonometric functions:

Hyperbolic functions

The numbers Bk appearing in the series for tanh x are the Bernoulli numbers.
Several methods exist for the calculation of Taylor series of a large number of functions. One can attempt to use the definition of the Taylor series, though this often requires generalizing the form of the coefficients according to a readily apparent pattern. Alternatively, one can use manipulations such as substitution, multiplication or division, addition or subtraction of standard Taylor series to construct the Taylor series of a function, by virtue of Taylor series being power series. In some cases, one can also derive the Taylor series by repeatedly applying integration by parts. Particularly convenient is the use of computer algebra systems to calculate Taylor series.

Calculation of Taylor series

In order to compute the 7th degree Maclaurin polynomial for the function

First example

 ,
one may first rewrite the function as
.
The Taylor series for the natural logarithm is (using the big O notation)
and for the cosine function
.
The latter series expansion has a zero constant term, which enables us to substitute the second series into the first one and to easily omit terms of higher order than the 7th degree by using the big O notation:
Since the cosine is an even function, the coefficients for all the odd powers xx3x5x7, ... have to be zero.
Suppose we want the Taylor series at 0 of the function

Second example

We have for the exponential function
and, as in the first example,
Assume the power series is
Then multiplication with the denominator and substitution of the series of the cosine yields
Collecting the terms up to fourth order yields
The values of  can be found by comparison of coefficients with the top expression for , yielding:
Here we employ a method called "indirect expansion" to expand the given function. This method uses the known Taylor expansion of the exponential function. In order to expand(1 + x)ex as a Taylor series in x, we use the known Taylor series of function ex:

Third example

Thus,
Classically, algebraic functions are defined by an algebraic equation, and transcendental functions (including those discussed above) are defined by some property that holds for them, such as a differential equation. For example, the exponential function is the function which is equal to its own derivative everywhere, and assumes the value 1 at the origin. However, one may equally well define an analytic function by its Taylor series.

Taylor series as definitions

Taylor series are used to define functions and "operators" in diverse areas of mathematics. In particular, this is true in areas where the classical definitions of functions break down. For example, using Taylor series, one may define analytical functions of matrices and operators, such as the matrix exponential or matrix logarithm.
In other areas, such as formal analysis, it is more convenient to work directly with the power series themselves. Thus one may define a solution of a differential equation as a power series which, one hopes to prove, is the Taylor series of the desired solution.
The Taylor series may also be generalized to functions of more than one variable with

Taylor series in several variables

For example, for a function that depends on two variables, x and y, the Taylor series to second order about the point (ab) is
where the subscripts denote the respective partial derivatives.
A second-order Taylor series expansion of a scalar-valued function of more than one variable can be written compactly as
where D f (a) is the gradient of f evaluated at x = a and D2 f (a) is the Hessian matrix. Applying the multi-index notation the Taylor series for several variables becomes
which is to be understood as a still more abbreviated multi-index version of the first equation of this paragraph, again in full analogy to the single variable case.

Example

Second-order Taylor series approximation (in orange) of a function f (x,y) = ex log(1 + y)around the origin.
In order to compute a second-order Taylor series expansion around point (ab) = (0, 0) of the function
one first computes all the necessary partial derivatives:
Evaluating these derivatives at the origin gives the Taylor coefficients
Substituting these values in to the general formula
produces
Since log(1 + y) is analytic in |y| < 1, we have

Comparison with Fourier series

The trigonometric Fourier series enables one to express a periodic function (or a function defined on a closed interval [a,b]) as an infinite sum of trigonometric functions (sinesand cosines). In this sense, the Fourier series is analogous to Taylor series, since the latter allows one to express a function as an infinite sum of powers. Nevertheless, the two series differ from each other in several relevant issues:
  • Obviously the finite truncations of the Taylor series of f (x) about the point x = a are all exactly equal to f at a. In contrast, the Fourier series is computed by integrating over an entire interval, so there is generally no such point where all the finite truncations of the series are exact.
  • Indeed, the computation of Taylor series requires the knowledge of the function on an arbitrary small neighbourhood of a point, whereas the computation of the Fourier series requires knowing the function on its whole domain interval. In a certain sense one could say that the Taylor series is "local" and the Fourier series is "global".
  • The Taylor series is defined for a function which has infinitely many derivatives at a single point, whereas the Fourier series is defined for any integrable function. In particular, the function could be nowhere differentiable. (For example, f (x) could be a Weierstrass function.)
  • The convergence of both series has very different properties. Even if the Taylor series has positive convergence radius, the resulting series may not coincide with the function; but if the function is analytic then the series converges pointwise to the function, and uniformly on every compact subset of the convergence interval. Concerning the Fourier series, if the function is square-integrable then the series converges in quadratic mean, but additional requirements are needed to ensure the pointwise or uniform convergence (for instance, if the function is periodic and of class C1 then the convergence is uniform).
  • Finally, in practice one wants to approximate the function with a finite number of terms, say with a Taylor polynomial or a partial sum of the trigonometric series, respectively. In the case of the Taylor series the error is very small in a neighbourhood of the point where it is computed, while it may be very large at a distant point. In the case of the Fourier series the error is distributed along the domain of the function.

       

                        Newton polynomial 

In the mathematical field of numerical analysis, a Newton polynomial, named after its inventor Isaac Newton[citation needed], is an interpolation polynomial for a given set of data points. The Newton polynomial is sometimes called Newton's divided differences interpolation polynomial because the coefficients of the polynomial are calculated usingdivided differences

Given a set of k + 1 data points

Definition

where no two xj are the same, the Newton interpolation polynomial is a linear combination of Newton basis polynomials
with the Newton basis polynomials defined as
for j > 0 and .
The coefficients are defined as
where
is the notation for divided differences.
Thus the Newton polynomial can be written as
The Newton polynomial can be expressed in a simplified form when  are arranged consecutively with equal spacing. Introducing the notation  for each  and , the difference  can be written as . So the Newton polynomial becomes

Newton forward divided difference formula

This is called the Newton forward divided difference formula[
If the nodes are reordered as , the Newton polynomial becomes

Newton backward divided difference formula

If  are equally spaced with  and  for i = 0, 1, ..., k, then,
is called the Newton backward divided difference formula
Newton's formula is of interest because it is the straightforward and natural differences-version of Taylor's polynomial. Taylor's polynomial tells where a function will go, based on its y value, and its derivatives (its rate of change, and the rate of change of its rate of change, etc.) at one particular x value. Newton's formula is Taylor's polynomial based on finite differences instead of instantaneous rates of change.

Significance

As with other difference formulas, the degree of a Newton interpolating polynomial can be increased by adding more terms and points without discarding existing ones. Newton's form has the simplicity that the new points are always added at one end: Newton's forward formula can add new points to the right, and Newton's backward formula can add new points to the left.

Addition of new points

The accuracy of polynomial interpolation depends on how close the interpolated point is to the middle of the x values of the set of points used. Obviously, as new points are added at one end, that middle becomes farther and farther from the first data point. Therefore, if it isn't known how many points will be needed for the desired accuracy, the middle of the x-values might be far from where the interpolation is done.
Gauss, Stirling, and Bessel all developed formulae to remedy that problem.
Gauss's formula alternately adds new points at the left and right ends, thereby keeping the set of points centered near the same place (near the evaluated point). When so doing, it uses terms from Newton's formula, with data points and x values renamed in keeping with one's choice of what data point is designated as the x0 data point.
Stirling's formula remains centered about a particular data point, for use when the evaluated point is nearer to a data point than to a middle of two data points.
Bessel's formula remains centered about a particular middle between two data points, for use when the evaluated point is nearer to a middle than to a data point.
Bessel and Stirling achieve that by sometimes using the average of two differences, and sometimes using the average of two products of binomials in x, where Newton's or Gauss's would use just one difference or product. Stirling's uses an average difference in odd-degree terms (whose difference uses an even number of data points); Bessel's uses an average difference in even-degree terms (whose difference uses an odd number of data points).
For any given finite set of data points, there is only one polynomial of least possible degree that passes through all of them. Thus, it is appropriate to speak of the "Newton form", or Lagrange form, etc., of the interpolation polynomial. However, the way the polynomial is obtained matters. There are several similar methods, such as those of Gauss, Bessel and Stirling. (They can be derived from Newton's by renaming the x-values of the data points, but in practice they are important in their own right.)

Strengths and weaknesses of various formulae

Bessel and Stirling require a bit more work than Gauss does. The desirability of using Bessel or Stirling depends on whether or not their small improvement in accuracy is needed.

Gauss vs. Bessel & Stirling

The choice between Bessel and Stirling depends on whether the interpolated point is closer to a data point, or closer to a middle between two data points.

Bessel vs. Stirling

But it should be pointed out that a polynomial interpolation's error approaches zero, as the interpolation point approaches a data-point. Therefore, Stirling's formula brings its accuracy improvement where it's least needed and Bessel brings its accuracy improvement where it's most needed.
So, Bessel's formula could be said to be the most consistently accurate difference formula, and, in general, the most consistently accurate of the familiar polynomial interpolation formulas.
Lagrange is sometimes said to require less work, and is sometimes recommended for problems in which it's known, in advance, from previous experience, how many terms are needed for sufficient accuracy.

Divided-Difference Methods vs. Lagrange

The divided difference method have the advantage that more data points can be added, for improved accuracy, without re-doing the whole problem. The terms based on the previous data points can continue to be used. With the ordinary Lagrange formula, to do the problem with more data points would require re-doing the whole problem.
There is a "barycentric" version of Lagrange that avoids the need to re-do the entire calculation when adding a new data point. But it requires that the values of each term be recorded.
But the ability, of Gauss, Bessel and Stirling, to keep the data points centered close to the interpolated point gives them an advantage over Lagrange, when it isn't known, in advance, how many data points will be needed.
Additionally, suppose that one wants to find out if, for some particular type of problem, linear interpolation is sufficiently accurate. That can be determined by evaluating the quadratic term of a divided difference formula. If the quadratic term is negligible--meaning that the linear term is sufficiently accurate without adding the quadratic term--then linear interpolation is sufficiently accurate. (If the problem is sufficiently important, or if the quadratic term is nearly big enough to matter, then one might want to determine whether the _sum_ of the quadratic and cubic terms is large enough to matter in the problem.)
Of course only a divided-difference method can be used for such a determination.
For that purpose, the divided-difference formula and/or its x0 point should be chosen so that the formula will use, for its linear term, the two data points between which the linear interpolation of interest would be done.
The divided difference formulas are more versatile, useful in more kinds of problems.
The Lagrange formula is at its best when all the interpolation will be done at one x value, with only the data points' y values varying from one problem to another, and when it's known, from past experience, how many terms are needed for sufficient accuracy.
With the Newton form of the interpolating polynomial a compact and effective algorithm exists for combining the terms to find the coefficients of the polynomial.[1]
When, with Stirling's or Bessel's, the last term used includes the average of two differences, then one more point is being used than Newton's or other polynomial interpolations would use for the same polynomial degree. So, in that instance, Stirling's or Bessel's is not putting an N−1 degree polynomial through N points, but is, instead, trading equivalence with Newton's for better centering and accuracy, giving those methods sometimes potentially greater accuracy, for a given polynomial degree, than other polynomial interpolations.

Accuracy

For the special case of xi = i, there is a closely related set of polynomials, also called the Newton polynomials, that are simply the binomial coefficients for general argument. That is, one also has the Newton polynomials  given by

General case

In this form, the Newton polynomials generate the Newton series. These are in turn a special case of the general difference polynomials which allow the representation of analytic functions through generalized difference equations.
Solving an interpolation problem leads to a problem in linear algebra where we have to solve a system of linear equations. Using a standard monomial basis for our interpolation polynomial we get the very complicated Vandermonde matrix. By choosing another basis, the Newton basis, we get a system of linear equations with a much simpler lower triangular matrix which can be solved faster.

Main idea

For k + 1 data points we construct the Newton basis as
Using these polynomials as a basis for  we have to solve
to solve the polynomial interpolation problem.
This system of equations can be solved iteratively by solving
The limit of the Newton polynomial if all nodes coincide is a Taylor polynomial, because the divided differences become derivatives.

Taylor polynomial


As can be seen from the definition of the divided differences new data points can be added to the data set to create a new interpolation polynomial without recalculating the old coefficients. And when a data point changes we usually do not have to recalculate all coefficients. Furthermore if the xi are distributed equidistantly the calculation of the divided differences becomes significantly easier. Therefore the divided-difference formulas are usually preferred over the Lagrange form for practical purposes.

Application

The divided differences can be written in the form of a table. For example, for a function f is to be interpolated on points . Write

Examples

Then the interpolating polynomial is formed as above using the topmost entries in each column as coefficients.
For example, suppose we are to construct the interpolating polynomial to f(x) = tan(x) using divided differences, at the points
Using six digits of accuracy, we construct the table
Thus, the interpolating polynomial is

Given more digits of accuracy in the table, the first and third coefficients will be found to be zero.

Another example:
The sequence  such that  and , i.e., they are  from  to .
You obtain the slope of order  in the following way:
As we have the slopes of order , it's possible to obtain the next order:
Finally, we define the slope of order :
Once we have the slope, we can define the consequent polynomials:
  • .
  • .

    

                         Finite difference


finite difference is a mathematical expression of the form f(x + b) − f(x + a). If a finite difference is divided by b − a, one gets a difference quotient. The approximation ofderivatives by finite differences plays a central role in finite difference methods for the numerical solution of differential equations, especially boundary value problems.
Certain recurrence relations can be written as difference equations by replacing iteration notation with finite differences.
Today, the term "finite difference" is often taken as synonymous with finite difference approximations of derivatives, especially in the context of numerical methods. Finite difference approximations are finite difference quotients in the terminology employed above.
Finite differences have also been the topic of study as abstract self-standing mathematical objects, e.g. in works by George Boole (1860), L. M. Milne-Thomson (1933), and Károly Jordan (1939), tracing its origins back to one of Jost Bürgi's algorithms (ca. 1592) and others including Isaac Newton. In this viewpoint, the formal calculus of finite differences is an alternative to the calculus of infinitesimals.
Three forms are commonly considered: forward, backward, and central differences.

Forward, backward, and central differences

forward difference is an expression of the form
Depending on the application, the spacing h may be variable or constant. When omitted, h is taken to be 1: .
backward difference uses the function values at x and x − h, instead of the values at x + h and x:
Finally, the central difference is given by
The derivative of a function f at a point x is defined by the limit

Relation with derivatives

If h has a fixed (non-zero) value instead of approaching zero, then the right-hand side of the above equation would be written
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 differentiable, we have
The same formula holds for the backward difference:
However, the central (also called centered) difference yields a more accurate approximation. If f is twice differentiable,
The main problem with the central difference method, however, is that oscillating functions can yield zero derivative. If f(nh)=1 for n odd, and f(nh)=2 for n even, then f ' (nh)=0 if it is calculated with the central difference scheme. This is particularly troublesome if the domain of f is discrete.
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)
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 f ' at x, we obtain the central difference approximation of the second derivative of f:

Higher-order differences

2nd order central
Similarly we can apply other differencing formulas in a recursive manner.
2nd order forward
More generally, the n-th order forward, backward, and central differences are given by, respectively,
Forward
or for h=1,
Backward
Central
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 n, have h 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 n.
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 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.
Using linear algebra 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 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.[5]

Arbitrarily sized kernels

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.
The Finite Difference Coefficients Calculator constructs finite difference approximations for non-standard (and even non-integer) stencils given an arbitrary stencil and a desired derivative order.
For all positive k and n

Properties

Finite difference methods

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 engineeringfluid 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,[6] namely the discrete analog of the continuum Taylor expansion,

Newton's series

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 xh = 1 of the generalization below.
Note 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 that 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 f = 2, 2, 4, ... One can find a polynomial that reproduces these values, by first computing a difference table, and then substituting the differences that 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 .
In analysis with p-adic numbersMahler'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 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
The forward difference can be considered as a difference operator, which maps the function f to Î”h[f ]. This operator amounts to

Calculus of finite differences

where Th is the shift operator with step h, defined by Th[f ](x) = f(x+h), and I is the identity operator.
The finite difference of higher orders can be defined in recursive manner as Î”hn ≡ Δh (Δhn−1). Another equivalent definition is Î”hn = [Th −I]n.
The difference operator Î”h is a linear operator, as such it satisfies Î”h[α f + Î² g](x) = Î± Î”h[f](x) + Î² Î”h [g](x).
It also 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),
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.[10] 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.[11] 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:

Rules for calculus of finite difference operators

  • Constant rule: If c is a constant, then
All of the above rules apply equally well to any difference operator, including  as to .

or

generalized finite difference is usually defined as

Generalizations

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.
  • Difference operator generalizes to Möbius inversion over a partially ordered set.
  • 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.

Finite difference in several variables

Some partial derivative approximations are:
Alternatively, for applications in which the computation of f 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 compute that are not already needed for the previous four equations are f(x+hy+k) and f(xhyk).

























































































Tidak ada komentar:

Posting Komentar