Numerical Analysis Lecture 28
Chapter 7 Numerical Differentiation and Integration
INTRODUCTION DIFFERENTIATION USING DIFFERENCE OPREATORS DIFFERENTIATION USING INTERPOLATIONRICHARDSON’S EXTRAPOLATION METHOD NUMERICAL INTEGRATION
NEWTON-COTES INTEGRATION FORMULAE THE TRAPEZOIDAL RULE ( COMPOSITE FORM ) SIMPSON’S RULES ( COMPOSITE FORM ) ROMBERG’S INTEGRATION DOUBLE INTEGRATION
DIFFERENTIATION USING DIFFERENCE OPREATORS: Applications: Remember Using forward difference operator ∆, the shift operator, the backward difference operator and the average difference operator, we obtained the following formulae: Remember Using forward difference operator ∆, the shift operator, the backward difference operator and the average difference operator, we obtained the following formulae:
Recall from what we mentioned in the last lecture that for calculating the second derivative at an interior tabular point, we use the equation while for computing the first derivative at an interior tabular point, we in general use another convenient form for D, which is derived as follows. Multiply the right hand side of another convenient form for D, which is derived as follows. Multiply the right hand side of
by
which is unity and noting the Binomial expansion
we get simplification we get
Therefore the equation can also be written in another useful form as
The last two equations y” and y’ respectively are known as Stirling’s formulae for computing the derivatives of a tabular function. Similar formulae can be derived for computing higher order derivatives of a tabular function.
The equation for y’ can also be written as
In order to illustrate the use of formulae derived so far, for computing the derivatives of a tabulated function, we consider the Following example :
Example: Compute and from the following tabular data.
Solution Since x = 0 and 0.2 appear at and near beginning of the table, it is appropriate to use formulae based on forward differences to find the derivatives. The difference table for the given data is depicted below:
Using forward difference formula for i.e
We obtain We obtain
Also, using the formula for we have we haveHence,
Example Find and from the table x y ( x )
Solution: Since x=2.2 occurs at the end of the table, it is appropriate to use backward difference formulae for derivatives. The backward difference table for the given data is shown below:
Using backward difference formulae for and we have
Therefore,Also
Therefore,
Case IV: Derivation of Two and three point formulae: Retaining only the first term in equation :
we can get another useful form for the first derivative as
Similarly, by retaining only the first term in Eqn.
Adding the last two equations, we have
These Equations constitute two-point formulae for the first derivative. By retaining only the first term in Equation,
We get
Similarly, we have
While retaining only the first term in the expression for y” in terms of we obtain
The last three equations constitute three-point formulae for computing the second derivative. We shall see later that these two- and three-point formulae become handy for developing extrapolation methods to numerical differentiation and integration.
Numerical Analysis Lecture 28